Overview
The SenSE Toolkit is an interactive web application designed to visualize and explain "semantic shift"—the way word meanings evolve over time or vary across different cultures. By aligning word embedding spaces and providing sentence-level examples, the tool helps researchers understand not just that a word has changed, but how and why its usage has drifted.
The Challenge of Lexical Semantic Change
Language is a moving target. The word "plane" meant a flat surface before it meant an aircraft; "semi" means a truck in the US but a house in the UK. Detecting these shifts, known as Lexical Semantic Change (LSC), is crucial for historians, sociologists, and linguists.
While researchers have developed mathematical models to detect these shifts using word embeddings (vector representations of words), these models are often treated as "black boxes." It is difficult to see how different mathematical alignment strategies affect the results, and even harder to bridge the gap between abstract vector distances and real-world usage. The authors created SenSE to provide a transparent, interactive way to explore these shifts.
How SenSE Works
The SenSE pipeline follows a sophisticated preprocessing and visualization flow to make semantic shifts interpretable.
- Embedding Generation: The system trains separate Word2Vec models on two different corpora (e.g., 19th-century English vs. 21st-century English).
- Alignment via Orthogonal Procrustes: Because the two vector spaces are trained independently, they aren't naturally comparable. The system uses "Orthogonal Procrustes"—a mathematical technique to rotate and flip one vector space to align it with the other based on "anchor words" that haven't changed meaning.
- Comparison of Strategies: A key feature of SenSE is that it allows users to compare three different alignment methods: Global, Noise-Aware, and S4 (Self-Supervised Semantic Shift).
- Semantic Distance: After alignment, the "shift" is calculated using cosine distance between the same word's vectors in the two different spaces.
- Visualization & Explanation: The tool generates 2D plots of a word's "neighbors" in both spaces. It also uses a clever algorithm to find "contextually different" sentences: it computes average vector representations for sentences containing a target word and identifies pairs of sentences from the two corpora that are most distant from each other.
Datasets
The toolkit comes pre-loaded with several significant benchmarks:
- Historical Corpora: Multi-lingual datasets covering English, German, Latin, and Swedish across different centuries.
- Domain-Specific: ArXiv paper categories to show how technical terms vary between scientific fields.
- Regional Variations: A dataset comparing British English vs. American English usage.
Key Insights and Results
As a demonstration system, SenSE's primary contribution is its functional toolkit, which reveals several key insights about semantic shift analysis:
- Alignment is the "Secret Sauce": The paper emphasizes that how you align two vector spaces significantly impacts which words appear to have shifted. By letting users toggle between alignment methods, SenSE reveals the sensitivity of these models.
- Neighbors Tell the Story: The "aha moment" in the visualization comes from looking at a word's neighbors.
The authors demonstrate the system's utility through a case study of the word "staff." The tool successfully identifies that while the 19th-century sense (a walking stick) still exists, the modern sense (a group of employees) has become the dominant context in contemporary corpora. As shown in the visualizations, "staff" in the 19th century is surrounded by words like "cane" and "elbow," while in the 21st century, it moves toward "services," "personnel," and "officers." * Bridging Vectors and Verbs: High-dimensional math is hard to intuit. By extracting real sentence examples where the semantic shift is most pronounced, the tool grounds abstract data in actual human language.
Limitations and Future Work
The authors acknowledge a few current constraints:
- Pre-trained Only: Users are currently limited to the datasets already processed by the authors.
- Model Variety: The system currently relies on Word2Vec; the authors plan to extend it to support other embedding models (like BERT or FastText).
- User Uploads: A major goal for the future is to allow users to upload their own custom pairs of corpora for real-time analysis, making the tool more versatile for niche research.
Summary updated