Simultaneous Twin Kernel Learning Using Polynomial Transformations for Structured Prediction

Chetan Tonde, Ahmed M. ElgammalCVPR 2014

Introduction

Structured prediction involves mapping complex inputs to complex outputs, such as estimating 3D human poses from 2D silhouettes. While kernel methods are powerful for these tasks, their performance is heavily dependent on the choice of kernel functions. Traditionally, kernel learning has focused on the input domain, often neglecting the intricate dependencies within the output space. This paper introduces Simultaneous Twin Kernel Learning (STKL), a framework that optimizes kernels for both input and output domains simultaneously.

The Challenge of Structured Prediction

In structured prediction, both the input and output spaces possess complex internal structures. Existing methods for learning "twin" kernels are often computationally prohibitive or overly restrictive. For instance, Kernel Canonical Correlation Analysis (KCCA) has a cubic complexity $O(n^3)$, making it difficult to scale for large datasets. STKL addresses these limitations by using polynomial transformations to maximize statistical dependence between feature spaces efficiently.

Simultaneous Twin Kernel Learning (STKL)

The STKL framework employs polynomial transformations to adapt initial kernels (e.g., a standard RBF kernel) to the specific task. A kernel $k(x, x')$ is transformed via a polynomial function $\phi(t) = \sum_{i=0}^d \alpha_i t^i$. The authors prove that maintaining non-negative coefficients $\alpha_i$ ensures the resulting transformation remains a valid, positive-definite kernel.

To find the optimal coefficients, STKL maximizes the Hilbert-Schmidt Independence Criterion (HSIC), a mathematical tool that measures the statistical dependence between the transformed input and output features. By maximizing this dependence, the model ensures that the learned feature spaces are as correlated as possible.

The "C-Matrix" Efficiency

A key innovation of this work is the "C-Matrix" trick. By formulating the optimization as a Singular Value Decomposition (SVD) on a specialized matrix of higher-order cross-covariances, the authors reduce the computational complexity to $O(n^2)$. This efficiency allows for the creation of two variants: HOTGP (optimizing KL-Divergence) and HOHSIC (optimizing HSIC).

Learned polynomial coefficients $\alpha_i$ and $\beta_j$ for input and output kernels at degree 11.

Experimental Evaluation

The researchers evaluated STKL across four distinct datasets to test its versatility:

  • USPS Handwritten Digits: A task predicting central pixels from surrounding ones.
  • HumanEva-I & Poser: Mapping image features to 3D human joint positions in motion capture data.
  • S-Shape: A synthetic regression benchmark designed to test multi-valued and noisy mappings.

Results and Discussion

STKL consistently outperformed standard Twin Gaussian Processes (TGP) and other established models like Structured Output Associative Regression (SOAR). On the USPS dataset, it achieved an accuracy gain of up to 2.4%. For the HumanEva-I dataset, the HOTGP variant demonstrated a significant 5.07% error reduction.

Percentage gain in performance as a function of input ($d_1$) and output ($d_2$) polynomial degrees for different optimization criteria.

The symmetry of the evaluation function plays a critical role in performance. As shown in the performance surfaces, HSIC-based learning (HOHSIC) benefits from increasing polynomial degrees in both domains due to its symmetric nature. In contrast, the asymmetric KL-Divergence used in HOTGP tends to find more benefit in transforming the output kernel than the input kernel.

Conclusion

Simultaneous Twin Kernel Learning provides a flexible, efficient, and analytically grounded approach to kernel optimization in structured prediction. By leveraging polynomial transformations and the HSIC criterion, it captures complex dependencies that one-way kernel learning misses. Future work aims to extend this framework to Multiple Kernel Learning (MKL) and provide deeper theoretical guarantees for the learned kernels.

Summary updated

BibTeX
@inproceedings{tonde2014simultaneous,
  author = {Chetan Tonde and Ahmed M. Elgammal},
  title = {{Simultaneous Twin Kernel Learning Using Polynomial Transformations for Structured Prediction}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.547},
}
Figure