Graph-based Clustering for Detecting Semantic Change Across Time and Languages

Xianghe Ma, Michael Strube, Wei Zhao · DOI

Abstract

Despite the predominance of contextualized embeddings in NLP, approaches to detect semantic change relying on these embeddings and clustering methods underperform simpler counterparts based on static word embeddings. This stems from the poor quality of the clustering methods to produce sense clusters—which struggle to capture word senses, especially those with low frequency. To address this issue, we propose a graph-based clustering approach to capture nuanced changes in both high- and low-frequency word senses across time and languages. Our experimental results show that our approach substantially surpasses previous approaches in the SemEval2020 binary classification task across four languages. Moreover, we showcase the ability of our approach as a versatile visualization tool to detect semantic changes in both intra-language and inter-language setups.

Introduction

In Natural Language Processing (NLP), contextualized embeddings like BERT and RoBERTa are typically the gold standard. However, in the specific sub-field of Lexical Semantic Change Detection (LSCD)—the task of tracking how word meanings evolve over time—they have historically lagged behind older static word embeddings.

Researchers identify two primary reasons for this performance gap. First, standard clustering methods like k-means are often "frequency-blind," failing to capture rare word senses that are statistically overshadowed by dominant meanings. Second, many models are time-insensitive; they attempt to cluster usages from vastly different eras into a single space, often confusing general stylistic evolution with actual semantic shifts. This paper introduces a graph-based clustering approach designed to overcome these hurdles by treating word senses as dynamic, hierarchical structures.

Methodology: The Semantic-Tree Approach

The core of the proposed method is the Semantic-Tree, a hierarchical representation of a word's meaning at a specific point in time. In this structure, the root represents the global average of all word usages, which then branches into distinct "sense clusters." Each sense cluster is further defined by its "representative neighbors"—the words most similar to that specific usage context.

Hierarchical Semantic-Tree representation and temporal matching between time periods t-1 and t.

To build these trees, the authors utilize an Iterative Clustering approach. Unlike k-means, which requires a pre-defined number of clusters ($k$), this method starts by treating every usage as an individual cluster and merges them based on a distance threshold. This bottom-up strategy is significantly more effective at preserving low-frequency senses.

To detect change, the model employs Bipartite Matching between trees from different time periods ($t-1$ and $t$). By comparing the neighborhoods of senses across eras, the model can determine if a sense has persisted, disappeared, or if a entirely new meaning has been acquired. This neighbor-based distance metric proves more robust than comparing simple cluster centroids.

Experimental Setup and Results

The approach was evaluated using the SemEval2020 Task 1 dataset, which covers English, German, Latin, and Swedish. To tune hyperparameters in an unsupervised setting, the researchers used ChatGPT-3.5 to generate synthetic development sets containing specific word senses.

On the binary classification task (determining whether a word's meaning changed or not), the graph-based model achieved an average accuracy of .776, a substantial improvement over the previous state-of-the-art static embedding baseline of .687. Ablation studies confirmed that the graph-based method was particularly superior at identifying rare word senses, which are often the most critical indicators of semantic evolution.

Qualitative Analysis: The Evolution of "Mouse"

A key advantage of this approach is its interpretability. The model can visualize how words move through semantic space. For example, the evolution of the word "mouse" (and its equivalents like the German "Maus") clearly shows the acquisition of a new "computer peripheral" sense in the 20th century, distinct from its original biological meaning.

Visualization of semantic change for the word 'mouse' across two time periods, showing the emergence of the computer-related sense cluster.

This visualization capability extends cross-lingually. The researchers observed that while English "mouse" and German "Maus" evolved similarly, the Swedish "mus" acquired additional nuances related to physical characteristics (like "tail" and "fur") during the same period, demonstrating the model's sensitivity to language-specific dynamics.

Conclusion and Future Work

By moving away from rigid clustering and toward flexible, graph-based semantic trees, this research successfully bridges the gap between contextualized embeddings and semantic change detection. While the model excels at binary classification, future work is needed to improve its performance in ranking tasks (ordering words by the degree of change) and to address potential social biases inherent in the underlying transformer models. Nonetheless, the approach provides a powerful new tool for linguists to track the life cycles of words across centuries and borders.

Summary updated

Abstract

Despite the predominance of contextualized embeddings in NLP, approaches to detect semantic change relying on these embeddings and clustering methods underperform simpler counterparts based on static word embeddings. This stems from the poor quality of the clustering methods to produce sense clusters -- which struggle to capture word senses, especially those with low frequency. This issue hinders the next step in examining how changes in word senses in one language influence another. To address this issue, we propose a graph-based clustering approach to capture nuanced changes in both high- and low-frequency word senses across time and languages, including the acquisition and loss of these senses over time. Our experimental results show that our approach substantially surpasses previous approaches in the SemEval2020 binary classification task across four languages. Moreover, we showcase the ability of our approach as a versatile visualization tool to detect semantic changes in both intra-language and inter-language setups. We make our code and data publicly available.
BibTeX
@misc{ma2024graph,
  author = {Xianghe Ma and Michael Strube and Wei Zhao},
  title = {{Graph-based Clustering for Detecting Semantic Change Across Time and Languages}},
  year = {2024},
  eprint = {2402.01025},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.01025},
}

Loading related content...

Figure