Exploring Contextualized Neural Language Models for Temporal Dependency Parsing

Hayley Ross, Jonathon Cai, Bonan MinEMNLP 2020

Abstract

Temporal Dependency Parsing (TDP) aims to organize events and time expressions into a coherent tree structure. This paper investigates the impact of contextualized neural language models, specifically BERT, on this task. We demonstrate that fine-tuning BERT (BERT-FT) leads to a substantial performance gain, achieving a 0.68 F1 score—a 13-point improvement over traditional BiLSTM baselines. Our analysis reveals that BERT's self-attention mechanism is uniquely suited to capturing long-range dependencies, verb tense nuances, and discourse-level context essential for accurate temporal reasoning.

Introduction

Understanding the temporal ordering of events in a narrative is a cornerstone of natural language understanding. Traditional approaches often rely on pairwise extraction, which compares every event or time expression (mention) to every other one. This $O(n^2)$ complexity is not only computationally expensive but frequently results in logical inconsistencies, such as cyclical temporal relations.

Temporal Dependency Parsing (TDP) addresses these issues by organizing mentions into a Temporal Dependency Tree (TDT). In this structure, each mention is linked to a single "parent" mention that serves as its temporal anchor, ensuring a globally consistent and efficient representation of time.

Example of a Temporal Dependency Tree (TDT) showing relations between events and time expressions.

Methodology

The authors frame TDP as a ranking problem: for each "child" mention, the model selects the most probable "parent" from a pool of candidates, including surrounding mentions, the Document Creation Time (DCT), or a virtual "root" node.

The study evaluates three primary encoder architectures:

  1. BiLSTM Baseline: Utilizes standard BiLSTMs with either random or pre-trained GloVe embeddings.
  2. BiLSTM-BERT: Employs BERT as a frozen feature extractor, feeding contextualized embeddings into a BiLSTM.
  3. BERT Fine-Tuning (BERT-FT): The proposed state-of-the-art approach. To capture the relationship between a child and a potential parent, the authors construct "pseudo-sentences" that concatenate the parent and child words, their types, and their respective sentences into a single sequence for BERT to process.

Experimental Results

The models were evaluated on the Zhang and Xue (2019) TDP corpus, the primary English dataset for this task. The results demonstrate a significant performance advantage for contextualized models.

F1 scores for various models on the TDP development and test sets.

BERT-FT achieved an F1 score of 0.68, a 13-point absolute improvement over the re-implemented BiLSTM baseline (0.55). Even the frozen BERT model (BiLSTM-BERT) outperformed the baseline by 6 points, highlighting the inherent value of contextualized representations for temporal reasoning.

Analysis and Key Insights

The superiority of BERT-FT stems from several factors:

  • Long-Range Dependencies: Unlike sequential LSTMs, BERT's self-attention mechanism allows it to effectively "look forward" to find temporal anchors that appear later in the text. This is critical as child mentions often precede their anchors.
  • Tense and Discourse Sensitivity: BERT-FT shows a refined understanding of verb tenses. It accurately identifies that present-tense verbs often overlap with the DCT, while past-perfect verbs precede it. It also avoids erroneous links across irrelevant discourse boundaries.
  • Implicit Cues: The model successfully captures subtle temporal relationships in complex structures like reported speech and gerunds, such as identifying that "saying" overlaps with a main verb while the subsequent action happens "after."

Conclusion

Fine-tuning BERT for Temporal Dependency Parsing yields substantial improvements in both accuracy and logical consistency. By leveraging self-attention to capture discourse-level context and tense-based cues, BERT-FT sets a new benchmark for organizing events into coherent timelines. Future work will focus on handling equivalent tree structures and cross-dataset evaluation.

Summary updated

BibTeX
@inproceedings{ross2020exploring,
  author = {Hayley Ross and Jonathon Cai and Bonan Min},
  title = {{Exploring Contextualized Neural Language Models for Temporal Dependency Parsing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.689},
}
Figure