UniCoRn: A Benchmark for Unified Compression and Reranking
UniCoRn evaluates context compressors that rerank and compress in a single pass. The same compressor is held fixed across three tiers; only the retrieval regime changes.
| Tier | Retrieval regime | Candidate pool | What it isolates |
|---|---|---|---|
| 1. Unit test | absent | one document per query | compression quality, free of retrieval noise |
| 2. Integration test | fixed | 50 frozen candidates, top-5 kept | reranking and compression against a frozen retriever |
| 3. System test | dynamic | 50 candidates per agent call | behaviour inside a live agentic loop |
Tiers 1 and 2 are the Parquet configs below. Tier 3 (BrowseComp-Plus and OfficeQA)
is agentic and ships as retrieval assets under system/ rather than as a QA table.
Usage
from datasets import load_dataset
unit = load_dataset("unicorn-rerank/unicorn-benchmark", "unit", split="multi_hop")
integration = load_dataset("unicorn-rerank/unicorn-benchmark", "integration", split="hotpotqa")
Each split is one dataset, so only the requested file is downloaded.
Record schema
| Field | Type | Notes |
|---|---|---|
query_id |
string | |
query |
string | |
answer |
string | reference answer used by the LLM judge |
docs |
list[string] | candidate pool, in retriever order |
doc_ids |
list[string] | aligned with docs |
doc_scores |
list[float] | retriever scores; null when the pool was not scored |
qrels |
list[{doc_id, relevance}] | relevance > 0 marks a gold document |
evidence |
list[{doc_id, text, weight, source}] | gold spans that a compressor must preserve |
evidence_intersection |
list[{doc_id, text}] | spans both annotators agreed on; provenance only |
query_types |
list[string] | query taxonomy, where annotated |
The unit tier adds source (originating dataset) and meta (JSON-encoded
construction provenance, whose keys vary by query type).
qrels is stored as a list of structs because Parquet has no schema for an
object with arbitrary keys; rebuild it with {q["doc_id"]: q["relevance"] for q in row["qrels"]}.
Optional fields are null when absent rather than empty. This distinction is
load-bearing: evidence recall switches between weighted and sentence-level scoring
based on whether weight is present, so an absent weight must not become 0.
Protocol notes
- The integration tier evaluates the first 50 candidates of each pool. Files ship the full retrieved pool (usually 100), so retrieval-depth ablations remain possible; truncation happens at evaluation time.
academic_papersis the one exception: its pool is 10 candidates, since queries are scoped to sections of a single paper.- Every gold document appears within the first 50 candidates, so no query is unreachable at the evaluated depth.
Tiers and splits
Unit test (unit)
adversarial_distractor, broad_open_ended, contextualized, cross_lingual, hard_to_compress, information_density, multi_hop, scattered_evidence, ugly_formatting, union
Integration test (integration)
Reported in the paper (17): academic_papers, conditionalqa, enterprise_rag, finqa, hotpotqa, jsquad, klue_mrc, korquad, legalquad, vidore_computer_science, vidore_energy, vidore_finance_en, vidore_finance_fr, vidore_hr, vidore_industrial, vidore_pharmaceuticals, vidore_physics
License and attribution
UniCoRn is a derived collection rather than an original corpus. Every split is built from an existing publicly available dataset: the documents and question–answer pairs are reformatted and repackaged here, and what this repository contributes on top of them is the evidence annotations, the frozen candidate pools and the file layout.
No single license covers this repository. Each split remains under the license
of the source dataset it was derived from, and any use of a split is subject to
that license. Before using or redistributing any part of this data, consult the
terms of the corresponding source dataset and comply with them, including any
attribution, share-alike, no-derivatives or non-commercial conditions they impose.
The license field in the metadata header is set to other for this reason: it
cannot name a single license that is accurate for the whole collection.
The tables below list each source dataset and where it was obtained, so that its license can be looked up at the source. They are provided for convenience only; the terms published by each source are authoritative, and licenses may change upstream.
Source datasets
| Source dataset | Original |
|---|---|
| ViDoRe V3 | vidore/vidore_v3_* |
| ArXiver | neuralwork/arxiver |
| JSQuAD (JGLUE) | sbintuitions/JSQuAD · yahoojapan/JGLUE |
| KorQuAD 2.0 | KorQuAD/squad_kor_v2 · korquad.github.io |
| KLUE-MRC | klue/klue (mrc) |
| LegalQuAD | mteb/LegalQuAD |
| FinQA | ibm-research/finqa · czyssrs/FinQA |
| HotpotQA | hotpotqa/hotpot_qa |
| EnterpriseRAG-Bench | onyx-dot-app/EnterpriseRAG-Bench |
| ConditionalQA | haitian-sun/ConditionalQA · project page |
| SQuAD v1.1 | rajpurkar/squad |
| Quoref | allenai/quoref |
| Wikipedia | wikimedia/wikipedia |
Unit test (unit)
Unit-tier records carry a source field naming the dataset their document was
drawn from, so the terms of that dataset carry over to the probes built from it.
Where a split mixes sources, each record is governed by the license of its own
source.
| Split | Source dataset(s) |
|---|---|
multi_hop |
HotpotQA |
adversarial_distractor |
HotpotQA |
hard_to_compress |
FinQA, Wikipedia |
ugly_formatting |
FinQA, Wikipedia |
scattered_evidence |
ArXiver |
information_density |
SQuAD v1.1, Wikipedia |
contextualized |
Quoref |
union |
Wikipedia |
broad_open_ended |
Wikipedia |
cross_lingual |
ViDoRe V3 (FR), KorQuAD 2.0, JSQuAD |
Integration test (integration)
Each integration split is named after the dataset it comes from.
| Split | Source dataset | Original |
|---|---|---|
academic_papers |
ArXiver | neuralwork/arxiver |
conditionalqa |
ConditionalQA | haitian-sun/ConditionalQA |
enterprise_rag |
EnterpriseRAG-Bench | onyx-dot-app/EnterpriseRAG-Bench |
finqa |
FinQA | ibm-research/finqa |
hotpotqa |
HotpotQA | hotpotqa/hotpot_qa |
jsquad |
JSQuAD | sbintuitions/JSQuAD |
klue_mrc |
KLUE-MRC | klue/klue |
korquad |
KorQuAD 2.0 | KorQuAD/squad_kor_v2 |
legalquad |
LegalQuAD | mteb/LegalQuAD |
vidore_computer_science |
ViDoRe V3 | vidore/vidore_v3_computer_science |
vidore_energy |
ViDoRe V3 | vidore/vidore_v3_energy |
vidore_finance_en |
ViDoRe V3 | vidore/vidore_v3_finance_en |
vidore_finance_fr |
ViDoRe V3 | vidore/vidore_v3_finance_fr |
vidore_hr |
ViDoRe V3 | vidore/vidore_v3_hr |
vidore_industrial |
ViDoRe V3 | vidore/vidore_v3_industrial |
vidore_pharmaceuticals |
ViDoRe V3 | vidore/vidore_v3_pharmaceuticals |
vidore_physics |
ViDoRe V3 | vidore/vidore_v3_physics |
System test (not redistributed)
The system tier is not redistributed here. Its data is read from the original repositories, each under its own terms. OfficeQA is access-gated by its authors.
| Benchmark | Original |
|---|---|
| BrowseComp-Plus | Tevatron/browsecomp-plus |
| OfficeQA | databricks/officeqa |
- Downloads last month
- -