• bitcoinBitcoin(BTC)$81,078.005.07%
  • ethereumEthereum(ETH)$2,513.245.46%
  • tetherTether(USDT)$1.000.03%
  • binancecoinBNB(BNB)$724.754.99%
  • rippleXRP(XRP)$1.457.15%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$103.864.03%
  • tronTRON(TRX)$0.3289301.05%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.031.92%
  • HyperliquidHyperliquid(HYPE)$86.305.70%
  • zcashZcash(ZEC)$955.4517.21%
  • dogecoinDogecoin(DOGE)$0.0871426.05%
  • RainRain(RAIN)$0.0171012.65%
  • USDSUSDS(USDS)$1.000.01%
  • moneroMonero(XMR)$502.72-1.46%
  • chainlinkChainlink(LINK)$11.937.27%
  • whitebitWhiteBIT Coin(WBT)$73.964.65%
  • leo-tokenLEO Token(LEO)$9.310.62%
  • cardanoCardano(ADA)$0.2221758.98%
  • stellarStellar(XLM)$0.1839814.71%
  • bitcoin-cashBitcoin Cash(BCH)$255.853.87%
  • daiDai(DAI)$1.000.00%
  • CantonCanton(CC)$0.1112961.62%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • USD1USD1(USD1)$1.000.03%
  • litecoinLitecoin(LTC)$51.092.42%
  • uniswapUniswap(UNI)$6.239.03%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.383.58%
  • hedera-hashgraphHedera(HBAR)$0.0782233.59%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • avalanche-2Avalanche(AVAX)$7.503.87%
  • suiSui(SUI)$0.771.56%
  • shiba-inuShiba Inu(SHIB)$0.0000053.26%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • crypto-com-chainCronos(CRO)$0.0578546.46%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • tether-goldTether Gold(XAUT)$4,461.161.07%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • nearNEAR Protocol(NEAR)$1.943.43%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • MemeCoreMemeCore(M)$1.05-1.18%
  • okbOKB(OKB)$109.664.28%
  • BittensorBittensor(TAO)$230.125.90%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.54%
  • aaveAave(AAVE)$134.245.95%
  • AsterAster(ASTER)$0.720.28%
  • pax-goldPAX Gold(PAXG)$4,470.920.95%
  • mantleMantle(MNT)$0.572.04%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.0584794.74%
  • OndoOndo(ONDO)$0.3641484.65%
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

Meet LOMO (LOw-Memory Optimization): A New AI Optimizer that Fuses the Gradient Computation and the Parameter Update in One Step to Reduce Memory Usage

June 30, 2023
in AI & Technology
Reading Time: 5 mins read
A A
Meet LOMO (LOw-Memory Optimization): A New AI Optimizer that Fuses the Gradient Computation and the Parameter Update in One Step to Reduce Memory Usage
ShareShareShareShareShare

Large Language Models have transformed Natural Language Processing by showcasing amazing skills like emergence and grokking and driving model size to increase continually. The bar for NLP research is raised by training these models with billions of parameters, such as those with 30B to 175B parameters. It is challenging for small labs and businesses to participate in this field of research since tuning LLMs frequently calls for expensive GPU resources, such as 880GB machines. Recently, resource-constrained LLM tuning has been made possible by parameter-efficient fine-tuning techniques such as LoRA and Prefix-tuning. 

Although complete parameter fine-tuning has been regarded as a more effective strategy than parameter-efficient fine-tuning, both techniques must provide a workable solution. They want to investigate methods for completing comprehensive parameter fine-tuning in the circumstances with constrained resources. They examine activation, optimizer states, gradient tensor, and parameters—the four characteristics of memory utilization in LLMs—and optimize the training process in three ways: 1) They reevaluate the algorithmic functionality of an optimizer and discover that SGD is a suitable substitute for fine-tuning complete parameters for LLMs. Since SGD doesn’t maintain intermediate stages, we can delete the whole portion of optimizer states. 2) Their suggested optimizer, LOMO, as shown in Figure 1, decreases the memory use of gradient tensors to O, equal to the memory consumption of the greatest gradient tensor. 3) They incorporate gradient normalization and loss scaling and switch certain calculations to full precision during training to stabilize mix-precision training with LOMO. Their method combines the same amount of memory as parameters, activation, and the greatest gradient tensor. 

