• bitcoinBitcoin(BTC)$78,386.00-1.53%
  • ethereumEthereum(ETH)$2,470.86-1.49%
  • tetherTether(USDT)$1.00-0.03%
  • binancecoinBNB(BNB)$751.770.66%
  • rippleXRP(XRP)$1.40-0.71%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$102.92-2.61%
  • tronTRON(TRX)$0.3390271.03%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.060.00%
  • zcashZcash(ZEC)$1,157.61-2.62%
  • HyperliquidHyperliquid(HYPE)$82.95-5.72%
  • dogecoinDogecoin(DOGE)$0.089378-2.31%
  • RainRain(RAIN)$0.0167361.31%
  • USDSUSDS(USDS)$1.00-0.01%
  • moneroMonero(XMR)$502.39-6.15%
  • whitebitWhiteBIT Coin(WBT)$79.688.48%
  • chainlinkChainlink(LINK)$12.52-5.80%
  • leo-tokenLEO Token(LEO)$9.180.01%
  • cardanoCardano(ADA)$0.219484-2.08%
  • stellarStellar(XLM)$0.188494-3.16%
  • bitcoin-cashBitcoin Cash(BCH)$255.98-2.20%
  • daiDai(DAI)$1.000.01%
  • Ethena USDeEthena USDe(USDE)$1.00-0.02%
  • uniswapUniswap(UNI)$6.95-2.46%
  • litecoinLitecoin(LTC)$55.44-5.02%
  • USD1USD1(USD1)$1.00-0.03%
  • CantonCanton(CC)$0.103809-4.12%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.39-1.58%
  • hedera-hashgraphHedera(HBAR)$0.080092-3.01%
  • avalanche-2Avalanche(AVAX)$8.03-0.41%
  • suiSui(SUI)$0.81-2.74%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.75%
  • nearNEAR Protocol(NEAR)$2.30-4.29%
  • crypto-com-chainCronos(CRO)$0.0606645.07%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.01%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,403.680.09%
  • MemeCoreMemeCore(M)$1.174.55%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • BittensorBittensor(TAO)$252.62-4.58%
  • okbOKB(OKB)$115.17-0.93%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.14%
  • mantleMantle(MNT)$0.63-1.93%
  • AsterAster(ASTER)$0.76-5.25%
  • aaveAave(AAVE)$129.01-4.30%
  • pax-goldPAX Gold(PAXG)$4,408.270.11%
  • polkadotPolkadot(DOT)$1.084.23%
  • OndoOndo(ONDO)$0.376233-4.14%
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

Researchers from UC Berkeley Propose RingAttention: A Memory-Efficient Artificial Intelligence Approach to Reduce the Memory Requirements of Transformers

October 20, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Researchers from UC Berkeley Propose RingAttention: A Memory-Efficient Artificial Intelligence Approach to Reduce the Memory Requirements of Transformers
ShareShareShareShareShare

A type of deep learning model architecture is called Transformers in the context of many state-of-the-art AI models. They have revolutionized the field of artificial intelligence, particularly in natural language processing and various other tasks in machine learning. It is based on a self-attention mechanism where the model weighs the importance of different parts of the input sequence when making predictions. They consist of an encoder and a decoder to process the inputs.  

However, scaling up the context length of Transformers takes a lot of work. It is due to the inherited self-attention. Self-attention has memory cost quadratic in the input sequence length, which makes it challenging to scale to the longer input sequences. Researchers at UC Berkley developed a method called Ring Attention to tackle this based on a simple observation. They observed that when self-attention and feedforward network computations are performed blockwise, the sequences can be distributed across multiple devices and easily analyzed.

They distribute the outer loop of computing blockwise attention among hosts, each device managing its respective input block. For the inner loop, they compute blockwise attention and feedforward operations specific to its designated input block for all devices. Their host devices form a conceptual ring and send a copy of its key-value blocks being used for blockwise computation to the next device in the ring. They also simultaneously receive key-value blocks from the previous one.

