• bitcoinBitcoin(BTC)$77,143.000.54%
  • ethereumEthereum(ETH)$2,511.022.81%
  • tetherTether(USDT)$1.000.01%
  • binancecoinBNB(BNB)$724.761.94%
  • rippleXRP(XRP)$1.351.08%
  • usd-coinUSDC(USDC)$1.000.00%
  • solanaSolana(SOL)$102.002.90%
  • tronTRON(TRX)$0.338306-0.61%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.33%
  • zcashZcash(ZEC)$1,157.546.11%
  • HyperliquidHyperliquid(HYPE)$79.280.04%
  • dogecoinDogecoin(DOGE)$0.0838900.70%
  • RainRain(RAIN)$0.015446-1.85%
  • USDSUSDS(USDS)$1.000.00%
  • moneroMonero(XMR)$515.151.06%
  • whitebitWhiteBIT Coin(WBT)$80.100.86%
  • chainlinkChainlink(LINK)$11.500.01%
  • leo-tokenLEO Token(LEO)$9.15-0.39%
  • cardanoCardano(ADA)$0.2051770.10%
  • stellarStellar(XLM)$0.1774951.23%
  • Ethena USDeEthena USDe(USDE)$1.000.03%
  • daiDai(DAI)$1.000.01%
  • bitcoin-cashBitcoin Cash(BCH)$226.801.23%
  • USD1USD1(USD1)$1.000.04%
  • litecoinLitecoin(LTC)$53.091.63%
  • CantonCanton(CC)$0.097092-1.76%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.360.76%
  • uniswapUniswap(UNI)$5.980.06%
  • Global DollarGlobal Dollar(USDG)$1.00-0.02%
  • avalanche-2Avalanche(AVAX)$7.43-0.79%
  • hedera-hashgraphHedera(HBAR)$0.074085-1.33%
  • nearNEAR Protocol(NEAR)$2.41-3.11%
  • shiba-inuShiba Inu(SHIB)$0.0000051.61%
  • suiSui(SUI)$0.72-1.13%
  • paypal-usdPayPal USD(PYUSD)$1.00-0.02%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • crypto-com-chainCronos(CRO)$0.0561480.35%
  • MemeCoreMemeCore(M)$1.182.28%
  • tether-goldTether Gold(XAUT)$4,347.150.59%
  • Circle USYCCircle USYC(USYC)$1.140.03%
  • Ripple USDRipple USD(RLUSD)$1.00-0.01%
  • okbOKB(OKB)$112.872.53%
  • BittensorBittensor(TAO)$234.12-1.55%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.00%
  • aaveAave(AAVE)$124.061.92%
  • mantleMantle(MNT)$0.581.41%
  • pax-goldPAX Gold(PAXG)$4,353.130.67%
  • AsterAster(ASTER)$0.68-3.00%
  • polkadotPolkadot(DOT)$1.03-7.06%
  • World Liberty FinancialWorld Liberty Financial(WLFI)$0.054731-2.83%
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 LLM Surgeon: A New Machine Learning Framework for Unstructured, Semi-Structured, and Structured Pruning of Large Language Models (LLMs)

December 30, 2023
in AI & Technology
Reading Time: 4 mins read
A A
Meet LLM Surgeon: A New Machine Learning Framework for Unstructured, Semi-Structured, and Structured Pruning of Large Language Models (LLMs)
ShareShareShareShareShare

The recent advancements in Artificial Intelligence have enabled the development of Large Language Models (LLMs) with a significantly large number of parameters, with some of them reaching into billions (for example, LLaMA-2 that comes in sizes of 7B, 13B, and even 70B parameters). With such specifications, the model is able to achieve very high performances across diverse tasks, making it a powerful tool for various AI applications. The downside to this, however, is that the deployment of such models comes with an expensive cost, and devices like phones do not possess enough memory to host them. 

Various pruning techniques have emerged in the past to overcome this issue. However, many lead to a significant performance degradation after pruning. Moreover, these methods do not readily extend to structured pruning. Therefore, a team of researchers from Imperial College London, Qualcomm AI Research, QUVA Lab, and the University of Amsterdam have introduced LLM Surgeon, a framework for unstructured, semi-structured, and structured LLM pruning that prunes the model in multiple steps, updating the weights and curvature estimates between each step. According to the experiments conducted by the researchers, their framework allows for the pruning of LLMs by up to 30% without any significant performance degradation, demonstrating its effectiveness.

