SAFE-FEC: Semantically Constrained Adversarial Frontier Evolution for Factual Error Correction

Xiaobao Wang, Lei Zhu, Jianbiao Yang, Chenyang Wang, Longbiao Wang, Jianwu DangNeurIPS 2026

TL;DR

Training AI to fix factual errors requires good practice material, yet most synthetic datasets rely on obvious, surface-level corruptions—like swapping dates or names—that modern LLMs fix effortlessly. SAFE-FEC flips the script by using an adversarial loop of LLMs to evolve subtle, genuinely challenging factual errors while anchoring them to the original meaning so the puzzle remains fair and solvable. The result is a stress-test dataset generation pipeline that significantly trips up top-tier correctors, proving much harder to fix than even human-written error benchmarks.

What Problem Does This Paper Address?

Factual Error Correction (FEC) goes a step beyond simple fact-checking: given a claim and supporting evidence, a system must pinpoint what is wrong and rewrite the claim minimally so it becomes true. Because paying humans to write pairs of broken-and-fixed claims is expensive, researchers usually take true statements and automatically inject errors into them.

Here lies a Goldilocks dilemma. Conventional error-injection relies on rigid rules—swapping an entity or negating a verb. Today’s LLMs breeze right past these via basic text matching against the evidence. On the flip side, if you let an adversarial model mutate a sentence without guardrails just to stump a corrector, you get semantic drift: the sentence mutates into an entirely unrelated topic or introduces unverifiable claims, making the original target impossible to guess.

Figure 1: Illustrative comparison of conventional error injection, unconstrained adversarial generation, and SAFE-FEC.

How do you automatically generate errors that are genuinely hard for modern models to repair, yet stay faithful enough to the source context that a single, clear correction exists?

Methods

Instead of relying on static corruption rules, SAFE-FEC sets up a multi-stage, feedback-driven LLM pipeline that treats error generation as a constrained evolutionary search:

  1. Multi-Perspective Generation & Refinement: Four distinct generator personas (fact, fiction, context, and logic) take a true claim and its evidence, proposing different flavors of subtle errors. Another persona critiques the draft—flagging if an error is too obvious or drifts off-topic—prompting the generator to refine its attempt.
  2. Selection & Composition: A judge LLM evaluates the refined candidates and either picks the best one or merges complementary mutations into a single coherent claim.
  3. Semantic Guard: Before any testing happens, a dedicated guard compares the mutated claim against the original true claim (without looking at the evidence) to ensure the core subject, topic, and event frame haven't drifted away.
  4. Corrector-in-the-Loop Test: Candidates that survive the guard face an active detector-corrector model. To be accepted into the final dataset, a mutated claim must survive two consecutive repair attempts—even after the probing corrector updates its own prompt following the first failure. If the corrector fixes it, feedback goes back to the generators to try a harder angle in the next outer loop.
Figure 2: Overview of SAFE-FEC. Generators propose mutations from four perspectives; cross- perspective critiques guide conditional prompt refinement and candidate regeneration; a judge selects or composes one candidate; a semantic guard checks source anchoring; and an adaptive corrector tests designated-target recovery. Arrows indicate candidate transfer and feedback. Passing these operational filters does not independently establish that the mutation contradicts the evidence or that the target is fully supported.

Datasets

Rather than training a new corrector, the authors repurpose three existing fact-verification and correction benchmarks as starting points to construct adversarial evaluation sets:

  • FECDATA: Contains human-written factual error claims paired with Wikipedia evidence (compared against both original human examples and synthetic CECoR baselines).
  • HOVER: A multi-hop verification dataset requiring reasoning across multiple Wikipedia articles.
  • FEVEROUS: Combines unstructured text with structured Wikipedia tables, allowing SAFE-FEC to craft errors that require cross-referencing heterogeneous evidence.