The block computations take longer than block transfers. The team overlapped these processes, resulting in no added overhead compared to standard transformers. By doing so, each device requires only memory proportional to the block size, independent of the original input sequence length. This effectively eliminates the memory constraints imposed by individual devices. 

Their experiments show that Ring Attention can reduce the memory requirements of Transformers by enabling them to train more than 500 times longer sequences than prior memory efficient state-of-the-arts. This method also allows training sequences that exceed 100 million in length without making approximations to attention. As Ring Attention eliminates the memory constraints imposed by individual devices, one can also achieve near-infinite context sizes. However, one would require many number of devices as sequence length is proportional to the number of devices.

The research only involves an evaluation of the effectiveness of the method without the large-scale training models. As the scale context length depends on the number of devices, the model’s efficiency depends on the optimization; they have only worked on the low-level operations required for achieving optimal computer performance. The researchers say that they would like to work on both maximum sequence length and maximum computer performance in the future. The possibility of near-infinite context introduces many exciting opportunities, such as large video-audio-language models, learning from extended feedback and trial-and-errors, understanding and generating codebase, and adapting AI models to understand scientific data such as gene sequences.


Check out the Paper. All Credit For This Research Goes To the Researchers on This Project. Also, don’t forget to join our 31k+ ML SubReddit, 40k+ Facebook Community, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more.

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

We are also on WhatsApp. Join our AI Channel on Whatsapp..


YOU MAY ALSO LIKE

What Is The Anker ‘Smart Display Charger’ And What Does That Screen Even Do?

What Is Retrieval-Augmented Generation (RAG)? How AI Answers with External Knowledge – Unite.AI

Arshad is an intern at MarktechPost. He is currently pursuing his Int. MSc Physics from the Indian Institute of Technology Kharagpur. Understanding things to the fundamental level leads to new discoveries which lead to advancement in technology. He is passionate about understanding the nature fundamentally with the help of tools like mathematical models, ML models and AI.


▶️ Now Watch AI Research Updates On Our Youtube Channel [Watch Now]

Credit: Source link

ShareTweetSendSharePin

Related Posts

What Is The Anker ‘Smart Display Charger’ And What Does That Screen Even Do?
AI & Technology

What Is The Anker ‘Smart Display Charger’ And What Does That Screen Even Do?

September 8, 2026
What Is Retrieval-Augmented Generation (RAG)? How AI Answers with External Knowledge – Unite.AI
AI & Technology

What Is Retrieval-Augmented Generation (RAG)? How AI Answers with External Knowledge – Unite.AI

September 8, 2026
Motional Releases nuReasoning Dataset and Launches ECCV Challenge – Unite.AI
AI & Technology

Motional Releases nuReasoning Dataset and Launches ECCV Challenge – Unite.AI

September 8, 2026
Renault Is Building Its €17,900 Dacia Spring EV In Europe To Qualify For Local Subsidies
AI & Technology

Renault Is Building Its €17,900 Dacia Spring EV In Europe To Qualify For Local Subsidies

September 8, 2026
Next Post
Former VP Cheney Slams Trump In New Endorsement Ad

Former VP Cheney Slams Trump In New Endorsement Ad

Leave a Reply Cancel reply

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

Search

No Result
View All Result
The Social Media Trial Settlement Is A Major Win For Meta

The Social Media Trial Settlement Is A Major Win For Meta

September 2, 2026
Live updates: Rescues underway as two workers pulled alive more than a week after Nepal-China floods – CNN

Live updates: Rescues underway as two workers pulled alive more than a week after Nepal-China floods – CNN

September 4, 2026
Nationwide Investor Destinations Funds Q2 2026 Commentary (Mutual Fund:NDAAX)

Nationwide Investor Destinations Funds Q2 2026 Commentary (Mutual Fund:NDAAX)

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