Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • CASINO
Crypto Flexs
  • DIRECTORY
  • CRYPTO
    • ETHEREUM
    • BITCOIN
    • ALTCOIN
  • BLOCKCHAIN
  • EXCHANGE
  • ADOPTION
  • TRADING
  • HACKING
  • SLOT
  • CASINO
Crypto Flexs
Home»ADOPTION NEWS»IBM Research unveils cost-effective AI inference through speculative decoding
ADOPTION NEWS

IBM Research unveils cost-effective AI inference through speculative decoding

By Crypto FlexsJune 24, 20243 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
IBM Research unveils cost-effective AI inference through speculative decoding
Share
Facebook Twitter LinkedIn Pinterest Email





IBM Research announced a breakthrough in AI inference that combines speculative decoding and paging attention to improve the cost performance of large language models (LLMs). According to IBM Research, this development is expected to make customer care chatbots more efficient and cost-effective.

In recent years, LLM has improved the ability of chatbots to understand customer queries and provide accurate responses. However, the high cost and slow speed of delivering these models has led to broader adoption of AI. Speculative decoding emerges as an optimization technique that accelerates AI inference by generating tokens faster. This can improve customer experience by reducing latency by 2-3x.

Despite the benefits, reducing latency typically comes with a trade-off of increased operating costs due to reduced throughput or fewer users who can simultaneously utilize the model. IBM Research solved this problem by quadrupling throughput while halving the latency of the open source Granite 20B code model.

Speculative Decoding: Efficiency in Token Generation

LLM uses an inefficient translator architecture for text generation. Typically, forward passing is required to process each previously generated token before generating a new token. Speculative decoding modifies this process to evaluate multiple prospective tokens simultaneously. Once these tokens are verified, multiple tokens can be generated in one forward pass, improving inference speed.

This technique can be implemented in smaller, more efficient models or as part of the base model itself. Speculative decoding can maximize the efficiency of each GPU by processing tokens in parallel, doubling or tripling the speed of inference. While researchers at DeepMind and Google leveraged draft models when they first introduced speculative decoding, new methods like the Medusa speculator do not require auxiliary models.

IBM researchers tuned Medusa speculators by conditioning future tokens on each other rather than on the model’s next predicted token. This approach, combined with an efficient fine-tuning method using large and small batches of text, aligns the speculator’s responses closely with the LLM, significantly improving inference speed.

Paged Attention: Optimize memory usage

Reducing LLM latency often reduces throughput due to increased GPU memory strain. Dynamic batching can alleviate this, but not when speculative decoding is also competing for memory. IBM researchers solved this problem using paged attention, an optimization technique inspired by paging concepts in virtual memory and operating systems.

Existing attention algorithms store key-value (KV) sequences in contiguous memory, which results in fragmentation. However, paging attention breaks these sequences into smaller blocks, or pages, that can be accessed as needed. This method frees memory by minimizing redundant computations and allowing speculators to generate multiple candidates for each predicted word without duplicating the entire KV cache.

meaning of the future

IBM has integrated speculative decoding and attention into its Granite 20B code model. IBM Speculator has been made open source by Hugging Face so other developers can apply these technologies to their LLMs. IBM plans to implement these optimization technologies across all models of the watsonx platform to enhance enterprise AI applications.

Image source: Shutterstock



Share. Facebook Twitter Pinterest LinkedIn Tumblr Email

Related Posts

KAITO unveils Capital Launchpad, a Web3 crowdfunding platform that will be released later this week.

July 22, 2025

Algorand (Algo) Get momentum in the launch and technical growth.

July 14, 2025

It flashes again in July

July 6, 2025
Add A Comment

Comments are closed.

Recent Posts

Ethena increases by 20% after Arthur Hayes spreads 2m ENA tokens.

July 27, 2025

Forexus drops NFT coins -the public stage is sold in a few minutes.

July 27, 2025

Using XRP Cloud To Mine BTC And DOGE, Helping Investors Obtain Stable Daily Income

July 27, 2025

Safe and expandable MCP server development: Main strategies and best practices

July 27, 2025

Cardano (ADA) flashes optimistic signals. Did the meeting just started?

July 26, 2025

DL Mining Launches In The U.S.

July 26, 2025

Ripple CTO’s amazing regret for censorship

July 26, 2025

Ether Leeum validation exit exit queue will explode with 521,000 ETH ATH.

July 26, 2025

Wake’s GMX Hacking Analysis and Attack Scenario

July 25, 2025

Pepeto Announces $5.5M Presale And Demo Trading Platform

July 25, 2025

$75K In Rewards Announced For Valhalla’s First-Ever Tournament

July 25, 2025

Crypto Flexs is a Professional Cryptocurrency News Platform. Here we will provide you only interesting content, which you will like very much. We’re dedicated to providing you the best of Cryptocurrency. We hope you enjoy our Cryptocurrency News as much as we enjoy offering them to you.

Contact Us : Partner(@)Cryptoflexs.com

Top Insights

Ethena increases by 20% after Arthur Hayes spreads 2m ENA tokens.

July 27, 2025

Forexus drops NFT coins -the public stage is sold in a few minutes.

July 27, 2025

Using XRP Cloud To Mine BTC And DOGE, Helping Investors Obtain Stable Daily Income

July 27, 2025
Most Popular

Ticket from BYDFI-CEX to DEX

May 13, 2025

How to Easily Open the Door to Wealth Using DDB Miner

November 25, 2024

Key support remains despite market uncertainty

May 15, 2024
  • Home
  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy
  • Terms and Conditions
© 2025 Crypto Flexs

Type above and press Enter to search. Press Esc to cancel.