FactCorrector: A Graph-Inspired Approach to Long-Form Factuality Correction of Large Language Models
Javier Carnerero-Cano, Massimiliano Pronesti, Radu Marinescu, Tigran Tchrakian, James Barry, Jasmina Gajcin, Yufang Hou, Alessandra Pascale, Elizabeth Daly
TL;DR
The paper tackles persistent factuality errors in large language models by introducing FactCorrector, a post-hoc correction pipeline that uses a FactReasoner-based critic to decompose outputs into atomic facts, retrieve supporting or contradicting evidence, and reason over a graphical model to generate structured feedback for a refinement model. It also introduces VELI5, a large benchmark with injected factual errors to enable rigorous evaluation of long-form factuality correction, and demonstrates that FactCorrector yields reliable factuality gains across diverse datasets and base models, including open-source LLMs. The authors further explore short-horizon SFT corrections and provide a comprehensive human evaluation, highlighting generalization and robustness while acknowledging computational costs and dependencies on prompts and retrieval quality. Overall, the work provides a scalable, cross-domain approach to factuality correction with a well-founded evaluation framework and practical implications for safer LLM deployment.
Abstract
Large language models (LLMs) are widely used in knowledge-intensive applications but often generate factually incorrect responses. A promising approach to rectify these flaws is correcting LLMs using feedback. Therefore, in this paper, we introduce FactCorrector, a new post-hoc correction method that adapts across domains without retraining and leverages structured feedback about the factuality of the original response to generate a correction. To support rigorous evaluations of factuality correction methods, we also develop the VELI5 benchmark, a novel dataset containing systematically injected factual errors and ground-truth corrections. Experiments on VELI5 and several popular long-form factuality datasets show that the FactCorrector approach significantly improves factual precision while preserving relevance, outperforming strong baselines. We release our code at https://ibm.biz/factcorrector.
