UniCoRn: A Benchmark for Unified Compression and Reranking
Byun et al. in Language
Can a benchmark reveal what context compression throws away?
UniCoRn: A Benchmark for Unified Compression and Reranking
A right answer can hide lost evidence
It reduces document count, not the irrelevant text inside each retained document.
It trims that text, but can erase answer evidence. UniCoRn tests both operations beyond the final answer score.
The missing question: did the evidence survive?
Three tiers vary how documents are retrieved
- 1
Unit: isolate
100 retrieval-free queries isolate ten controlled compression failure types.
- 2
Integration: freeze
Methods share a fixed candidate pool across 12,775 queries, 17 datasets, 10 domains and five languages.
- 3
System: loop
A live search agent reacts to compressed results; 1,076 queries in two domains test compounding errors.
Evidence labels get a human audit

Annotators inspect highlighted gold-document spans and rate relevance and sufficiency. After a header-aware revision, 90.0% (99/110) of audited queries were evidence-sufficient.
Two diagnostics explain the answer score
- 1
Answer score
An LLM judge compares each generated answer with its reference.
- 2
Evidence Recall
It measures the weighted fraction of gold evidence left after text-based hard compression; spans selected by both annotation models count twice.
- 3
Ranking-compression alignment
It tracks emptied rank-1 documents, agreement between reranking order and retained-text ratios, and the related answer-score gap.
Unit-test leaders are close at 75%
Unit Test: 100 retrieval-free queries across 10 diagnostic types; each method at its closest setting to 75% compression. Mean across types.
Accuracy is not the whole story
At settings closest to 75% removal, Comp-H leads baselines on 13/17 Integration datasets; its mean judge accuracy is 0.6318 at 74.63% removed.
XProvence (tau=0.3) empties its rank-1 document in 33% of queries; judge accuracy is 0.16 when emptied, versus 0.47 when text remains.
Strong average scores can hide conflicts between ranking and pruning.
Similarity pruning misses evidence structure
- 1
Coreference
The answer sentence may contain only a pronoun; its antecedent appears earlier and can be pruned.
- 2
Scattered evidence
A correct answer needs several distant spans; keeping only the strongest match leaves an incomplete chain.
- 3
Long multi-hop
Two required paragraphs sit inside a roughly 128K-token distractor document; dropping either breaks the reasoning chain.
Answer shape changes what compression can keep
On Integration FinQA, Comp-H scores 0.41; token-level LLMLingua-2 and LongLLMLingua score 0.05, as deletion can sever table values from headers.
Matched Comp-H and Comp-S share a base model and training data. Comp-S uses learned memory tokens and scores 0.75 on Unit Test summarization, versus 0.35 uncompressed.
Exact extraction and cross-topic synthesis favor different compression choices.
BrowseComp-Plus: compression in live search
gpt-oss-120B agent; retrieved documents truncated to their first 512 tokens. R+C means rerank + compress; BrowseComp-Plus System Test table.
OfficeQA shows the cost on numeric answers
OfficeQA retrieval-only scores 22.2% exact match; BGE rerank-only scores 29.4%.
It scores 22.8% exact match while removing 84.6% of tokens, near retrieval-only but below BGE rerank-only. DSLR-Zerank with rerank/compress scores 22.9% at 37.8% removed.
What these scores cannot establish
Metric scope
Evidence Recall needs readable spans and is undefined for soft compressors.
Dataset coverage
Most data are English, across a limited set of domains and languages.
Answerability
Some items lack textual support. Removing Gemini-flagged queries barely changes method rankings overall, though unanswerable items lower absolute scores.
Run variance
Trained-model results come from single runs.
Why it matters
- Compression quality depends on whether answer-critical evidence survives and pruning remains aligned with the reranker's priorities.
- For RAG systems, test isolated documents, shared retrieval pools, and live-agent loops; report evidence recall alongside answer accuracy.
- The open challenge is preserving exact structured facts while extending evaluation to more languages and domains.
5 upvotes on Hugging Face 13 slides, 3 min
1 day ago