Abstract
This paper introduces a zero-shot method to detect semantic differences between datasets—such as native vs. non-native speech or historical vs. modern text—without specialized training or word alignment. By leveraging the geometric properties of contextualized word vectors from models like BERT, specifically the norm of the mean vector, the researchers identify words with shifting meanings or unique usages. The approach is computationally efficient and robust to low-frequency data, offering a powerful tool for sociolinguistics and historical research.
Introduction
Detecting "semantic differences"—how word meanings or usages evolve across contexts—is vital for sociolinguistics and historical research. Traditional methods using static word embeddings (e.g., Word2vec) often require complex word alignment between corpora and struggle with small or unevenly sized datasets. This paper proposes a "cold start" solution that identifies these differences efficiently using pre-trained language models without any specialized fine-tuning.
Methodology: The Geometry of Meaning
The core innovation lies in observing the geometry of contextualized word vectors. These vectors are typically normalized to sit on a unit hypersphere.
The Norm Intuition: * Single Meaning: If a word is used consistently in one way, its vectors cluster in one spot, and their mean has a norm close to 1. * Diverse Meanings: If a word has multiple meanings or usages, its vectors point in different directions. Averaging them causes partial cancellation, resulting in a shorter mean vector (smaller norm).
The authors formalize this using the von Mises-Fisher distribution, the spherical equivalent of a Gaussian distribution. They define two primary scores: Coverage (to identify word types with wider meaning ranges in one corpus) and Representativeness (to extract specific sentences illustrating unique meanings).
Experimental Setup
The method was evaluated on two distinct types of linguistic shifts:
- ICNALE (International Corpus of Network Asian Learners of English): Comparing essays by native English speakers (Source) vs. non-native learners (Target) to highlight idiomatic gaps.
- COHA (Corpus of Historical American English): Comparing texts from the 1800s vs. the 2000s to track linguistic evolution over centuries.
Results and Insights
The method proves remarkably robust to low frequency, identifying unique usages even for words appearing only a dozen times (e.g., the word "near" appearing 11 times). Because it utilizes a pre-trained model's internal representations, no cross-corpus alignment is necessary.
Native vs. Non-native Usage
The system successfully flagged words like hold and place. For instance, while learners use hold as a simple verb, native speakers frequently employ the phrasal verb "hold down a job," a nuance captured by the vector geometry and identified by the scoring system.
Historical Shifts and Error Detection
In the COHA dataset, the word rebounds shifted from a general physical sense in the 1800s to a basketball-dominated sense in the 2000s. Interestingly, the method also acted as an unintentional error detector, flagging transcription errors like whore appearing where where was intended in historical texts due to the contextual outlier status of the former.
Conclusion and Future Work
While highly effective, the method depends on the underlying language model's pre-existing knowledge. It identifies that a difference exists but requires human inspection to label the specific semantic shift. Future applications include assisting lexicographers in finding new word senses and helping educators identify specific idiomatic gaps in student writing.
Summary updated