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

Spectral Analysis of Symmetric and Anti-Symmetric Pairwise Kernels

Tapio Pahikkala, Markus Viljanen, Antti Airola, Willem WaegemanarXiv 2015

Abstract

Enforcing symmetry or anti-symmetry in pairwise kernels is a common practice in machine learning for tasks like protein interaction prediction or ranking. This paper provides a rigorous theoretical foundation for this practice using spectral analysis. The authors prove that these constraints reduce the "effective dimension" of the learning problem, leading to better generalization without sacrificing the ability to approximate the target function.

Introduction

Many machine learning tasks involve predicting relationships between two entities, known as pairwise relations. Examples include determining if Protein A interacts with Protein B or if Item A is preferred over Item B. Often, these relations possess inherent structural properties:

  • Symmetry: If A interacts with B, then B interacts with A (e.g., protein-protein interaction).
  • Anti-symmetry: If A is preferred over B, then B is not preferred over A (e.g., tournament rankings).

While practitioners often "bake" this knowledge into their models by symmetrizing or anti-symmetrizing kernel functions, the field lacked a rigorous proof of how and why this improves learning efficiency. This paper quantifies the impact of these transformations on model complexity (effective dimension) and approximation capability.

Methodology

The authors employ spectral analysis of the integral operators associated with these kernels. The core of their approach involves analyzing the properties of the integral operator $T_K$ and its relationship to the Reproducing Kernel Hilbert Space (RKHS).

Commutative diagram illustrating the relationship between the $L^2$ space, the RKHS $\mathcal{H}(K)$, and the integral operator $T_K$.

The framework involves:

  1. Operator Decomposition: Defining operators for permutation, symmetrization, and anti-symmetrization.
  2. Majorization Theory: Using eigenvalue majorization to show that the sequence of eigenvalues for a symmetrized kernel is "smaller" than the original, indicating reduced complexity.
  3. Uhlmann’s Theorem: Applying a generalization of Uhlmann’s theorem to show that the transformation to a permutation-invariant kernel is a "doubly-stochastic operation," which naturally reduces complexity.

Key Insights

  • Effective Dimension Reduction: A central result is the proof that $D(K^S, \mu, \lambda) \leq D(K, \mu, \lambda)$. By enforcing symmetry, the "effective" number of parameters the model needs to learn is reduced, which directly decreases the variance of the estimator.
  • Preservation of Expressive Power: The authors show that if the true underlying function is symmetric, using a symmetrized kernel does not hurt the ability to approximate that function. The "complexity discount" is obtained without losing accuracy for relevant targets.
  • The Role of the Measure ($\mu$): These benefits are most straightforward when the data distribution is symmetric. If the distribution is not symmetric, the authors suggest using "virtual examples" (adding $(B, A)$ to the training set for every $(A, B)$) to restore this property.

Key Results

  • Theorem 4.3: Formally proves that the effective dimension of both symmetrized ($K^S$) and anti-symmetrized ($K^A$) kernels is always less than or equal to that of the original kernel ($K$).
  • Theorem 4.6: Establishes that if an original kernel can approximate a set of functions, its symmetric/anti-symmetric versions can approximate the symmetric/anti-symmetric subsets of those functions just as well.
  • Theorem 4.9: Provides a concrete bound on the regularization bias, showing it remains stable and bounded within a small factor of the original kernel's bias.

Conclusion

This work provides a comprehensive theoretical justification for the use of symmetric and anti-symmetric kernels in pairwise learning. By proving that such transformations reduce effective dimension while preserving approximation power, the authors establish that these common practices are mathematically sound strategies for improving generalization performance.

Summary updated

BibTeX
@misc{pahikkala2015spectral,
  author = {Tapio Pahikkala and Markus Viljanen and Antti Airola and Willem Waegeman},
  title = {{Spectral Analysis of Symmetric and Anti-Symmetric Pairwise Kernels}},
  year = {2015},
  eprint = {1506.05950},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1506.05950},
}
Figure