Know When To Stop: A Study of Semantic Drift in Text Generation
Not on the map. Why?
Abstract (arXiv)
In this work, we explicitly show that modern LLMs tend to generate correct facts first, then "drift away" and generate incorrect facts later: this was occasionally observed but never properly measured. We develop a semantic drift score that measures the degree of separation between correct and incorrect facts in generated texts and confirm our hypothesis when generating Wikipedia-style biographies. This correct-then-incorrect generation pattern suggests that factual accuracy can be improved by knowing when to stop generation. Therefore, we explore the trade-off between information quantity and factual accuracy for several early stopping methods and manage to improve factuality by a large margin. We further show that reranking with semantic similarity can further improve these results, both compared to the baseline and when combined with early stopping. Finally, we try calling external API to bring the model back to the right generation path, but do not get positive results. Overall, our methods generalize and can be applied to any long-form text generation to produce more reliable information, by balancing trade-offs between factual accuracy, information quantity and computational cost.
Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 27 of its 42 references that are in the map. First posted on arXiv 8 Apr 2024.
Builds on
27 of 42 references.
References · 27
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2018FEVER: a large-scale dataset for Fact Extraction and VERificationcited by 1,375
- 2023FActScore: Fine-grained Atomic Evaluation of Factual Precision in Long Form Text Generationcited by 1,282
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2022Atlas: Few-shot Learning with Retrieval Augmented Language Modelscited by 952
- 2022Teaching Models to Express Their Uncertainty in Wordscited by 751
- 2019ELI5: Long Form Question Answeringcited by 575
- 2020Asking and Answering Questions to Evaluate the Factual Consistency of Summariescited by 378
- 2023A Survey of Hallucination in Large Foundation Modelscited by 368
- 2020Evaluation of Text Generation: A Surveycited by 277
15 more
- 2022Factuality Enhanced Language Models for Open-Ended Text Generationcited by 202
- 2023Sources of Hallucination by Large Language Models on Inference Taskscited by 169
- 2021Hurdles to Progress in Long-form Question Answeringcited by 167
- 2020Detecting Hallucinated Content in Conditional Neural Sequence Generationcited by 152
- 2021A Token-level Reference-free Hallucination Detection Benchmark for Free-form Text Generationcited by 138
- 2023Generating Benchmarks for Factuality Evaluation of Language Modelscited by 105
- 2020A Theoretical Analysis of the Repetition Problem in Text Generationcited by 83
- 2022Detecting and Mitigating Hallucinations in Machine Translation: Model Internal Workings Alone Do Well, Sentence Similarity Even Bettercited by 75
- 2019Addressing Semantic Drift in Question Generation for Semi-Supervised Question Answeringcited by 63
- 2022On the Limitations of Reference-Free Evaluations of Generated Textcited by 52
- 2022Read before Generate! Faithful Long Form Question Answering with Machine Readingcited by 47
- 2022Model Criticism for Long-Form Text Generationcited by 21
- 2020Improving Language Generation with Sentence Coherence Objectivecited by 5
- 2023Optimizing Factual Accuracy in Text Generation through Dynamic Knowledge Selectioncited by 2
- 2021Sentence Semantic Regression for Text Generationcited by 1
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 13.
18 papers.
Sort:
By area:
- 2025Let it Calm: Exploratory Annealed Decoding for Verifiable Reinforcement Learningcited by 10
- 2024Natural Language Inference Improves Compositionality in Vision-Language Modelscited by 8
- 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Promptingcited by 3
- 2025The Narrative Continuity Test: A Conceptual Framework for Evaluating Identity Persistence in AI Systemscited by 3
- 2026Unlocking the Potentials of Retrieval-Augmented Generation for Diffusion Language Modelscited by 3
- 2026Synthesis and Evaluation of Long-term History-aware Medical Dialoguecited by 3
- 2026A Survey on Rubric-Guided Reinforcement Learning for Language Modelscited by 3
- 2025Lethe: Purifying Backdoored Large Language Models with Knowledge Dilutioncited by 1
- 2026ToxiGAN: Toxic Data Augmentation via LLM-Guided Directional Adversarial Generationcited by 1
- 2026Leveraging LLM Parametric Knowledge for Fact Checking without Retrievalcited by 1
- 2026Illocutionary Explanation Planning for Source-Faithful Explanations in Retrieval-Augmented Language Modelscited by 1
- 2026From Craft to Kernel: A Governance-First Execution Architecture and Semantic ISA for Agentic Computerscited by 1
6 more
- 2026Robust LLM Watermarking with Minimal Semantic Distortion for IP Protectioncited by 1
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproductioncited by 1
- 2026Scale-Dependent Semantic Dynamics Revealed by Allan Deviationcited by 0
- 2026Inducing Epistemological Humility in Large Language Models: A Targeted SFT Approach to Reducing Hallucinationcited by 0
- 2026HawkesLLM: Semantic Uncertainty Propagation in Agentic Text Simulationcited by 0
- 2026Generative AI and Digital Ecosystem Resilience: A Proactive Lifecycle-Based Surveycited by 0
- 2026A Survey on Rubric-Guided Reinforcement Learning for Language Models27 Aug 2026
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproduction25 Aug 2026
- 2026Generative AI and Digital Ecosystem Resilience: A Proactive Lifecycle-Based Survey28 May 2026
- 2026Robust LLM Watermarking with Minimal Semantic Distortion for IP Protection22 May 2026
- 2026HawkesLLM: Semantic Uncertainty Propagation in Agentic Text Simulation21 May 2026
- 2026Synthesis and Evaluation of Long-term History-aware Medical Dialogue19 May 2026
- 2026From Craft to Kernel: A Governance-First Execution Architecture and Semantic ISA for Agentic Computers20 Apr 2026
- 2026Inducing Epistemological Humility in Large Language Models: A Targeted SFT Approach to Reducing Hallucination18 Mar 2026
- 2026Illocutionary Explanation Planning for Source-Faithful Explanations in Retrieval-Augmented Language Models16 Mar 2026
- 2026Leveraging LLM Parametric Knowledge for Fact Checking without Retrieval5 Mar 2026
- 2026Scale-Dependent Semantic Dynamics Revealed by Allan Deviation29 Jan 2026
- 2026Unlocking the Potentials of Retrieval-Augmented Generation for Diffusion Language Models16 Jan 2026
6 more
- 2026ToxiGAN: Toxic Data Augmentation via LLM-Guided Directional Adversarial Generation6 Jan 2026
- 2025The Narrative Continuity Test: A Conceptual Framework for Evaluating Identity Persistence in AI Systems28 Oct 2025
- 2025Let it Calm: Exploratory Annealed Decoding for Verifiable Reinforcement Learning6 Oct 2025
- 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Prompting8 Sep 2025
- 2025Lethe: Purifying Backdoored Large Language Models with Knowledge Dilution28 Aug 2025
- 2024Natural Language Inference Improves Compositionality in Vision-Language Models29 Oct 2024
- 2026Leveraging LLM Parametric Knowledge for Fact Checking without Retrievalcited by 1
- 2026From Craft to Kernel: A Governance-First Execution Architecture and Semantic ISA for Agentic Computerscited by 1
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproductioncited by 1
- 2026HawkesLLM: Semantic Uncertainty Propagation in Agentic Text Simulationcited by 0
- 2026SA-Bench: Evaluating Semantic Alignment in LLM-Based Paper Reproduction25 Aug 2026
- 2026HawkesLLM: Semantic Uncertainty Propagation in Agentic Text Simulation21 May 2026
- 2026From Craft to Kernel: A Governance-First Execution Architecture and Semantic ISA for Agentic Computers20 Apr 2026
- 2026Leveraging LLM Parametric Knowledge for Fact Checking without Retrieval5 Mar 2026
- 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Promptingcited by 3
- 2025The Narrative Continuity Test: A Conceptual Framework for Evaluating Identity Persistence in AI Systemscited by 3
- 2026Synthesis and Evaluation of Long-term History-aware Medical Dialoguecited by 3
- 2026ToxiGAN: Toxic Data Augmentation via LLM-Guided Directional Adversarial Generationcited by 1
- 2026Scale-Dependent Semantic Dynamics Revealed by Allan Deviationcited by 0
- 2026Inducing Epistemological Humility in Large Language Models: A Targeted SFT Approach to Reducing Hallucinationcited by 0
- 2026Generative AI and Digital Ecosystem Resilience: A Proactive Lifecycle-Based Surveycited by 0
- 2026Generative AI and Digital Ecosystem Resilience: A Proactive Lifecycle-Based Survey28 May 2026
- 2026Synthesis and Evaluation of Long-term History-aware Medical Dialogue19 May 2026
- 2026Inducing Epistemological Humility in Large Language Models: A Targeted SFT Approach to Reducing Hallucination18 Mar 2026
- 2026Scale-Dependent Semantic Dynamics Revealed by Allan Deviation29 Jan 2026
- 2026ToxiGAN: Toxic Data Augmentation via LLM-Guided Directional Adversarial Generation6 Jan 2026
- 2025The Narrative Continuity Test: A Conceptual Framework for Evaluating Identity Persistence in AI Systems28 Oct 2025
- 2025Another Turn, Better Output? A Turn-Wise Analysis of Iterative LLM Prompting8 Sep 2025