Key Insights and Ideas

  • Apparent complexity $\neq$ actual difficulty: Changing multiple facts in a sentence might look complex on paper, yet an LLM can still fix it via simple lexical matching. True diagnostic difficulty requires testing against a live corrector in the loop—for example, keeping a list of an actor's films intact while appending a plausible-sounding false exclusion that contradicts a separate evidence sentence.
  • Adversarial feedback interacts differently across models: In ablation studies, removing prompt refinement made datasets easier for Claude and Qwen3 to fix, yet surprisingly harder for DeepSeek. The stages of SAFE-FEC work together to balance validity and difficulty rather than acting as simple, linear "make-it-harder" knobs.
  • Synthetic data can out-challenge human benchmarks: Human annotators creating datasets rarely optimize for what specifically breaks frontier LLMs. Feedback-guided exploration systematically uncovers reasoning blind spots—like temporal scope shifts and multi-hop relational traps.

Key Results

SAFE-FEC consistently degrades the performance of both general-purpose LLMs (Claude, DeepSeek-V3, MiniMax, Qwen3) and specialized FEC models (LIFE, LLaMA-SFT, LLaMA-GRPO):

  • Drops in Correction Accuracy: On FECDATA, average LLM-judge correction scores drop by 36.9% (and SARI drops by 19.6%) compared to human-written examples, and plummet by 53.4% compared to strong synthetic CECoR examples.
  • Multi-Hop & Structured Settings: Average LLM-judge scores fall by 36.0% on HOVER and 35.1% on FEVEROUS relative to CECoR. Specialized models trained on static synthetic data struggle heavily here, with LIFE's judge score on FEVEROUS dropping from 0.61 to 0.07.
  • High Validity Under Human Audit: Difficulty doesn't come at the cost of broken examples. In pairwise evaluations, LLM judges preferred SAFE-FEC examples 80.86% of the time over baselines. More importantly, a blinded audit of 300 examples by three human annotators confirmed that 98% contained genuine factual errors, 100% remained semantically anchored with sufficient evidence, and 99% had a unique correction target.

Limitations and Future Work

  • Operational Approximations of Validity: Because the Semantic Guard does not inspect the evidence directly—and failing a corrector test doesn't strictly prove a claim contradicts the evidence—passing the pipeline's automated filters doesn't mathematically guarantee factual invalidity on its own (hence the reliance on human auditing).
  • Strict Target Matching: During the corrector-in-the-loop test, a repair is only counted as successful if it recovers the exact factual scope of the original gold claim. Alternative valid edits that shrink or shift the scope get penalized.
  • Efficiency: Running multi-perspective critiques, judge compositions, and iterative corrector loops requires multiple LLM calls per example. Future work aims to tighten automated evidence-grounded verification, accommodate alternative valid repairs, and streamline generation costs.

Summary updated

Abstract

Factual Error Correction (FEC) aims to revise factually incorrect claims into evidence-supported statements, relying on high-quality correction data for effective training and evaluation. However, existing error-injection methods largely rely on predefined corruption strategies without considering the capabilities of current correctors, often producing errors that are easily repaired. Simply increasing error complexity is insufficient, as unconstrained mutations may compromise correction validity. To bridge this gap, we propose \textsc{SAFE-FEC}, a semantically constrained adversarial framework for correction-aware FEC data construction. SAFE-FEC explores diverse candidate errors through multi-perspective generation, filters semantic drift, and uses corrector feedback to refine candidates toward more challenging correction instances. Experiments on three datasets demonstrate that SAFE-FEC consistently generates more challenging errors for both LLM-based and FEC-specific correctors. On FECDATA, the average LLM-judge correction score decreases by 36.9\% compared with human-written examples and by 53.4\% compared with CECoR-generated examples. In a human audit, 98\% of examples contain a factual error and 100\% remain semantically anchored.
BibTeX
@inproceedings{wang2026safe,
  author = {Xiaobao Wang and Lei Zhu and Jianbiao Yang and Chenyang Wang and Longbiao Wang and Jianwu Dang},
  title = {{SAFE-FEC: Semantically Constrained Adversarial Frontier Evolution for Factual Error Correction}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=v5PEa9m3Q5},
}
Figure