In this article
FUNSD entity labeling, word grouping and entity linking are separate tasks; flattening to token tags removes part of the original problem.
Separate the form-understanding stages
The owner overview presents FUNSD for text detection, recognition, spatial layout and form understanding on 199 scanned forms. The paper traces these documents through the form category of RVL-CDIP to an industry-document archive. This is useful for studying noisy form structure, not an unrestricted sample of every business document template. Distinguish detecting words, transcribing them, grouping them into entities, classifying entities and linking fields to values. A result measured at one stage cannot automatically describe the complete pipeline.
Preserve word and entity coordinate systems
The owner format description represents each form as a list of entities. An entity has its own ID, text, box, label, links and constituent words with separate boxes. Entity geometry encloses a semantic group, while a word box locates a particular transcription. Keep both levels through image resizing, and record whether a downstream model receives original pixel coordinates or normalized coordinates. Accidentally applying an entity rectangle to every word changes spatial evidence. Store the conversion with representation provenance.
Retain link direction and page-local identifiers
The paper defines directed relationships between entity identifiers. In the example format a link may appear in the records of both participating entities. That repeated storage does not imply two opposite relationships. Deduplicate a directed pair deliberately, while retaining endpoints and their roles. IDs belong to a form, so exporting several pages into one graph requires a compound page/entity key. Replacing links with an unordered adjacency matrix loses the distinction between a question field pointing to its answer and the reverse relation.
Name what a token-tagging export omits
The original semantic labels are question, answer, header and other. Converting entity labels to token-level tags requires a declared word-to-subword alignment and treatment of continuation pieces. It does not by itself preserve entity grouping or relations. Report whether entity boundaries come from annotations or are predicted. An editorial comparison could hold the OCR words fixed while comparing a text-only labeler with a layout-aware model, but should not call either condition full form extraction if linking is unmeasured. Do not use reference grouping covertly in an allegedly end-to-end test.
Evaluate on forms rather than scattered words
The paper’s published split contains 149 training forms and 50 test forms. Keep all words, entities and links from a form together, and select tuning data within training forms under split controls. The authors acknowledge limited template variability and predominantly machine-written text. Scores with gold transcriptions and groups should remain distinct from scores using predicted OCR. Report grouping, labeling and linking errors separately, including a correct value linked to the wrong field; aggregate token accuracy can conceal precisely that structural failure.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.