Abstract
Factual Error Correction (FEC) aims to rectify hallucinations in Large Language Model (LLM) outputs using external evidence. However, the scarcity of high-quality paired "wrong-right" claims limits the training of specialized corrector models. This paper introduces PivotFEC, a framework that utilizes the creative capacity of LLMs to perform Factual Error Injection (FEI) as a pivot task. By generating diverse synthetic errors from correct claims, PivotFEC creates a robust training set for smaller, efficient corrector models. Experimental results on the FEVER dataset demonstrate that a T5-base model trained via PivotFEC significantly outperforms direct few-shot prompting of LLMs and existing distantly supervised methods, achieving state-of-the-art performance in low-resource settings.
Introduction
Large Language Models (LLMs) are increasingly used for information retrieval and generation, yet they frequently produce factually incorrect statements, known as hallucinations. Factual Error Correction (FEC) is the task of automatically identifying and fixing these errors based on verified evidence. A major challenge in FEC is data scarcity; manual annotation of error-correction pairs is expensive and slow. Previous methods using "mask-then-correct" strategies often suffer from over-erasure or incorrect masking, leading to unnatural or incomplete corrections.
PivotFEC addresses this by flipping the problem: instead of finding a single correct version of a wrong claim, it uses LLMs to generate many wrong versions of a correct claim. This "Factual Error Injection" (FEI) task leverages the fact that the space for being wrong is much larger and easier to explore than the space for being right.
Methodology
The PivotFEC framework consists of three primary stages:
- Factual Error Injection (FEI): Using few-shot prompting (e.g., 8 examples), an LLM (like ChatGPT) is tasked with mutating a correct claim into a false one based on provided evidence. Mutations include negations, entity swaps, or date changes.
- Synthetic Data Generation: The mutated (wrong) claims are paired with the original (correct) claims to form a synthetic FEC dataset.
- Training the Corrector: A smaller encoder-decoder model (e.g., T5-base) is fine-tuned on this synthetic data. At inference time, this model takes a potentially erroneous claim and evidence to produce a corrected output.
Experiments and Results
The authors evaluated PivotFEC using the FEVER and FECDATA datasets. The primary metric used was SARI, which evaluates the quality of edits (additions, deletions, and keeps) against a reference.
Key findings include:
- Superiority over LLMs: A T5-base model trained on just 2,000 synthetic instances achieved a SARI score of 66.30, outperforming 8-shot ChatGPT (58.43).
- State-of-the-Art Performance: PivotFEC surpassed VENCE, the previous best distantly supervised model, by 11.3 SARI points.
- Robustness across Error Types: The model showed strong performance across various mutation types, including negation and substitution of similar/dissimilar entities.
Human evaluation confirmed these results, with PivotFEC corrections rated as grammatically correct 99.3% of the time and factually accurate in 54.7% of cases, significantly higher than baseline models.
Conclusion
PivotFEC demonstrates that LLMs are highly effective as data generators for specialized tasks. By using error injection as a pivot, the framework overcomes the data scarcity bottleneck in FEC. While a gap remains between few-shot synthetic training and full supervision on human-gold data, PivotFEC provides a powerful, efficient path for improving factual reliability in automated systems. Future work will focus on improving evidence retrieval and exploring the performance of open-source LLMs as error injectors.
Summary updated