Research

xMentium performance on DocILE.

We evaluated the xMentium complete-pipeline on a 500-document reshaping of the DocILE key information extraction benchmark. The system ranked first among the evaluated document extraction systems on the full 55-field schema.

01 Overview

Evaluation task and headline result.

DocILE is a public benchmark for key information localization and extraction over business documents. For this evaluation, each system received the same PDF input and the same 55-field extraction schema. xMentium's complete-pipeline achieved the highest outcome-weighted field extraction score on the evaluated set: 75.0, compared with 69.9 for the document extraction provider and 69.7 for the strongest frontier LLM baseline.

500
Documents scored
~14,300
Ground-truth field values
55
Field types (36 header, 19 line-item)
16
Systems compared

Validation subset drawn from the DocILE annotated corpus. Document mix: 68% tax invoices, 21% order forms, 4% sales orders, 4% receipts, 2% purchase orders, plus one proforma and one credit note.

02 The Dataset

Why DocILE was selected.

We reviewed several public extraction datasets before selecting DocILE. The alternatives were either too narrow, too small, too synthetic, primarily diagram-oriented, or too heterogeneous in length to support a stable comparison. DocILE offered the strongest combination of scale, document realism, fixed schema, and layout diversity.

01

CORD

Shop receipts with limited document variety.

02

FUNSD

Scanned forms, but only 199 documents.

03

FATURA2

Synthetic invoices with comparatively clean layouts.

04

Digitize-PID

Engineering drawings rather than document metadata extraction.

05

Enginuity-bench

Engineering diagrams, but too clean to stress practical extraction failures.

06

LongExtractBench-50

Long table-heavy PDFs with document lengths ranging from 22 to 11,622 pages.

DocILE contains real business documents rather than synthetic or cleaned-up samples, and its fixed 55-field schema supports consistent system-to-system comparison. Its 1,000+ layout clusters also reduce the risk that a system is being evaluated only on template memorization.

03 Evaluation Protocol

Comparator inputs were held constant.

All non-xMentium comparator systems were evaluated through the same benchmark harness. Each runner received the same document bytes, the same extraction schema, the same system instruction, and the same downstream canonicalizer and scorer.

01

Same schema, verbatim

Every provider receives the exact same JSON schema, with descriptions taken verbatim from the dataset. No rewriting descriptions to be more extraction-friendly for one provider.

02

Same system prompt

Every runner uses the shared "You are extracting structured fields from a business document..." prompt. No provider-specific coaching.

03

Zero shot

No worked examples are included in any prompt. Every provider sees the schema and the PDF, nothing else.

04

Single pass

One structured-output call per document. No self-critique loops, retry-on-low-confidence, or iterative refinement. Native multi-pass reasoning inside a provider's own endpoint counts as part of the provider; we add no passes on top.

05

Same preprocessing

The schema is preprocessed exactly once, and the identical result is handed to every runner. No provider-specific schema tweaks.

06

Same canonicalizer for scoring

Predictions and ground truth are canonicalized with the same rules that produced the ground truth itself. Providers are scored on extracted content, not on formatting.

07

No corpus-tuned post-processing on the leaderboard

Any variant whose cleanup, filter, or normalization rules were derived from measuring failures on the same 500 documents is excluded from the ranked table, even if it scores well.

04 xMentium System

The evaluated system is the complete-pipeline configuration.

The xMentium row reports a five-stage xADL pipeline built for the DocILE extraction task. It combines OCR, OCR repair, structured VLM extraction, deterministic normalization, and export into the DocILE schema. The pipeline uses invoice-domain field descriptions and prompt rules, but it does not use per-document tuning or worked examples.

OCR

PaddleOCR attaches text and bounding-box origins to each page.

OCR repair

A fast vision model cleans OCR text into reading order and repairs common character errors.

Extraction

A structured-output VLM call receives the page image, repaired OCR text, field descriptions, and invoice-domain extraction rules.

Normalization

Per-page outputs are consolidated, line items are deduplicated, and amounts, dates, and currencies are canonicalized.

Export

The flat extraction record is projected into the nested 55-field DocILE schema for scoring.

The reported xMentium cost is metered LLM spend for the pipeline: local PaddleOCR, a Luna OCR-repair pass, a Terra extraction pass, and non-LLM normalization/export stages.

05 Scoring

The headline score is an outcome-weighted field extraction score.

The evaluation scores extracted field values rather than bounding-box localization. Predictions and ground truth are canonicalized with the same rules, then each document-field cell is assigned to one of five outcomes. The same scorer is applied to every system.

m
matchCanonical value equals ground truth.
n
nearClose value under fuzzy, token, substring, or numeric tolerance.
w
wrongA value was emitted, but it is not close to ground truth.
mi
missedGround truth contained a value and the system emitted none.
e
extraThe system emitted a value where ground truth contained none.
F = (5m + 0.25n) / (5m + 0.25n + 2mi + 2.5e)

Wrong values receive no positive credit in the numerator. They are still reported as a distinct failure class so that value errors, omissions, and over-emissions remain separable in analysis.

