NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Landmark Ordinal Embedding

Nikhil Ghosh, Yuxin Chen, Yisong Yue

In many machine learning tasks, we lack a perfect distance metric for our data. Instead, we must rely on "ordinal feedback"—relative comparisons such as "item A is more similar to B than it is to C." These triplet comparisons are often provided by human annotators or extracted from user logs. The goal of ordinal embedding is to take these noisy, relative comparisons and map the items into a low-dimensional Euclidean space that respects those relationships.

However, the major bottleneck in ordinal embedding is scale. Existing state-of-the-art methods, like Stochastic Triplet Embedding (STE), rely on expensive non-convex optimization or semi-definite programming. As datasets grow to millions of items, these methods become computationally infeasible.

To address this, researchers have introduced Landmark Ordinal Embedding (LOE), a highly scalable algorithm that trades statistical efficiency for computational speed, achieving linear complexity and making it orders of magnitude faster for massive datasets.

The Landmark Ordinal Embedding (LOE) Approach

LOE breaks the embedding problem into two distinct, efficient stages:

  1. Ranking Landmark Columns: The algorithm selects a small number of "landmark" items (specifically, $\ell \approx d+3$, where $d$ is the target dimension). For each landmark, it treats the remaining items as candidates to be ranked by their distance to that landmark. Using a standard Bradley-Terry-Luce (BTL) model for ranking, LOE estimates the distances from every point to these landmarks.
  2. Triangulation via LMDS: The ranking step only provides distances up to an unknown constant shift. To resolve this, LOE leverages the geometric properties of Euclidean Distance Matrices (EDMs) to solve for these shifts. Once the "true" distances to the landmarks are recovered, Landmark Multidimensional Scaling (LMDS) is used to "triangulate" the exact positions of all other points in the space.

Linear Scaling and Geometric Constraints

A key insight of LOE is realizing that the algorithm doesn't need an oracle to provide every possible comparison. Because the final points must live in a Euclidean space, the mathematical structure of that space inherently constrains the data, allowing the algorithm to recover missing information (like the constant shifts in distance) that the initial ranking step couldn't provide.

Time required to reach the baseline LOE error as the number of items (n) increases. LOE demonstrates linear scaling, vastly outperforming the quadratic scaling of STE and GNMDS.

By exploiting this geometry, LOE achieves linear scaling ($O(n)$), unlike previous methods that scale quadratically or worse with the number of items ($n$). In practice, this means LOE can process a million items in the time it takes traditional methods to process just ten thousand. While LOE is "statistically less efficient" than global optimization—meaning it needs more data to reach the same precision—it is vastly more computationally efficient. In the era of big data, where comparisons are abundant but compute time is limited, this is a highly advantageous trade-off.

Empirical Success and Warm-Starting

The researchers evaluated LOE on synthetic datasets (up to 1,000,000 items), the MNIST handwritten digit dataset, and a real-world Food image dataset.

On massive datasets ($10^5$ items), LOE reached a reasonable error level roughly 6 times faster than baseline methods. For $10^6$ items, LOE finished successfully while baselines crashed due to memory or time constraints. Furthermore, the authors proved that as the amount of data increases, LOE is statistically consistent and guaranteed to converge to the "true" underlying embedding under the BTL noise model.

Crucially, LOE does not have to be used in isolation. It serves as an excellent warm-start for more expensive methods.

Clustering purity on the MNIST dataset. Using LOE to warm-start STE (LOE-STE) achieves competitive purity with standalone STE, but at a fraction of the computational cost.

By running LOE quickly to generate a "good enough" initial map, practitioners can then use a method like STE to refine the embedding. This hybrid approach (LOE-STE) reaches a high-quality solution much faster than starting STE from scratch, achieving the "best of both worlds."

Limitations and Future Directions

While highly scalable, LOE has a few limitations:

  • Landmark Sensitivity: The quality of the final embedding depends heavily on the chosen landmarks. If the landmarks are poorly distributed, the triangulation step can become unstable.
  • Sample Complexity: The theoretical bound for the number of triplets needed is currently quite high ($\Omega(d^8 n \log n)$), though the authors suspect this bound is pessimistic and can be tightened in future work.
  • Active Learning: The current framework assumes triplets are sampled uniformly. A promising future direction is combining LOE with "active ranking," where the algorithm intelligently queries the most informative triplets to maximize information gain with fewer comparisons.

Summary updated

BibTeX
@inproceedings{ghosh2019landmark,
  author = {Nikhil Ghosh and Yuxin Chen and Yisong Yue},
  title = {{Landmark Ordinal Embedding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=EsjrTnOXSCD},
}
Figure