[Feature] Add CoFaithfulQA (ParamMute, NeurIPS 2025): natural context-vs-parametric knowledge conflict benchmark for RAG
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- python
- Domain
- machine-learning, testing
Research direction
Read the official eval_CoFaithfulQA.py and Section 5 of the cited paper, then inspect existing benchmark DataAdapter implementations and their tests in EvalScope. Implement the six dataset subsets, prompt schema, normalization and scoring described in the issue, and add unit tests plus bilingual benchmark docs. Done means the mock evaluation command passes and the metrics match the official deterministic definitions.
Written by the indexing model from the issue text.
Description
功能描述 / Feature Description
Add CoFaithfulQA (from the NeurIPS 2025 paper ParamMute: Suppressing Knowledge-Critical FFNs for Faithful Retrieval-Augmented Generation, NeurIPS Proceedings · arXiv:2502.15543) as a deterministic RAG contextual-faithfulness benchmark in EvalScope.
- Public Dataset (MIT):
chengpingan/CoFaithfulQA(pinned revision:0eb28630fe6187a54b1394227457685acead4181, 6 per-source subsets exposed as standard HFconfigswithtestsplits, 8,529 public rows total):hotpotqa(hotpotq_kc.jsonl, 1,476 rows)newsqa(NewsQA_kc.jsonl, 934 rows)natural_questions(NaturalQuestionsShort_kc.jsonl, 1,479 rows)searchqa(SearchQA_kc.jsonl, 1,497 rows)squad(SQuAD_kc.jsonl, 2,351 rows)triviaqa(TriviaQA-web_kc.jsonl, 792 rows)
- Official Scoring & Reference Implementation:
OpenBMB/ParamMute/src/3_evaluate/eval_CoFaithfulQA.pyand Section 5 of the paper. - No external LLM judge or Docker sandbox required: Scoring is fully deterministic and local.
需求背景 / Background
EvalScope covers general QA, reasoning, and agent-safety benchmarks, but does not currently include a dedicated benchmark for RAG contextual faithfulness under natural context–memory knowledge conflicts. Unlike synthetic counterfactual datasets that edit passages into false statements, CoFaithfulQA retains the original accurate QA passages and selects instances where an LLM's closed-book parametric answer consistently disagrees with the passage-supported answer. Evaluating models on CoFaithfulQA directly measures whether an LLM follows accurate retrieved evidence or falls back to conflicting parametric memory.
预期行为 / Expected Behavior
- Add
evalscope/benchmarks/cofaithfulqa/implementing aDataAdaptersubclass covering the 6 QA source subsets (hotpotqa,newsqa,natural_questions,searchqa,squad,triviaqa). - Each sample uses the official prompt schema from
eval_CoFaithfulQA.py({context}\nQ: {question}\nA:, with optional instruction prefix) and reads fieldsquestion,context,answers(gold context answers), andparametric_answer(conflicting memory answer). - Compute the official deterministic metrics after standard QA normalization (lowercase, strip punctuation/articles/extra whitespace):
- Context Recall (
ConR/P_c, higher is better): normalized substring match against any gold reference inanswers, counted as0if the prediction also matchesparametric_answer. - Memory Recall (
MemR/P_o, lower is better): normalized substring match againstparametric_answer. - Memorization Ratio (
MR, lower is better):MemR / (MemR + ConR) * 100. - Standard
EMand token-levelF1againstanswers.
- Context Recall (
- Include unit tests for normalization/scoring and pass
evalscope eval --datasets cofaithfulqa --model dummy --eval-type mock_llm --limit 5, plus bilingual EN/ZH benchmark docs viamake docs-update.
其他信息 / Additional Information
- I am the first author of ParamMute / CoFaithfulQA and can also mirror the dataset on ModelScope if preferred for
MsDataset.load(). - Note on dataset counts: as documented on the dataset card, the 6 public JSONL files contain 8,529 raw rows, whereas Table 1 in the paper reports deduplicated construction counts; the benchmark documentation will state this explicitly alongside the pinned revision.
- Once labeled
accepted, I am happy to submit the implementation PR linking this issue.
- Dominant language
- Python
- Stars
- 3.8k
- Forks
- 606
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 189
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from modelscope/evalscope
-
AIR-Bench Foundation reads the first letter of the word after "answer" as the model's choicePossibly taken @beartester34 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
modelscope/evalscope#2330 ·
Maintainers usually reply within 1 day
-
结果对比时把配置也列出来如何?Possibly taken @Shackbear claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
modelscope/evalscope#2219 · 2 comments ·
Maintainers usually reply within 1 day
-
SLA auto-tune: one fully failed repeat removes percentile and avg_tpot metrics even when success_rate accepts itPossibly taken @beartester34 claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
modelscope/evalscope#2328 ·
Maintainers usually reply within 1 day
-
DROP and VQAv2 mis-read some bold `Answer:` lines (multi-span DROP answers and VQAv2 rows lose credit)Possibly taken @beartester34 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
modelscope/evalscope#2326 ·
Maintainers usually reply within 1 day
-
报告导出Open
Difficulty 5/5 Over a week Newbie friendliness 28/100
modelscope/evalscope#2292 ·
Maintainers usually reply within 1 day
All issues in modelscope/evalscope
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Distribution plot crashes when a numeric feature is constant in the train or test setPossibly taken @adembilge claimed this today. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
MAIF/shapash#847 · 1 comment ·
Maintainers usually reply within 10 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 2 days
-
namespace team:operations
Difficulty 2/5 1-3 hours Newbie friendliness 60/100
EclipseFdn/open-vsx.org#16738 ·
Maintainers usually reply within 1 day
-
errors xarray
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
developmentseed/titiler-cmr#380 ·
Maintainers usually reply within 1 day