Your reading path
Start with the right questions.
From principle to practice
Worked sampling example: 1,000 pages, four families
Open the worked exampleChoose the unit you are counting
A page, a document and a layout family are different units. One document can contain a cover, repeated invoice pages and a signature appendix; one template can generate thousands of documents. Record counts at each level so page volume does not masquerade as structural breadth.
Define a family using the decisions the model must make: location and ordering of key fields, table organization, section hierarchy, reading order and treatment of continuation pages. A logo or background-color change may leave those decisions untouched. Conversely, two pages that look alike can attach different meanings to the same position, so semantic variation needs its own label.
What a public layout benchmark establishes
DocLayNet’s publisher repository describes human-labeled page layouts from six document categories and a predefined split designed to avoid leakage of distinctive layout styles. It is useful evidence that layout evaluation can track document categories and source groupings. It is not a claim that those documents are Fiund inventory or that a layout-segmentation benchmark evaluates your invoice fields.
Layout-region labels answer where elements such as tables or text blocks are. Extraction references answer what a particular business field means and where its supporting evidence occurs. Keep these annotation layers separate when comparing collections, and inspect the actual release terms before using any public benchmark.
Worked sampling example: 1,000 pages, four families
Consider an illustrative archive with 700 pages from one invoice generator, 200 from a second vendor, 80 purchase-order pages and 20 continuation pages belonging to those same orders. Calling it “1,000 diverse pages” hides a concentration problem. The largest invoice family accounts for 70% of all pages, while continuation examples come from very few documents.
Instead, produce a page-to-document-to-family map. Report both total pages and independent source documents for each family. Review whether the 20 continuations actually represent 20 distinct behaviors or repeat the same carry-forward table. These invented counts demonstrate the analysis; they are not a recommended quota or a description of available stock.
- Review axis
- Field arrangement
- Possible values
- Fixed header, free-position labels, repeated summary boxes
- Why it changes the task
- Finding evidence requires different location strategies
- Review axis
- Table structure
- Possible values
- Bordered grid, whitespace columns, merged cells, continuation
- Why it changes the task
- Row/column relationships can change without a new logo
- Review axis
- Reading order
- Possible values
- Single column, sidebars, multi-column, mixed direction
- Why it changes the task
- Linear OCR text can connect the wrong evidence
- Review axis
- Source condition
- Possible values
- Native PDF, scan, skew, low contrast
- Why it changes the task
- Distinguishes perception failures from structural reasoning
- Review axis
- Document relationship
- Possible values
- Single page, attachment bundle, revised edition
- Why it changes the task
- Tests whether context survives beyond one page
Build a family register reviewers can apply
Store family_id, source_id, document_type, generator or template revision if known, language/script, page role and a short reason for the family assignment. Use unknown for undocumented provenance instead of inferring a generator from appearance. Keep a small set of representative pages and counterexamples with the register.
Ask two reviewers to categorize the same pilot subset and compare disagreements. If they repeatedly disagree about whether a changed footer creates a new family, the definition is too vague. Resolve the rule before publishing a headline count. A family register is a practical taxonomy, not a universal standard supplied by this article.
Separate scan degradation from layout novelty
Create a matrix of layout families against image conditions. If every unfamiliar family is also a low-quality scan, a model failure cannot be attributed cleanly to layout generalization. Seek a readable baseline within major families and document where conditions are naturally confounded.
Do not create dozens of “new” families by rotating or recompressing the same document. Those variants can test robustness, but they share underlying content and structure. Record their common parent and keep that lineage visible during evaluation grouping.
Hold out the source of the variation
A random page split can put adjacent pages or repeated templates in both training and evaluation. Choose the grouping that matches the question: holding out complete documents tests one boundary; holding out an organization or generator family tests a harder one. State the boundary explicitly rather than describing every split as unseen-layout evaluation.
The scikit-learn cross-validation guide explains group-aware splitting. For this task, use your family register to define the groups; the library cannot infer business template lineage. After splitting, inspect near-duplicates and parent-child relations to confirm that a group assignment did what the specification intended.
Measure extraction behavior within each slice
Report the chosen field or region metric by family, language, scan condition and page role, along with the number of examples in each cell. A total score dominated by the 700-page family in the example can conceal failure on rarer purchase orders. Keep small-cell uncertainty visible and avoid ranking models on a handful of examples as if the result were stable.
Ask whether a missing field is genuinely absent, unreadable, carried from a previous page or missed by annotation. Those cases need different reference labels. Add adjudicated examples for ambiguous reading order and merged cells so reviewers can reproduce the scoring decisions.
What to request from a source
Request the family register, source-group counts, readable sample pages, annotations tied to the correct image version and a split manifest. Include the business fields and error types that matter to the model. If a source cannot document template origin, it may still be useful, but the uncertainty must remain part of the evaluation claim.
A pilot should demonstrate the register and the proposed split, not only show an attractive montage. Confirm the cost of extra labeling, document grouping and uncommon page conditions separately. Source access and permitted use are reviewed for the selected collection; public examples here do not promise a particular commercial archive.
Questions buyers ask
Sources & research notes
Public documentation reviewed 2026-11-13. Provider descriptions and published terms are attributed below. Published facts are attributed to their sources. Worked files are labeled as illustrative or as an inspected editorial source; neither implies commercial dataset clearance.
- DocLayNet: publisher documentationIBM Research / DS4SD · Reviewed 2026-11-13
Layout categories, annotations and predefined split design; public benchmark documentation, not Fiund availability.
- Cross-validation: grouped datascikit-learn · Reviewed 2026-11-13
Group-aware evaluation methods; this guide supplies its own document-family examples and review procedure.
