Unsupervised Semantic Variation Prediction using the Distribution of Sibling Embeddings

Taichi Aida, Danushka Bollegala

Abstract

Languages are dynamic entities, where the meanings associated with words constantly change with time. Detecting the semantic variation of words is an important task for various NLP applications that must make time-sensitive predictions. Existing work on semantic variation prediction have predominantly focused on comparing some form of an averaged contextualised representation of a target word computed from a given corpus. However, some of the previously associated meanings of a target word can become obsolete over time (e.g. meaning of gay as happy), while novel usages of existing words are observed (e.g. meaning of cell as a mobile phone). We argue that mean representations alone cannot accurately capture such semantic variations and propose a method that uses the entire cohort of the contextualised embeddings of the target word, which we refer to as the sibling distribution. Experimental results on SemEval-2020 Task 1 benchmark dataset for semantic variation prediction show that our method outperforms prior work that consider only the mean embeddings, and is comparable to the current state-of-the-art. Moreover, a qualitative analysis shows that our method detects important semantic changes in words that are not captured by the existing methods.

Introduction: The Blind Spot of Mean Embeddings

Languages are alive; words like gay or cell do not mean the same thing today as they did 100 years ago. In Natural Language Processing (NLP), detecting these "semantic variations" is crucial for time-sensitive tasks.

Most current approaches represent a word's meaning in a specific era by averaging its contextualized embeddings (e.g., from BERT). However, this paper identifies a major flaw: means are blind to variance.

  1. Replacement: When a word's meaning changes entirely (e.g., gay moving from "happy" to "homosexual"), the mean vector shifts significantly.
  2. Addition: When a word gains a new meaning but retains its old ones (e.g., cell adding "mobile phone" to "prison" and "biology"), the mean vector might stay roughly the same, even though the usage has changed drastically.
Semantic shifts for 'gay' (replacement) and 'cell' (addition) across two centuries.

The authors aim to capture these "additions" by looking at the entire "sibling distribution"—the full cohort of embeddings for a word across all its occurrences in a corpus.

Methodology: Modeling Sibling Distributions

The researchers propose an unsupervised method that treats word meanings as probability distributions rather than single points in space.

  1. Sibling Embeddings: For a target word $w$, they extract contextualized embeddings for every instance of that word in a corpus using a Masked Language Model (MLM) like BERT.
  2. Gaussian Approximation: They approximate the distribution of these "siblings" as a multivariate Gaussian $\mathcal{N}(\mu, \mathbf{V})$, where $\mu$ is the mean vector and $\mathbf{V}$ is the covariance matrix.
  3. Full Covariance: Unlike previous work that assumed a diagonal covariance matrix (assuming dimensions are independent), this paper uses the full covariance matrix to capture the complex relationships between embedding dimensions.
  4. Quantifying Change: To compare a word's distribution between two time periods ($C_1$ and $C_2$), they use divergence measures (KL and Jeffrey’s) and distance measures (sampling 1,000 vectors and calculating average pairwise distance using metrics like Canberra, Chebyshev, and Cosine).

Key Results and Performance

The study uses the SemEval-2020 Task 1 English dataset, comparing the 1810s–1860s to the 1960s–2010s. The evaluation is a ranking task of 37 target words annotated for semantic change.

  • Outperforming the Mean: The proposed method consistently outperformed models that only used mean embeddings. While mean-only approaches yielded a Spearman correlation of ~0.47, the proposed distributional method reached 0.529 using the Chebyshev distance.
  • Competitive with SoTA: The method achieved results comparable to the current State-of-the-Art (SoTA), which involves complex fine-tuning with "temporal attention" mechanisms. Crucially, this method is entirely unsupervised.
Spearman correlation results for various distance measures across different MLM configurations.

Insights and Future Directions

A key finding was the importance of the covariance matrix; its rank correlates strongly with word frequency, suggesting it retains vital information about individual word senses that the mean discards. Furthermore, while Cosine distance is standard, Canberra and Chebyshev distances often performed better, indicating that absolute distance per dimension is highly informative in MLMs.

Future work may explore a Mixture of Gaussians to better represent highly polysemous words with many unrelated meanings, moving beyond the single Gaussian assumption.

Summary updated

BibTeX
@inproceedings{aida2023unsupervised,
  author = {Taichi Aida and Danushka Bollegala},
  title = {{Unsupervised Semantic Variation Prediction using the Distribution of Sibling Embeddings}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.findings-acl.429},
}
Figure