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.
Introduction
Large Language Models (LLMs) frequently exhibit "hallucinations," producing confident but factually incorrect text. This issue is particularly acute in long-form generation, such as essays or technical explanations, where a single response may contain numerous interconnected claims. While training-time or generation-time interventions exist, they are often computationally prohibitive or inapplicable to closed-source models. Post-hoc correction—reviewing and fixing the final output—is a flexible alternative. However, current post-hoc methods often rely on "flat" text feedback, failing to capture the complex logical relationships between claims and supporting evidence.
The FactCorrector Framework
FactCorrector addresses these limitations through a graph-inspired pipeline that treats fact-checking as a structured reasoning problem. The system operates in four distinct stages:
- Atomization: The initial response is decomposed into "atomic units"—short, single-claim sentences.
- Retrieval: External knowledge sources are queried to find relevant contexts for each atomic claim.
- Graphical Evaluation: Instead of isolated checks, FactCorrector constructs a probabilistic graphical model. This graph represents the relationships between retrieved contexts and atomic claims, accounting for entailment and contradiction. By calculating posterior marginal probabilities, the system accurately labels claims as True, False, or Unverified.
- Structured Refinement: A "Corrector" LLM receives a structured prompt containing specific false claims and the exact evidence refuting them. This targeted feedback allows for precise revisions rather than vague rewrites.
The VELI5 Benchmark
To rigorously evaluate correction methods, the authors introduced VELI5. Derived from the ELI5 ("Explain Like I'm Five") dataset, VELI5 consists of over 17,000 instances with systematically injected factual errors and corresponding ground-truth corrections. This benchmark provides a standardized "stress test" for measuring a model's ability to identify and rectify specific inaccuracies across diverse topics.
Experimental Results
FactCorrector was evaluated against state-of-the-art baselines, including CRITIC and RAC, across multiple datasets such as Biographies (BIO) and AskHistorians (ASKHIST).
Key findings include:
- Significant Precision Gains: On the VELI5 benchmark, FactCorrector achieved an average precision boost of +21% compared to baselines.
- Robust Generalization: The method proved effective across various model architectures, including Llama-3, Mixtral, and IBM's Granite, without requiring domain-specific fine-tuning.
- Holistic Reasoning: Unlike methods that correct claims individually (like RAC), FactCorrector’s graph-based approach aggregates all related contexts, leading to more reliable corrections and preventing secondary errors.
Conclusion
FactCorrector demonstrates that structured, graph-based feedback is superior to simple text prompts for post-hoc factuality correction. By leveraging relational information between claims and evidence, it significantly improves the reliability of long-form LLM responses. Future research will focus on reducing the computational overhead of the graphical evaluation step and improving the automated extraction of logical relationships.
Paper Citation: Javier Carnerero-Cano, et al. "FactCorrector: A Graph-Inspired Approach to Long-Form Factuality Correction of Large Language Models." arXiv:2601.11232v1 [cs.CL], 2026. Code: https://ibm.biz/factcorrector
Summary updated