TL;DR
Instead of the slow, iterative process of squeezing relative similarity data (triplets like "A is more like B than C") into low-dimensional maps, this paper introduces two deterministic kernel functions. These kernels allow researchers to plug triplet data directly into standard machine learning tools—like SVMs or Kernel PCA—achieving similar accuracy to state-of-the-art methods while running orders of magnitude faster.
What Problem Does This Paper Address?
In many real-world scenarios, we don't have a perfect mathematical formula to measure how "similar" two things are. However, humans are remarkably good at making relative comparisons. If you ask a person to give a score from 0 to 1 on how similar two images of food are, their answer might be inconsistent. But if you ask, "Is image A more similar to B or to C?", they are much more reliable.
This type of data is called ordinal data or similarity triplets. The standard way to handle this has been ordinal embedding: trying to find coordinates for every object in a low-dimensional space (like 2D or 3D) that satisfy as many of those "A is closer to B than C" constraints as possible. The problem? These embedding algorithms are computationally expensive, iterative, and often require tuning several hyperparameters.
Methods: Moving to High-Dimensional Kernels
The authors propose moving away from low-dimensional embeddings toward high-dimensional kernel functions. They introduce two specific kernels, $k_1$ and $k_2$:
- Kernel $k_1$ (The Ranking Approach): This is based on the intuition of Kendall’s $\tau$ correlation. To compare object $x_a$ and $x_b$, we look at how they "rank" all other objects. If $x_a$ and $x_b$ are similar, they should agree on which other objects in the dataset are "close" and which are "far."
- Kernel $k_2$ (The Shared Neighborhood Approach): This measures similarity by looking at how other objects $x_i$ perceive $x_a$ and $x_b$. If $x_a$ and $x_b$ consistently fall on the same side of distance comparisons relative to the rest of the data, they are considered similar.
The Landmark Design: To make these kernels scale to large datasets, the authors use a "landmark" approach. Instead of comparing every object to every other object, they pick a small subset of "landmark" objects. This reduces the computational complexity from $O(n^4)$ to something much more manageable, like $O(|S| + |L|^{1.62}n^2)$, where $L$ is the number of landmarks and $S$ is the set of triplets.
Datasets and Real-World Application
The authors evaluated their kernels on both real-world crowdsourced data and synthetic benchmarks:
- Food Dataset: 100 images of various foods with ~190,000 human-provided triplets.
- Car Dataset: 60 images of cars with ~13,500 triplets.
- Nature Dataset: Images of natural scenes (referenced from prior work).
- USPS & MNIST Digits: Standard handwritten digit datasets where triplets were generated synthetically to test scalability and noise resistance.
Key Insights and Results
- Massive Speedups: On the Food dataset, computing the proposed kernels took about 0.1 seconds, whereas the standard GNMDS embedding algorithm took 18 seconds.
- Scalability: The authors successfully applied their method to 10,000 points from the MNIST dataset. In this setting, their kernel took ~180 seconds, while the fastest competing embedding algorithm took over 2,000 seconds.
- Deterministic vs. Stochastic: Unlike traditional embedding methods (like t-STE or GNMDS) which use stochastic gradient descent and can get stuck in local minima, these kernels are deterministic. You run the math once, and you get the exact same result every time.
- High-Dimensionality is a Feature, Not a Bug: While we often want 2D plots to look at, many ML algorithms (like SVMs) actually perform better in high-dimensional feature spaces. By defining a kernel, the authors bypass the "squeezing" process and go straight to a representation that is ready for high-powered ML tools.
- Competitive Accuracy: In clustering tasks (measured by "purity"), the kernels performed as well as, and sometimes better than, complex iterative embedding methods, especially when using the landmark design.
Limitations and Future Work
- Data Hunger: The authors note that while their method is faster, it generally requires a higher number of triplets to "capture" the structure of the data compared to low-dimensional embedding methods.
- Diagonal Dominance: When the number of triplets is very small, the resulting kernel matrix can become "diagonally dominant" (meaning objects look mostly similar only to themselves). The authors suggest a simple eigenvalue shift to fix this, but more sophisticated regularizations could be explored.
- Theoretical Bounds: While the empirical results are strong, the authors mention that theoretical complexity bounds for many competing ordinal embedding algorithms are still missing from the literature, making formal comparisons difficult.
Summary updated