CounterMem: Counterfactual Evaluation of Non-Parametric Memory Use in Retrieval-Augmented Generation

Mikhail Baklanov, Oren Barkan, Noam Koenigstein


Abstract
Retrieval-augmented generation (RAG) is usually evaluated from one observed trace: the query, the retrieved context, and the generated answer. Such evaluations can tell us whether the answer is consistent with the retrieved context, but not whether the system would still give the same answer if that context were removed, updated, or contradicted. We introduce COUNTERMEM, an evaluation protocol for RAG systems that are expected to answer from retrieved evidence: it keeps the RAG configuration fixed, changes only the retrieved context, regenerates the answer, and records whether the answer changes in the expected direction. Across RAGBench, ExpertQA, and DelucionQA, COUNTERMEM complements observed-trace faithfulness by exposing failures it is not designed to see. Configurations that look equivalent under RAGAS faithfulness behave very differently once their evidence is removed, updated, or contradicted, and among RAGChecker-approved answers more than half silently miss coherent contradictions and over a third ignore coherent updates. The failures persist across generator and judge families, the behavioral detectors agree with blind human annotators as closely as the annotators agree with each other, and row-level intervention traces localize failures to retrieval, reranking, or generation. Artifact (protocol, prompts, detectors, scripts, audit traces): https://github.com/DeltaLabTLV/CounterMem.
Anthology ID:
2026.findings-emnlp.1054
Volume:
Findings of the Association for Computational Linguistics: EMNLP 2026
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
Findings
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
22332–22348
Language:
URL:
https://aclanthology.org/2026.findings-emnlp.1054/
DOI:
Bibkey:
Cite (ACL):
Mikhail Baklanov, Oren Barkan, and Noam Koenigstein. 2026. CounterMem: Counterfactual Evaluation of Non-Parametric Memory Use in Retrieval-Augmented Generation. In Findings of the Association for Computational Linguistics: EMNLP 2026, pages 22332–22348, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
CounterMem: Counterfactual Evaluation of Non-Parametric Memory Use in Retrieval-Augmented Generation (Baklanov et al., Findings 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.findings-emnlp.1054.pdf