P-1 (papers_protocol.md) found three causes of missed evidence on 20
forecasting papers: the 12 000-token budget fits one paper (14 of 24 missed cross-paper quotes),
one window per paper misses quotes elsewhere in it (7 single-paper misses, all 8 W losses), and
low ranking of the second paper (10 misses). Those causes were read off P-1's own 50 questions, so
P-2 measures the fixes on two open benchmarks with a dev split for choosing settings and a test
split scored once.
| QASPER (Dasigi et al., NAACL 2021) | MDA-QA (Huang et al., EMNLP Findings 2025) | |
|---|---|---|
| License | CC BY 4.0 | CC BY 4.0 (paper text: SPIQA extracted paragraphs, CC BY 4.0) |
| Questions | written by NLP researchers about one paper | generated by GPT-4o, filtered, need 2+ papers |
| Gold | evidence paragraphs per annotator | arXiv ids of the support papers |
| Dev | official dev split: 281 papers | MDA-QA ids shuffled with random.Random(0): the first 200 |
| Test | official test split: 416 papers | the next 100 |
| Corpus of a split | the split's papers | the union of the split's support papers |
- QASPER v0.3 (
qasper-dev-v0.3.json,qasper-test-v0.3.json). Questions: those with at least one annotator answer that is answerable and has at least one evidence paragraph not starting withFLOAT SELECTED(dev 892, test 1 310). Paper text: for each section, its name and its paragraphs, joined by blank lines. QASPER questions refer to their paper as "they", so the query isIn the paper "<title>": <question>(like P-1's named questions). - MDA-QA (
MDA-QA.json, 6 804 questions, 2.06 support papers on average). Paper text: the SPIQA file<arxiv id>v<n>.txt(highestn). Query: the question as given. - The raw files stay in
data/raw/open_papers/(gitignored); the splits are reproducible from the rules above.
All use the shipped hybrid+ce@100 over recursive 500 / 50 chunks (BM25 and bge-small top 100,
RRF k = 60, MiniLM reranks the top 100), a pool of the top 10 chunks, overflow stop. A packing
configuration is (budget, window, slices):
- budget: 12 000 (shipped), 24 000 or 36 000 estimated tokens;
- window: none (shipped: whole document, a first document over the budget is cut to the budget-sized window and packing ends), 4 000 or 8 000 tokens (P-1's W: a longer document is cut to the window and packing continues);
- slices: 1 (shipped: one window centred on the document's best chunk) or 3: a document being cut to width w is represented by up to 3 windows of width w / 3 centred on its first 3 chunks in the pool (fewer if fewer are in the pool), overlapping windows merged, kept in document order and joined by a blank line.
B0 = (12 000, none, 1). On the dev splits all 18 configurations are run. For each budget b, S_b is the (window, slices) pair with the highest mean of the two dev primary metrics; ties within 0.005 go to window none, then slices 1. The test splits are scored once for B0, S_12000, S_24000 and S_36000.
Contexts (WC). MDA-QA test only (16 400 estimated chunks; QASPER queries name the paper, so
contexts cannot help find it). P-1's recipe: Anthropic's prompt, qwen3:8b, temperature 0, at most
200 output tokens, thinking off, num_ctx 32 768, document cut to its first 60 000 characters,
prepended to the chunk for BM25, the embedder and the cross-encoder; the windows are located with
the plain chunk text. Before generation, a probe (P-1 amendment 4) sends every paper's cut text
with its longest chunk; if any prompt exceeds 32 568 tokens, the cut becomes 50 000 characters for
all papers. Contexts run on a private Ollama limited to one free GPU (P-1 amendment 3), never on the
shared server. WC_b = S_b with contexts. Committed: docs/sota-runs/open_papers_contexts.json.
- QASPER, evidence recall (primary): per question, the maximum over qualifying annotators of the share of their text evidence paragraphs contained in the packed context (lowercase, whitespace collapsed).
- MDA-QA, support recall (primary): per question, the share of support papers with any packed text. MDA-QA has no evidence spans, so a packed window of the right paper counts even if it misses the part the answer needs.
- Reported, not gating: all support papers packed (MDA-QA), MRR of the first gold paper in the chunk ranking, packed tokens, distinct papers packed.
Paired bootstrap over questions (10 000 resamples, seed 0, 95 % CI).
- Packing at the shipped budget. If S_12000 differs from B0, it becomes the
search()default iff on test S_12000 - B0 has CI lower bound > 0 on MDA-QA, CI lower bound > -0.02 on QASPER, and the EU guard holds (packed output identical to B0 on the 190 pooled EU questions). - Budget. S_24000 - B0 and S_36000 - B0 are reported with their token cost; the default budget is not changed by this study (it changes EU output and the agent's cost, so it is the user's call).
- Contexts. Recommended for paper corpora (generated at upload) iff WC_12000 - S_12000 has CI lower bound > 0 on MDA-QA test support recall. WC_24000 and WC_36000 are reported.
- P1: on MDA-QA, B0 support recall is 0.40 to 0.60 (a SPIQA paper is about 8 700 estimated tokens, so one of two support papers fits); S_36000 - B0 is +0.20 to +0.35.
- P2: on QASPER, B0 evidence recall is at least 0.80 (median paper about 5 200 tokens, title in the query); every S_b - B0 is within ±0.03.
- P3: S_12000 uses a window (4 000 or 8 000), because MDA-QA needs a second paper.
- P4: WC_12000 - S_12000 is +0.02 to +0.08 on MDA-QA.
- P-cost: dev grid and test scoring under 1 hour on the laptop; contexts about 11 hours on one shared GPU.
Answer quality through the agent; QASPER questions without the paper title ("described" questions); evidence inside MDA-QA support papers; the group's own papers.
- Equal MDA-QA splits. Each MDA-QA corpus is the union of its own questions' support papers, so its size sets how crowded the ranking is: dev 200 questions (410 papers) against test 100 (206) would tune on a pool twice as crowded as the one scored. Dev becomes the first 100 shuffled ids (201 papers), test the next 100 (209 papers). No unrelated distractor papers are added: they would double the context calls, and every corpus paper already is a distractor for the other questions.
- QASPER's role. Measured paper lengths (estimated tokens): of 416 test papers, 282 exceed 4 000, 52 exceed 8 000 and 8 exceed 12 000. B0 almost always packs the whole gold paper, so QASPER cannot show a budget gain; it is the guard against windows and slices losing evidence (P-1's described-question loss), which is how rule 1 uses it (non-inferiority, -0.02).
- Token units. Budgets are ragkit's estimated tokens (characters / 4). P-1 measured paper text at 2.1 to 3.1 characters per Qwen token, so 12 000 / 24 000 / 36 000 estimated tokens are about 15 000 to 23 000 / 31 000 to 46 000 / 46 000 to 69 000 real tokens; costs are reported with that range.
Dev grid sota-runs/open_papers_dev.txt chose S_12000 =
12000/4000/1, S_24000 = 24000/8000/1, S_36000 = 36000/none/1. Test scored once:
sota-runs/open_papers_score.txt. Contexts: 19 272 chunks (not
the estimated 16 400), mean 30.9 words, 0 empty, no prompt cut (probe: at most 23 666 tokens).
| Test | QASPER evidence recall (1 310) | MDA-QA support recall (100) | QASPER tokens | MDA-QA tokens |
|---|---|---|---|---|
| B0 | 0.921 | 0.468 | 7 881 | 8 800 |
| S_12000 - B0 | -0.125 [-0.148, -0.104] | +0.255 [+0.203, +0.308] | 8 734 | 9 583 |
| S_24000 - B0 | +0.043 [+0.031, +0.056] | +0.255 [+0.203, +0.308] | 14 732 | 18 027 |
| S_36000 - B0 | +0.061 [+0.048, +0.074] | +0.267 [+0.213, +0.322] | 18 555 | 22 265 |
| WC_12000 - S_12000 | -0.007 [-0.045, +0.032] | 8 653 |
Tokens are mean estimated tokens per search (characters / 4); real tokens are about 1.3 to 1.9 times more (amendment 1).
Verdicts. Rule 1: S_12000 not adopted (QASPER lower bound -0.148 < -0.02; EU guard held). Rule 3: contexts not recommended. Rule 2: S_36000 gains on both benchmarks (81 better, 0 worse on QASPER) at about 2.4 times the tokens of B0; the default budget stays the user's call.
- P1 held: B0 support recall 0.468, S_36000 - B0 +0.267.
- P2 failed: QASPER B0 is 0.921, but S_12000 loses 0.125 and the larger budgets gain 0.043 and 0.061. The budget matters on QASPER too: B0 packs the gold paper for 0.924 of the questions, S_36000 for 0.982 (gold paper MRR 0.930 for all systems).
- P3 held: S_12000 uses the 4 000-token window.
- P4 failed: contexts raise paper MRR (0.971 vs 0.939) but not support recall (-0.007).
- P-cost: dev grid and test scoring took about 12 minutes; contexts about 14 hours (shared GPU, six tunnel drops resumed from the cache).
- Measured after scoring, not gating (throwaway script, B0 ranking on MDA-QA test): the share of support papers with a chunk in the top 10 / 20 / 50 / 100 chunks is 0.773 / 0.875 / 0.950 / 0.977. S_36000 (0.735) is close to the top-10 ceiling, so on multi-paper questions the pool of 10 chunks, not the budget, now limits recall. Three slices per window were chosen at no budget.
The user chose the 36 000-token budget for paper corpora. search() with budget_tokens=None packs
a corpus in which any document has page breaks (a PDF of two or more pages, or text with form
feeds) into PAPER_BUDGET_TOKENS = 36 000 and any other into 12 000, so the EU corpus (Markdown,
no page breaks) and the ezcross search_eu_law call are unchanged; ragkit answer follows the
same default. The benchmark corpora behind the 36 000 result were plain text without page breaks,
so the rule is a product choice, not something P-2 measured; a paper corpus converted to unpaged
text needs budget_tokens=36_000 passed explicitly. Not measured: the agent's answer quality or
latency at the larger budget.
Post-hoc check on the P-1 corpus (20 forecasting PDFs, about 23 000 estimated tokens each; its 50 questions are development data since P-1's diagnosis, so this is not a test): at 36 000 whole papers, evidence recall is 0.812 against 0.692 at 12 000 (named 0.950 vs 0.800, described 0.900 vs 0.800, cross 0.358 vs 0.258), with 1.10 papers packed and 24 638 tokens per search. Long papers still fill the budget alone, so questions that compare such papers stay weak; 36 000 with 12 000-token windows gives cross 0.575 but named 0.800 (all 0.775).