Skip to main content
QUICK REVIEW

[Paper Review] BiTimeBERT: Extending Pre-Trained Language Representations with Bi-Temporal Information

Jiexin Wang, Adam Jatowt|arXiv (Cornell University)|Apr 27, 2022
Topic ModelingComputer Science22 citations
TL;DR

BiTimeBERT pre-trains a Transformer encoder on a two-decade news corpus using time-aware masking and a document-dating objective to create time-aware language representations, improving time-related tasks over standard BERT.

ABSTRACT

Time is an important aspect of documents and is used in a range of NLP and IR tasks. In this work, we investigate methods for incorporating temporal information during pre-training to further improve the performance on time-related tasks. Compared with common pre-trained language models like BERT which utilize synchronic document collections (e.g., BookCorpus and Wikipedia) as the training corpora, we use long-span temporal news article collection for building word representations. We introduce BiTimeBERT, a novel language representation model trained on a temporal collection of news articles via two new pre-training tasks, which harnesses two distinct temporal signals to construct time-aware language representations. The experimental results show that BiTimeBERT consistently outperforms BERT and other existing pre-trained models with substantial gains on different downstream NLP tasks and applications for which time is of importance (e.g., the accuracy improvement over BERT is 155\% on the event time estimation task).

Motivation & Objective

  • Investigate benefits of incorporating temporal information into pre-trained language models.
  • Develop BiTimeBERT trained on a temporal news collection with two new pre-training objectives.
  • Assess impact of timestamp and content-time signals on time-sensitive NLP/IR tasks.
  • Evaluate BiTimeBERT on diverse time-related downstream tasks and compare to baselines.

Proposed method

  • Use a Transformer encoder (BERT base) initialized from BERT-Base and continually pre-train on NYT news corpus (1987–2007).
  • Introduce Time-Aware Masked Language Modeling (TAMLM) that masks temporal expressions first and then other tokens.
  • Replace Next Sentence Prediction with Document Dating (DD) to predict document timestamps at chosen granularity.
  • Optionally test Temporal Information Replacement (TIR) as an alternative TAMLM-based objective.
  • Evaluate on downstream tasks with accuracy (ACC) and MAE across multiple granularities.
  • Reference: two temporal signals—document timestamp and content time (temporal expressions) during pre-training.
Figure 1 . An illustration of BiTimeBERT training, which includes the TAMLM and DD tasks.
Figure 1 . An illustration of BiTimeBERT training, which includes the TAMLM and DD tasks.

Experimental results

Research questions

  • RQ1How do timestamp and content-time signals influence pre-trained language representations?
  • RQ2Do time-aware pre-training objectives improve performance on time-sensitive NLP/IR tasks?
  • RQ3What is the impact of temporal granularity on downstream Task performance?
  • RQ4Can BiTimeBERT generalize to long-span time tasks beyond the pre-training window?

Key findings

  • BiTimeBERT outperforms BERT and BERT-NYT on multiple time-related tasks across granularities.
  • On event occurrence time estimation, BiTimeBERT shows large gains over baselines, including substantial improvements when using top-1 document info.
  • BiTimeBERT achieves competitive or state-of-the-art results compared to SOTA time-estimation methods that rely on complex multi-step pipelines.
  • Incorporating content-time via TAMLM and timestamp via DD enables stronger time-aware representations, especially with limited task data.
Figure 2 . Example of the replacement procedure in TIR task.
Figure 2 . Example of the replacement procedure in TIR task.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.