Faithfulness-QA: A Counterfactual Entity Substitution Dataset for Training Context-Faithful RAG Models
On the map: Retrieval-augmented generation → RAG robustness and adaptive retrieval
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) models frequently produce answers grounded in parametric memory rather than the retrieved context, undermining the core promise of retrieval augmentation. A fundamental obstacle to fixing this unfaithfulness is the lack of training data that explicitly requires models to prefer context over internal knowledge. We introduce Faithfulness-QA, a large-scale dataset of 99,094 samples constructed through counterfactual entity substitution. Starting from two established extractive QA benchmarks--SQuAD and TriviaQA--we automatically identify answer-bearing named entities in each context, replace them with type-consistent alternatives drawn from a curated bank of 76,953 entities, and thereby manufacture controlled knowledge conflicts between context and parametric memory. Rigorous quality filtering ensures 100% pass rates across four automated checks on random 200-sample audits. We release the full dataset, the construction pipeline, and a typed entity bank covering eight named entity categories. Faithfulness-QA is designed as a training resource for attention-based faithfulness objectives and as an evaluation benchmark for measuring context-grounding behavior in RAG systems. Data and code are available at https://github.com/qzhangFDU/faithfulness-qa-dataset.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in RAG robustness and adaptive retrieval, one of 15 directions in Retrieval-augmented generation. Builds on 27 of its 45 references that are in the map. First posted on arXiv 28 Apr 2026.
Builds on
27 of 45 references.
Closest ancestors · 4
Same direction, newest first
- 2025FaithfulRAG: Fact-Level Conflict Modeling for Context-Faithful Retrieval-Augmented Generation10 Jun
- 2024FaithEval: Can Your Language Model Stay Faithful to Context, Even If "The Moon is Made of Marshmallows"30 Sep
- 2024ClashEval: Quantifying the tug-of-war between an LLM's internal prior and external evidence16 Apr
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection17 Oct
Other references · 23
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,955
- 2022Locating and Editing Factual Associations in GPTcited by 2,691
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,141
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2021DeBERTaV3: Improving DeBERTa using ELECTRA-Style Pre-Training with Gradient-Disentangled Embedding Sharingcited by 1,254
- 2020On Faithfulness and Factuality in Abstractive Summarizationcited by 900
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
- 2019Learning the Difference that Makes a Difference with Counterfactually-Augmented Datacited by 439
- 2021SummaC: Re-Visiting NLI-based Models for Inconsistency Detection in Summarizationcited by 407
- 2021Entity-Based Knowledge Conflicts in Question Answeringcited by 356
11 more
- 2023Adaptive Chameleon or Stubborn Sloth: Revealing the Behavior of Large Language Models in Knowledge Conflictscited by 341
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 300
- 2024Knowledge Conflicts for LLMs: A Surveycited by 283
- 2024Corrective Retrieval Augmented Generationcited by 197
- 2022Large Language Models with Controllable Working Memorycited by 169
- 2023GPT-NER: Named Entity Recognition via Large Language Modelscited by 160
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation Systemcited by 139
- 2021CONTaiNER: Few-Shot Named Entity Recognition via Contrastive Learningcited by 64
- 2022Faithfulness in Natural Language Generation: A Systematic Survey of Analysis, Evaluation and Optimization Methodscited by 27
- 2025CoCoLex: Confidence-guided Copy-based Decoding for Grounded Legal Text Generationcited by 6
- 2025WisPaper: Your AI Scholar Search Enginecited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025SSFO: Self-Supervised Faithfulness Optimization for Retrieval-Augmented Generation
- 2025RADIANT: Retrieval AugmenteD entIty-context AligNmenT -- Introducing RAG-ability and Entity-Context Divergence
- 2026Reason and Verify: A Framework for Faithful Retrieval-Augmented Generation
- 2025Improving Contextual Faithfulness of Large Language Models via Retrieval Heads-Induced Optimization
- 2026Rethinking Faithfulness in LLMs: A Pairwise Context-Sensitive Perspective
- 2025Faithfulness-Aware Uncertainty Quantification for Fact-Checking the Output of Retrieval Augmented Generation
- 2026Trust or Abstain? A Self-Aware RAG Approach
- 2025Understanding Parametric Knowledge Injection in Retrieval-Augmented Generation