They severely increase the memory consumption of complete parameter fine-tuning, reducing it to the level of inference. This is because the forward process alone shouldn’t require less memory than the backward process. Notably, they ensure the fine-tuning function is not impaired while using LOMO to conserve memory because the parameter update process is similar to SGD. Researchers from the Fudan University demonstrate how using LOMO makes it possible to successfully train a 65B model with only 8 RTX 3090 GPUs by empirically evaluating the memory and throughput capabilities of LOMO. Additionally, they use LOMO to adjust the entire parameters of LLMs on the SuperGLUE dataset collection to validate the downstream performance of their suggested approach. The empirical findings show how well LOMO performs while optimizing LLMs with many parameters. 

🔥 Join The Fastest Growing ML Subreddit
https://arxiv.org/pdf/2306.09782.pdf

These are their overall contributions: 

• They offer a theoretical study that suggests SGD can successfully adjust all of the LLMs’ parameters. It’s possible that the obstacles that once prevented SGD from being widely used won’t be as serious when optimizing LLMs. 

• They suggest LOMO, or low-memory optimization, to drastically reduce GPU memory utilization while maintaining the process of fine-tuning. 

• They empirically demonstrate the efficiency of LOMO in optimizing LLMs in resource-constrained circumstances by carefully analyzing memory utilization and throughput performance. Performance assessments of downstream jobs provide additional justification for this.

The code implementation is available on GitHub.


Check Out the Paper and Github Link. Don’t forget to join our 25k+ ML SubReddit, Discord Channel, and Email Newsletter, where we share the latest AI research news, cool AI projects, and more. If you have any questions regarding the above article or if we missed anything, feel free to email us at [email protected]


Featured Tools:

🚀 Check Out 100’s AI Tools in AI Tools Club


YOU MAY ALSO LIKE

The Ternus Era At Apple Begins, But Cook Isn’t Leaving

Mobile Games Designed to Be Addictive Get More Kid-Friendly

Aneesh Tickoo is a consulting intern at MarktechPost. He is currently pursuing his undergraduate degree in Data Science and Artificial Intelligence from the Indian Institute of Technology(IIT), Bhilai. He spends most of his time working on projects aimed at harnessing the power of machine learning. His research interest is image processing and is passionate about building solutions around it. He loves to connect with people and collaborate on interesting projects.


🔥 StoryBird.ai just dropped some amazing features. Generate an illustrated story from a prompt. Check it out here. (Sponsored)

Credit: Source link

ShareTweetSendSharePin

Related Posts

The Ternus Era At Apple Begins, But Cook Isn’t Leaving
AI & Technology

The Ternus Era At Apple Begins, But Cook Isn’t Leaving

September 4, 2026
Mobile Games Designed to Be Addictive Get More Kid-Friendly
AI & Technology

Mobile Games Designed to Be Addictive Get More Kid-Friendly

September 4, 2026
Google DeepMind’s WeatherNext 3 Trains on Weather Station Observations to Deliver 5 km Global Forecasts, Refreshed Every Hour
AI & Technology

Google DeepMind’s WeatherNext 3 Trains on Weather Station Observations to Deliver 5 km Global Forecasts, Refreshed Every Hour

September 4, 2026
Nvidia Makes .5 Billion Bet on MediaTek
AI & Technology

Nvidia Makes $3.5 Billion Bet on MediaTek

September 4, 2026
Next Post
Lawmakers, Biden face growing pressure over police reform bills

Lawmakers, Biden face growing pressure over police reform bills

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Credit Default Swap Market Surges as AI Spend Booms

Credit Default Swap Market Surges as AI Spend Booms

August 29, 2026
TSA finds five stolen cannonballs in passenger’s luggage

TSA finds five stolen cannonballs in passenger’s luggage

August 31, 2026
Salmonella outbreak expands to 27 states

Salmonella outbreak expands to 27 states

August 28, 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!