• Live Crypto Prices
  • Crypto News
    • Worldwide
      • Bitcoin
      • Ethereum
      • Altcoin
      • Blockchain
      • Regulation
    • Australian Crypto News
  • Education
    • Cryptocurrency For Beginners
    • Where to Buy Cryptocurrency
    • Where to Store Cryptos
    • Cryptocurrency Tax in Australia 2021
No Result
View All Result
CryptoABC.net
No Result
View All Result

TEAL Introduces Training-Free Activation Sparsity to Boost LLM Efficiency

September 1, 2024
in Blockchain
Reading Time: 2min read
0 0
A A
0
Bitcoin Addresses Holding Between 100 and 10,000 BTC Hit a 7-Week High
0
SHARES
12
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

ShareTweetSendPinShare
Previous Post

XRP Retreats To $0.55, On-Chain Metrics Expose Investor Pain

Next Post

Bitcoin In ‘Neutral’ Zone: What This Means, According To Analyst

Next Post
Bitcoin In ‘Neutral’ Zone: What This Means, According To Analyst

Bitcoin In ‘Neutral’ Zone: What This Means, According To Analyst

You might also like

Strange New Chinese AI ‘KIMI’ Predicts the Price of XRP, Ethereum and Dogecoin by the End of 2026

Strange New Chinese AI ‘KIMI’ Predicts the Price of XRP, Ethereum and Dogecoin by the End of 2026

March 5, 2026
VeChain Foundation Releases Q1 2024 Treasury Report

AI Video Tools in 2026 – Manus Claims Top Spot in 12-Platform Test

March 6, 2026
Bitcoin Stabilizes, But Glassnode Warns Spot Demand Is Still Weak

Bitcoin Stabilizes, But Glassnode Warns Spot Demand Is Still Weak

March 10, 2026
US Should Act On Bitcoin, Not Just Praise It: Trump Ex-Advisor

US Should Act On Bitcoin, Not Just Praise It: Trump Ex-Advisor

March 5, 2026
Alibaba-Linked AI Agent ROME Attempts Crypto Mining and Network Tunnelling During Training

Alibaba-Linked AI Agent ROME Attempts Crypto Mining and Network Tunnelling During Training

March 9, 2026
HBAR Price Prediction: Targeting $0.30 by December 2025 as Hedera Tests Critical Breakout Level

HBAR Price Prediction: Hedera Eyes $0.12 Recovery After Testing Critical Support at $0.10

March 7, 2026
CryptoABC.net

This is an Australian online news/education portal that aims to provide the latest crypto news, real-time updates, education and reviews within Australia and around the world. Feel free to get in touch with us!

What's New Here!

TVL Spikes 23% In Less Than Two Weeks

TVL Spikes 23% In Less Than Two Weeks

March 12, 2026
Ethereum Price Prediction: Wall Street Is Choosing Ethereum — Is ETH Becoming the Backbone of Finance?

Ethereum Price Prediction: Wall Street Is Choosing Ethereum — Is ETH Becoming the Backbone of Finance?

March 12, 2026

Subscribe Now

  • Contact Us
  • Privacy Policy
  • Terms of Use
  • DMCA

© 2021 cryptoabc.net - All rights reserved!

No Result
View All Result
  • Live Crypto Prices
  • Crypto News
    • Worldwide
      • Bitcoin
      • Ethereum
      • Altcoin
      • Blockchain
      • Regulation
    • Australian Crypto News
  • Education
    • Cryptocurrency For Beginners
    • Where to Buy Cryptocurrency
    • Where to Store Cryptos
    • Cryptocurrency Tax in Australia 2021

© 2021 cryptoabc.net - All rights reserved!

Welcome Back!

Login to your account below

Forgotten Password?

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

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