• bitcoinBitcoin(BTC)$65,334.00-2.66%
  • ethereumEthereum(ETH)$1,826.03-4.16%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$596.47-2.95%
  • usd-coinUSDC(USDC)$1.000.01%
  • rippleXRP(XRP)$0.97-2.86%
  • solanaSolana(SOL)$72.47-4.25%
  • tronTRON(TRX)$0.309290-1.17%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.070.00%
  • HyperliquidHyperliquid(HYPE)$68.05-0.82%
  • zcashZcash(ZEC)$918.281.99%
  • moneroMonero(XMR)$504.01-5.72%
  • dogecoinDogecoin(DOGE)$0.059131-6.06%
  • USDSUSDS(USDS)$1.000.00%
  • leo-tokenLEO Token(LEO)$9.12-2.12%
  • whitebitWhiteBIT Coin(WBT)$63.18-3.52%
  • chainlinkChainlink(LINK)$9.27-3.32%
  • cardanoCardano(ADA)$0.156035-4.42%
  • stellarStellar(XLM)$0.139590-2.64%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • daiDai(DAI)$1.000.04%
  • bitcoin-cashBitcoin Cash(BCH)$210.29-3.12%
  • nearNEAR Protocol(NEAR)$3.19-4.30%
  • litecoinLitecoin(LTC)$45.35-6.10%
  • CantonCanton(CC)$0.081252-4.91%
  • avalanche-2Avalanche(AVAX)$7.26-9.67%
  • uniswapUniswap(UNI)$5.17-5.76%
  • tether-goldTether Gold(XAUT)$3,823.40-1.05%
  • USD1USD1(USD1)$1.000.00%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.06-3.13%
  • suiSui(SUI)$0.73-5.08%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • hedera-hashgraphHedera(HBAR)$0.059137-1.83%
  • RainRain(RAIN)$0.003661-0.77%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.03%
  • shiba-inuShiba Inu(SHIB)$0.000004-4.93%
  • BittensorBittensor(TAO)$193.26-6.79%
  • crypto-com-chainCronos(CRO)$0.044052-4.41%
  • quant-networkQuant(QNT)$153.09-3.65%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.120.00%
  • MemeCoreMemeCore(M)$0.84-2.82%
  • okbOKB(OKB)$88.08-3.43%
  • pax-goldPAX Gold(PAXG)$3,826.37-1.03%
  • pepePepe(PEPE)$0.000004-6.74%
  • aaveAave(AAVE)$107.440.36%
  • Falcon USDFalcon USD(USDF)$1.000.00%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
TradePoint.io
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop
No Result
View All Result
TradePoint.io
No Result
View All Result

Unlocking the Best Tokenization Strategies: How Greedy Inference and SaGe Lead the Way in NLP Models

March 10, 2024
in AI & Technology
Reading Time: 5 mins read
A A
Unlocking the Best Tokenization Strategies: How Greedy Inference and SaGe Lead the Way in NLP Models
ShareShareShareShareShare

The inference method is crucial for NLP models in subword tokenization. Methods like BPE, WordPiece, and UnigramLM offer distinct mappings, but their performance differences must be better understood. Implementations like Huggingface Tokenizers often need to be clearer or limit inference choices, complicating compatibility with vocabulary learning algorithms. Whether a matching inference method is necessary or optimal for tokenizer vocabularies is uncertain.

Previous research focused on developing vocabulary construction algorithms such as BPE, WordPiece, and UnigramLM, exploring optimal vocabulary size and multilingual vocabularies. Some studies examined the effects of vocabularies on downstream performance, information theory, and cognitive plausibility. Limited work on inference methods investigated random effects on BPE merges and sophisticated search algorithms. A comprehensive study must be included comparing inference methods across various vocabularies and sizes.

The researchers from Ben-Gurion University of the Negev Beer Sheva And Massachusetts Institute of Technology have conducted a controlled experiment evaluating seven tokenizer inference methods across four algorithms and three vocabulary sizes. The experiment introduces an intrinsic evaluation suite combining measures from morphology, cognition, and information theory for English. They have shown that for the most commonly used tokenizers, greedy inference performs surprisingly well, while SaGe, a contextually informed tokenizer, outperforms others in morphological alignment.

In Greedy inference, they only consider and produce one token at each step and define three greedy approaches: Firstly, the “Longest prefix” method resembles the approach of selecting the longest token from the vocabulary that is a prefix of the word and iteratively segmenting the remaining text. Similarly, “Longest suffix” specifies the longest word suffix token and continues segmentation iteratively. Lastly, “Longest token” selects the longest token contained within the word, adds it to the segmentation, and continues segmenting the remaining characters. These strategies mirror the concept of greedy algorithms that make locally optimal choices at each step without considering the overall global solution.

