Introduction
Language is dynamic, with word meanings evolving over decades and varying across geographic regions. While word embeddings like word2vec are powerful tools for capturing semantic relationships, they face a significant technical hurdle when comparing different datasets: stochasticity. Because the neural networks used to train these embeddings are initialized and optimized randomly, models trained on separate corpora (e.g., news from 1990 vs. 2010) result in vector spaces that are rotated and shifted relative to each other. This lack of alignment makes it impossible to directly measure the distance between vectors across models to track semantic shifts.
Previous solutions, such as post-hoc mathematical rotation (pairwise alignment) or joint training with continuity constraints, often suffer from high computational costs, over-smoothing of data, or a reliance on chronological order that makes them unsuitable for non-temporal comparisons, such as dialectal differences.
The CADE Framework
This paper introduces CADE (Compass Aligned Distributional Embeddings), an unsupervised framework built on the Continuous Bag of Words (CBOW) architecture. CADE solves the alignment problem by using a "compass" analogy to anchor different vector spaces during training:
- Train the Compass: A standard CBOW model is trained on a concatenation of all available corpora (e.g., all years of a news archive). The resulting target matrix serves as the global "compass."
- Freeze the Compass: For each specific corpus slice (e.g., the year 1990 or a specific subreddit), a new model is initialized. Its target matrix is replaced by the frozen compass matrix and cannot be updated.
- Train the Slices: The model is trained on the specific slice, updating only the context matrix.
By forcing all slice-specific models to predict words using the exact same frozen target matrix, their resulting context embeddings are naturally aligned within the same coordinate system. This allows for direct comparison across any number of disparate corpora.
Key Insights and Results
CADE's effectiveness stems from the fact that the majority of a language's vocabulary remains semantically stable. These stable words act as implicit anchors, allowing words that do shift to move relative to a fixed background. Because CADE does not rely on temporal smoothing, it is uniquely versatile, performing equally well on geographic and topical shifts as it does on temporal ones.
Experimental Performance
- Temporal Analogies: On news datasets, CADE achieved a Mean Reciprocal Rank (MRR) of 0.481, outperforming previous state-of-the-art dynamic models.
- Language Localization: In mapping British English to American English (e.g., "petrol" to "gasoline"), CADE achieved a HITS@5 of 0.81, significantly better than existing cross-lingual alignment tools like MUSE (0.51).
- Topical Mapping: CADE successfully identified contextual equivalents across Reddit communities, such as mapping the Pokemon "Arceus" to "gods" or "creator" when projected into a science-focused vector space.
Conclusion
CADE provides a robust and simple method for aligning distributional embeddings without the limitations of post-hoc rotation or temporal constraints. While the current implementation produces a single vector per word—limiting its ability to handle polysemy—it establishes a powerful foundation for tracking how societal biases and meanings evolve across time, geography, and culture. Future work may integrate Word Sense Disambiguation to further refine these semantic trajectories.
Summary updated