• bitcoinBitcoin(BTC)$76,900.00-1.16%
  • ethereumEthereum(ETH)$2,475.73-1.35%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$718.45-0.42%
  • rippleXRP(XRP)$1.410.49%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$100.92-0.61%
  • tronTRON(TRX)$0.338267-0.58%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.66%
  • zcashZcash(ZEC)$1,127.94-0.43%
  • HyperliquidHyperliquid(HYPE)$79.27-1.03%
  • dogecoinDogecoin(DOGE)$0.082649-1.58%
  • USDSUSDS(USDS)$1.000.01%
  • moneroMonero(XMR)$518.171.41%
  • whitebitWhiteBIT Coin(WBT)$79.55-1.26%
  • RainRain(RAIN)$0.013141-12.67%
  • chainlinkChainlink(LINK)$11.370.20%
  • leo-tokenLEO Token(LEO)$8.970.10%
  • cardanoCardano(ADA)$0.204981-2.17%
  • stellarStellar(XLM)$0.1961951.80%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • daiDai(DAI)$1.000.02%
  • bitcoin-cashBitcoin Cash(BCH)$222.640.06%
  • USD1USD1(USD1)$1.000.00%
  • uniswapUniswap(UNI)$6.716.69%
  • litecoinLitecoin(LTC)$52.44-2.25%
  • CantonCanton(CC)$0.095137-1.15%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.34-0.76%
  • hedera-hashgraphHedera(HBAR)$0.0787182.03%
  • avalanche-2Avalanche(AVAX)$7.530.41%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • nearNEAR Protocol(NEAR)$2.37-1.54%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.87%
  • suiSui(SUI)$0.71-1.97%
  • paypal-usdPayPal USD(PYUSD)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.057378-3.98%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,283.19-0.02%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • BittensorBittensor(TAO)$224.15-4.18%
  • MemeCoreMemeCore(M)$1.11-1.70%
  • okbOKB(OKB)$112.71-1.00%
  • Ripple USDRipple USD(RLUSD)$1.000.02%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.15-0.03%
  • aaveAave(AAVE)$127.751.60%
  • BitwayBitway(BTW)$0.711.32%
  • AsterAster(ASTER)$0.69-0.90%
  • pax-goldPAX Gold(PAXG)$4,284.31-0.08%
  • mantleMantle(MNT)$0.56-2.20%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0571370.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

Google AI Introduces an Efficient Machine Learning Method to Scale Transformer-based Large Language Models (LLMs) to Infinitely Long Inputs

April 15, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Google AI Introduces an Efficient Machine Learning Method to Scale Transformer-based Large Language Models (LLMs) to Infinitely Long Inputs
ShareShareShareShareShare

Memory is significant for intelligence as it helps to recall past experiences and apply them to current situations. However, because of the way their attention mechanism works, both conventional Transformer models and Transformer-based Large Language Models (LLMs) have limitations when it comes to context-dependent memory. The memory consumption and computation time of this attention mechanism are both quadratic in complexity.

Compressive memory systems present a viable substitute, with the objective of being more efficient and scalable for managing very lengthy sequences. Compressive memory systems keep storage and computation costs in check by maintaining a constant number of parameters for storing and retrieving information, in contrast to classical attention mechanisms that need memory to expand with the duration of the input sequence. 

The goal of this system’s parameter adjustment process is to assimilate new information into memory while maintaining its retrievability. However, an efficient compressive memory method that strikes a compromise between simplicity and quality has not yet been adopted by existing LLMs.

To overcome these limitations, a team of researchers from Google has proposed a unique solution that allows Transformer LLMs to handle arbitrarily lengthy inputs with a constrained memory footprint and computing power. A key component of their approach is an attention mechanism known as Infini-attention, which combines long-term linear attention and masked local attention into a single Transformer block and includes compressive memory in the conventional attention process.

The primary breakthrough of Infini-attention is its capacity to effectively manage memory while processing lengthy sequences. The model can store and recall data with a fixed set of parameters by using compressive memory, which eliminates the requirement for memory to expand with the length of the input sequence. This keeps computing costs within reasonable bounds and helps control memory consumption.

The team has shared that this method has shown to be effective in a number of tasks, such as book summarising tasks with input sequences of 500,000 tokens, passkey context block retrieval for sequences up to 1 million tokens in length, and long-context language modeling benchmarks. LLMs of sizes ranging from 1 billion to 8 billion parameters have been used to solve these tasks. 

The ability to include minimal bounded memory parameters, that is, to limit and anticipate the model’s memory requirements, is one of this approach’s main advantages. Also, fast streaming inference for LLMs has been made possible by the suggested approach, which makes it possible to analyze sequential input efficiently in real-time or almost real-time circumstances. 

The team has summarized their primary contributions as follows,

  1. The team has presented Infini-attention, a unique attention mechanism that blends local causal attention with long-term compressive memory. This method is both useful and effective since it effectively represents contextual dependencies over both short and long distances. 
  1. The standard scaled dot-product attention mechanism needs only be slightly altered to accommodate infini-attention. This enables plug-and-play continuous pre-training and long-context adaptation, and makes incorporation into current Transformer structures simple. 
  1. The method keeps constrained memory and computational resources while allowing Transformer-based LLMs to accommodate endlessly long contexts. The approach guarantees optimal resource utilization by processing very long inputs in a streaming mode, which enables LLMs to function well in large-scale data real-world applications.

In conclusion, this study is a major step forward for LLMs, allowing for the efficient handling of very long inputs in terms of computation and memory utilization.


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. Join our Telegram Channel, Discord Channel, and LinkedIn Group.

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

Don’t Forget to join our 40k+ ML SubReddit


Want to get in front of 1.5 Million AI Audience? Work with us here


YOU MAY ALSO LIKE

2 Ways Android Users Can Take Advantage Of Apple’s MagSafe Accessories

Apple TV Cleaned Up At The Emmys With Eight Wins For Widow’s Bay And Pluribus

Tanya Malhotra is a final year undergrad from the University of Petroleum & Energy Studies, Dehradun, pursuing BTech in Computer Science Engineering with a specialization in Artificial Intelligence and Machine Learning.
She is a Data Science enthusiast with good analytical and critical thinking, along with an ardent interest in acquiring new skills, leading groups, and managing work in an organized manner.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

2 Ways Android Users Can Take Advantage Of Apple’s MagSafe Accessories
AI & Technology

2 Ways Android Users Can Take Advantage Of Apple’s MagSafe Accessories

September 15, 2026
Apple TV Cleaned Up At The Emmys With Eight Wins For Widow’s Bay And Pluribus
AI & Technology

Apple TV Cleaned Up At The Emmys With Eight Wins For Widow’s Bay And Pluribus

September 15, 2026
Elsevier Integrates LG AI Research’s Chemistry Vision Model Into Reaxys – Unite.AI
AI & Technology

Elsevier Integrates LG AI Research’s Chemistry Vision Model Into Reaxys – Unite.AI

September 15, 2026
Double The Range And Smarter Safety, Too
AI & Technology

Double The Range And Smarter Safety, Too

September 15, 2026
Next Post
‘Obvious’ Sydney killer targeted women – Australian police

'Obvious' Sydney killer targeted women - Australian police

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Market Valuation: Is The Market Still Overvalued?

Market Valuation: Is The Market Still Overvalued?

September 13, 2026
‘There was so much chaos’: 9/11 survivor reflects on the day of the attacks

‘There was so much chaos’: 9/11 survivor reflects on the day of the attacks

September 12, 2026
Microsoft’s Data Center Plans Face Big Costs

Microsoft’s Data Center Plans Face Big Costs

September 12, 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!