Monitoring Decoding: Mitigating Hallucination via Evaluating the Factuality of Partial Response during Generation
While large language models have demonstrated exceptional performance across a wide range of tasks, they remain susceptible to hallucinations -generating plausible yet factually incorrect contents.Existing methods to mitigating such risk often rely on sampling multiple full-length generations, which introduces significant response latency and becomes ineffective when the model consistently produces hallucinated outputs with high confidence.To address these limitations, we introduce Monitoring Decoding (MD), a novel framework that dynamically monitors the generation process and selectively applies in-process interventions, focusing on revising crucial tokens responsible for hallucinations.Instead of waiting until completion of multiple full-length generations, we identify hallucination-prone tokens during generation using a monitor function, and further refine these tokens through a tree-based decoding strategy.This approach ensures an enhanced factual accuracy and coherence in the generated output while maintaining efficiency.Experimental results demonstrate that MD consistently outperforms self-consistencybased approaches in both effectiveness and efficiency, achieving higher factual accuracy while significantly reducing computational overhead.
Authors
- Lu Lin (ORCID: https://orcid.org/0000-0002-2539-3352)
- Bochuan Cao (ORCID: https://orcid.org/0009-0007-1973-8186)
- Yurui Chang (ORCID: https://orcid.org/0009-0002-0204-021X)
Publication Details
- Published
- 2025-01-01
- DOI
- https://doi.org/10.18653/v1/2025.findings-acl.752
- Primary Topic
- Mental Health Research Topics
- Type
- article
- Field-Weighted Citation Impact
- 0.00