MExAS / README.md
wolfsont's picture
Update README.md
bfebb52 verified
|
Raw History Blame Contribute Delete
7.81 kB
---
pretty_name: MExAS
language:
- en
license: other
license_name: mexas-mixed
license_link: LICENSE.md
task_categories:
- text-retrieval
- text-classification
tags:
- agents
- exhaustive-search
- benchmark
- agent-trajectories
configs:
- config_name: nli
data_files: data/nli/documents.jsonl
- config_name: hover
data_files: data/hover/documents.jsonl
- config_name: feverous
data_files: data/feverous/documents.jsonl
- config_name: codeforces_codenet
data_files: data/codeforces_codenet/documents.jsonl
- config_name: casehold
data_files: data/casehold/documents.jsonl
- config_name: clerc
data_files: data/clerc/documents.jsonl
- config_name: cuad
data_files: data/cuad/documents.jsonl
- config_name: evidence_inference
data_files: data/evidence_inference/documents.jsonl
- config_name: medqa_plus
data_files: data/medqa_plus/documents.jsonl
- config_name: biodex
data_files: data/biodex/documents.jsonl
---
# 🪇 MExAS: Measuring Exhaustive Agentic Search 🪅
[**Paper**](https://arxiv.org/abs/2611.41869) | [**Code & Evaluation (GitHub)**](https://github.com/davidzhangsan/MExAS) | [**License Details**](LICENSE.md)
[**MExAS: Measuring Exhaustive Agentic Search**](https://arxiv.org/abs/2611.41869), Lyuxin David Zhang, Dan Roth, and Tomer Wolfson (2026).
**MExAS** evaluates **exhaustive agentic search**: given a natural-language query and a large document corpus, identify *every* document in the corpus that satisfies the query. The release includes **10 tasks** across four domains (**fact-checking, programming, law, and medicine**) together with **3,730 complete agent trajectories** evaluated in the paper.
<p align="center">
<img src="mexas_examples.png" alt="MExAS examples" width="650"/>
</p>
## Benchmark Tasks
| Folder | Task | Domain | Source datasets | Full corpus | Answer share | Target documents |
|---|---|---|---|---:|---:|---|
| `nli` | NLI | Fact-checking | ANLI, SNLI, MultiNLI, VitaminC | 290,956 | 4.0% | Statements contradicted by their passages |
| `hover` | HoVer | Fact-checking | HoVer | 7,248 | 4.0% | Unsupported multi-hop claims |
| `feverous` | FEVEROUS | Fact-checking | FEVEROUS | 50,505 | 4.0% | Claims refuted by Wikipedia evidence |
| `codeforces_codenet` | Codeforces + CodeNet | Programming | open-r1 Codeforces, Project CodeNet | 6,109 | 5.0% | Submissions rejected for a wrong answer or a runtime error |
| `casehold` | CaseHOLD | Law | CaseHOLD | 50,579 | 4.2% | Incorrect holdings attributed to cited cases |
| `clerc` | CLERC | Law | CLERC | 60,139 | 3.7–8.4% | Passages citing a specified case (4 questions) |
| `cuad` | CUAD | Law | CUAD | 8,306 | 4.7–5.3% | Contract clauses in a specified category (4 questions) |
| `evidence_inference` | Evidence Inference | Medicine | Evidence Inference 2.0 | 8,162 | 4.7% | Trial comparisons reporting significant decreases |
| `medqa_plus` | MedQA+ | Medicine | MEDEC, MedQA, MedMCQA, MMLU | 4,676 | 4.0% | Clinical notes containing errors |
| `biodex` | BioDEX | Medicine | BioDEX | 7,108 | 4.1–6.5% | Articles reporting a specified adverse reaction (5 questions) |
## Dataset Structure
| Path | Contents |
|---|---|
| `data/<task>/documents.jsonl` | All documents for the task (`doc_id`, `answer_id`, `text`, `answer_to`, `source`, `license`, `source_id`) |
| `data/<task>/question.json` | Task query, `question.txt`, and initial agent prompt |
| `data/<task>/corpora/50pct_s01.json` … `50pct_s10.json` | Ten independent 50% corpus samples and answer keys (main benchmark evaluation) |
| `data/<task>/corpora/size_(10, 25, 75, 100)pct.json` | Nested corpus subsets for scaling experiments |
| `data/<task>/corpora/single100.json` | 100 single-document (no-retrieval) items per task (50 answers, 50 non-answers) |
| `agent_trajectories/<agent>/<task>/<corpus>/run_<n>/` | Predictions (`prediction.json`), file-ID map (`workspace_files.json`), `evidence.json.gz`, `trajectory/`, and archived agent scripts (`workspace.tar.gz`) |
### Key Fields
- **`documents.jsonl`**:
- `doc_id` (`str`): unique document identifier.
- `answer_id` (`str`): identifier expected in agent answers (`doc_id`, or `Claim <id>` for HoVer and FEVEROUS).
- `text` (`str`): document text as presented to agents.
- `answer_to` (`list[str]`): question numbers satisfied by the document (empty if not an answer).
- `source`, `license`, `source_id`: upstream dataset provenance, per-record license (per-article for BioDEX and Evidence Inference), and PMCID/PMID where applicable.
- **`corpora/<corpus>.json`**: `doc_ids` lists the documents in the sample and `answers` maps each question number (`"1"`, `"2"`, …) to its gold `answer_id` list. For `single100.json`, each item gives one document and its ground-truth label (`is_answer`); CLERC single-document workspaces also include the four reference opinions.
## Agent Trajectories
This release includes complete execution trajectories (`3,730` runs) for all agents evaluated in the paper:
| Agent | 50% corpora | Corpus sizes | Single documents |
|---|---:|---:|---:|
| `gpt-6.1-sol_codex` | 120 | 120 | 1000 |
| `gpt-6-astra_codex` | 120 | 120 | 1000 |
| `opus-5.5_claude-code` | 120 | 120 | 1000 |
| `gpt-6-luna_loop` | 10 | 0 | 0 |
- **`gpt-6.1-sol_codex`** & **`gpt-6-astra_codex`** (Codex, extra-high reasoning): full session transcripts in `trajectory/codex_session.jsonl.gz`. Outputs are subject to OpenAI's [Terms of Use](https://openai.com/policies/row-terms-of-use/).
- **`opus-5.5_claude-code`** (Claude Code with Haiku 5.5 sub-agents, extra-high reasoning): main session in `trajectory/main.jsonl.gz` and sub-agent sessions in `trajectory/subagents/`. Outputs are subject to Anthropic's [Terms of Service](https://www.anthropic.com/legal/consumer-terms) and [Usage Policy](https://www.anthropic.com/legal/aup).
- **`gpt-6-luna_loop`** (GPT-6-Luna, high reasoning, exhaustive 20-document batch reader on `50pct_s01`): batch prompts/replies in `trajectory/calls.tar.gz`, call stats in `trajectory/calls.jsonl.gz`, and per-document verdicts in `trajectory/verdicts.jsonl.gz`.
Each multi-document coding agent has one run on each of the ten 50% corpora (`run_1`, main results) plus two repeat runs on `50pct_s01` (`run_2`, `run_3`, forming the 3-run 50% point of the corpus-size curve).
## Usage & Evaluation
Official scripts for workspace materialization, P/R/F1 scoring (reproducing all `3,730` `prediction.json` scores), and unique 5-gram document-exposure (coverage) evaluation are available on GitHub: **[github.com/davidzhangsan/MExAS](https://github.com/davidzhangsan/MExAS)**.
```bash
# Download benchmark data only (~350 MB):
huggingface-cli download CogComp/MExAS --repo-type dataset --include "data/*" --local-dir ./mexas_data
# Or download data + all 3,730 agent trajectories:
huggingface-cli download CogComp/MExAS --repo-type dataset --local-dir ./mexas_data
```
## License
See [LICENSE.md](LICENSE.md) for full dataset and source-article terms. Each document retains its upstream source dataset's and article's license (recorded in each document's `source` and `license` fields); our benchmark packaging (task selection, questions, answer keys, corpus samples, and layout) is licensed under CC BY 4.0 (CC BY-SA 4.0 for records from ShareAlike sources). Because some sources are non-commercial (and some BioDEX and Evidence Inference articles carry ShareAlike or NoDerivatives terms), the dataset as a whole is intended for **non-commercial research use**. Please cite the source datasets alongside MExAS.
## Citation
```bibtex
@misc{zhang2026mexas,
title={MExAS: Measuring Exhaustive Agentic Search},
author={Lyuxin David Zhang and Dan Roth and Tomer Wolfson},
year={2026},
eprint={2611.41869},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2611.41869},
}
```