• bitcoinBitcoin(BTC)$76,139.00-1.00%
  • ethereumEthereum(ETH)$2,241.50-0.55%
  • tetherTether(USDT)$1.000.02%
  • binancecoinBNB(BNB)$686.11-1.55%
  • rippleXRP(XRP)$1.250.24%
  • usd-coinUSDC(USDC)$1.000.02%
  • solanaSolana(SOL)$90.80-1.53%
  • tronTRON(TRX)$0.3215180.18%
  • Figure HelocFigure Heloc(FIGR_HELOC)$1.03-0.21%
  • zcashZcash(ZEC)$1,176.833.17%
  • HyperliquidHyperliquid(HYPE)$82.13-0.92%
  • moneroMonero(XMR)$628.303.60%
  • dogecoinDogecoin(DOGE)$0.073160-1.36%
  • USDSUSDS(USDS)$1.000.01%
  • whitebitWhiteBIT Coin(WBT)$73.20-0.89%
  • leo-tokenLEO Token(LEO)$9.30-0.34%
  • chainlinkChainlink(LINK)$10.74-3.30%
  • cardanoCardano(ADA)$0.185127-1.74%
  • stellarStellar(XLM)$0.158272-2.22%
  • bitcoin-cashBitcoin Cash(BCH)$268.21-2.74%
  • nearNEAR Protocol(NEAR)$3.73-2.01%
  • RainRain(RAIN)$0.006408-2.68%
  • daiDai(DAI)$1.000.01%
  • Ethena USDeEthena USDe(USDE)$1.000.09%
  • uniswapUniswap(UNI)$7.062.52%
  • litecoinLitecoin(LTC)$52.73-2.02%
  • CantonCanton(CC)$0.0959032.29%
  • USD1USD1(USD1)$1.000.12%
  • avalanche-2Avalanche(AVAX)$8.360.38%
  • suiSui(SUI)$0.870.05%
  • the-open-networkGram (prev. Toncoin)(GRAM)$1.15-2.64%
  • tether-goldTether Gold(XAUT)$3,928.690.13%
  • hedera-hashgraphHedera(HBAR)$0.068197-1.75%
  • Global DollarGlobal Dollar(USDG)$1.000.01%
  • quant-networkQuant(QNT)$188.30-1.56%
  • paypal-usdPayPal USD(PYUSD)$1.000.01%
  • shiba-inuShiba Inu(SHIB)$0.000005-0.50%
  • Ripple USDRipple USD(RLUSD)$1.000.01%
  • BittensorBittensor(TAO)$220.58-1.09%
  • crypto-com-chainCronos(CRO)$0.049346-1.60%
  • Ondo US Dollar YieldOndo US Dollar Yield(USDY)$1.150.01%
  • EthenaEthena(ENA)$0.168987-0.27%
  • Circle USYCCircle USYC(USYC)$1.140.01%
  • okbOKB(OKB)$106.25-2.31%
  • pepePepe(PEPE)$0.0000051.91%
  • BlackRock USD Institutional Digital Liquidity FundBlackRock USD Institutional Digital Liquidity Fund(BUIDL)$1.000.00%
  • aaveAave(AAVE)$124.630.04%
  • Pump.funPump.fun(PUMP)$0.0041415.35%
  • MemeCoreMemeCore(M)$0.83-1.71%
  • Spiko Amundi Overnight Swap Fund (EUR)Spiko Amundi Overnight Swap Fund (EUR)(EURSAFO)$1.140.61%
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

Google DeepMind Introduces Tandem Transformers for Inference Efficient Large Language Models LLMs

March 2, 2024
in AI & Technology
Reading Time: 4 mins read
A A
Google DeepMind Introduces Tandem Transformers for Inference Efficient Large Language Models LLMs
ShareShareShareShareShare

Very large language models (LLMs) continue to face major computational cost barriers, which prevents their broad deployment, even with inference optimization approaches that have advanced significantly. Sequentially producing tokens throughout the autoregressive generation process is a major cause of the high inference latency. Because ML accelerators (GPUs/TPUs) are designed for matrix-matrix multiplications and not the matrix-vector operations common in LLMs, this limitation prevents them from being fully utilized. As a result, autoregressive answer creation is far less efficient than prompt processing, which involves handling all tokens concurrently. 

However, the relative importance of the ability to comprehend the query or prefill (natural language understanding, or NLU) and the ability to produce an answer (natural language generation, or NLG) remains unclear. Modern LLM designs that rely solely on decoders bind these two activities together.

A new study by Google Research and DeepMind takes an efficiency-oriented look at this basic question. Their study presents Tandem Transformers, a new design that gives NLU (prefill processing) a far larger share of the model’s resources than NLG (response generation) does.  

