Skip to main content
QUICK REVIEW

[Paper Review] Kernel functions based on triplet comparisons

Matthäus Kleindeßner, Ulrike von Luxburg|arXiv (Cornell University)|Jul 28, 2016
Face and Expression RecognitionComputer Science6 citations
TL;DR

This paper proposes two deterministic, parameter-free kernel functions based on triplet comparisons, enabling the use of any kernel method on data with only relative similarity judgments. Unlike ordinal embedding, these kernels operate via high-dimensional similarity scoring through ranking consistency of triplets, achieving significantly faster computation while maintaining competitive clustering performance, especially in landmark-based settings.

ABSTRACT

Given only information in the form of similarity triplets "Object A is more similar to object B than to object C" about a data set, we propose two ways of defining a kernel function on the data set. While previous approaches construct a low-dimensional Euclidean embedding of the data set that reflects the given similarity triplets, we aim at defining kernel functions that correspond to high-dimensional embeddings. These kernel functions can subsequently be used to apply any kernel method to the data set.

Motivation & Objective

  • To develop a generic, kernel-based alternative to ordinal embedding for machine learning with only relative similarity triplets.
  • To enable the use of any kernel method on data where only triplet comparisons ('A is more similar to B than to C') are available.
  • To design a method that is faster and more scalable than existing ordinal embedding techniques, especially in landmark-based setups.
  • To demonstrate that kernel functions based on triplet ranking consistency yield meaningful, structure-preserving similarity scores.

Proposed method

  • The first kernel, $k_1$, computes similarity between two objects by measuring Kendall's tau correlation between their respective rankings of all other objects based on triplet comparisons.
  • The second kernel, $k_2$, uses a normalized count of shared triplets where both objects are ranked similarly relative to a third object, capturing relative proximity patterns.
  • Both kernels are defined directly on the data set using only the given triplet collection, without requiring intermediate low-dimensional embeddings.
  • The kernels are deterministic and parameter-free, avoiding the numerical optimization challenges of ordinal embedding methods.
  • A landmark-based design is employed to scale the method to larger data sets, using a subset of objects to compute kernel values efficiently.
  • The approach leverages the fact that similar objects produce consistent triplet patterns, which the kernel functions quantify via ranking and co-occurrence similarity.

Experimental results

Research questions

  • RQ1Can kernel functions be constructed directly from triplet comparisons without relying on ordinal embedding?
  • RQ2Can such kernel functions preserve the underlying data structure well enough for downstream kernel methods like clustering?
  • RQ3How do these kernel functions compare in speed and accuracy to state-of-the-art ordinal embedding algorithms?
  • RQ4Can the kernel approach scale effectively using a landmark-based design, especially when triplet counts are limited?

Key findings

  • The proposed kernel functions $k_1$ and $k_2$ produce meaningful similarity scores that reflect the true underlying structure of the data, as validated by clustering purity.
  • For 10,000 MNIST digits, computing $k_1$ took only 100 seconds, while the fastest ordinal embedding algorithm required 2,000 seconds, demonstrating a significant speed advantage.
  • With 20,000 digits, $k_1$ computation took 900 seconds, whereas GNMDS embedding required over 6,000 seconds, highlighting scalability.
  • In landmark-based setups, the kernel approach achieved clustering performance comparable to ordinal embedding, even with fewer triplets per data point.
  • The kernel functions are deterministic and parameter-free, avoiding the instability and tuning burden of optimization-based embedding methods.
  • Despite requiring more triplets in general, the landmark design enables the kernel method to compete effectively with embedding-based approaches in terms of data efficiency.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.