Tandem Transformers for Inference Efficient LLMs
On the map: Efficient LLM inference and serving → Speculative decoding
Abstract (arXiv)
The autoregressive nature of conventional large language models (LLMs) inherently limits inference speed, as tokens are generated sequentially. While speculative and parallel decoding techniques attempt to mitigate this, they face limitations: either relying on less accurate smaller models for generation or failing to fully leverage the base LLM's representations. We introduce a novel architecture, Tandem transformers, to address these issues. This architecture uniquely combines (1) a small autoregressive model and (2) a large model operating in block mode (processing multiple tokens simultaneously). The small model's predictive accuracy is substantially enhanced by granting it attention to the large model's richer representations. On the PaLM2 pretraining dataset, a tandem of PaLM2-Bison and PaLM2-Gecko demonstrates a 3.3% improvement in next-token prediction accuracy over a standalone PaLM2-Gecko, offering a 1.16x speedup compared to a PaLM2-Otter model with comparable downstream performance. We further incorporate the tandem model within the speculative decoding (SPEED) framework where the large model validates tokens from the small model. This ensures that the Tandem of PaLM2-Bison and PaLM2-Gecko achieves substantial speedup (around 1.14x faster than using vanilla PaLM2-Gecko in SPEED) while maintaining identical downstream task accuracy.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 21 of its 34 references that are in the map. First posted on arXiv 13 Feb 2024.
Builds on
21 of 34 references.
Closest ancestors · 5
Same direction, newest first
- 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
- 2023REST: Retrieval-Based Speculative Decoding14 Nov
- 2023DistillSpec: Improving Speculative Decoding via Knowledge Distillation12 Oct
- 2023Speculative Decoding with Big Little Decoder15 Feb
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov
Other references · 16
- 2017Attention Is All You Needcited by 59,932
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2018Know What You Don't Know: Unanswerable Questions for SQuADcited by 1,538
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,218
- 2015Teaching Machines to Read and Comprehendcited by 1,039
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 960
- 2021GLaM: Efficient Scaling of Language Models with Mixture-of-Expertscited by 890
- 2020TyDi QA: A Benchmark for Information-Seeking Question Answering in Typologically Diverse Languagescited by 486
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
4 more
- 2013One Billion Word Benchmark for Measuring Progress in Statistical Language Modelingcited by 302
- 2023Controlled Decoding from Language Modelscited by 133
- 2022The Lazy Neuron Phenomenon: On Emergence of Activation Sparsity in Transformerscited by 121
- 2018Abstractive Summarization of Reddit Posts with Multi-level Memory Networkscited by 102
Built on by
Citing papers per year: 2024: 6; 2025: 4.
10 papers.
- 2025Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignmentcited by 59
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inferencecited by 32
- 2024How Far Are We From AGI: Are LLMs All We Need?cited by 31
- 2024Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Modelscited by 29
- 2024Mixture of Attentions For Speculative Decodingcited by 17
- 2024Progressive Mixed-Precision Decoding for Efficient LLM Inferencecited by 17
- 2025Fuzzy Speculative Decoding for a Tunable Accuracy-Runtime Tradeoffcited by 14
- 2024KV Prediction for Improved Time to First Tokencited by 9
- 2025OverFill: Two-Stage Models for Efficient Language Model Decodingcited by 2
- 2025Fast Inference via Hierarchical Speculative Decodingcited by 0
- 2025Fast Inference via Hierarchical Speculative Decoding22 Oct 2025
- 2025OverFill: Two-Stage Models for Efficient Language Model Decoding11 Aug 2025
- 2025Fuzzy Speculative Decoding for a Tunable Accuracy-Runtime Tradeoff28 Feb 2025
- 2025Judge Decoding: Faster Speculative Sampling Requires Going Beyond Model Alignment31 Jan 2025
- 2024Progressive Mixed-Precision Decoding for Efficient LLM Inference17 Oct 2024
- 2024KV Prediction for Improved Time to First Token10 Oct 2024
- 2024Mixture of Attentions For Speculative Decoding4 Oct 2024
- 2024Block Transformer: Global-to-Local Language Modeling for Fast Inference4 Jun 2024
- 2024How Far Are We From AGI: Are LLMs All We Need?16 May 2024
- 2024Dynamic Speculation Lookahead Accelerates Speculative Decoding of Large Language Models7 May 2024
Similar, not cited
Close in wording, no citation either way
- 2024Generation Meets Verification: Accelerating Large Language Model Inference with Smart Parallel Auto-Correct Decoding
- 2025M2R2: Mixture of Multi-Rate Residuals for Efficient Transformer Inference
- 2024Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
- 2025FastMTP: Accelerating LLM Inference with Enhanced Multi-Token Prediction
- 2024Accelerating Large Language Model Inference with Self-Supervised Early Exits
- 2024Optimized Multi-Token Joint Decoding with Auxiliary Model for LLM Inference
- 2024Minions: Accelerating Large Language Model Inference with Aggregated Speculative Execution
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding