ProofKV evidence scorer
Scorer checkpoints of the Findings of EACL 2027 paper ProofKV: Compiling Complete Evidence Chains into Reusable KV Memory for Structured-Evidence QA by Xingjian Zhang (Carnegie Mellon University).
Code ยท Result records ยท Paper (PDF)
ProofKV reads a document once into a reusable evidence index, composes question-specific evidence chains with this
scorer, and prefills the decoder only over the chains that fit a KV-byte budget. The scorer is a 12-layer,
384-hidden cross-encoder initialized from microsoft/MiniLM-L12-H384-uncased (about 33M parameters) with three heads:
a start head and an end head that score a span against the question, and a nine-way link head that scores an ordered
pair of spans (eight link labels and none).
Checkpoints
| Directory | Training | Results in the paper |
|---|---|---|
proofkv_scorer_final |
Interpolation of the mixed-replay (v3b) and HotpotQA-focused (v8) stages with weight 0.90 on the latter | Five-task suite, Qwen2.5-14B transfer, packed contexts and related distractors, equal-byte link interventions, compressor comparison, routing, serving, decoder transfer |
proofkv_scorer_musique_replay_v6 |
MuSiQue-replay stage (v6) | Held-out MuSiQue selector test and its analyses (gap decomposition, iterative retrieval), MuSiQue generation matrices and budget sweep |
Each directory holds the encoder (encoder/), the start, end, and link heads (heads.pt), the tokenizer
(tokenizer/), and the training metadata (proofcache_scorer.json). The files are identical to the archives on the
GitHub release page.
Usage
Download the checkpoints into the checkpoints/ directory of the code repository and load one with the ProofKV
package:
from huggingface_hub import snapshot_download
snapshot_download("XingjianZhangDev/ProofKV-scorer", local_dir="checkpoints",
allow_patterns=["proofkv_scorer_*/*"])
from proofkv.proofcache.model import TypedRelationScorer
scorer, tokenizer = TypedRelationScorer.load_checkpoint("checkpoints/proofkv_scorer_final", device="cuda")
python analysis/verify_release.py in the repository then checks the digests below, and the repository README gives
the commands that run the held-out selector test and fixed-budget generation with these checkpoints.
Training
Training uses the training splits of HotpotQA, 2WikiMultiHopQA, and MuSiQue and generated evidence chains, in a sequence of replay stages (Appendix C of the paper). Every stage uses AdamW with learning rate 2e-5, weight decay 0.01, batch size 48, gradient clipping 1.0, and maximum input length 320. The loss of each head adds a positive-evidence term (weight 0.5), a budget term (0.05), and a calibration term (0.2) to its classification loss.
The last stage behind the final checkpoint saw 730,723 training decisions from 8,000 HotpotQA, 4,000 2WikiMultiHopQA, 4,000 MuSiQue, and 4,000 generated examples (one epoch, 3,807 steps, seed 307). The MuSiQue-replay stage saw 922,211 decisions from 4,000 HotpotQA, 4,000 2WikiMultiHopQA, 8,000 MuSiQue, and 4,000 generated examples (one epoch, 9,607 steps, seed 101). The interpolation weight and the selection policy were chosen on HotpotQA validation and MuSiQue development questions; the MuSiQue-replay checkpoint was evaluated once on the 500 held-out MuSiQue test questions.
Intended use
Reproducing the paper, and research on evidence selection and KV-memory construction for English question answering over documents whose answer is determined by a short chain of spans. The paper evaluates the checkpoints on English multi-hop and document QA (HotpotQA, 2WikiMultiHopQA, MuSiQue, and the LongBench versions of these plus Qasper and MultiFieldQA-en) with 7B to 14B open decoders. Deployed systems can show the selected evidence and keep a route back to the full context, as the margin router in the paper does.
SHA-256 digests
| File | proofkv_scorer_final |
proofkv_scorer_musique_replay_v6 |
|---|---|---|
encoder/model.safetensors |
774e7f692bcea6ae945fe4d0eeb90045f9e9d2371d28d76a4287b348c082cd64 |
c64c04878baac749343b69607c8b9a157024694ad82fcd30de029e63e2135fb4 |
heads.pt |
e95a0075813bf2d87d02327960107f7e6f31b6ff8b546d541a859f8a851e7385 |
f29ed4a274bbd7b462344dd19cc088fa815940fb38d4f8a02b2ab0c45c6185b2 |
proofcache_scorer.json |
815538590808393fd6a119b88a725553efc6929b4c599889bf23c7f65708e41f |
d6df5faa16394b2600239f5d2b91984b9c87825a734cd77906982a0a72fd86e2 |
License
MIT. microsoft/MiniLM-L12-H384-uncased is also released under the MIT License.
Citation
@inproceedings{zhang-2027-proofkv,
title = {{ProofKV}: Compiling Complete Evidence Chains into Reusable {KV} Memory for Structured-Evidence {QA}},
author = {Zhang, Xingjian},
booktitle = {Findings of the Association for Computational Linguistics: EACL 2027},
year = {2027},
address = {Athens, Greece},
publisher = {Association for Computational Linguistics}
}
Model tree for XingjianZhangDev/ProofKV-scorer
Base model
microsoft/MiniLM-L12-H384-uncased