• bitcoinBitcoin(BTC)$76,690.00-1.82%
  • ethereumEthereum(ETH)$2,251.34-1.42%
  • tetherTether(USDT)$1.00-0.04%
  • binancecoinBNB(BNB)$695.05-1.84%
  • rippleXRP(XRP)$1.250.17%
  • usd-coinUSDC(USDC)$1.00-0.03%
  • solanaSolana(SOL)$91.82-2.66%
  • tronTRON(TRX)$0.3205272.22%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • HyperliquidHyperliquid(HYPE)$83.69-3.31%
  • zcashZcash(ZEC)$1,134.94-10.38%
  • dogecoinDogecoin(DOGE)$0.073887-2.02%
  • moneroMonero(XMR)$608.800.16%
  • USDSUSDS(USDS)$1.00-0.04%
  • whitebitWhiteBIT Coin(WBT)$73.72-1.77%
  • leo-tokenLEO Token(LEO)$9.34-0.73%
  • chainlinkChainlink(LINK)$11.06-2.06%
  • cardanoCardano(ADA)$0.187544-1.53%
  • stellarStellar(XLM)$0.161370-3.46%
  • bitcoin-cashBitcoin Cash(BCH)$275.29-2.04%
  • nearNEAR Protocol(NEAR)$3.76-9.34%
  • daiDai(DAI)$1.00-0.01%
  • Ethena USDeEthena USDe(USDE)$1.00-0.06%
  • RainRain(RAIN)$0.00626912.44%
  • uniswapUniswap(UNI)$6.99-2.60%
  • litecoinLitecoin(LTC)$53.78-2.53%
  • USD1USD1(USD1)$1.00-0.05%
  • CantonCanton(CC)$0.093474-2.10%
  • avalanche-2Avalanche(AVAX)$8.33-2.70%
  • suiSui(SUI)$0.86-2.82%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.17-2.64%
  • tether-goldTether Gold(XAUT)$3,912.880.34%
  • hedera-hashgraphHedera(HBAR)$0.069115-2.40%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • quant-networkQuant(QNT)$194.64-1.73%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • shiba-inuShiba Inu(SHIB)$0.000005-2.07%
  • BittensorBittensor(TAO)$221.65-3.72%
  • Ripple USDRipple USD(RLUSD)$1.00-0.03%
  • crypto-com-chainCronos(CRO)$0.049947-1.87%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.06%
  • EthenaEthena(ENA)$0.169074-4.98%
  • okbOKB(OKB)$107.57-4.62%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • pepePepe(PEPE)$0.000005-2.96%
  • aaveAave(AAVE)$125.68-5.79%
  • MemeCoreMemeCore(M)$0.83-4.03%
  • OndoOndo(ONDO)$0.383249-3.06%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.140.15%
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

This AI Paper Proposes Infini-Gram: A Groundbreaking Approach to Scale and Enhance N-Gram Models Beyond Traditional Limits

February 12, 2024
in AI & Technology
Reading Time: 4 mins read
A A
This AI Paper Proposes Infini-Gram: A Groundbreaking Approach to Scale and Enhance N-Gram Models Beyond Traditional Limits
ShareShareShareShareShare

Pretrained on trillion-token corpora, large neural language models (LLMs) have achieved remarkable performance strides (Touvron et al., 2023a; Geng & Liu, 2023). However, the scalability benefits of such data for traditional n-gram language models (LMs) still need to be explored. This paper from the University of Washington and Allen Institute for Artificial Intelligence delves into the relevance of n-gram LMs in the era of neural LLMs and introduces groundbreaking advancements in their modernization.

The authors affirm the continued utility of n-gram LMs in text analysis and enhancing neural LLMs. To address this, they modernized traditional n-gram LMs by scaling training data to an unprecedented 1.4 trillion tokens, rivaling the size of major open-source text corpora (Together, 2023; Soldaini et al., 2023). This represents the largest n-gram LM to date. Departing from historical constraints on n (e.g., n ≤ 5), the authors highlight the advantages of larger n’s value. Figure 1 illustrates the enhanced predictive capacity of n-gram LMs with larger n values, challenging conventional limitations. Consequently, they introduce the concept of an ∞-gram LM, with unbounded n, utilizing a backoff variant (Jurafsky & Martin, 2000) for improved accuracy.

