Learning Word Relatedness over Time

Guy D. Rosin, Eytan Adar, Kira Radinsky

Introduction

Most search engines operate under the assumption that word meanings and relationships are static. However, in reality, language and entity relationships are constantly evolving. This paper introduces a framework to learn temporal word relatedness, utilizing time-sliced word embeddings and peak detection to identify exactly when two terms were related. This approach significantly improves historical query expansion and information retrieval from archival data.

The "Now Web" Bias

Current Information Retrieval (IR) systems are often optimized for the present moment, a phenomenon the authors call the "Now Web" bias. For instance, a search for "Ariel Sharon" today might prioritize news about his death in 2014, even if a user is searching a historical archive for his actions as Prime Minister in 2003.

The core challenge is that semantic relationships are dynamic. While "Obama" and "President" share high relatedness from 2009 to 2016, this relationship was much weaker in 1995. Standard word embeddings, such as Word2Vec, collapse all time into a single vector, losing these critical temporal nuances. This research seeks to determine not just if two words are related, but when their relationship was most significant.

Methodology

The authors propose a three-step algorithmic framework to capture these dynamics:

  1. Temporal Word Embeddings: Instead of a single global model, separate Word2Vec (skip-gram) models are trained for every year in the corpus, creating "specific embeddings" for words in given years.
  2. Relatedness Dynamics: The "dynamics" of two entities are defined as a time series of their cosine similarities across the years.
  3. Peak Detection: To identify "periods of interest," a custom peak detection algorithm identifies "plateaus"—sustained periods of high relatedness, such as the eight years of a presidency.
Temporal relatedness dynamics for 'Obama' and 'Sharon' showing sustained 'Peak' periods versus 'Regular' periods.

A Temporal Classifier (an SVM with an RBF kernel) then utilizes these temporal embeddings, the specific year, and a boolean "isPeak" feature to predict if a relationship holds true at any specific point in time.

Datasets and Evaluation

The framework was trained and tested using:

  • Temporal Corpus: The New York Times archive (1981–2016), comprising 9GB of text for generating year-by-year embeddings.
  • Relational Corpus: Approximately 80,000 temporal relations extracted from YAGO2, providing ground truth for time-stamped facts.
  • Temporal Relations Dataset: A benchmark of 420,000 relations used for training and evaluating the classifiers.

Key Results

The "Temporal Classifier" demonstrated superior performance across multiple metrics. By incorporating temporal dynamics, the model achieved an AUC of 0.84, vastly outperforming the "Global" baseline (AUC 0.57) which relied on standard, non-temporal embeddings.

Performance comparison of different algorithms, highlighting the significant gains of the Temporal model in Accuracy, Precision, and AUC.

Beyond classification, the authors demonstrated a practical application in Temporal Query Expansion (QE). By identifying the most relevant time period for a query (e.g., "Trump Businessman" mapping to the 1980s/90s), the system can suggest era-appropriate expansion terms like "real estate" rather than defaulting to his later political role. In search tasks on the NYT archive, the temporal model nearly doubled the precision of the baseline, with P@10 improving from 14.0% to 29.4% for queries involving two entities.

Insights and Limitations

The research highlights that while adding the year as a feature helps, including "dynamics" (the time-series context) provides the most significant boost. Knowing that a relatedness score is at a local maximum is a powerful signal for a valid temporal relationship.

However, the method faces challenges with data sparsity, requiring at least 30 occurrences per year for reliable embeddings. Additionally, performance varied by relation type; the model was more accurate for political and location-based relations than for specific creative credits like "Directed" or "Produced," likely due to the nature of the New York Times source text. Future work may explore finer temporal resolutions, such as months or weeks, to better capture fast-moving trends in social media corpora.

Summary updated

BibTeX
@inproceedings{rosin2017learning,
  author = {Guy D. Rosin and Eytan Adar and Kira Radinsky},
  title = {{Learning Word Relatedness over Time}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1121},
}
Figure