The framework uses weight magnitude and activations from forward passes and gradient information from backward passes to relate weight removal costs to the true final objective. The researchers have improved the previous works in weight pruning by using more accurate approximations to the loss curvature and more weight correlations to update remaining weights.

The accuracy of pruning depends on accurately estimating the local curvature and simultaneously overcoming the memory cost that is associated with storing the exact curvature. 

LLM Surgeon uses the KFAC approximation for this task, a popular method for curvature approximation, because of its memory efficiency. This method allows the framework to compute the dynamic allocation of structures that can be removed. Moreover, it also allows the updation of the remaining weights, accounting for the removal.

The framework prunes multiple weights at once to reach the target model size while inflicting the least possible cost. Additionally, LLM Surgeon prunes in multiple steps to improve the performance-to-sparsity. The researchers justified their approach by showing that the pruning performance increased with more shots.

The researchers evaluated the performance of LLM Surgeon on language modeling tasks on models like OPT and LLaMA-2, using data from the wikitext-2 dataset. For structured compression, the framework allows the model size to be reduced by up to 30% without any significant loss. Moreover, it performs better than all baselines, achieving the best performance for each target size. For semi-structured and unstructured compression as well, LLM Surgeon outperforms all baselines, demonstrating the best performance across target sizes.

In conclusion, LLM Surgeon addresses the problem posed by LLMs with a significantly large number of parameters in terms of deployment. The results show that it can prune rows and columns from a range of LLMs by 20-30% without significant loss in performance. It also achieves state-of-the-art results in unstructured and semi-structured pruning of LLMs, enabling an easier deployment process.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to join our 35k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, LinkedIn Group, 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..


YOU MAY ALSO LIKE

Anthropic Adds Plugin Evals to Claude Code: 6 Grader Types, a No-Plugin Baseline, and a CI Gate for Skills

Lenovo’s Googlebook 15 Seems Decidedly Premium Based On A New Leak

Asif Razzaq is the CEO of Marktechpost Media Inc.. As a visionary entrepreneur and engineer, Asif is committed to harnessing the potential of Artificial Intelligence for social good. His most recent endeavor is the launch of an Artificial Intelligence Media Platform, Marktechpost, which stands out for its in-depth coverage of machine learning and deep learning news that is both technically sound and easily understandable by a wide audience. The platform boasts of over 2 million monthly views, illustrating its popularity among audiences.


🎯 Meet AImReply: Your New AI Email Writing Extension…. Try it free now!.

Credit: Source link

ShareTweetSendSharePin

Related Posts

Anthropic Adds Plugin Evals to Claude Code: 6 Grader Types, a No-Plugin Baseline, and a CI Gate for Skills
AI & Technology

Anthropic Adds Plugin Evals to Claude Code: 6 Grader Types, a No-Plugin Baseline, and a CI Gate for Skills

September 11, 2026
Lenovo’s Googlebook 15 Seems Decidedly Premium Based On A New Leak
AI & Technology

Lenovo’s Googlebook 15 Seems Decidedly Premium Based On A New Leak

September 11, 2026
New Images Show A Detailed View Of Meta’s Upcoming Mixed Reality Headset
AI & Technology

New Images Show A Detailed View Of Meta’s Upcoming Mixed Reality Headset

September 11, 2026
Dzmitry Lazerka, Co-Founder of VictoriaMetrics – Interview Series – Unite.AI
AI & Technology

Dzmitry Lazerka, Co-Founder of VictoriaMetrics – Interview Series – Unite.AI

September 11, 2026
Next Post
University of Wisconsin-Madison student hospitalized after violent assault

University of Wisconsin-Madison student hospitalized after violent assault

Leave a Reply Cancel reply

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

Search

No Result
View All Result
Aryna Sabalenka cruises past Jessica Pegula and into the U.S. Open final – The New York Times

Aryna Sabalenka cruises past Jessica Pegula and into the U.S. Open final – The New York Times

September 11, 2026
KSLV Vs. SLVP: A 26% Yield Hasn't Been Enough

KSLV Vs. SLVP: A 26% Yield Hasn't Been Enough

September 11, 2026
How Long Should A Laptop Battery Last On A Single Charge?

How Long Should A Laptop Battery Last On A Single Charge?

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