← Research

Learning from corrections

Better extraction, learned from real documents.

Approved rules improved field extraction on public invoices and receipts, using the same agent and a real rollback as the comparison.

· VRDU ad-buy invoices + SROIE receipts

Exact matches / 840 trials

Rules rolled back122
Rules applied590
VRDU ad-buy invoices · 60 held-out documents per seed, three seeds. Higher is better.

What changed

On public ad-buy invoices, applying the learned rules produced 590 exact matches out of 840 field trials, compared with 122 when the rules were rolled back. The paired result was 468 wins and no losses. A second public corpus, SROIE receipts, also improved in its revised run.

Ad-buy invoices · paired improvement

468 wins, 0 losses

Rules applied: 590/840 exact. Rules rolled back: 122/840 exact. Every transition was significant in each seed.

Source & run details
Source
RESULTS.md §The second corpus — public ad-buy invoices
Run date
2026-09-04
Seeds
1, 2, 3
Sample
840 invoice-field trials; 60 held-out invoices per seed
Cost
Approximately $0.90 for three seeds, account-level delta (ADBUY.md)

Receipts · revised run

286 wins, 1 loss

Run 2: rules applied 382/720 exact, against 97/720 rolled back. The comparison baseline is the same in both published runs.

Source & run details
Source
RESULTS.md §Governed self-improvement on real, public data
Run date
2026-09-04
Seeds
1, 2, 3
Sample
720 receipt-field trials; 60 receipts × 4 fields × 3 seeds
Cost
$0.26 for run 2

An existing field improved

43/60 → 60/60

Gross Amount on ad-buy seed 2. Unlike the receipts gains, this improves a field the baseline was already attempting.

Source & run details
Source
RESULTS.md §The second corpus — public ad-buy invoices
Run date
2026-09-04
Seeds
2
Sample
60 held-out invoices; Gross Amount in both arms
Cost
Included in the approximately $0.90 ad-buy run

How we measured it

  1. 01

    An agent starts with a day-one extraction instruction. During experience, a model accountant corrects its ledger rows against a fixed rubric. The learner proposes rules and a model reviewer approves or rejects them; this is an automated review protocol, not a human field study.

  2. 02

    The applied arm reads the approved rules. The comparison arm is created by rolling those rules back through Areev’s own lifecycle. Both read the same held-out documents with the same capture agent.

  3. 03

    Both experiments use seeds 1, 2 and 3, with 40 experience documents and 60 held-out documents per seed. Capture and learning use Qwen3-30B-A3B-Instruct-2507, with the serving configuration pinned; grounding uses gpt-4o-mini and review uses gpt-4o.

  4. 04

    Exact match is paired by document and field using McNemar’s exact test. Repeated applied reads measure the noise floor. The public results record the per-seed scores, learning curves and verification behaviour.

The dataset

The ad-buy corpus retains 530 of 641 public US FCC advertising invoices after the documented field and parsing filters. SROIE supplies scanned Malaysian retail receipts and annotated fields. Each run uses 60 held-out documents per seed; the score counts document-field pairs, not whole documents.

Explore the corpus and harness ↗

Explore the evidence

Read the result. Run the experiment.

The public write-up links the corpus builders, run configuration, per-seed evidence and commands. Re-run the extraction protocol on documents and filing conventions that match your work.

Proving the improvement →Fast local recall →