HyperAIHyperAI

Command Palette

Search for a command to run...

2 months ago

BERT got a Date: Introducing Transformers to Temporal Tagging

Satya Almasian Dennis Aumiller Michael Gertz

Abstract

Temporal expressions in text play a significant role in language understanding and correctly identifying them is fundamental to various retrieval and natural language processing systems. Previous works have slowly shifted from rule-based to neural architectures, capable of tagging expressions with higher accuracy. However, neural models can not yet distinguish between different expression types at the same level as their rule-based counterparts. In this work, we aim to identify the most suitable transformer architecture for joint temporal tagging and type classification, as well as, investigating the effect of semi-supervised training on the performance of these systems. Based on our study of token classification variants and encoder-decoder architectures, we present a transformer encoder-decoder model using the RoBERTa language model as our best performing system. By supplementing training resources with weakly labeled data from rule-based systems, our model surpasses previous works in temporal tagging and type classification, especially on rare classes. Our code and pre-trained experiments are available at: https://github.com/satya77/Transformer_Temporal_Tagger

Code Repositories

satya77/Transformer_Temporal_Tagger
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
temporal-tagging-on-tempeval-3BERT-base
Strict Detection (Pr.): 81.83
Strict Detection (Re.): 79.56
Relaxed Detection (F1): 90.08
Relaxed Detection (Pr.): 91.37
Relaxed Detection (Re.): 88.84
Strict Detection (F1): 80.67
Type: 82.00
temporal-tagging-on-tempeval-3B2B
Strict Detection (Pr.): 94.11
Strict Detection (Re.): 81.01
Relaxed Detection (F1): 92.52
Relaxed Detection (Pr.): 100
Relaxed Detection (Re.): 86.09
Strict Detection (F1): 87.07
Type: 83.79
temporal-tagging-on-tempeval-3DateBERT
Strict Detection (Pr.): 82.72
Strict Detection (Re.): 85.79
Relaxed Detection (F1): 92.60
Relaxed Detection (Pr.): 90.95
Relaxed Detection (Re.): 94.35
Strict Detection (F1): 84.21
Type: 86.21
temporal-tagging-on-tempeval-3R2R
Strict Detection (Pr.): 96.37
Strict Detection (Re.): 96.37
Relaxed Detection (F1): 100
Relaxed Detection (Pr.): 100
Relaxed Detection (Re.): 100
Strict Detection (F1): 96.37
Type: 90.43

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp