Abstract
Various studies have been conducted on multi-task learning techniques in natural language understanding (NLU), which build a model capable of processing multiple tasks and providing generalized performance. Most documents written in natural languages contain time-related information. It is essential to recognize such information accurately and utilize it to understand the context and overall content of a document while performing NLU tasks. In this study, we propose a multi-task learning technique that includes a temporal relation extraction task in the training process of NLU tasks such that the trained model can utilize temporal context information from the input sentences. To utilize the characteristics of multi-task learning, an additional task that extracts temporal relations from given sentences was designed, and the multi-task model was configured to learn in combination with the existing NLU tasks on Korean and English datasets. Performance differences were analyzed by combining NLU tasks to extract temporal relations. The accuracy of the single task for temporal relation extraction is 57.8 and 45.1 for Korean and English, respectively, and improves up to 64.2 and 48.7 when combined with other NLU tasks. The experimental results confirm that extracting temporal relations can improve its performance when combined with other NLU tasks in multi-task learning, compared to dealing with it individually.
Introduction: The Challenge of Temporal Reasoning
Natural Language Understanding (NLU) has advanced significantly, yet "temporal reasoning"—the ability to understand chronological relationships between events and time expressions—remains a persistent challenge. For instance, in the sentence "The novel virus was first identified in December 2019," a model must not only identify the event ("identified") and the time expression ("December 2019") but also correctly link them with a temporal relationship, such as "includes."
Traditionally, temporal information extraction is handled as a pipeline: identifying entities first, then predicting relations. This approach is susceptible to error propagation. Furthermore, temporal relations are often subtle, requiring a deep grasp of sentence structure that single-task models often fail to capture. This research addresses these issues by reframing temporal extraction as an end-to-end classification task (TLINK-C) and leveraging Multi-Task Learning (MTL) to provide the model with supporting linguistic context.
Methodology: Multi-Task Learning Architecture
The proposed framework utilizes a Multi-Task Learning (MTL) architecture based on the BERT-base-uncased model. The core strategy is hard parameter sharing, where the lower layers of the transformer are shared across all tasks to learn generalized language representations, while the top layers are task-specific.
The primary innovation is the TLINK-C task, designed as a single-sentence classification problem. Rather than relying on pre-identified tags, the model processes the raw sentence and predicts the temporal relation type (e.g., before, after, includes, during) directly from the [CLS] token. The study compares this MTL approach against single-task learning, pairwise/multiple task combinations (including Semantic Textual Similarity (STS), Natural Language Inference (NLI), and Named Entity Recognition (NER)), and sequential transfer learning.
Datasets and Experimental Setup
To account for linguistic variations, the study evaluates performance across two languages:
- Korean: Utilized the Korean TimeBank for temporal relations and the KLUE benchmark for STS, NLI, and NER.
- English: Utilized the i2b2 Challenge on Temporal Relations and the GLUE benchmark.
To ensure a fair comparison despite the smaller size of the Korean datasets, the authors undersampled the English data for an "apples-to-apples" evaluation of the MTL effect.
Key Insights: Linguistic Synergy and Task Pairing
The research reveals that the optimal "partner" task for temporal reasoning varies by language. For Korean, combining TLINK-C with NER yielded the best results, likely because the model struggled to identify date and name boundaries in isolation. For English, NLI (Natural Language Inference) proved to be the superior partner, suggesting that temporal information in English is more closely tied to logical entailment.
Furthermore, MTL consistently outperformed sequential transfer learning. While transfer learning often leads to "catastrophic forgetting"—where new tasks erase previously learned features—MTL allows the model to maintain and utilize features from all tasks simultaneously.
Results and Performance Gains
Experimental results demonstrate that temporal relation extraction is significantly more effective when integrated into an MTL framework:
- Korean TLINK-C: Accuracy increased from 57.8% (single task) to 64.2% when combined with NLI and NER.
- English TLINK-C: Accuracy improved from 45.1% (single task) to 48.7% when paired with NLI.
Qualitative analysis showed that the MTL model better preserved entity integrity; for example, correctly identifying complex entities like "Jumchon Intercity Bus Terminal" as a single location rather than fragmented parts.
Conclusion and Future Directions
This study confirms that extracting temporal relations benefits from the linguistic "scaffolding" provided by other NLU tasks in a multi-task learning environment. While promising, the authors note that the small size of the Korean temporal dataset may limit generalization to complex domains like medical or legal texts. Future work will explore additional supporting tasks, such as dependency parsing, and investigate the scalability of these task combinations on larger, more diverse datasets.
Summary updated