Fast and Slow Generating: An Empirical Study on Large and Small Language Models Collaborative Decoding
Not on the map. Why?
Abstract (arXiv)
Large Language Models (LLMs) exhibit impressive capabilities across various applications but encounter substantial challenges such as high inference latency, considerable training costs, and the generation of hallucinations. Collaborative decoding between large and small language models (SLMs) presents a promising strategy to mitigate these issues through methods including speculative decoding, contrastive decoding, and emulator or proxy fine-tuning. However, the specifics of such collaborations, particularly from a unified perspective, remain largely unexplored. Inspired by dual-process cognitive theory, we propose a unified framework in this paper, termed Fast and Slow Generating (FS-GEN). Within this framework, LLMs (sometimes along with SLMs) are categorized as System 2 (slow and deliberate), while independent SLMs are designated as System 1 (fast and intuitive). We provide a comprehensive analysis of these collaborative methodologies, elucidating their common properties and shedding light on the differential knowledge capabilities of System 2 versus System 1 through the FS-GEN framework. Our findings indicate that only a small proportion of collaborative interactions (approximately less than 20% in most instances) are necessary across various methods. These interactions between System 1 and System 2 conform to a scaling law related to the parameter ratios, enabling predictable collaboration. Furthermore, we explore the specific conditions under which collaboration proves most effective, particularly from an uncertainty perspective, offering novel insights that may guide future optimization efforts. Our research underscores that the fundamental distinction between System 1 and System 2 lies in the uncertainty of next token predictions, where interventions by System 2 are crucial to support System 1. Code for Reproduction: https://github.com/TsinghuaC3I/FS-GEN
Key facts. Cited by 12 papers in the map (data through 7 Oct 2026). Builds on 63 of its 86 references that are in the map. First posted on arXiv 18 Jun 2024.
Builds on
63 of 86 references.
References · 63
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023Qwen Technical Reportcited by 3,273
38 more
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2019The Curious Case of Neural Text Degenerationcited by 2,881
- 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
- 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
- 2018Hierarchical Neural Story Generationcited by 1,182
- 2022Scaling Laws for Reward Model Overoptimizationcited by 1,056
- 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
- 2024Yi: Open Foundation Models by 01.AIcited by 706
- 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
- 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 354
- 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
- 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 299
- 2024Break the Sequential Dependency of LLM Inference Using Lookahead Decodingcited by 295
- 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
- 2017Beam Search Strategies for Neural Machine Translationcited by 232
- 2024Chain-of-Thought Reasoning Without Promptingcited by 208
- 2021Trustworthy AI: From Principles to Practicescited by 206
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2022Speculative Decoding: Exploiting Speculative Execution for Accelerating Seq2seq Generationcited by 169
- 2023SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Taskscited by 166
- 2023Speculative Decoding with Big Little Decodercited by 163
- 2024Scaling Laws for Reward Model Overoptimization in Direct Alignment Algorithmscited by 139
- 2022Thinking Fast and Slow in Large Language Modelscited by 136
- 2023SpecTr: Fast Speculative Decoding via Optimal Transportcited by 129
- 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 128
- 2023The Impact of Large Language Models on Scientific Discovery: a Preliminary Study using GPT-4cited by 112
- 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performancecited by 102
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
- 2024Tuning Language Models by Proxycited by 88
- 2023Cascade Speculative Drafting for Even Faster LLM Inferencecited by 83
- 2024GliDe with a CaPE: A Low-Hassle Method to Accelerate Speculative Decodingcited by 74
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2024: 2; 2025: 9; 2026: 1.
12 papers.
- 2024Small Language Models: Survey, Measurements, and Insightscited by 109
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Modelscited by 54
- 2025A Survey of Slow Thinking-based Reasoning LLMs using Reinforced Learning and Inference-time Scaling Lawcited by 18
- 2025Minions: Cost-efficient Collaboration Between On-device and Cloud Language Modelscited by 17
- 2025A Survey on Collaborative Mechanisms Between Large and Small Language Modelscited by 12
- 2024Edge-Cloud Collaborative Motion Planning for Autonomous Driving with Large Language Modelscited by 5
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthinesscited by 5
- 2025Token Level Routing Inference System for Edge Devicescited by 4
- 2025Towards Harnessing the Collaborative Power of Large and Small Models for Domain Taskscited by 4
- 2025Communication-Efficient Hybrid Language Model via Uncertainty-Aware Opportunistic and Compressed Transmissioncited by 4
- 2025Collaborative Learning of On-Device Small Model and Cloud-Based Large Model: Advances and Future Directionscited by 2
- 2026Learning to Seek Help: Dynamic Collaboration Between Small and Large Language Modelscited by 1
- 2026Learning to Seek Help: Dynamic Collaboration Between Small and Large Language Models20 Apr 2026
- 2025A Survey on Collaborating Small and Large Language Models for Performance, Cost-effectiveness, Cloud-edge Privacy, and Trustworthiness14 Oct 2025
- 2025Cache-to-Cache: Direct Semantic Communication Between Large Language Models3 Oct 2025
- 2025Communication-Efficient Hybrid Language Model via Uncertainty-Aware Opportunistic and Compressed Transmission17 May 2025
- 2025A Survey on Collaborative Mechanisms Between Large and Small Language Models12 May 2025
- 2025A Survey of Slow Thinking-based Reasoning LLMs using Reinforced Learning and Inference-time Scaling Law5 May 2025
- 2025Towards Harnessing the Collaborative Power of Large and Small Models for Domain Tasks24 Apr 2025
- 2025Collaborative Learning of On-Device Small Model and Cloud-Based Large Model: Advances and Future Directions17 Apr 2025
- 2025Token Level Routing Inference System for Edge Devices10 Apr 2025
- 2025Minions: Cost-efficient Collaboration Between On-device and Cloud Language Models21 Feb 2025
- 2024Small Language Models: Survey, Measurements, and Insights24 Sep 2024
- 2024Edge-Cloud Collaborative Motion Planning for Autonomous Driving with Large Language Models19 Aug 2024
Similar, not cited
Close in wording, no citation either way
- 2025Fast Large Language Model Collaborative Decoding via Speculation
- 2025Speculate, then Collaborate: Fusing Knowledge of Language Models during Decoding
- 2024Think Big, Generate Quick: LLM-to-SLM for Fast Autoregressive Decoding
- 2026Speculative Decoding and the Curse of Multilinguality
- 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Models
- 2024Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
- 2024Decoding at the Speed of Thought: Harnessing Parallel Decoding of Lexical Units for LLMs
- 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding