Training Temporal Word Embeddings with a Compass

Valerio Di Carlo, Federico Bianchi, Matteo Palmonari
6/5/2019
cs.CLcs.LG

Official code: valedica/twec (67 stars, Python, MIT, last commit 2025-08-23).

Abstract

Temporal word embeddings have been proposed to support the analysis of word meaning shifts during time and to study the evolution of languages. Different approaches have been proposed to generate vector representations of words that embed their meaning during a specific time interval.

Show full abstract

However, the training process used in these approaches is complex, may be inefficient or it may require large text corpora. As a consequence, these approaches may be difficult to apply in resource-scarce domains or by scientists with limited in-depth knowledge of embedding models. In this paper, we propose a new heuristic to train temporal word embeddings based on the Word2vec model. The heuristic consists in using atemporal vectors as a reference, i.e., as a compass, when training the representations specific to a given time interval. The use of the compass simplifies the training process and makes it more efficient. Experiments conducted using state-of-the-art datasets and methodologies suggest that our approach outperforms or equals comparable approaches while being more robust in terms of the required corpus size.

View on arXivView PDF

Code Implementations(1)

valedica/twecOfficial100%
MIT

Training Temporal Word Embeddings with a Compass

6714Python, MakefileNov 11, 20181 years agoMIT

Similar Papers

Cite this paper

@article{carlo2019training,
  title  = {Training Temporal Word Embeddings with a Compass},
  author = {Valerio Di Carlo and Federico Bianchi and Matteo Palmonari},
  year   = {2019},
  eprint = {1906.02376},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1906.02376}
}

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/1906.02376.svg)](https://codeofpaper.com/paper/1906.02376)

Discussion