Abstract
Factual Error Correction (FEC) is the task of post-editing claims to align them with provided evidence, a critical process for mitigating "hallucinations" in Large Language Models. However, the scarcity of paired (false claim, correction) data has historically limited the performance of FEC models. This paper introduces LIFE (Learning to Inject Factual Errors), a framework that bypasses the traditional "masker bottleneck" by training a model to deliberately inject errors into correct text. By generating high-quality synthetic paired data, LIFE achieves a new state-of-the-art on the FECDATA benchmark, outperforming both previous distantly supervised methods and few-shot ChatGPT.
The Masker Bottleneck in Factual Error Correction
Large Language Models (LLMs) frequently generate text that is fluent but factually incorrect. Correcting these errors requires a model to identify the discrepancy between a claim and a knowledge base (KB) and then rewrite the claim.
The primary obstacle in FEC is the lack of paired training data. Previous distantly supervised approaches relied on a mask-then-correct paradigm. In this setup, a "masker" identifies potential errors in a false claim and replaces them with a [MASK] token, which a "corrector" then fills using evidence. However, this creates a bottleneck: if the masker fails to pinpoint the exact error or masks irrelevant words, the corrector has no chance of fixing the claim.
The LIFE Framework: Learning to Inject Errors
The authors propose LIFE, which reverses the standard pipeline. Instead of trying to fix errors immediately, the system learns how to create them. This approach moves the difficult task of error identification from the inference phase to the data generation phase.
1. Corruptor Training
The process begins by training a corruptor to transform a masked claim into a false one. By masking factual errors in known false claims and requiring the corruptor to reconstruct the original error, the model learns the patterns of factual inconsistency.
2. Synthetic Data Generation and Filtering
The trained corruptor is then applied to a large corpus of correct claims. It "mutates" these claims into false versions, creating the paired (false, correct) dataset necessary for training a robust corrector. To ensure data quality, LIFE employs two filters:
- Levenshtein Filter: Discards mutations that are too structurally different from the original.
- Fact Verification Classifier (FVC): Uses a pre-trained model to ensure the mutated claim is actually refuted by the evidence.
3. Corrector Training
Finally, a T5-based corrector is trained on this refined synthetic data. Unlike previous methods, this corrector does not require a masker at inference time; it takes the raw false claim and evidence as input and generates the correction directly, learning to identify and fix errors end-to-end.
Experimental Results
LIFE was evaluated on the FECDATA benchmark, derived from the FEVER (Fact Extraction and VERification) dataset.
- State-of-the-Art Performance: LIFE achieved a SARI score of 65.59, representing a 10.59-point improvement over the previous best distantly supervised method (VENCE).
- Comparison with LLMs: LIFE outperformed 8-shot ChatGPT (gpt-3.5-turbo) by 7.16 points in SARI Final score.
- Human Evaluation: In blind tests, humans rated LIFE's corrections as factually "Correct" 58.7% of the time, significantly higher than ChatGPT (42.0%) and an 8-shot T5 baseline (5.3%).
Key Insights
- Bypassing the Masker: By training the corrector on end-to-end pairs, the model learns to identify and fix errors simultaneously, avoiding the error propagation inherent in two-step masker-corrector systems.
- Surgical Precision: Human evaluators noted that while LLMs often add irrelevant information, LIFE makes minimal, "surgical" edits to fix only the factual discrepancy.
- The Power of Corruption: The study demonstrates that learning to inject errors (learning how to lie) is a powerful proxy for learning how to tell the truth (correcting errors).
Conclusion
LIFE demonstrates that high-quality synthetic data generation can overcome the data scarcity bottleneck in Factual Error Correction. While the corruptor's performance still depends on initial heuristic masking during its own training phase, the framework provides a scalable path toward more reliable factual correction in automated systems. Future work will explore scaling this logic to longer documents and more complex reasoning tasks.
Summary updated