• bitcoinBitcoin(BTC)$80,088.00-0.88%
  • ethereumEthereum(ETH)$2,326.69-1.34%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$739.40-0.05%
  • rippleXRP(XRP)$1.30-0.55%
  • usd-coinUSDC(USDC)$1.000.01%
  • solanaSolana(SOL)$101.34-1.00%
  • tronTRON(TRX)$0.3304650.44%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.06-0.69%
  • zcashZcash(ZEC)$1,209.580.08%
  • HyperliquidHyperliquid(HYPE)$76.66-0.08%
  • dogecoinDogecoin(DOGE)$0.076937-1.09%
  • moneroMonero(XMR)$593.78-3.51%
  • USDSUSDS(USDS)$1.00-0.01%
  • whitebitWhiteBIT Coin(WBT)$77.17-0.92%
  • chainlinkChainlink(LINK)$11.43-1.61%
  • leo-tokenLEO Token(LEO)$9.01-0.31%
  • cardanoCardano(ADA)$0.203928-2.33%
  • RainRain(RAIN)$0.0086434.70%
  • nearNEAR Protocol(NEAR)$4.581.62%
  • stellarStellar(XLM)$0.168064-2.27%
  • bitcoin-cashBitcoin Cash(BCH)$279.670.92%
  • daiDai(DAI)$1.00-0.05%
  • Ethena USDeEthena USDe(USDE)$1.000.01%
  • litecoinLitecoin(LTC)$56.80-0.47%
  • uniswapUniswap(UNI)$6.930.76%
  • CantonCanton(CC)$0.101139-0.60%
  • avalanche-2Avalanche(AVAX)$8.93-0.84%
  • USD1USD1(USD1)$1.00-0.01%
  • suiSui(SUI)$0.92-2.13%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.25-0.20%
  • hedera-hashgraphHedera(HBAR)$0.077505-0.73%
  • tether-goldTether Gold(XAUT)$3,987.79-0.07%
  • Global DollarGlobal Dollar(USDG)$1.00-0.01%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • BittensorBittensor(TAO)$252.310.13%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.99%
  • EthenaEthena(ENA)$0.2075326.01%
  • quant-networkQuant(QNT)$189.484.87%
  • crypto-com-chainCronos(CRO)$0.054223-3.28%
  • BitwayBitway(BTW)$1.64-6.52%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • Circle USYCCircle USYC(USYC)$1.140.00%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.02%
  • okbOKB(OKB)$108.20-1.04%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • MemeCoreMemeCore(M)$0.943.39%
  • aaveAave(AAVE)$135.75-1.67%
  • OndoOndo(ONDO)$0.407601-1.29%
  • Pump.funPump.fun(PUMP)$0.004247-1.84%
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 Princeton Introduce MeZO: A Memory-Efficient Zeroth-Order Optimizer that can Fine-Tune Large Language Models (LLMs)

June 12, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Researchers from Princeton Introduce MeZO: A Memory-Efficient Zeroth-Order Optimizer that can Fine-Tune Large Language Models (LLMs)
ShareShareShareShareShare

Large Language Models are rapidly advancing with the huge success of Generative Artificial Intelligence in the past few months. These models are contributing to some remarkable economic and societal transformations, the best example of which is the well-known ChatGPT developed by OpenAI, which has had millions of users ever since its release, with the number increasing exponentially, if not the same. This chatbot, based on Natural Language Processing (NLP) and Natural Language Understanding (NLU), allows users to generate meaningful text just like humans. It meaningfully answers questions, summarizes long paragraphs, completes codes and emails, etc. Other LLMs, like PaLM, Chinchilla, BERT, etc., have also shown great performances in the domain of AI.

Fine-tuning pre-trained language models has been a popular approach for a lot of language-related tasks. Fine-tuning allows these models to adapt to specialized domains, incorporate human instructions, and cater to individual preferences. It basically adjusts the parameters of an already trained LLM using a smaller and domain-specific dataset. As language models scale up with more parameters, fine-tuning becomes computationally demanding and memory-intensive for the process of computing gradients during backpropagation. Memory usage is significantly higher than that needed for inference because of the involvement of caching activations, gradients, and storage of gradient history.

