mlsanityData to 7 Oct 2026

Fast and Slow Generating: An Empirical Study on Large and Small Language Models Collaborative Decoding

arXiv 2406.12295 ↗First posted 18 Jun 2024cs.CLcited by 12

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

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2021Training Verifiers to Solve Math Word Problemscited by 9,743
  7. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  8. 2020Scaling Laws for Neural Language Modelscited by 6,411
  9. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
  10. 2021On the Opportunities and Risks of Foundation Modelscited by 3,961
  11. 2021Program Synthesis with Large Language Modelscited by 3,509
  12. 2023Qwen Technical Reportcited by 3,273
38 more
  1. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  3. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
  4. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  5. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  6. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  7. 2023A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questionscited by 1,582
  8. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
  9. 2018Hierarchical Neural Story Generationcited by 1,182
  10. 2022Scaling Laws for Reward Model Overoptimizationcited by 1,056
  11. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
  12. 2024Yi: Open Foundation Models by 01.AIcited by 706
  13. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  14. 2022Beyond neural scaling laws: beating power law scaling via data pruningcited by 519
  15. 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
  16. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
  17. 2023What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuningcited by 354
  18. 2018Blockwise Parallel Decoding for Deep Autoregressive Modelscited by 318
  19. 2016Diverse Beam Search: Decoding Diverse Solutions from Neural Sequence Modelscited by 299
  20. 2024Break the Sequential Dependency of LLM Inference Using Lookahead Decodingcited by 295
  21. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
  22. 2017Beam Search Strategies for Neural Machine Translationcited by 232
  23. 2024Chain-of-Thought Reasoning Without Promptingcited by 208
  24. 2021Trustworthy AI: From Principles to Practicescited by 206
  25. 2024A Survey on Efficient Inference for Large Language Modelscited by 197
  26. 2022Speculative Decoding: Exploiting Speculative Execution for Accelerating Seq2seq Generationcited by 169
  27. 2023SwiftSage: A Generative Agent with Fast and Slow Thinking for Complex Interactive Taskscited by 166
  28. 2023Speculative Decoding with Big Little Decodercited by 163
  29. 2024Scaling Laws for Reward Model Overoptimization in Direct Alignment Algorithmscited by 139
  30. 2022Thinking Fast and Slow in Large Language Modelscited by 136
  31. 2023SpecTr: Fast Speculative Decoding via Optimal Transportcited by 129
  32. 2024Observational Scaling Laws and the Predictability of Language Model Performancecited by 128
  33. 2023The Impact of Large Language Models on Scientific Discovery: a Preliminary Study using GPT-4cited by 112
  34. 2023Chain-of-Thought Hub: A Continuous Effort to Measure Large Language Models' Reasoning Performancecited by 102
  35. 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 101
  36. 2024Tuning Language Models by Proxycited by 88
  37. 2023Cascade Speculative Drafting for Even Faster LLM Inferencecited by 83
  38. 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

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 2; 2025: 9; 2026: 1.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Fast Large Language Model Collaborative Decoding via Speculation
  2. 2025Speculate, then Collaborate: Fusing Knowledge of Language Models during Decoding
  3. 2024Think Big, Generate Quick: LLM-to-SLM for Fast Autoregressive Decoding
  4. 2026Speculative Decoding and the Curse of Multilinguality
  5. 2026Beyond Tokens: A Survey on Decoding Methods for Large Language and Vision-Language Models
  6. 2024Towards Fast Multilingual LLM Inference: Speculative Decoding and Specialized Drafters
  7. 2024Decoding at the Speed of Thought: Harnessing Parallel Decoding of Lexical Units for LLMs
  8. 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding