mlsanityData to 7 Oct 2026

Reflection-Window Decoding: Text Generation with Selective Refinement

arXiv 2502.03678 ↗First posted 5 Feb 2025cs.CL cs.AI cs.LGcited by 7

Not on the map. Why?

Abstract (arXiv)

The autoregressive decoding for text generation in large language models (LLMs), while widely used, is inherently suboptimal due to the lack of a built-in mechanism to perform refinement and/or correction of the generated content. In this paper, we consider optimality in terms of the joint probability over the generated response, when jointly considering all tokens at the same time. We theoretically characterize the potential deviation of the autoregressively generated response from its globally optimal counterpart that is of the same length. Our analysis suggests that we need to be cautious when noticeable uncertainty arises during text generation, which may signal the sub-optimality of the generation history. To address the pitfall of autoregressive decoding for text generation, we propose an approach that incorporates a sliding reflection window and a pausing criterion, such that refinement and generation can be carried out interchangeably as the decoding proceeds. Our selective refinement framework strikes a balance between efficiency and optimality, and our extensive experimental results demonstrate the effectiveness of our approach.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 40 of its 52 references that are in the map. First posted on arXiv 5 Feb 2025.

Builds on

40 of 52 references.

References · 40

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2023GPT-4 Technical Reportcited by 18,132
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  6. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  7. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  8. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  9. 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,146
  10. 2024GPT-4o System Cardcited by 4,467
  11. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  12. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
28 more
  1. 2022Constitutional AI: Harmlessness from AI Feedbackcited by 2,950
  2. 2019The Curious Case of Neural Text Degenerationcited by 2,881
  3. 2024Qwen2 Technical Reportcited by 2,076
  4. 2024Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phonecited by 1,883
  5. 2021Autoformer: Decomposition Transformers with Auto-Correlation for Long-Term Series Forecastingcited by 1,654
  6. 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
  7. 2018Hierarchical Neural Story Generationcited by 1,182
  8. 2023Accelerating Large Language Model Decoding with Speculative Samplingcited by 975
  9. 2023Teaching Large Language Models to Self-Debugcited by 963
  10. 2024Phi-4 Technical Reportcited by 675
  11. 2022Contrastive Decoding: Open-ended Text Generation as Optimizationcited by 598
  12. 2023Language Models can Solve Computer Taskscited by 371
  13. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decodingcited by 266
  14. 2023Automatically Correcting Large Language Models: Surveying the landscape of diverse self-correction strategiescited by 236
  15. 2023Self-Evaluation Guided Beam Search for Reasoningcited by 195
  16. 2023The Capacity for Moral Self-Correction in Large Language Modelscited by 171
  17. 2022Speculative Decoding: Exploiting Speculative Execution for Accelerating Seq2seq Generationcited by 169
  18. 2023Speculative Decoding with Big Little Decodercited by 163
  19. 2023SpecTr: Fast Speculative Decoding via Optimal Transportcited by 129
  20. 2018Learning to Write with Cooperative Discriminatorscited by 119
  21. 2024Is Temperature the Creativity Parameter of Large Language Models?cited by 92
  22. 2023LLMs cannot find reasoning errors, but can correct them given the error locationcited by 85
  23. 2020Limitations of Autoregressive Models and Their Alternativescited by 54
  24. 2024Deductive Beam Search: Decoding Deducible Rationale for Chain-of-Thought Reasoningcited by 24
  25. 2023Long Horizon Temperature Scalingcited by 18
  26. 2022ELMER: A Non-Autoregressive Pre-trained Language Model for Efficient and Effective Text Generationcited by 10
  27. 2024Language-Informed Beam Search Decoding for Multilingual Machine Translationcited by 2
  28. 2024Confidence-Aware Sub-Structure Beam Search (CABS): Mitigating Hallucination in Structured Data Generation with Large Language Modelscited by 1

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 3.

7 papers.