Introduction
Ordinal embedding aims to map complex objects—such as songs, images, or abstract concepts—into a low-dimensional Euclidean space where their relative distances reflect human-perceived similarities. Unlike traditional metric multidimensional scaling which relies on direct distance measurements, ordinal embedding utilizes relative comparisons (e.g., "Is object A more similar to B than to C?"). While humans excel at providing such qualitative feedback, the process is notoriously "data-hungry," often requiring a massive number of triplets to achieve accurate embeddings.
The Challenge: Data Scarcity and Generalization
Existing methods, such as Generalized Non-Metric Multidimensional Scaling (GNMDS) and Stochastic Triplet Embedding (STE), typically rely on the "large margin" principle. Similar to Support Vector Machines (SVMs), these techniques focus on maximizing the minimum margin—the distance associated with the most difficult or ambiguous comparisons. However, focusing solely on the worst-case margin can lead to poor generalization, especially when training data is limited. Models may become overly sensitive to outliers or fail to capture the broader structural nuances of the data distribution.
Methodology: Distributional Margin based Ordinal Embedding (DMOE)
To address these limitations, the paper introduces Distributional Margin based Ordinal Embedding (DMOE). Rather than optimizing only the minimum margin, DMOE optimizes the entire distribution of margins.
Defining the Margin Distribution
In ordinal embedding, a margin represents the difference between the distances of two pairs of points. For a triplet $(i, j, l)$ where $i$ is closer to $j$ than to $l$, the margin is defined such that a positive value indicates the embedding correctly reflects the comparison. DMOE seeks to:
- Maximize the Mean: Ensure that, on average, comparisons are satisfied with a significant gap.
- Minimize the Variance: Ensure that margins are tightly clustered around the mean, preventing a few "easy" samples from dominating the learning process while others remain poorly represented.
Optimization Strategy
The authors reformulate the objective to fix the margin mean as a constant and minimize the deviation from it. This "lightweight" formulation avoids the need for manual hyperparameter tuning between mean and variance. The resulting optimization problem, which involves semi-definite and low-rank constraints on the Gram matrix, is solved using an Augmented Lagrange Multiplier (ALM) based algorithm.
Experimental Results
The effectiveness of DMOE was evaluated against GNMDS, STE, and TSTE using both synthetic and real-world datasets.
Synthetic Data Performance
On a 10-dimensional synthetic dataset, DMOE demonstrated superior data efficiency. With only 200 training samples, DMOE achieved a median error of 0.390, significantly outperforming GNMDS (0.447) and TSTE (0.468).
Real-World Application: Music Artist Similarity
Using a dataset of 412 music artists and human-provided similarity triplets, DMOE exhibited a 5x improvement in data efficiency. It achieved the same level of accuracy with 1,000 samples that competing methods required 5,000 samples to reach. Furthermore, DMOE showed lower standard deviation across trials, indicating higher stability and robustness to sample selection.
Conclusion
DMOE represents a paradigm shift in ordinal embedding by moving from "minimum margin" to "margin distribution" optimization. By extracting more structural information from fewer samples, it effectively mitigates the data hunger problem. Future work may focus on enhancing robustness to noisy human labels and developing tighter theoretical generalization bounds specifically tailored to margin distributions.
Reference: Ma, K., Xu, Q., Yang, Z., & Cao, X. (2019). Less but Better: Generalization Enhancement of Ordinal Embedding via Distributional Margin. Proceedings of the Thirty-Third AAAI Conference on Artificial Intelligence (AAAI-19).
Summary updated