The Limits of Point Embeddings
In machine learning, representing complex objects—like words, images, or concepts—as vectors is a foundational practice. However, these traditional "point embeddings" map objects to single points in a low-dimensional space, which inherently limits their expressive power. Specifically, point embeddings struggle to represent uncertainty (how "fuzzy" or broad a concept is) and asymmetric relationships (e.g., "dog" is a type of "animal," but "animal" is not necessarily a "dog").
Previous attempts to solve this introduced "Probabilistic Embeddings," which represent objects as Gaussian distributions and compare them using Kullback-Leibler (KL) divergence. Unfortunately, KL divergence suffers from severe numerical instability. If a distribution becomes too "sharp" (having low variance), the KL divergence can explode to infinity. To avoid this, researchers were often forced to use simplified, diagonal covariance matrices. Furthermore, KL divergence does not behave like standard Euclidean distance when distributions shrink to points, meaning it fails to serve as a clean generalization of classical point-based methods.
A New Approach: Wasserstein Elliptical Embeddings
To overcome these limitations, this paper introduces a novel framework that embeds objects into the Wasserstein space of elliptical distributions.
1. Elliptical Distributions
The authors move beyond standard Gaussians to a broader family of distributions whose level sets are ellipsoids. This includes uniform distributions on ellipsoids, which are highly intuitive and easier to visualize.
2. The 2-Wasserstein ($W_2$) Metric
Instead of KL divergence, the framework uses the 2-Wasserstein ($W_2$) metric to compare distributions. For elliptical distributions, the squared $W_2$ metric has a highly convenient closed-form solution: it is simply the sum of the squared Euclidean distance between the means and the Bures metric between the covariance matrices.
3. True Point Compatibility
Unlike KL divergence, the $W_2$ distance between two "Dirac" distributions (distributions with zero variance, i.e., points) is exactly the Euclidean distance between those points. This makes the Wasserstein framework a mathematically sound generalization of traditional point embeddings.
4. Stable Optimization
Because the $W_2$ metric is stable even for degenerate (zero-variance) distributions, the authors can safely learn full covariance matrices without the numerical blow-ups that plagued KL-based methods. To ensure these matrices remain positive semi-definite during training, they represent the scale matrix using a Euclidean parameterization that allows for standard, unconstrained gradient descent. They also utilize Newton-Schulz iterations to approximate matrix square roots, enabling efficient batch processing on GPUs.
Key Insights: Geometry and Hierarchy
Representing data as ellipsoids naturally captures hierarchical relationships. The size and orientation of an ellipsoid represent the "breadth" of a concept. A large ellipsoid with high variance can encompass smaller, more specific ellipsoids, naturally modeling hypernymy (e.g., the broad concept of "Animal" encapsulating the narrower concept of "Golden Retriever").
To adapt popular skip-gram models (like Word2Vec) to this new distributional setting, the authors also introduce a "Wasserstein-Bures pseudo-dot-product," bridging the gap between traditional vector arithmetic and probability measures.
Key Results and Visualization
The authors evaluated their method across several domains, including word similarity benchmarks, entailment, and hypernymy datasets (like WORDNET).
- Word Similarity: The elliptical Wasserstein model outperformed Gaussian/KL baselines on several key benchmarks, notably WordSim-R (71.07 vs 61.70) and WordSim-S (60.58 vs 48.99).
- Hypernymy: In link reconstruction tasks on WORDNET, elliptical embeddings consistently outperformed Poincaré embeddings (a popular choice for hierarchical data) once the number of parameters increased beyond a small threshold.
When visualizing 10 PISA scores for 35 OECD countries, the advantages of elliptical embeddings become clear. While standard point embeddings (left) only show relative distances, the elliptical embeddings (right) reveal the variance and uncertainty associated with each country's data, providing a much richer geometric representation.
Limitations and Future Work
While powerful, the approach has limitations. Visualizing high-dimensional ellipsoids in 2D remains an open research challenge, though the authors suggest visualizing precision matrices (the inverse of covariance) to better align with human intuition regarding overlap. Additionally, the current model uses a single ellipsoid per object, which struggles with polysemy (words with multiple meanings). Future work could explore mixtures of Gaussians to represent multi-modal concepts. Finally, while optimized, matrix operations inherently carry more computational overhead than the simple vector dot products used in standard point embeddings.
Summary updated