The study’s thorough evaluation of inference methods across BPE, UnigramLM, WordPiece, and SaGe vocabularies has revealed variations in performance metrics. Merge rules-based inference methods often outperform default strategies, particularly notable in morphological alignment. Likelihood-based methods sometimes assign high likelihood values to frequently used tokens, affecting segmentation quality. SaGe demonstrates superior alignment to morphology. BPE and WordPiece excel in compression but lag in cognitive benchmarks. Likelihood and information-based vocabularies show consistent trends within their respective categories, highlighting the robustness of the benchmark.

In conclusion, researchers from Ben-Gurion University of the Negev Beer Sheva And Massachusetts Institute of Technology have not only introduced an aggregated benchmark for evaluating subword tokenizers intrinsically but also emphasized the practical significance of their findings. Selecting suitable inference methods for specific vocabularies and tasks is crucial, and their computational efficiency can aid language model training by refining tokenization schemes and selecting inference methods. Greedy inference emerges as a favorable choice, particularly for morphologically driven tasks, even for tokenizers trained on different objectives.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and Google News. Join our 38k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our Telegram Channel

You may also like our FREE AI Courses….


YOU MAY ALSO LIKE

Dan Ives Cuts Nvidia Price Target, But Stays Bullish Post-Huang

Cerebras CEO: AI Infrastructure Opportunity Is Expanding

Asjad is an intern consultant at Marktechpost. He is persuing B.Tech in mechanical engineering at the Indian Institute of Technology, Kharagpur. Asjad is a Machine learning and deep learning enthusiast who is always researching the applications of machine learning in healthcare.


🚀 [FREE AI WEBINAR] ‘Building with Google’s New Open Gemma Models’ (March 11, 2024) [Promoted]


Credit: Source link

ShareTweetSendSharePin

Related Posts

Dan Ives Cuts Nvidia Price Target, But Stays Bullish Post-Huang
AI & Technology

Dan Ives Cuts Nvidia Price Target, But Stays Bullish Post-Huang

November 15, 2026
Cerebras CEO: AI Infrastructure Opportunity Is Expanding
AI & Technology

Cerebras CEO: AI Infrastructure Opportunity Is Expanding

November 15, 2026
From CFO to Interim CEO: Kress Takes Charge at Nvidia
AI & Technology

From CFO to Interim CEO: Kress Takes Charge at Nvidia

November 15, 2026
Nvidia Fallout, Microsoft Outage and Anthropic’s IPO Push
AI & Technology

Nvidia Fallout, Microsoft Outage and Anthropic’s IPO Push

November 15, 2026
Next Post
Mar10 Day deals include a  gift card when you buy a Nintendo Switch

Mar10 Day deals include a $25 gift card when you buy a Nintendo Switch

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search

No Result
View All Result
Nvidia’s Jensen Huang had clashed with interim CEO Colette Kress: ‘Deer in the headlights’

Nvidia’s Jensen Huang had clashed with interim CEO Colette Kress: ‘Deer in the headlights’

November 13, 2026
Modine Starts Chiller Production in Texas for AI Data Centers – Unite.AI

Modine Starts Chiller Production in Texas for AI Data Centers – Unite.AI

November 11, 2026
El-Sayed weighs in on Schumer’s Senate leadership

El-Sayed weighs in on Schumer’s Senate leadership

November 10, 2026

About

Learn more

Our Services

Legal

Privacy Policy

Terms of Use

Bloggers

Learn more

Article Links

Contact

Advertise

Ask us anything

©2020- TradePoint.io - All rights reserved!

Tradepoint.io, being just a publishing and technology platform, is not a registered broker-dealer or investment adviser. So we do not provide investment advice. Rather, brokerage services are provided to clients of Tradepoint.io by independent SEC-registered broker-dealers and members of FINRA/SIPC. Every form of investing carries some risk and past performance is not a guarantee of future results. “Tradepoint.io“, “Instant Investing” and “My Trading Tools” are registered trademarks of Apperbuild, LLC.

This website is operated by Apperbuild, LLC. We have no link to any brokerage firm and we do not provide investment advice. Every information and resource we provide is solely for the education of our readers. © 2020 Apperbuild, LLC. All rights reserved.

No Result
View All Result
  • Main
  • AI & Technology
  • Stock Charts
  • Market & News
  • Business
  • Finance Tips
  • Trade Tube
  • Blog
  • Shop

© 2023 - TradePoint.io - All Rights Reserved!