Recently, a team of researchers from Princeton University has introduced a solution for the memory issue. Called MeZO, a memory-efficient zeroth-order optimizer, this is an adaptation of the traditional ZO-SGD method that estimates gradients using only differences in loss values and operates in-place, allowing fine-tuning language models with the same memory footprint as inference. The team has focussed on zeroth-order approaches in MeZO as ZO methods can estimate gradients using only two forward passes, making them memory-efficient.

🚀 JOIN the fastest ML Subreddit Community

The MeZO algorithm has been particularly designed to optimize Large Language Models with billions of parameters. Some of the main contributions mentioned by the team are –

  1. MeZO has been developed by modifying the ZO-SGD method and a few variations to run in place on arbitrary-sized models with hardly any memory overhead.
  1. MeZO has been shown to be compatible with PEFT and comprehensive parameter tunings, like LoRA and prefix tuning.
  1. MeZO can improve non-differentiable goals like accuracy or F1 score while still utilizing the same amount of memory as inference.
  1. An adequate pre-training ensures that MeZO’s per-step optimization rate and global convergence rate depend on a specific condition number of the landscape, i.e., the effective local rank rather than a large number of parameters, which is contrasting to the previous ZO lower bounds that imply the convergence rate can be slow according to the number of parameters.
  1. Experiments suggested that on tests on various model types like masked LM and autoregressive LM, the model scales from 350M to 66B, and downstream tasks like classification, multiple-choice, and generation.
  1. MeZO outperforms zero-shot, ICL, and linear probing in experiments and even performs better or similarly to fine-tuning on 7 out of 11 tests with OPT-13B, although consuming about 12 less memory than RoBERTa-large or normal fine-tuning, respectively.

Upon evaluation, MeZO was able to train a 30-billion parameter model using a single Nvidia A100 80GB GPU, while backpropagation can only train a 2.7-billion parameter LM within the same memory constraints. In conclusion, MeZO is a memory-efficient zeroth-order optimizer that can effectively fine-tune large language models.


Check Out The Paper and Github. Don’t forget to join our 23k+ 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]

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


YOU MAY ALSO LIKE

Why Google Chrome Is Always Using So Much RAM

Nanbeige Releases Nanbeige4.3-33B, a 33B Open Agentic Coding Model

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.


➡️ Try: Criminal IP: AI-based Phishing Link Checker Chrome Extension

Credit: Source link

ShareTweetSendSharePin

Related Posts

Why Google Chrome Is Always Using So Much RAM
AI & Technology

Why Google Chrome Is Always Using So Much RAM

October 25, 2026
Nanbeige Releases Nanbeige4.3-33B, a 33B Open Agentic Coding Model
AI & Technology

Nanbeige Releases Nanbeige4.3-33B, a 33B Open Agentic Coding Model

October 25, 2026
What Does The Bell Icon Mean On Your CarPlay Screen?
AI & Technology

What Does The Bell Icon Mean On Your CarPlay Screen?

October 25, 2026
The Most Unexpected Everyday Tool Can Be Found On Your Phone
AI & Technology

The Most Unexpected Everyday Tool Can Be Found On Your Phone

October 25, 2026
Next Post
ECB may Announce Further Stimulus Measures to Boost Economy

ECB may Announce Further Stimulus Measures to Boost Economy

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Rhode Island Sues Meta Over Its Approach To Scam Ads

Rhode Island Sues Meta Over Its Approach To Scam Ads

October 22, 2026
80% of S&P 500 Stocks Are in Correction Territory. These 3 Are Still Buys

80% of S&P 500 Stocks Are in Correction Territory. These 3 Are Still Buys

October 21, 2026
Full Episode: TODAY Show – Oct. 20

Full Episode: TODAY Show – Oct. 20

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