CECOR: Correction-oriented synthetic data construction for factual error correction

Lei Zhu, Xiaobao Wang, Jianbiao Yang, Chenyang Wang, Dongxiao He, Longbiao Wang, Jianwu DangarXiv 2026

TL;DR

CECoR (Compositional Error Correction via Reasoning-aware Synthesis) is a novel framework designed to correct complex, multi-hop factual errors in text. By breaking claims down into logical reasoning steps and injecting targeted errors, it generates high-quality synthetic training data that allows lightweight models to outperform large language models (LLMs) and traditional baselines.

What Problem Does This Paper Address?

Large language models are notorious for "hallucinating" factually incorrect statements. Factual Error Correction (FEC) tools aim to automatically fix these errors based on external evidence. However, existing FEC approaches rely on an implicit Atomic Fact Assumption—they treat claims as flat, independent units and try to fix them using simple "Mask-then-Correct" or "Mask-then-Corrupt" pipelines (see Figure 1).

While this works for simple, single-hop errors (e.g., swapping a single entity name), it fails miserably on complex, multi-hop claims. Real-world errors are often non-local and structurally complex, involving coupled logical, temporal, or relational constraints across multiple pieces of evidence. Furthermore, high-quality, human-annotated pairs of "incorrect claim $\rightarrow$ corrected claim" are incredibly scarce.

Figure 1: Comparison of factual error correction paradigms. Top: Mask-then-Correct relies on explicit error masking fol- lowed by conditional correction. Middle: Mask-then-Corrupt generates data by corrupting masked spans but can only han- dle localized, maskable errors. Bottom: CECoR enables more diverse and compositional corruptions beyond single-entity substitutions.

Methods

To bridge this gap, the authors introduce CECoR, which shifts error correction from the surface text level to the logical step level. The framework operates in three main phases:

  1. Multi-hop Claim Decomposition: Instead of treating a correct claim as a flat string, CECoR uses a program-guided strategy to break it down into an interpretable reasoning chain consisting of three sub-functions: QUESTION (extracting sub-facts), VERIFY (checking facts against evidence), and PREDICT (drawing final logical conclusions).
  2. Reasoning-aware Error Injection & Filtering: Controlled factual perturbations are injected into exactly one reasoning step at a time. The corrupted program is then recomposed into a fluent but factually incorrect claim. To ensure data quality, a multi-step filter discards sentences that are grammatically awkward, fail to maintain multi-hop dependencies, or aren't verifiably inconsistent with the evidence.
  3. Two-Stage Learning Pipeline:
  4. Stage 1 (Supervised Fine-Tuning): The model is trained on the high-fidelity synthetic pairs to learn compositional error patterns.
  5. Stage 2 (Reinforcement Learning): The model is further optimized on naturally occurring incorrect claims using a reward function that balances factual consistency, semantic similarity to the original claim, and fluency.
Figure 2: Given multi-hop correct claims, we decompose them into logical steps, inject structured errors, and apply filtering to generate high-quality synthetic data for supervised fine-tuning. In parallel, naturally incorrect claims are used to optimize the model via reinforcement learning. This unified pipeline enables the effective use of both correct and incorrect claims for multi-hop factual error correction.

Datasets

The framework was evaluated on three distinct datasets:

  • HOVER: A multi-hop fact extraction and claim verification dataset based on Wikipedia.
  • FEVEROUS: A complex multi-hop dataset incorporating both textual and tabular evidence from Wikipedia.
  • FECDATA: A manually curated single-hop factual error correction dataset used to test how well the multi-hop trained model generalizes to simpler tasks.

Key Insights and Ideas

  • The "Do-Nothing" Metric Trap: The authors revealed a major flaw in standard surface-form evaluation metrics like SARI and ROUGE. A baseline that literally does nothing (outputs the incorrect text unchanged) can score deceptively high because of heavy lexical overlap. To counter this, the authors successfully pioneered an LLM-as-a-judge evaluation protocol using models like GPT-4o and DeepSeek-V3 to evaluate true semantic correctness.
  • Decomposition Prevents Cascading Errors: Injecting errors at the sub-program level ensures that the resulting synthetic text contains realistic, logically entangled errors rather than random, incoherent word swaps.
  • Strong Cross-Domain Transfer: Models trained purely on multi-hop synthetic data generalize remarkably well to single-hop tasks without any additional fine-tuning.

Key Results

CECoR achieved state-of-the-art performance across multiple benchmarks, frequently outperforming both distantly supervised baselines (like LIFE and VENCE) and few-shot LLM prompting configurations.

Main experimental results on HOVER and FEVEROUS datasets.
  • Rule-based Metrics: On the HOVER dataset, CECoR-T5-sft achieved a SARI final score of 76.76, substantially outperforming the strongest distantly supervised baseline, VENCE (52.77), and 8-shot GPT-4o prompting (58.55).
  • LLM-as-a-Judge: In semantic evaluations, the reinforcement learning-enhanced variant (CECoR-LLaMA3-3b-rl) achieved the highest GPT-judge scores (0.83 on HOVER and 0.87 on FEVEROUS), proving it alters text meaningfully to align with factual truth rather than just making conservative edits.
  • Robustness to Noise: When tested with imperfect, noisy retrieved evidence (using BM25 retrieval instead of gold-standard evidence), CECoR maintained stable performance while baselines like LIFE completely broke down.

Limitations and Future Work

While highly effective, CECoR currently relies on a powerful proprietary LLM (GPT-4o mini) as the underlying planner for program decomposition and as the reward model during the reinforcement learning phase. This introduces API dependencies and token costs. The authors suggest that future work should focus on transitioning these components entirely to fully open-source, localized pipelines and expanding the framework to handle more intricate mathematical or multi-modal reasoning structures.

Summary updated

BibTeX
@misc{zhu2026cecor,
  author = {Lei Zhu and Xiaobao Wang and Jianbiao Yang and Chenyang Wang and Dongxiao He and Longbiao Wang and Jianwu Dang},
  title = {{CECOR: Correction-oriented synthetic data construction for factual error correction}},
  year = {2026},
  eprint = {2605.02277},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.02277},
}
Figure