Original document

Original sample invoice with no field highlights.

Annotated fields and line items

The same invoice with DocILE field and line-item annotations highlighted in color.
The same invoice without highlights (left) and with DocILE dataset annotations (right). The annotations illustrate the field locations and line-item structure used by the benchmark; this is not a visualization of xMentium predictions.

Cost is summed per document from each provider's published token rate or, for the document extraction provider, from reported credits converted at the published credit price.

06 Results

xMentium ranked first on the full 55-field evaluation.

Across the 500-document evaluation, xMentium produced the highest outcome-weighted score. It also produced the largest raw match count and fewer extra values than the next-ranked systems.

75.0xMentium F score
+5.1vs. document extraction provider
+5.3vs. best frontier LLM
RankProviderMatchNearWrongMissedExtraFCost
1xMentium9,4481,0871,0162,7962,85275.0$17.93
2Document extraction provider9,3151,1571,1562,7194,66469.9$37.26
3OpenAI Terra8,5321,0458283,9423,10169.7$14.38
4OpenAI Sol8,5581,0339743,7824,12367.1$34.37
5OpenAI Luna8,6241,0701,0133,6404,96865.6$6.71
6Anthropic Sonnet 57,9311,0941,0224,3004,69162.9$10.31
7Gemini 3 Pro8,1721,0019064,2135,20262.7$19.03
8OpenAI GPT-5 mini8,5291,1681,1503,5006,76861.5$3.34
9OpenAI GPT-57,1681,1179935,0693,69261.3$22.77
10Gemini 2.5 Flash7,4551,0561,0803,7205,82760.0$3.66
11Gemini 2.5 Pro7,7991,0501,1603,2807,36758.5$17.20
12Gemini 3 Flash6,9201,0071,0354,5526,15855.8$5.87
13Gemini 3.7 Flash6,3078818985,9204,08655.3$1.78
14NVIDIA Nemotron Parse + Nano Omni7,3539491,1243,76810,65750.2$2.30
15NVIDIA Nemotron 3 Nano Omni8,7841,1141,3532,84714,77049.6$2.04
16Anthropic Opus 52,32439342611,2046,47221.8$51.78

07 Degradation Experiment

Robustness under controlled image degradation.

We also evaluated a deterministic 100-document subset under medium image degradation. The subset was stratified by document type, source, cluster tier, and layout cluster. Each page was rendered at 100 DPI, randomly rotated within +/-2.5 degrees, blurred with a Gaussian radius of 1.0, perturbed with additive noise, and recompressed at JPEG quality 30. All systems were scored against the same unchanged answer keys.

RankProvider / modelMatchNearWrongMissedExtraF (%)Cost
1xMentium complete-pipeline1,49124830864162367.3$3.60†
2OpenAI gpt-5.6-sol1,2032082541,02363957.7$7.16
3Google Gemini 2.5 Pro1,4092772427601,32057.1$3.60
4Document extraction provider (default)1,2842892908251,08656.5$2.15*
5OpenAI gpt-5.6-luna1,18922830796480655.6$1.51
6OpenAI gpt-5.6-terra1,0902112461,14155955.1$3.34
7OpenAI gpt-5-mini1,0262282381,19664752.3$0.57
8Google Gemini 2.5 Flash1,1982163308701,19452.2$0.82
9OpenAI gpt-57381851751,59042043.2$3.82
10Anthropic Claude Sonnet 57591251281,67681938.5$1.76
11Anthropic Claude Opus 551076891,9821,40024.0$9.12

Cost derived from published token rates; * Document extraction provider cost derived as credits × $0.015. † xMentium cost extrapolated from the full 500-document metered pipeline cost.

08 Limitations and Future Work

The result establishes benchmark performance, not general document intelligence.

DocILE is a useful public benchmark because it is large, annotated, schema-stable, and layout-diverse. It remains a business-document benchmark. The next research question is whether the same pipeline design continues to dominate on more visually complex, domain-specific document families.

Metric reporting

The headline table reports the outcome-weighted field extraction score used in this evaluation. It should be read separately from official DocILE localization metrics.

Dataset scope

DocILE primarily evaluates business documents such as tax invoices, orders, and receipts. It does not represent diagram-heavy engineering corpora such as P&IDs.

Robustness scope

The degradation experiment uses deterministic image transformations. It is a controlled robustness test, not a complete model of real scanner, fax, handwriting, or capture artifacts.

Future research

Next evaluations should extend beyond invoice-like documents to annotated engineering diagrams, P&IDs, and customer-specific corpora with independently constructed answer keys.

Business rules

Adding business rules improved performance across the evaluated models. xMentium came out on top because those rules worked across its complete pipeline, combining domain knowledge with OCR repair, structured extraction, and normalization. The result reflects how effectively the pipeline puts business rules to work alongside the underlying models.

System development

Additional work should evaluate arithmetic cross-checks, field-level confidence calibration, and model routing policies that preserve accuracy while reducing cost.