RELEVER / README.md
deer2222's picture
Card: canonical GitHub URL
293a56b verified
|
Raw History Blame Contribute Delete
4.17 kB
---
license: cc-by-sa-4.0
language:
- en
pretty_name: "RELEVER: Relation Evidence Retrieval"
size_categories:
- 1M<n<10M
task_categories:
- text-retrieval
task_ids:
- document-retrieval
tags:
- retrieval
- benchmark
- relation-extraction
- wikipedia
configs:
- config_name: queries
data_files:
- split: test
path: queries/test.parquet
- config_name: corpus
data_files:
- split: corpus
path: corpus/*.parquet
- config_name: qrels
default: true
data_files:
- split: test
path: qrels/test.parquet
---
# RELEVER: Relation Evidence Retrieval
RELEVER is a benchmark for **relation evidence retrieval** over English Wikipedia:
1,100 queries, 1,080,071 paragraphs, and 2,239,519 judged (query, paragraph) pairs.
Each query states a relational fact with three parts: an abstract entity type *T*
(e.g. "Universities"), an anchor entity *e* (e.g. "the Fulbright Program"), and an
exact relation *r* (e.g. `participates_in`). A paragraph counts as relevant only if it
**asserts** that relation between an instance of *T* and *e*. A paragraph that mentions
the right entities with a different relation, or the right relation with different
entities, is not relevant.
Paper: *Similar but Not Asserted: RELEVER, a Benchmark for Relation Evidence Retrieval*.
The full code (benchmark construction, labeling, and evaluation) is available on GitHub
at <https://github.com/airbagdeer/Relever>, together with the per-query results for every
evaluated system and reranker.
## Configs
| Config | Split | Rows | Fields |
|---|---|---|---|
| `queries` | `test` | 1,100 | `query_id`, `text`, `abstract_entity_type`, `relation`, `constant_entity`, `abstract_entity_instances`, `instantiated_sentences` |
| `corpus` | `corpus` | 1,080,071 | `corpus_id`, `title`, `text`, `url` |
| `qrels` | `test` | 2,239,519 | `query_id`, `corpus_id`, `label` (1 = relevant, 0 = not relevant), `source` |
- `queries.text` is the query string. The other query fields are its decomposition
plus the example instances and instantiated sentences produced at generation time.
- `qrels` holds **every judged pair**, negatives included (144,514 positives).
`source = pool` is the pooled top-500 of 18 retrieval systems (2,180,641 pairs).
`source = extended_pooling` (58,878 pairs) extends judging for the 61 queries with
R > 500 so that Precision@R is exact.
- Unjudged pairs count as non-relevant (standard pooled evaluation).
## Usage
```python
from datasets import load_dataset
queries = load_dataset("deer2222/RELEVER", "queries", split="test")
corpus = load_dataset("deer2222/RELEVER", "corpus", split="corpus")
qrels = load_dataset("deer2222/RELEVER", "qrels", split="test")
# TREC-style qrels dict: {query_id: {corpus_id: label}}
qrels_dict = {}
for row in qrels:
qrels_dict.setdefault(str(row["query_id"]), {})[row["corpus_id"]] = row["label"]
```
The paper's primary metrics are **nDCG@10** and **Precision@R** (R = number of
relevant paragraphs for the query).
## How the data was built
- **Corpus**: English Wikipedia paragraphs from the public
`EmergentMethods/en_qdrant_wikipedia` snapshot (2025-09-03). The corpus is the
deduplicated union of each query's BM25 + SPLADE candidate pool. `title` and `url`
give per-paragraph attribution to the source article.
- **Queries**: generated by GPT-5.4 with 30-domain steering and embedding-based
deduplication. The generation prompt ships with the code release.
- **Labels**: produced by an LLM judge (GPT-5.2, `reasoning_effort="medium"`, one
pair per request). On a 200-pair human gold set the judge reaches 96.0% agreement
(Cohen's κ = 0.914), and three independent re-runs agree 94.3% pairwise. See the
paper's judge-selection appendix.
## Limitations
The labels are model judgments, not human annotations, and they are pool-relative:
a strong new system can surface relevant paragraphs that were never judged, so
recall-oriented metrics are lower bounds for systems outside the original pool.
## License
CC BY-SA 4.0. The corpus is Wikipedia text (CC BY-SA 4.0), and the queries and
labels are released under the same terms.