• bitcoinBitcoin(BTC)$76,583.00-1.79%
  • ethereumEthereum(ETH)$2,369.70-3.47%
  • tetherTether(USDT)$1.00-0.01%
  • binancecoinBNB(BNB)$682.12-0.60%
  • rippleXRP(XRP)$1.32-4.24%
  • usd-coinUSDC(USDC)$1.00-0.01%
  • solanaSolana(SOL)$98.08-4.11%
  • tronTRON(TRX)$0.322784-1.72%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.030.00%
  • HyperliquidHyperliquid(HYPE)$81.24-2.62%
  • zcashZcash(ZEC)$799.98-5.12%
  • dogecoinDogecoin(DOGE)$0.080692-2.53%
  • RainRain(RAIN)$0.0168571.26%
  • USDSUSDS(USDS)$1.00-0.03%
  • moneroMonero(XMR)$518.85-1.67%
  • leo-tokenLEO Token(LEO)$9.27-1.09%
  • whitebitWhiteBIT Coin(WBT)$70.20-2.39%
  • chainlinkChainlink(LINK)$10.96-4.02%
  • cardanoCardano(ADA)$0.193357-2.80%
  • stellarStellar(XLM)$0.172139-2.97%
  • bitcoin-cashBitcoin Cash(BCH)$243.76-1.49%
  • daiDai(DAI)$1.00-0.02%
  • CantonCanton(CC)$0.111734-6.81%
  • Ethena USDeEthena USDe(USDE)$1.00-0.02%
  • USD1USD1(USD1)$1.00-0.01%
  • litecoinLitecoin(LTC)$48.69-0.44%
  • uniswapUniswap(UNI)$6.014.96%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.32-2.81%
  • Global DollarGlobal Dollar(USDG)$1.000.00%
  • hedera-hashgraphHedera(HBAR)$0.073107-2.19%
  • avalanche-2Avalanche(AVAX)$7.08-2.72%
  • shiba-inuShiba Inu(SHIB)$0.000005-1.15%
  • suiSui(SUI)$0.71-2.30%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • tether-goldTether Gold(XAUT)$4,307.62-1.54%
  • crypto-com-chainCronos(CRO)$0.053929-4.31%
  • nearNEAR Protocol(NEAR)$1.84-4.75%
  • Ripple USDRipple USD(RLUSD)$1.000.00%
  • MemeCoreMemeCore(M)$1.04-3.41%
  • okbOKB(OKB)$106.40-4.23%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.14-0.08%
  • BittensorBittensor(TAO)$216.24-4.87%
  • aaveAave(AAVE)$126.820.25%
  • AsterAster(ASTER)$0.70-0.37%
  • pax-goldPAX Gold(PAXG)$4,317.19-1.50%
  • mantleMantle(MNT)$0.551.97%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.056912-0.57%
  • MorphoMorpho(MORPHO)$2.52-1.62%
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

GTA VI Extended Look Got 31 Million Views On Netflix Despite Six-Hour Exclusivity Window

Meta Superintelligence Labs Releases Muse Voice Transcribe: One Real-Time Model for Streaming ASR, Diarization, and Endpointing

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

GTA VI Extended Look Got 31 Million Views On Netflix Despite Six-Hour Exclusivity Window
AI & Technology

GTA VI Extended Look Got 31 Million Views On Netflix Despite Six-Hour Exclusivity Window

September 2, 2026
Meta Superintelligence Labs Releases Muse Voice Transcribe: One Real-Time Model for Streaming ASR, Diarization, and Endpointing
AI & Technology

Meta Superintelligence Labs Releases Muse Voice Transcribe: One Real-Time Model for Streaming ASR, Diarization, and Endpointing

September 2, 2026
This Is The Best Setting And Placement For Your Dolby Atmos Soundbar
AI & Technology

This Is The Best Setting And Placement For Your Dolby Atmos Soundbar

September 2, 2026
Aramco Digital and Avathon Partner on Autonomous Operations AI – Unite.AI
AI & Technology

Aramco Digital and Avathon Partner on Autonomous Operations AI – Unite.AI

September 1, 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
OpenAI’s rogue AI hacking of several companies opens new cybersecurity questions

OpenAI’s rogue AI hacking of several companies opens new cybersecurity questions

September 2, 2026
Trump reacts to Abdul El-Sayed’s win in Michigan Democratic Senate primary

Trump reacts to Abdul El-Sayed’s win in Michigan Democratic Senate primary

August 28, 2026
Bernie Sanders on if he regrets Platner endorsement: ‘Easier to be a Monday morning quarterback’

Bernie Sanders on if he regrets Platner endorsement: ‘Easier to be a Monday morning quarterback’

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