Extracting Event Temporal Relations via Hyperbolic Geometry

Xingwei Tan, Gabriele Pergola, Yulan He

TL;DR

This paper introduces hyperbolic geometry to the task of event temporal relation extraction, mapping textual events into a Poincaré ball to naturally capture their hierarchical and asymmetric nature. By leveraging hyperbolic embeddings and neural networks, the authors achieve state-of-the-art performance with significantly fewer parameters and faster training times than traditional Euclidean models.

What Problem Does This Paper Address?

Determining the chronological order of events in text (e.g., figuring out if "Event A" happened before or after "Event B") is a foundational challenge in natural language processing, vital for tasks like timeline generation, question answering, and summarization.

Traditional deep learning approaches map events to vectors in flat Euclidean space. However, temporal relations are inherently asymmetric (if A happens before B, B cannot happen before A) and hierarchical (events occur at different granularities, forming tree-like structures in a narrative). Flat Euclidean spaces struggle to represent these properties without massive distortion or highly complex, hand-crafted logical constraints.

Figure 1: Events annotated with temporal relations from a document excerpt. Arrow lines represent the Before relations, while red dashed lines the Vague ones.

Methods

The authors propose two distinct hyperbolic frameworks to better model these complex temporal structures:

  1. Hyperbolic Event Embedding Learning: A lightweight method that takes contextualized language model embeddings (from RoBERTa or ELMo) and projects them onto a Poincaré ball via an exponential map. It uses a novel objective function combining hyperbolic distance minimization with a custom angular loss to enforce temporal ordering. A simple rule-based classifier then determines the relation based on embedding norms and distances.
  2. Hyperbolic Neural Network (HGRU): An end-to-end deep learning architecture. It processes text sequences using Hyperbolic Gated Recurrent Units (HGRU) and combines event representations via weighted Möbius aggregation. The final classification is handled by a Hyperbolic Multinomial Logistic Regression (HMLR) layer. This model can also seamlessly integrate external temporal commonsense knowledge from databases like TEMPROB.
Figure 2: An illustration of the Poincaré embedding used to encode two events u and v with known temporal relation. θ1 is the angle between the event pair (u, v), while θ2 is the angle of an event pair (u, v′) resulting from the negative sampling process.
Figure 3: In the hyperbolic neural architecture for temporal relation extraction, sentence tokens are first associated with standard RoBERTa vectors (within the Euclidean space). They are subsequently mapped into a Poincaré ball and processed using Hyperbolic Feed-Forward Layers (H-FFL) and Hyperbolic-GRUs (H-GRU). Then, a masking process ensures that only the event-related vectors are aggregated via Möbius operations, along with their dD distance and the relevant temporal common sense, extracted by a Siamese network pre-trained on TEMPROB knowledge base. Finally, the distribution over event temporal relations is derived using a Hyperbolic Multinomial Logistic Regression (H-MLR), analogous to a traditional Softmax layer in the Euclidean space.

Datasets

The models were evaluated on two standard benchmarks:

  • MATRES: A large-scale dataset composed of news documents annotated with a multi-axis scheme, classifying relations into BEFORE, AFTER, EQUAL, and VAGUE.
  • TCR (Temporal and Causal Reasoning): A much smaller dataset (25 documents, 2.6K relations) used exclusively to test the models' ability to generalize out-of-domain without further tuning.

Key Insights and Ideas

  • Hyperbolic space acts like a continuous tree: Because the volume of hyperbolic space grows exponentially with its radius, it naturally accommodates hierarchical structures. The model automatically encodes more recent or specific events closer to the origin, and older or broader events closer to the boundary.
  • Angles matter as much as distance: Introducing the angular loss term dramatically boosts performance. The angle between event vectors helps the model cleanly separate temporally linked events from VAGUE or unrelated ones.
  • Massive efficiency gains: The lightweight embedding model achieves competitive results with only 1.5k parameters and just 4 minutes of training on a single GPU. This proves that choosing the right geometric space can drastically reduce the need for overly complex neural architectures.

Key Results

  • State-of-the-Art Performance: On the MATRES dataset, the end-to-end HGRU model with fine-tuned RoBERTa and commonsense knowledge achieved a state-of-the-art $F_1$ score of 80.5, outperforming the previous best Euclidean model (JCL-all at 78.8).
  • Superior Generalization: On the TCR transfer task, the Poincaré Event Embeddings model reached an $F_1$ score of 85.5, demonstrating excellent out-of-domain robustness.
  • Crucial Ablation: Removing the angular loss from the embedding model caused the $F_1$ score to plummet from 77.1 to 62.4, validating its importance in the hyperbolic training process.

Limitations and Future Work

  • Data Scarcity for Minor Classes: The model's performance on the EQUAL relation remains low across all variations due to a severe lack of training instances in the datasets.
  • The "Vague" Mystery: While the model unexpectedly improved performance on VAGUE relations (which are symmetric), the exact geometric reason for why hyperbolic space aids symmetric relation extraction requires further investigation.
  • Expanding the Scope: The authors plan to expand this hyperbolic framework to handle a broader spectrum of event relations beyond time, such as causal links and sub-event hierarchies.

Summary updated

BibTeX
@inproceedings{tan2021extracting,
  author = {Xingwei Tan and Gabriele Pergola and Yulan He},
  title = {{Extracting Event Temporal Relations via Hyperbolic Geometry}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.636},
}
Figure