Low-dimensional Data Embedding via Robust Ranking

Ehsan Amid, Nikos Vlassis, Manfred K. Warmuth

TL;DR

$t$-Exponential Triplet Embedding ($t$-ETE) is a robust new method for mapping high-dimensional data into low-dimensional spaces using relative similarity "triplets" (e.g., "A is more like B than C"). By treating embedding as a ranking problem and capping individual triplet losses with a generalized log function, $t$-ETE remains remarkably stable even when up to 20% of the input data is noisy or contradictory.

What Problem Does This Paper Address?

Many machine learning tasks rely on "triplets"—constraints that define relative similarity rather than absolute distances. These are common in crowdsourced data (where humans find it easier to compare three items than to assign a numerical score) and in dimensionality reduction.

However, triplet data is notoriously noisy. Human evaluators often disagree, and mapping complex high-dimensional structures to just two or three dimensions inherently creates "inconsistent" constraints where some similarities must be violated. Existing methods like Stochastic Triplet Embedding ($t$-STE) and $t$-SNE are highly sensitive to this noise. Because their loss functions are often unbounded, a single "bad" triplet can exert a massive influence, pulling the entire embedding into a disorganized clump.

Methods

The authors propose a framework that views embedding as a joint ranking problem. For every object $i$, the goal is to rank all other objects by their distance to $i$ such that the provided triplets are satisfied.

The Robust Transformation

The core innovation is the application of a robust loss transformation using the generalized logarithm ($\log_t$). Unlike the standard natural log, the $\log_t$ function (for $t > 1$) grows slower and eventually reaches a constant maximum value.

By applying this to the triplet loss, the authors effectively "cap" the penalty for any single unsatisfied constraint. If a triplet is highly inconsistent with the rest of the data (likely noise), the algorithm essentially "gives up" on it and focuses on the majority of consistent constraints. This leads to a gradient that includes "forgetting factors," which naturally dampens the influence of outliers.

Weighted $t$-ETE for Dimensionality Reduction

To adapt this for general dimensionality reduction (where we start with high-dimensional coordinates rather than human-provided triplets), the authors:

  1. Sample Informative Triplets: Instead of using all $O(n^3)$ possible triplets, they sample $m$-nearest neighbors to capture local structure and random outliers to capture global structure.
  2. Assign Weights: They weight triplets based on their high-dimensional distances, emphasizing constraints that are "clearly" satisfied in the original space.

Datasets

The authors evaluated $t$-ETE across a diverse range of benchmarks:

  • Synthetic & Manifold Data: Swiss Roll, Sphere, and synthetic MNIST/MIT Scenes triplets.
  • Real-World Crowdsourced Data: The Food dataset (relative similarity of food images) and the Music dataset (artist similarity).
  • Standard ML Benchmarks: MNIST digits, USPS handwritten digits, COIL-20 (object orientations), Wine, and Letters.

Key Insights and Ideas

  • Capping is Key: The transition from an unbounded loss to a capped loss is what grants $t$-ETE its "superpower" against noise. This is visualized clearly in the paper's comparison of $t$-STE and $t$-ETE under noisy conditions.
  • Heavy Tails for the "Crowding Problem": Like $t$-SNE, $t$-ETE uses heavy-tailed distributions ($t$-exponential family) to model distances. This prevents points from crowding together in the center of the map, a common issue when squeezing high-dimensional data into 2D.
  • Computational Efficiency: By carefully sampling $O(nm^2)$ triplets (where $m$ is small), $t$-ETE can be faster than standard $t$-SNE, which typically has $O(n^2)$ complexity.

Key Results

  • Extreme Noise Tolerance: In experiments on MNIST and MIT Scenes, $t$-ETE's performance remained almost flat even as noise levels reached 15-20%, whereas competing methods like $t$-STE and CKL saw immediate, sharp drops in accuracy.
Figure 1: Experiments on the MNIST dataset: noise-free triplets using (a) t-STE, and (b) t-ETE, and triplets with 20% noise using (c) t-STE, and (d) the proposed t-ETE.
  • Superior Visualization: On the Food dataset, $t$-STE failed to find clear structure, while $t$-ETE revealed distinct clusters for "Vegetables," "Desserts," and "Breads."
  • Manifold Preservation: Unlike $t$-SNE, which sometimes "tears" continuous manifolds to create artificial clusters, $t$-ETE successfully unrolled the Swiss Roll and preserved the continuous structure of the Faces dataset.
Figure 6: Dimensionality reduction results. t-ETE (bottom row) shows smoother, more continuous embeddings for manifolds like the Swiss Roll (c) compared to t-SNE (top row).

Limitations and Future Work

  • Parameter Sensitivity: The method introduces two "temperature" parameters ($t$ and $t'$). While the authors suggest $t=t'=2$ as a robust default, optimal performance on specific datasets might require tuning.
  • Sampling Strategy: The quality of the dimensionality reduction depends heavily on the triplet sampling strategy. While the $m$-nearest neighbor approach works well, more sophisticated sampling could potentially capture even more complex global structures.
  • Optimization: The current implementation uses simple gradient descent. The authors note it converges well, but more advanced optimization techniques (like those used in $t$-SNE) might further improve speed.

Summary updated

Abstract

We describe a new method called t-ETE for finding a low-dimensional embedding of a set of objects in Euclidean space. We formulate the embedding problem as a joint ranking problem over a set of triplets, where each triplet captures the relative similarities between three objects in the set. By exploiting recent advances in robust ranking, t-ETE produces high-quality embeddings even in the presence of a significant amount of noise and better preserves local scale than known methods, such as t-STE and t-SNE. In particular, our method produces significantly better results than t-SNE on signature datasets while also being faster to compute.
BibTeX
@misc{amid2016low,
  author = {Ehsan Amid and Nikos Vlassis and Manfred K. Warmuth},
  title = {{Low-dimensional Data Embedding via Robust Ranking}},
  year = {2016},
  eprint = {1611.09957},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1611.09957},
}
Figure