TL;DR
This paper introduces a novel computational geometric approach to ordinal embedding, bypassing the scalability bottlenecks and poor local optima that plague traditional optimization methods. By adaptively selecting comparisons to identify nearly-orthogonal geometric "axes," the algorithm estimates latent data dimensionality and embeds points using their projections, matching the theoretical lower bound of $\Theta(nd \log n)$ comparisons.
What Problem Does This Paper Address?
Ordinal embedding aims to reconstruct the coordinates or pairwise distances of $n$ objects in a $d$-dimensional space using only relative distance comparisons (e.g., "is object $a$ closer to $b$ than to $c$?"). This technique is vital when absolute features or distances are impossible to measure directly, such as quantifying human perceptions of movie similarities, musical preferences, or food tastes.
Traditionally, this task is framed as a non-convex optimization problem. However, existing optimizers scale poorly to large datasets and frequently get trapped in low-quality local optima, often yielding embeddings that are no better than random rankings. The authors tackle this challenge by asking: Can we use pure computational geometry to efficiently and reliably map these points without relying on heavy optimization?
Methods
The authors propose a geometric algorithm called ChooseBasis. Instead of optimizing all points globally, the algorithm uncovers the underlying structure of the data by identifying a set of approximately orthogonal "axes" (a basis) directly from the dataset's points.
- Axis Selection via "Above-ness": The first axis is formed by finding two points on opposite sides of the dataset's boundary. To find subsequent orthogonal axes, the authors introduce the concept of "above-ness." A point $p$ is considered "above" $q$ if it lies outside the intersection of spheres centered on existing endpoints. This geometric intuition helps find points that extend into undiscovered dimensions.
- Dimensionality Estimation: The algorithm dynamically estimates the latent dimensionality ($\hat{d}$) of the dataset. It stops adding axes as soon as a new candidate endpoint fails a test for affine independence, relying on Carathéodory’s Theorem.
- Embedding by Projection: Once the basis axes are established, every point in the dataset is embedded by approximating its geometric projection onto each axis using a binary-search-like strategy driven by triplet comparisons.
This approach achieves an upper bound matching the theoretical lower bound of $\Theta(nd \log n)$ comparisons and executes with a total computational complexity of $\Theta(n^2 d^2)$.
Datasets
The algorithm was evaluated across both synthetic and real-world datasets:
- Synthetic Data:
3dgmm,5dgmm(Gaussian mixtures in 3D and 5D), and5dcube(points uniformly drawn from a 5D unit cube). - Cities: 500 global cities represented in Euclidean coordinates derived from their actual latitudes and longitudes.
- MNIST Digits: 1,000 handwritten digit images treated as 784-dimensional raw pixel features.
- Spambase: 1,000 email records characterized by 57 features.
- 20newsgroups: 2,000 text documents mapped via highly sparse TF-IDF features across 34,072 terms.
Key Insights and Ideas
- Geometry Over Optimization: Shifting the paradigm from continuous non-convex optimization to discrete computational geometry completely eliminates the risk of getting stuck in local minima and drastically slashes computation time.
- The Power of the Lens: Utilizing the intersection of spheres (lenses) allows the algorithm to accurately determine whether a point resides within the convex hull of existing endpoints, providing a robust, rank-based approximation of an $\epsilon$-net.
- A Perfect Complement: While the standalone geometric embedding is slightly lower in quality than a true global optimum, it serves as an exceptionally fast and reliable constraint generator. Feeding the triples selected by this geometric method into a traditional optimizer (the
Extra+SOEapproach) yields near-perfect embeddings.
Key Results
- Dramatic Speedups: The geometric algorithm (
Basis) completes in less than two seconds for every dataset tested. In comparison, Soft Ordinal Embedding (SOE) baselines required over 24 hours of random initializations, and CrowdKernel (CK) took several days. - High Embedding Quality: On the
Spambasedataset, the standalone geometric method achieved a remarkably strong Kendall’s $\tau$ of 0.85. When paired with SOE as a refinement step (Extra+SOE), it achieved near-perfect metric recovery ($\tau = 0.99$, RMSE = 0.01 for3dgmm). - Downstream Utility: To prove practical value, the authors trained Gradient Boosting classifiers on the low-dimensional geometric embeddings. The classification accuracy closely matched models trained on the original full feature spaces (e.g., 90% vs 95% accuracy on the
citiesdataset).
Limitations and Future Work
- Density and Dimensionality Constraints: The algorithm assumes the dataset is relatively dense and low-dimensional ($d \ll n$). It performs poorly on highly sparse, high-dimensional data distributions like
20newsgroups(yielding a Kendall’s $\tau$ of just 0.11). - Sensitivity to Density Variations: The method struggles with datasets that exhibit rapidly varying densities or highly irregular boundaries.
- Perfect Oracle Assumption: The current framework assumes a noise-free oracle that always answers triplet comparisons correctly. The authors note that integrating noise-tolerant sorting algorithms from crowdsourcing literature is a vital next step for handling real-world human feedback.
Summary updated