The ∞-gram LM leverages a suffix array, replacing impractical n-gram count tables. This implementation, referred to as the infini-gram engine, achieves remarkable efficiency with 7 bytes of storage per token. The suffix array, built on 1.4 trillion tokens using an 80-core CPU node in under three days, ensures low-latency, resource-efficient querying at less than 20 milliseconds for n-gram counting. The ∞-gram engine, a testament to innovation, makes on-disk indexes integral to inference.

The ∞-gram LM, a conceptual extension of n-gram LMs, employs backoff judiciously to enhance predictive accuracy. Sparsity in ∞-gram estimates necessitate interpolation with neural LMs, addressing perplexity concerns. The paper introduces query types supported by Infini-gram, showcasing impressive latency benchmarks in Table 1.

Building on the suffix array implementation, the paper outlines efficient methods for n-gram counting, occurrence position retrieval, and document identification. Sharding strategies reduce latency proportional to the number of shards, optimizing processing times. Clever optimizations, such as reusing search results and on-disk search, further enhance the speed of ∞-gram computation.

Infini-gram’s application across diverse neural LMs, including GPT-2, GPT-Neo, LLaMA-2, and SILO, demonstrates consistent perplexity improvements (Table 2). The paper underscores the significance of data diversity, revealing ∞-gram’s efficacy in complementing neural LMs across different model series.

Analyses with ∞-gram shed light on human-written and machine-generated text. Notably, ∞-gram exhibits high accuracy in predicting the next token based on human-written document prefixes. The paper establishes a positive correlation between neural LMs and ∞-gram, suggesting the latter’s potential to enhance LM performance in predicting human-written text.

The paper concludes with a visionary outlook, presenting preliminary applications of the Infini-gram engine. From understanding text corpora to mitigating copyright infringement, the possibilities are diverse. The authors anticipate further insightful analyses and innovative applications fueled by Infini-gram.


Check out the Paper and Model. 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 36k+ 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

Microsoft Turns to Bond Market as AI Spending Grows

Driverless Trucks Can Double Profits, Says Aurora CEO

Vineet Kumar is a consulting intern at MarktechPost. He is currently pursuing his BS from the Indian Institute of Technology(IIT), Kanpur. He is a Machine Learning enthusiast. He is passionate about research and the latest advancements in Deep Learning, Computer Vision, and related fields.


🚀 LLMWare Launches SLIMs: Small Specialized Function-Calling Models for Multi-Step Automation [Check out all the models]


Credit: Source link

ShareTweetSendSharePin

Related Posts

Microsoft Turns to Bond Market as AI Spending Grows
AI & Technology

Microsoft Turns to Bond Market as AI Spending Grows

November 3, 2026
Driverless Trucks Can Double Profits, Says Aurora CEO
AI & Technology

Driverless Trucks Can Double Profits, Says Aurora CEO

November 3, 2026
Google Sales Miss Reignites AI Fears, Microsoft Eyes B Debt Offering
AI & Technology

Google Sales Miss Reignites AI Fears, Microsoft Eyes $25B Debt Offering

November 3, 2026
AI to Drive 40% Growth for AWS: CEO Garman
AI & Technology

AI to Drive 40% Growth for AWS: CEO Garman

November 3, 2026
Next Post
Midnight plans to aggregate games inside Web3 Evergreen MMORPG

Midnight plans to aggregate games inside Web3 Evergreen MMORPG

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Amazon Q3 Operating Income Climbs 61% as AWS Sales Jump 39% – Unite.AI

Amazon Q3 Operating Income Climbs 61% as AWS Sales Jump 39% – Unite.AI

October 29, 2026
Apple Unveils Touch-Screen MacBook Pro

Apple Unveils Touch-Screen MacBook Pro

October 29, 2026
Feds probe whether Polymarket violated 2022 deal to block US traders: report

Feds probe whether Polymarket violated 2022 deal to block US traders: report

October 27, 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!