Information extraction: Turn unstructured documents into verifiable data
Learn IE tasks and how to define schemas, preserve evidence, and evaluate errors in context.
Information extraction: Turn unstructured documents into verifiable data
Information extraction (IE) turns information scattered through sentences or documents into structured data. From “Minseo began working at a new research center in Busan in April,” a system might extract a person, date, place, organization, and their relation. IE is more than finding words: define what to extract, its format, and how each result can be checked against its source.
Common tasks
| Task | Output |
|---|---|
| Mention detection | Text spans for people, organizations, places, dates |
| Entity linking | The real-world item a mention refers to |
| Relation extraction | A supported relation between entities, such as (Minseo, workplace, research center) |
| Event extraction | Event type, participants, time, place |
| Field extraction | A specified value, such as an invoice date or total |
Named entity recognition (NER) finds and types entity mentions; it is one IE task. IE also covers relations, events, and document structure. NER methods are a separate topic.
Define a schema before extracting
A schema defines allowed fields, entity types, relations, and value rules. Start with who will use the output and which decision it supports; include only needed fields. For each field, specify its name, data type, allowed values, whether it is required, evidence location, and how to represent a missing value. Decide whether “April” means a month alone and how an unknown year is recorded. Never invent a year absent from the source.
Define relation meaning and direction: (person, employer, organization) differs from (organization, employee, person), so choose one convention. Document-level event extraction may connect participants and times across sentences. Research identifies coreference errors, weak reasoning, noisy labels, and ambiguous relation definitions as challenges.
Practical workflow
Bound document type, language, time period, intended use, and cost of errors. Do not start by extracting every relation from every document.
Write a small schema with positive examples, edge cases, and exclusions for each field. Check that annotators apply it consistently.
Label representative documents and review disagreements. Confirm permission and data-minimization or masking requirements before handling personal data; revise guidance and relabel disputed examples.
Compare simple rules or dictionaries with learned or generative models. In multi-stage pipelines, check whether an early error propagates.
Store each value with document ID, source span, schema version, and confidence or review status. Reject or flag generated values outside the schema or unsupported by the source.
Evaluate missed values, wrong values or relations, duplicates, and span-boundary errors separately. Recheck the same test set when data or schema changes.
Evaluate the errors that matter
Precision is the share of extracted values that are correct; recall is the share of reference values found. F1 summarizes their balance, but it can hide different costs of false extractions and omissions. Exact-match evaluation needs normalization rules (“April 3” versus “04-03”) and a fixed relation direction. Review annotator agreement and disputed cases, too: label errors can make a benchmark a poor proxy for real quality.
| Use | Check |
|---|---|
| Important fields such as names or dates | Per-field accuracy, omissions, and evidence spans |
| Relations/events spanning sentences | Document context, coreference, time, and roles |
| Extraction triggers an action | Send low-confidence or out-of-schema output for review, not automatic execution |
| Specialized documents | Have domain experts review annotation rules and errors |
For invoices, check currency symbols, tax inclusion, multiple totals, and missing values, not only average accuracy. This is an illustrative evaluation plan, not an experiment. Reliable IE needs a purpose-built schema, consistent annotation guidance, traceable evidence, error-specific evaluation, and a human review path.
References
Josifoski et al., [GenIE: Generative Information Extraction](https://aclanthology.org/2022.naacl-main.342/), NAACL 2022.
Yang and Mitchell, [Joint Extraction of Events and Entities within a Document Context](https://aclanthology.org/N16-1033/), NAACL 2016.
Zheng et al., [A Comprehensive Survey on Document-Level Information Extraction](https://aclanthology.org/2024.futured-1.6/), FuturED 2024.
Cai and O’Connor, [The State of Relation Extraction Data Quality](https://aclanthology.org/2024.findings-acl.470/), ACL Findings 2024.