Time-Aware Representation Learning for Time-Sensitive Question Answering

Jungbin Son, Alice Oh
10/19/2023
cs.CLcs.AIcs.LG

Official code: sonjbin/TCQA (6 stars, last commit 2023-10-23).

Abstract

Time is one of the crucial factors in real-world question answering (QA) problems. However, language models have difficulty understanding the relationships between time specifiers, such as 'after' and 'before', and numbers, since existing QA datasets do not include sufficient time expressions. To address this issue, we propose a Time-Context aware Question Answering (TCQA) framework. We suggest a Time-Context dependent Span Extraction (TCSE) task, and build a time-context dependent data generation framework for model training. Moreover, we present a metric to evaluate the time awareness of the QA model using TCSE. The TCSE task consists of a question and four sentence candidates classified as correct or incorrect based on time and context. The model is trained to extract the answer span from the sentence that is both correct in time and context. The model trained with TCQA outperforms baseline models up to 8.5 of the F1-score in the TimeQA dataset. Our dataset and code are available at https://github.com/sonjbin/TCQA

View on arXivView PDF

Code Implementations(1)

sonjbin/TCQAOfficial100%

Data and code for "Time-Aware Representation Learning for Time-Sensitive Question Answering"

62PythonMay 14, 20233 years ago

Cite this paper

@article{son2023timeaware,
  title  = {Time-Aware Representation Learning for Time-Sensitive Question Answering},
  author = {Jungbin Son and Alice Oh},
  year   = {2023},
  eprint = {2310.12585},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.12585v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.12585.svg)](https://codeofpaper.com/paper/2310.12585)

Discussion