Relation, Event, and Temporal Extraction › From Mentions to Statements

Michael BrenndoerferMay 11, 20256 min read
Language AI HandbookAll chapters
Part 8 of 67Semantics and Information Extraction
Chapter 53Relation, Event, and Temporal Extraction › From Mentions to Statements
Reading section 2 of 12 · From Mentions to Statements · 6 minSection 2 of 12 · 6 min

Section 2 of 12 · 6 min read

Relation, Event, and Temporal Extraction › From Mentions to StatementsSection view · Sections in this chapter2 / 12 ↓
Reading tools Definitions, links & notes

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Notes & comments

The following one-way pipeline illustrates how an early decision can affect later records.

  1. Mention detection: find entity, event trigger, and timex spans. One way to do this is sequence labeling, covered in Part VI.
  2. Entity linking: map mentions to canonical identifiers in a knowledge base. We'll cover this in the next chapter.
  3. Relation and event extraction: build typed structures over those canonical entities.
  4. Temporal grounding: attach times and compute orderings.
  5. Aggregation: merge structures across mentions, sentences, and documents into a knowledge base.

Steps 3 and 4 are this chapter. Step 2 is Entity Linking and Knowledge Graph Construction, and step 5 is really a data engineering discipline as much as a modeling one.

This is one useful pipeline order, rather than a requirement for every architecture. The explicit span pipeline illustrated above detects mentions before classifying structures over them; joint and generative models can predict these outputs together. Entity linking supports aggregation across aliases, although a system can aggregate surface strings before resolving their identities. Relation and event extraction recover statements, temporal grounding attaches time information, and aggregation must preserve unresolved identities and contradictions rather than silently merging them.

Each stage also has its own error profile. Mention detection misses spans, entity linking conflates entities, relation extraction invents links, event extraction confuses roles, and temporal normalization assigns the wrong date. In a one-way pipeline, an early mistake can survive all the way to the final knowledge base. A missed organization mention in the first stage can cause a relation to disappear, which can cause an event to lose an argument, which can cause a timeline to be incomplete. Keeping provenance lets a reviewer trace a suspicious final record back to its claimed supporting span.

What the Three Tasks Share

These tasks predict structures anchored in text. Relation arguments and event triggers can identify spans, while temporal normalization also outputs values such as dates and durations. A system can use token labels for recognition and then assemble structured records. That has three consequences.

First, the output space is combinatorial. Enumerating all ordered pairs of distinct entity mentions gives n(n−1)n(n-1) candidates. A document with 40 mentions has 1,560 such pairs; one with 100 has 9,900. Positive-label prevalence depends on the corpus and schema. Candidate pruning can reduce computation, although batching or joint scoring can also handle many pairs without discarding them.

Count the candidate pairs before choosing an exhaustive scoring design. The following computation makes the candidate space explicit before any model scores a pair.

PythonIn [3]
CollapseExpand
import numpy as np

viz_entity_counts = np.arange(2, 101)
viz_ordered_pairs = viz_entity_counts * (viz_entity_counts - 1)
viz_marker_counts = np.array([40, 100])
viz_marker_pairs = viz_marker_counts * (viz_marker_counts - 1)
VisualizationOut [4]
CollapseExpand
Line plot of ordered candidate mention pairs growing quadratically with mention count.
Ordered candidate pairs for documents with two to one hundred entity mentions. The curve grows quadratically, with marked points showing 1,560 pairs for forty mentions and 9,900 pairs for one hundred mentions. Log scaling keeps both ends visible.

The candidate count sets the number of pair scores in an exhaustive design. Type constraints and distance filters can discard candidates; batching can instead change how those scores are computed. A filter can also discard a true relation, so compare its recall and computational cost.

Second, records can retain span provenance. A record can point back to the text using evidence strings and offsets. These references enable substring and location checks, although a wrong relation can pass both checks when its strings occur in the source. The Evidence and Grounding example shows offsets. The LLM example checks whether selected strings occur in the document. If a system extracts Acme’s report that it acquired Bolt, it should be able to identify the tokens that support that attributed claim. That evidence is useful for debugging, for audit, and for deciding whether to trust a prediction.

Third, the schema is a design decision. Deciding whether Acme acquired Bolt is one relation or an Acquisition event with fields for the buyer, target, price, and time, and whether Acme and Acme Corp are the same node, determines what your downstream system can answer. Open IE leaves the relation phrases open while still choosing output fields, such as subject, predicate, and object. Canonical queries require a mapping between those predicates and the requested relation types.

What They Do Not Share

The three tasks differ in output structure, which constrains what a model must predict and informs its design.

Output units, example formulations, and selected issues for the three extraction tasks.
TaskOutput unitAn illustrative formulationIssues discussed here
Relation extractionRelation type with kk entity argumentsClassification over entity pairsDistant supervision noise; long-distance arguments
Event extractionTrigger + role-filled argumentsClassification per trigger, then per argumentArgument ambiguity; nested and implicit arguments
Temporal extractionNormalized values + pairwise orderingsTagging + resolution + pairwise classificationAnchoring; annotation sparsity; consistency

Keeping these apart matters. A paper reporting "F1 on event extraction" may mean trigger classification, argument identification, or argument role classification. These scores can differ within one experiment: the JRNN result discussed below reports 69.3 trigger-classification F1 and 55.4 argument-role F1. Comparing the numbers without checking their prediction units can produce a ranking of systems measured on different tasks.

The same ambiguity exists in relation extraction. Mention-level F1 and entity-level F1 measure different decisions, and a system that looks strong at the mention level may look much weaker when it must aggregate evidence across a document. Temporal extraction has an analogous split between timex recognition, timex normalization, and pairwise temporal relation classification. These are separate prediction targets; report each metric when its corresponding task is in scope.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy