Add model card
Browse filesCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: pytorch
|
| 3 |
+
base_model: microsoft/deberta-v3-large
|
| 4 |
+
tags:
|
| 5 |
+
- retrieval-augmented-generation
|
| 6 |
+
- reranking
|
| 7 |
+
- robust-retrieval
|
| 8 |
+
- evidence-critic
|
| 9 |
+
- corm-rag
|
| 10 |
+
- arxiv:2605.01302
|
| 11 |
+
---
|
| 12 |
+
|
| 13 |
+
# CoRM-RAG Evidence Critic
|
| 14 |
+
|
| 15 |
+
This repository hosts the released Evidence Critic checkpoint for **CoRM-RAG**:
|
| 16 |
+
|
| 17 |
+
**Beyond Semantic Relevance: Counterfactual Risk Minimization for Robust Retrieval-Augmented Generation**
|
| 18 |
+
Peiyang Liu, Qiang Yan, Ziqiang Cui, Di Liang, Xi Wang, Wei Ye
|
| 19 |
+
arXiv: <https://arxiv.org/abs/2605.01302>
|
| 20 |
+
|
| 21 |
+
Code: <https://github.com/PeiYangLiu/CoRM-RAG>
|
| 22 |
+
|
| 23 |
+
## Model Description
|
| 24 |
+
|
| 25 |
+
CoRM-RAG aligns retrieval with decision safety rather than semantic similarity alone. The Evidence Critic is a lightweight reranking model trained to score whether a document remains useful under cognitively biased query perturbations, such as false premises, confirmation bias, and distracting assumptions.
|
| 26 |
+
|
| 27 |
+
The released checkpoint uses a `microsoft/deberta-v3-large` backbone and outputs a robustness score for a `(query, document)` pair. It is intended to be used inside the CoRM-RAG pipeline for evidence reranking and risk-aware retrieval.
|
| 28 |
+
|
| 29 |
+
## Files
|
| 30 |
+
|
| 31 |
+
```text
|
| 32 |
+
critic-v12-mixed/checkpoint-latest/state.pt
|
| 33 |
+
```
|
| 34 |
+
|
| 35 |
+
This file is a PyTorch checkpoint consumed by the CoRM-RAG codebase.
|
| 36 |
+
|
| 37 |
+
## Usage
|
| 38 |
+
|
| 39 |
+
Install the code from GitHub and download the checkpoint:
|
| 40 |
+
|
| 41 |
+
```bash
|
| 42 |
+
git clone https://github.com/PeiYangLiu/CoRM-RAG.git
|
| 43 |
+
cd CoRM-RAG
|
| 44 |
+
|
| 45 |
+
huggingface-cli download PeiyangLiu/CoRM-RAG \
|
| 46 |
+
critic-v12-mixed/checkpoint-latest/state.pt \
|
| 47 |
+
--local-dir checkpoints/hf
|
| 48 |
+
```
|
| 49 |
+
|
| 50 |
+
Run evaluation by pointing `CRITIC_PATH` to the downloaded checkpoint:
|
| 51 |
+
|
| 52 |
+
```bash
|
| 53 |
+
CRITIC_PATH=checkpoints/hf/critic-v12-mixed/checkpoint-latest/state.pt bash src/run_eval.sh
|
| 54 |
+
```
|
| 55 |
+
|
| 56 |
+
For training-data construction, critic training, and end-to-end evaluation details, see the GitHub repository.
|
| 57 |
+
|
| 58 |
+
## Intended Use
|
| 59 |
+
|
| 60 |
+
This checkpoint is intended for research on robust retrieval-augmented generation, evidence reranking, and risk-aware retrieval under biased or perturbed user queries. It is not a standalone generative model.
|
| 61 |
+
|
| 62 |
+
## Limitations
|
| 63 |
+
|
| 64 |
+
The critic score reflects robustness patterns learned from the CoRM-RAG training pipeline and should be interpreted within that retrieval setting. Performance may vary across domains, corpora, retrievers, and perturbation distributions.
|
| 65 |
+
|
| 66 |
+
## Citation
|
| 67 |
+
|
| 68 |
+
```bibtex
|
| 69 |
+
@misc{liu2026cormrag,
|
| 70 |
+
title={Beyond Semantic Relevance: Counterfactual Risk Minimization for Robust Retrieval-Augmented Generation},
|
| 71 |
+
author={Peiyang Liu and Qiang Yan and Ziqiang Cui and Di Liang and Xi Wang and Wei Ye},
|
| 72 |
+
year={2026},
|
| 73 |
+
eprint={2605.01302},
|
| 74 |
+
archivePrefix={arXiv},
|
| 75 |
+
primaryClass={cs.CL},
|
| 76 |
+
url={https://arxiv.org/abs/2605.01302}
|
| 77 |
+
}
|
| 78 |
+
```
|