FastDC: Efficient Execution of Hallucination Detection and Correction for Large Language Models

November 29, 2026·
Jiangneng Li
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 $1.55\times$ and $1.22\times$ 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.

Type: Preprint
Publication: arXiv preprint
Jiangneng Li
Authors
Research Fellow
Research fellow at NTU researching ML systems, data systems, and embodied AI.