← All research

EMNLP 2026 · Industry Track · 2026

OntoForm: Ontology-Grounded Semantic Data Generation for Enterprise Document Understanding

Nilakshan Kunananthaseelan, Benjamin Kane, Siddharth Jain, Mahsa Ghorbanali, Fatemeh Shiri, Raj Tumuluri, Gholamreza Haffari

Openstream AI

An ontology-driven document compiler that turns one validated business entity into linked enterprise forms with exact labels for extraction, grounded question answering, and cross-form reasoning.

  • Document understanding
  • Synthetic data
  • Ontology grounding
  • Cross-form reasoning
OntoForm defines an ontology, samples and validates an entity record, binds its values to template fields, and renders a consistent form packet with exact supervision.
Generate once at the semantic layer. One validated business entity anchors every rendered form and every training target.

Research summary

Why linked forms need a shared entity

Enterprise forms are not collections of independent fields. A submission can describe the same applicant, location, exposure, or coverage across recurring sections and several related documents. Those values must agree even when labels and layouts change.

Two separate problems motivate OntoForm. Authentic training data is difficult to obtain because forms contain sensitive information and require expensive annotation. Synthetic data addresses access and labelling costs, but generating fields independently can still produce contradictory documents. Ontology grounding addresses that second problem by preserving shared facts and dependencies across a packet.

Independent field generation gives the same applicant conflicting tax IDs and employee counts; entity-first generation shares one validated record across an application, endorsement, and certificate.
Different labels can refer to the same fact. FEIN, Tax ID, and Employer ID must resolve to one semantic value across the packet. Select the diagram to view it at full size.

A semantic-first pipeline

OntoForm begins with an ontology map and a document template. The ontology compiler turns stable domain concepts into a hierarchical schema; the entity sampler creates a latent record; a deterministic validator checks its constraints; and the renderer projects that record into one or more forms. Because the semantic record is shared, related documents inherit the same underlying facts.

𝒪 = (𝒞, 𝒫, ℛ, 𝒦)

𝒞 contains concept classes, 𝒫 their properties, ℛ semantic relations, and 𝒦 the constraints, dependencies, and sampling rules. The representation is intentionally lightweight and independent of page layout.

The compiler binds ontology paths to template fields, page indices, value types, and bounding boxes. Sampling then follows the dependency graph rather than filling fields independently:

p(z | s) = ∏v∈order(G) p(zv | zpa(v), s)

z is the complete entity record, s is an optional business scenario, and pa(v) contains the declared parents of field v. In plain language, every dependent value is sampled only after the facts it relies on are known.

A candidate record is accepted only when the validator confirms its types, required fields, cardinalities, temporal rules, and cross-document invariants. When possible, OntoForm resamples only the invalid subtree instead of discarding the whole record.

Six stages: specify an ontology and template, compile a hierarchical schema, generate values in dependency order, validate the entity, render template-specific views, and export forms and labels. Failed validation resamples the violating subtree.
The ontology map and template bindings require manual authoring. Entity sampling, validation, rendering, and label export then run automatically. Select the diagram to inspect the full architecture.

For example, the sampler can generate a workforce total of 19 and split it into 12 full-time and 7 part-time employees. The validator checks that the counts add up before the renderer places them in any document. A shared tax identifier can appear as “FEIN” on an application and “Tax ID” on an endorsement without changing its underlying value.

Exact supervision from the same record

The FEIN value on a generated commercial application supplies its field bounding box, the ontology target organization.fein, a grounded question-answer pair, and validation metadata.
One rendered value supplies aligned field annotations, a stable ontology target, grounded QA, and machine-checkable validation metadata.

Every rendered value can be traced to an ontology path, sampling rule, and template location. That single source record produces several aligned supervision signals:

Filled forms

Template-consistent documents generated without private production records.

Field annotations

Exact values, ontology paths, page locations, and pixel-level boxes.

Grounded QA

Questions and answers tied to visible evidence in the rendered document.

Validation metadata

Machine-checkable evidence for types, dependencies, and cross-form consistency.

Reasoning across a document packet

