Understand before Answer: Improve Temporal Reading Comprehension via Precise Question Understanding

Hao Huang, Xiubo Geng, Guodong Long, Daxin JiangNAACL 2022

Abstract

Temporal Reading Comprehension (TRC) is a critical task in natural language understanding that requires models to untangle the chronological order of events within a text. Standard models often struggle with the subtle logical nuances of temporal queries, such as negation or uncertainty. This paper proposes a novel framework that decomposes temporal questions into two distinct components: a referred event and a temporal relation. By leveraging an attention-based decomposition module and auxiliary contrastive losses, the approach achieves state-of-the-art results on the TORQUE benchmark, demonstrating significant improvements in both accuracy and logical consistency.

Introduction

While modern Large Language Models (LLMs) excel at general reading comprehension, temporal reasoning remains a "final frontier." The difficulty lies in the high sensitivity of temporal questions to minor linguistic variations. For instance, changing "before" to "after" or adding "might" fundamentally alters the required answer, yet these questions appear nearly identical to standard transformer-based encoders.

Examples of temporal questions in the TORQUE dataset, highlighting nuances like negation and uncertainty.

The core issue identified by the researchers is a lack of precise question understanding. Current models often treat the question as a black-box sequence, failing to distinguish between the "anchor" event and the specific temporal logic being queried.

Methodology

The researchers propose a three-stage architecture designed to treat questions as structured logical queries rather than simple token sequences.

The proposed three-stage architecture for precise question understanding in temporal reading comprehension.

1. Contextual Encoding

The system utilizes pre-trained models like BERT or RoBERTa to generate initial embeddings for both the passage and the question.

2. Attention-based Question Decomposition

This module is the primary innovation. It uses two specialized attention-based extractors to produce two distinct vectors:

  • Event Vector ($h_c$): Captures the "referred event" in the question (e.g., "the victory").
  • Relation Vector ($h_r$): Captures the temporal logic (e.g., "happened after").

3. Event Relation Assessment

Candidate events from the passage are identified and matched against the $(h_c, h_r)$ pair using a Multi-Layer Perceptron (MLP) to determine the final answer.

Auxiliary Training Objectives

To refine these representations, the authors introduce two specialized losses:

  • Attention Loss: Uses rule-based "silver labels" to guide attention heads toward relevant keywords for events and relations during training.
  • Contrastive Loss: Employs contrastive learning to differentiate between subtly different relations (e.g., "started before" vs. "started after"), sharpening the model's temporal common sense.

Experimental Evaluation

The model was evaluated on the TORQUE (Temporal Ordering Reading QUestion Evaluation) dataset, which features over 30,000 free-text questions across 3,100 passages.

Key Results

The proposed approach achieved state-of-the-art performance across various backbone models:

  • Accuracy Gains: RoBERTa-large saw an F1 score increase of 1.8% on the dev set and 0.9% on the test set.
  • Consistency: The model demonstrated a significant jump in the Consistency (C) score (from 34.5% to 38.1%), indicating a more robust understanding of the underlying timeline rather than simple pattern matching.
  • Ablation Study: Removing the contrastive loss resulted in a 1.1% drop in consistency, highlighting the importance of learning "hard negatives" in temporal logic.

Conclusion and Future Work

By decomposing questions into structured components, this research provides a path toward more logically sound temporal reasoning in NLP. While the model shows great promise, challenges remain in handling transitive logic (e.g., if A is before B, and B is before C, then A is before C) and incorporating broader temporal commonsense knowledge. Future directions include the integration of graph-based reasoning to manage complex multi-step temporal chains.

Summary updated

BibTeX
@inproceedings{huang2022understand,
  author = {Hao Huang and Xiubo Geng and Guodong Long and Daxin Jiang},
  title = {{Understand before Answer: Improve Temporal Reading Comprehension via Precise Question Understanding}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.naacl-main.28},
}
Figure