The researchers implement a projection layer to bring the perhaps higher-dimensional representation space into alignment. Experiments with Tandem (PaLM2-Bison, PaLM2-Gecko) show that the capacity required for NLU vs NLG parts of LLMs can be separated, resulting in a more efficient design without a noticeable decrease in accuracy (where PaLM2-Gecko < PaLM2-Otter < PaLM2-Bison, according to model size). To maintain high accuracy, Tandem’s primary model refreshes all prefill representations, in contrast to an encoder-decoder architecture that would process query/prefix through an encoder and then generate the entire response through a decoder. 

They recommend Tandem + SPEED for applications that want output indistinguishable from the main model. The speculative decoding (SPEED) framework uses the Tandem small model to create draft tokens. Then, the large model verifies them. Improving draft quality while decreasing verification overhead relative to traditional SPEED is greatly aided by Tandem’s small model’s capacity to respond to the representations of large models.

Since Tandem is an independent model, it can produce respectable results without inherently requiring verification by a huge model. Tandem + SPEED can also leverage ML representations while autoregressively generating tokens, giving the drafter a far better compromise between token quality and model latency. Studies have demonstrated that logit distillation is useful for improving SPEED draft model training. This method works well with distillation and is complementary to it. Empirical Results for Tandem + SPEED. Lastly, they evaluate TPUv5e’s latency extensively for both the stand-alone and SPEED Tandem versions (PaLM2- Bison, PaLM2-Gecko), where PaLM2- Bison is the main large model and PaLM2- Gecko is the secondary small model. The researchers find that Tandem + SPEED with distillation can outperform the baseline PaLM2-Bison model by a factor of at least 2.19 on various datasets while maintaining the same output quality. As a bonus, their model is 1.11 to 1.17 times faster than the usual SPEED with the small model as the secondary model. Using an adaptive block length in SPEED, Tandem’s latency can be further reduced on various datasets by 1.04× to 1.09×.


Check out the Paper. All credit for this research goes to the researchers of this project. Also, don’t forget to follow us on Twitter and Google News. Join our 38k+ ML SubReddit, 41k+ Facebook Community, Discord Channel, and LinkedIn Group.

If you like our work, you will love our newsletter..

Don’t Forget to join our Telegram Channel

You may also like our FREE AI Courses….


YOU MAY ALSO LIKE

Cat Wu Steps Down as Claude Code Product Chief After Two Years – Unite.AI

iPad Mini OLED Vs. iPad Mini: What’s New?

Dhanshree Shenwai is a Computer Science Engineer and has a good experience in FinTech companies covering Financial, Cards & Payments and Banking domain with keen interest in applications of AI. She is enthusiastic about exploring new technologies and advancements in today’s evolving world making everyone’s life easy.


🐝 Join the Fastest Growing AI Research Newsletter Read by Researchers from Google + NVIDIA + Meta + Stanford + MIT + Microsoft and many others…


Credit: Source link

ShareTweetSendSharePin

Related Posts

Cat Wu Steps Down as Claude Code Product Chief After Two Years – Unite.AI
AI & Technology

Cat Wu Steps Down as Claude Code Product Chief After Two Years – Unite.AI

November 4, 2026
iPad Mini OLED Vs. iPad Mini: What’s New?
AI & Technology

iPad Mini OLED Vs. iPad Mini: What’s New?

November 4, 2026
Ouster Revenue Rises 50% as Physical AI Sensor Shipments Set Record – Unite.AI
AI & Technology

Ouster Revenue Rises 50% as Physical AI Sensor Shipments Set Record – Unite.AI

November 3, 2026
Meta’s Quest 2 And Quest Pro Reach ‘End Of Feature Development’
AI & Technology

Meta’s Quest 2 And Quest Pro Reach ‘End Of Feature Development’

November 3, 2026
Next Post
Breaking down Jack Smith’s ‘textbook response’ to Trump indictment

Breaking down Jack Smith's 'textbook response' to Trump indictment

Leave a Reply Cancel reply

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

Search

No Result
View All Result
NFL news, live updates: Lamar Jackson to be placed on IR with thumb injury; Lions LB Jack Campbell evaluated for neck injury at hospital – Yahoo Sports

NFL news, live updates: Lamar Jackson to be placed on IR with thumb injury; Lions LB Jack Campbell evaluated for neck injury at hospital – Yahoo Sports

November 2, 2026
Trump to talk with Putin ‘very soon’ about death at anti-plague lab

Trump to talk with Putin ‘very soon’ about death at anti-plague lab

October 30, 2026
Richard Engel gets caught in cloud of tear gas in Paris

Richard Engel gets caught in cloud of tear gas in Paris

October 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!