Odysseus Navigates the Sirens' Song: Dynamic Focus Decoding for Factual and Diverse Open-Ended Text Generation
Wen Luo, Feifan Song, Wei Li, Guangyue Peng, Shaohang Wei, Houfeng Wang
Abstract
Large Language Models (LLMs) are increasingly required to generate text that is both factually accurate and diverse across various openended applications. However, current stochastic decoding methods struggle to balance such objectives. We introduce Dynamic Focus Decoding (DFD), a novel plug-and-play stochastic approach that resolves this trade-off without requiring additional data, knowledge, or models. DFD adaptively adjusts the decoding focus based on distributional differences across layers, leveraging the modular and hierarchical nature of factual knowledge within LLMs. This dynamic adjustment improves factuality in knowledge-intensive decoding steps and promotes diversity in less knowledge-reliant steps. DFD can be easily integrated with existing decoding methods, enhancing both factuality and diversity with minimal computational overhead. Extensive experiments across seven datasets demonstrate that DFD significantly improves performance, providing a scalable and efficient solution for open-ended text generation. 1 1 Code is publicly available at https://github.com/ lllllw-222/Siren-DFD Who formulated the laws of motion? Fixed High Temperature r1: Isaac Newton was the one who formulated the laws of motion. r2: Sir Isaac Newton, who was born on November 19, 1643 in England. r3: Galileo Galilei formulated the laws of motion.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
2 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers cites BERTScore: Evaluating Text Generation with BERT
- DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language Models cites TruthfulQA: Measuring How Models Mimic Human Falsehoods
- A Contrastive Framework for Neural Text Generation cites MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence Frontiers
Cited by top-tier papers2
- Two Pathways to Truthfulness: On the Intrinsic Encoding of LLM HallucinationsWen Luo, Guangyue Peng, Wei Li, Shaohang Wei et al.ACL 2026 · 3 citations
- Attention Weights as an Indicator: Analyzing and Improving Document Utilization in Retrieval-Augmented GenerationJing Jin, Yuhan Song, Wen Luo, Houfeng WangACL 2026
Builds on17
- BERTScore: Evaluating Text Generation with BERTTianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q. Weinberger et al.ICLR 2020 · 8,443 citations
- TruthfulQA: Measuring How Models Mimic Human FalsehoodsStephanie Lin, Jacob Hilton, Owain EvansACL 2022 · 3,228 citations
- MAUVE: Measuring the Gap Between Neural Text and Human Text using Divergence FrontiersKrishna Pillutla, Swabha Swayamdipta, Rowan Zellers, John Thickstun et al.NeurIPS 2021 · 606 citations
- DoLa: Decoding by Contrasting Layers Improves Factuality in Large Language ModelsYung-Sung Chuang, Yujia Xie, Hongyin Luo, Yoon Kim et al.ICLR 2024 · 354 citations
- A Contrastive Framework for Neural Text GenerationYixuan Su, Tian Lan, Yan Wang, Dani Yogatama et al.NeurIPS 2022 · 349 citations
Related papers
- DSVD: Dynamic Self-Verify Decoding for Faithful Generation in Large Language ModelsYiQiu Guo, Yuchen Yang, Zhe Chen, Pingjie Wang et al.EMNLP 2025
- Integrative Decoding: Improving Factuality via Implicit Self-consistencyYi Cheng, Xiao Liang, Yeyun Gong, Wen Xiao et al.ICLR 2025 · 1 citation
- Decoding Matters: Addressing Amplification Bias and Homogeneity Issue in Recommendations for Large Language ModelsKeqin Bao, Jizhi Zhang, Yang Zhang, Xinyue Huo et al.EMNLP 2024 · 10 citations
- MLLM can see? Dynamic Correction Decoding for Hallucination MitigationChenxi Wang, Xiang Chen, Ningyu Zhang, Bozhong Tian et al.ICLR 2025
- Uncertainty-Aware Contrastive DecodingHakyung Lee, Subeen Park, Joowang Kim, Sungjun Lim et al.ACL Findings 2025