Some questions require evidence from several forms. In the illustrated bakery scenario, the Commercial Application records vehicle use, General Liability records 1,250 annual deliveries, and Business Auto lists three delivery vans. A grounded response brings those facts together and identifies the evidence behind its answer.

A bakery example combines vehicle use from a commercial application, 1,250 deliveries from general liability, and three vans from business auto. Exact reasoning rises from 18.33 to 52.50 with ontology-guided fine-tuning.
Illustrative evidence aggregation across three forms. In the controlled study, exact reasoning improves by 34.17 percentage points over training without ontology supervision.

Evaluation at a glance

The controlled insurance study covers three surrogate form types: Commercial Application, General Liability, and Business Auto. Entity-level splits keep the same sampled business profile from appearing in both training and test sets.

706rendered forms
63,318field annotations
7,395grounded QA pairs
QuestionComparisonMeasured gain
Does synthetic supervision help grounded QA?ROUGE-L: 53.1 → 97.2+44.1
Does ontology supervision improve matched fine-tuning?Extraction F1: 88.63 → 92.35+3.72
Does it correctly omit absent fields?Accuracy including true negatives: 75.17 → 90.40+15.23
Does ontology guidance transfer to a held-out form?F1: 60.90 → 96.95+36.05
Can the model recover concepts absent from training?F1: 53.92 → 96.59+42.67
Can it reason across a multi-form packet?Exact reasoning: 18.33 → 52.50+34.17

Scores are percentages; gains are percentage points. QA compares zero-shot and fine-tuned models (Table 2). Extraction and omission handling compare fine-tuning without and with ontology supervision (Table 3). Held-out-form results compare the corresponding training and prompting conditions (Table 4). Cross-form reasoning compares the two fine-tuned models without ontology at inference (Table 6). The separate extraction gain over the ontology-conditioned zero-shot baseline is +4.99 F1 (87.36 → 92.35).

What ontology grounding changes

The strongest gains appear when the layout or semantic inventory changes. On a held-out Business Auto form, ontology guidance adds 36.05 F1 points across all fields and 42.67 points on concepts that never appear in the training forms.

The same pattern holds for two unseen surrogate lines of business. Canonical path-value F1 rises from 4.1 to 91.4 for Workers’ Compensation and from 5.2 to 80.2 for Commercial Property. Hallucination falls from 95.1% to 1.0% and from 93.5% to 0.1%, respectively. These experiments remain inside the controlled synthetic pipeline, but they isolate the benefit of stable semantic paths when surface forms change.

Scope and limitations

  • The study uses digitally rendered, template-consistent surrogate insurance forms; it does not establish transfer to authentic enterprise documents.
  • The evaluation does not yet cover handwriting, stamps, skew, OCR errors, low-resolution scans, missing fields, or continuously evolving layouts.
  • OntoForm uses a lightweight task ontology rather than full OWL or description-logic reasoning, and authoring its maps, validators, and bindings requires domain expertise.
  • Strong synthetic-data results are not evidence that an automated system is safe for consequential insurance decisions. Production use still requires human review, shift monitoring, and fairness evaluation.

Takeaway

OntoForm reframes enterprise forms as layout-specific views of a shared semantic entity. That shift makes it possible to generate scalable, privacy-preserving supervision while retaining the cross-field and cross-document consistency required for extraction, grounded question answering, and multi-form reasoning.

Use this work

Citation

Kunananthaseelan, N., Kane, B., Jain, S., Ghorbanali, M., Shiri, F., Tumuluri, R., & Haffari, G. (2026). OntoForm: Ontology-Grounded Semantic Data Generation for Enterprise Document Understanding. EMNLP 2026 Industry Track.

@inproceedings{kunananthaseelan2026ontoform,
  title     = {OntoForm: Ontology-Grounded Semantic Data Generation for Enterprise Document Understanding},
  author    = {Kunananthaseelan, Nilakshan and Kane, Benjamin and Jain, Siddharth and Ghorbanali, Mahsa and Shiri, Fatemeh and Tumuluri, Raj and Haffari, Gholamreza},
  booktitle = {Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing: Industry Track},
  year      = {2026}
}