CryptoSpiel.com
No Result
View All Result
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams
No Result
View All Result
CryptoSpiel.com
No Result
View All Result

TEAL Introduces Training-Free Activation Sparsity to Boost LLM Efficiency

September 1, 2024
in Blockchain
Reading Time: 2 mins read
A A
0
Bitcoin Addresses Holding Between 100 and 10,000 BTC Hit a 7-Week High
0
SHARES
2
VIEWS
ShareShareShareShareShare


Zach Anderson
Sep 01, 2024 08:34

TEAL offers a training-free approach to activation sparsity, significantly enhancing the efficiency of large language models (LLMs) with minimal degradation.





TEAL (Training-Free Activation Sparsity in LLMs) has emerged as a groundbreaking approach to improve the efficiency of large language models (LLMs) without requiring additional training. According to together.ai, this method applies magnitude pruning to hidden states throughout the model, achieving 40-50% activation sparsity with minimal degradation. This innovation allows for the transfer of fewer weights to on-chip memory, addressing the memory-bound nature of LLM inference and translating into 1.53-1.8x wall-clock speedups in single-batch decoding.

Background

LLMs are known for their massive size, which poses challenges during inference, primarily due to the speed limitations of transferring parameters from device memory to registers. Various techniques such as quantization, weight sparsity, and speculative decoding have been developed to tackle this ‘memory wall’. Activation sparsity, which leverages zero values in hidden states, is a less explored method that avoids transferring unnecessary weight channels during decoding.

Older models like OPT-175B show high activation sparsity, enabling methods like DejaVu to achieve significant speedups. However, newer models like LLaMA have moved to SwiGLU variants, making it harder to apply such methods. Recent research has attempted to ‘recover’ models that exhibit activation sparsity, but these require extensive retraining on massive datasets.

Motivating Study: Distributional Properties of Activations in LLMs

Research has shown that hidden states in LLMs exhibit outliers and are zero-centered with similar distributional shapes across layers. Specifically, states before MLP and Attention Blocks are Gaussian-shaped, while intermediate states are Laplacian-shaped. This suggests that many low-magnitude activations can be pruned with negligible model degradation, a concept also observed in other studies like CATS.

TEAL

TEAL introduces an optimization by sparsifying every tensor in the model, achieving near-zero degradation at 25% sparsity and minimal degradation at 40% sparsity. At 50% sparsity, Llama-3 variants show slightly more degradation compared to older Llama-2 and Mistral variants. TEAL outperforms CATS by sparsifying every tensor and choosing to sparsify through input, yielding lower error.

Hardware-Aware Speed-up

To benchmark real-world speedups, TEAL was integrated with GPT-Fast, achieving significant speedups of up to 1.53x and 1.8x at 40% and 50% sparsity, respectively. While the kernel is faster than cuBLAS at 0% sparsity, there is still room for further optimization.

Compatibility with Quantization

TEAL also demonstrates compatibility with quantization, another technique for efficient LLM inference. Combining activation sparsity and quantization unlocks new regimes for transferring memory to GPU registers, allowing for higher inference speed-ups.

Applications

TEAL’s most immediate application is accelerating inference in resource-constrained edge settings, particularly in single-batch scenarios. It also aids inference providers like Together AI, which hosts over 100 open-source models across a large fleet of GPUs, by serving models more efficiently.

Image source: Shutterstock


Credit: Source link

RELATED POSTS

Ethan Tandowsky Joins ElevenLabs as CFO After Adyen Exit

PLTR Price Prediction: Bulls Stalling Below $177 — Flush to $170 Before the Next Leg Higher

COIN Price Prediction: Smart Money is Long, But the Earnings Wreckage Has a Ceiling — $195 or Breakdown

Buy JNews
ADVERTISEMENT
ShareTweetSendPinShare
Previous Post

Canadian Court Orders Man to Repay $1.2 Million in Bitcoin Loan Dispute

Next Post

763K Trades, $2.7B Volume Boost

Related Posts

Google’s Gemini Models Launch Agentic Video Understanding
Blockchain

Ethan Tandowsky Joins ElevenLabs as CFO After Adyen Exit

September 8, 2026
PLTR Price Prediction: The $186 Wall — Bearish Derivatives Pressure vs. Explosive AI Fundamentals
Blockchain

PLTR Price Prediction: Bulls Stalling Below $177 — Flush to $170 Before the Next Leg Higher

September 8, 2026
COIN Price Prediction: Smart Money is Long, But the Earnings Wreckage Has a Ceiling — $195 or Breakdown
Blockchain

COIN Price Prediction: Smart Money is Long, But the Earnings Wreckage Has a Ceiling — $195 or Breakdown

September 8, 2026
Next Post
763K Trades, $2.7B Volume Boost

763K Trades, $2.7B Volume Boost

Bitcoin ETF vs Buying BTC Directly: What’s Better?

Is Bitcoin Too Big to Fail? (opinion)

Recommended Stories

CME Bitcoin futures short dwarfs Coinbase long by 272x

CME Bitcoin futures short dwarfs Coinbase long by 272x

August 31, 2026
The New RWA Meme Coin Meta Has TradFi CEOs Furious

The New RWA Meme Coin Meta Has TradFi CEOs Furious

September 5, 2026
NFLX Price Prediction: Dip Buyers Emerge After 4.6% Flush — But $79.82 Is the Line in the Sand

NFLX Price Prediction: Smart Money Is Loading the Long Side — $80.41 Reclaim or $76 Trap Door Opens Within 48 Hours

September 6, 2026

Popular Stories

  • Winklevoss Twins Continue Crypto Donation Spree With Another $1,000,000 in Bitcoin (BTC)

    Trader Says DeFi Altcoin Aave Witnessing Clear Trend Switch, Updates Forecast on Two Low-Cap Coins

    0 shares
    Share 0 Tweet 0
  • TSLA Price Prediction: Cybercab Hype Fades Fast — $340 or $376, This Is Where Tesla Breaks

    0 shares
    Share 0 Tweet 0
  • The New RWA Meme Coin Meta Has TradFi CEOs Furious

    0 shares
    Share 0 Tweet 0
  • Ethereum Price Teases Breakout as Bulls Eye a Violent Move

    0 shares
    Share 0 Tweet 0
  • Render Royale May 2025: Winners Unveiled in a Fantastical Display

    0 shares
    Share 0 Tweet 0
CryptoSpiel.com

This is an online news portal that aims to provide the latest crypto news, blockchain, regulations and much more stuff like that around the world. Feel free to get in touch with us!

What’s New Here!

  • Saylor Fires $176M at STRC as Strategy Doubles Buyback War Chest – Bitcoin News
  • Ethan Tandowsky Joins ElevenLabs as CFO After Adyen Exit
  • CRO Rockets as Robinhood Takes Stakes in Crypto.com and OG.com

Subscribe Now

Loading
  • Live Crypto Prices
  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

© 2021 - cryptospiel.com - All rights reserved!

No Result
View All Result
  • Home
  • Live Crypto Prices
  • Live ICO
  • Exchange
  • Crypto News
  • Bitcoin
  • Altcoins
  • Blockchain
  • Regulations
  • Trading
  • Scams

© 2021 - cryptospiel.com - All rights reserved!

Please enter CoinGecko Free Api Key to get this plugin works.