Discovery of Evolving Semantics through Dynamic Word Embedding Learning

Zijun Yao, Yifan Sun, Weicong Ding, Nikhil Rao, Hui Xiong

Introduction

Word meanings are not static; they shift based on cultural, technological, and political changes. While standard models like word2vec or GloVe produce powerful vector representations, they treat language as a frozen snapshot. Previous attempts to create "temporal" embeddings usually followed a two-step process: training independent embeddings for different time slices and then aligning them using linear transformations. However, this approach suffers from the alignment problem, where latent spaces are rotated differently across time periods, making direct comparisons difficult. Furthermore, these methods struggle with data sparsity in specific time buckets, leading to noisy trajectories.

Methodology: Dynamic Word Embedding (DW2V)

This paper introduces Dynamic Word Embedding (DW2V), which treats temporal embedding as a joint optimization task rather than a post-hoc alignment problem. The model is based on factorizing the Positive Pointwise Mutual Information (PPMI) matrix and incorporates three key technical components:

  • Joint Learning: All time-aware embeddings are optimized simultaneously within a single objective function.
  • Smoothing Regularization: A penalty term ($\|U(t-1) - U(t)\|^2$) is introduced to prevent erratic jumps in a word's vector representation between adjacent years, forcing the model to find a shared latent space.
  • Scalable Optimization: To manage the computational load of decades of data, the authors utilize Block Coordinate Descent (BCD). This transforms a complex quartic problem into simpler ridge regression tasks that can be solved efficiently.

Experimental Setup

The model was trained on the NYTimes Corpus, comprising approximately 100,000 articles from 1990 to 2016, divided into 27 yearly slices. To evaluate performance, the authors developed two new benchmarks:

  1. Public Knowledge: Tracking roles that change predictably (e.g., U.S. Presidents).
  2. Concept Replacements: Tracking technological evolution (e.g., "software" shifting toward "app").

Key Insights and Ideas

Semantic Trajectories

By enforcing alignment during training, the model can "borrow" information from neighboring years. Using t-SNE visualizations, the authors mapped the paths of specific words. For instance, "Amazon" migrates from being associated with "forest" and "rainforest" in the early 90s toward "retail," "kindle," and "streaming" by 2016.

Visualizing semantic trajectories of words like 'apple' and 'amazon' over time.

Vector Norms as Popularity Indicators

A significant discovery was that the L2 norm (length) of a word's vector serves as a robust proxy for its cultural popularity or "trending" status. Unlike raw frequency, which can be noisy, the embedding norm provides a smoothed view of how much a concept dominates the cultural conversation.

Comparison of vector norms and raw frequency for political figures.

Key Results

  • Semantic Accuracy: DW2V achieved a Normalized Mutual Information (NMI) of 0.71 in word clustering tasks, outperforming the best two-step alignment baseline (0.65).
  • Alignment Quality: On the task of finding equivalent words across time (e.g., matching 1992 political figures to 2016 counterparts), DW2V achieved a Mean Reciprocal Rank (MRR) of 0.42, nearly triple the performance of Aligned-Word2Vec (0.15).
  • Robustness: The model remained resilient even when 99.9% of word co-occurrences were removed, demonstrating the power of joint optimization in data-sparse scenarios.

Conclusion and Future Work

While DW2V provides a stable framework for tracking semantic shifts, it currently relies on fixed yearly time slices and a mostly static vocabulary. Future research may explore continuous time models to track rapid news cycles and methods to better handle neologisms that appear mid-trajectory.

Summary updated

BibTeX
@inproceedings{yao2018discovery,
  author = {Zijun Yao and Yifan Sun and Weicong Ding and Nikhil Rao and Hui Xiong},
  title = {{Discovery of Evolving Semantics through Dynamic Word Embedding Learning}},
  booktitle = {WSDM},
  year = {2018},
  url = {https://openreview.net/forum?id=A6l2CN--Ir0},
}
Figure