FastDC: Efficient Execution of Hallucination Detection and Correction for Large Language Models
Jiangneng Li, Xianzhi Zeng, Peiqi Yin, Wenchao Zhou, Gao Cong, Cheng Long
Abstract
Detecting hallucinations and other errors in LLM-generated responses is essential for accuracy-critical applications, such as financial analysis and healthcare. Sampling-based hallucination detection and evidence-based correction turn a single answer into a pipeline of interdependent language-model calls. However, the evaluation and verification required by these workflows increase the cost and latency of producing a final answer, motivating more efficient execution. This pipeline contains two useful forms of redundancy: independently sampled responses can share identical token prefixes, while corrections often retain portions of the original answer. We present FastDC, an inference serving system for efficient execution of hallucination detection and correction. It shares model computation across identical prefixes during detection and query generation, and verifies existing text as speculative candidates during correction. FastDC overlaps correction checks while preserving revision order and separates attention execution to reduce interference with detection. Experiments with Qwen2.5-14B demonstrate and throughput speedups for short and long answers, respectively. Mean job completion time falls by 34.4% and 18.4%, and GPU execution time by 36.2% and 25.7%, respectively.
Create a lesson
Metadata
- Categories
- cs.CL, cs.DC, cs.LG
Related papers
UnCommit: Unlearning Overcommitment to Reduce Hallucinations in Large Language Models
Shared title terminologycs.CLVy Nguyen, Ziqi Xu, Jeffrey Chan et al.
Distilling Model-Inherent Reasoning Circuit for Large Language Models
Shared title terminologycs.CLWenshui Luo, Jialiang Tang, Jie Yang et al.
Not All Evidence Is Equal: Source-Sensitive Calibration in Large Language Models
Shared title terminologycs.CLSercan Karakaş, Yusuf Şimşek
CulturaVerse: Culturally-Aware Multilingual Jailbreak Attacks on Large Language Models
Shared title terminologycs.CLSaikat Mondal, Deeksha Varshney, Mamta et al.
Human-Centered Evaluation of Large Language Models: Multi-Problem Reasoning, Writing Competence, and Visual Referential Communication
Shared title terminologycs.CLZhengxiang Wang
Large-Language Models Validate the Cognitive Reflection Test
Shared title terminologycs.CLDevon Yanitski