Skip to main content
QUICK REVIEW

[Paper Review] The optimal assignment kernel is not positive definite

Jean‐Philippe Vert|ArXiv.org|Jan 26, 2008
Machine Learning and AlgorithmsComputer Science5 references49 citations
TL;DR

This paper demonstrates that the optimal assignment kernel—proposed for comparing labeled graphs and structured data via optimal matching of subparts—is not always positive definite, contradicting a prior claim. Using a counterexample with Gaussian kernel-based subparts forming a square, the authors show that the resulting Gram matrix can have negative eigenvalues, invalidating Hilbert space embedding and challenging the kernel's theoretical foundation in kernel methods.

ABSTRACT

We prove that the optimal assignment kernel, proposed recently as an attempt to embed labeled graphs and more generally tuples of basic data to a Hilbert space, is in fact not always positive definite.

Motivation & Objective

  • To investigate the theoretical validity of the optimal assignment kernel as a positive definite kernel for structured data.
  • To resolve a contradiction between a prior claim of positive definiteness and the actual behavior of the kernel in specific cases.
  • To provide a rigorous counterexample demonstrating that the kernel can fail to be positive definite under standard conditions.
  • To caution practitioners about potential issues with negative eigenvalues in the Gram matrix when using the kernel in kernel methods.

Proposed method

  • The authors define the optimal assignment kernel as the maximum sum of pairwise kernel values between subparts of two tuples, computed via the Hungarian algorithm.
  • They construct a counterexample using four points in R² with a Gaussian radial basis function kernel (k₁(x,y) = exp(−γ||x−y||²)), which is known to be positive definite and nonnegative.
  • Six 2-tuples are formed from all distinct pairs of these points, and the kernel values between them are computed using the optimal assignment formulation.
  • The Hilbert space embedding condition is tested using the distance formula d(x,y)² = k(x,x) + k(y,y) − 2k(x,y), revealing a geometric inconsistency.
  • A contradiction is derived by showing that the distance between two diagonal pairs (AB,CD) does not match the expected Euclidean distance in a square configuration, implying non-embeddability.
  • The proof concludes that the kernel cannot be positive definite because the required inner product structure in a Hilbert space is violated.

Experimental results

Research questions

  • RQ1Is the optimal assignment kernel always positive definite for labeled graphs and structured data?
  • RQ2Can a counterexample be constructed where the kernel fails to be positive definite despite using a positive definite base kernel?
  • RQ3What is the geometric reason for the failure of Hilbert space embedding in the optimal assignment kernel?
  • RQ4Why does the proof of positive definiteness in prior work (e.g., [2]) contain a logical error?
  • RQ5To what extent can negative eigenvalues in the Gram matrix affect kernel method performance?

Key findings

  • The optimal assignment kernel is not always positive definite, as demonstrated by a counterexample with four points in R² and a Gaussian base kernel.
  • In the counterexample, the kernel values between six 2-tuples lead to a geometric configuration that violates the triangle inequality in Hilbert space, implying non-embeddability.
  • The contradiction arises because the computed distance between diagonal pairs (AB,CD) does not match the expected distance in a square configuration, with d(AB,CD)² = 4−4a vs. the expected 4−4a² for a square.
  • The prior claim of positive definiteness in [2] is incorrect due to a logical flaw: concluding B<0 from A≤B and A<0 is invalid.
  • The kernel can still be useful in practice, but negative eigenvalues may arise and require careful handling, such as Gram matrix projection onto the positive semidefinite cone.
  • The result highlights the need for caution in theoretical assumptions and error propagation in scientific literature, especially regarding kernel methods.

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.