A Framework for Shape Analysis via Hilbert Space Embedding

Sadeep Jayasumana, Mathieu Salzmann, Hongdong Li, Mehrtash Tafazzoli Harandi

Introduction

A fundamental challenge in computer vision is performing sophisticated machine learning on objects that do not reside in a "flat" Euclidean space. This is particularly true for 2D shapes, where geometric information remains after removing translation, scale, and rotation. Mathematically, these shapes exist on Kendall’s shape manifold, a curved, non-linear surface. This paper introduces a novel framework to "lift" such non-linear data into a high-dimensional Hilbert space, enabling the use of standard Euclidean algorithms like Support Vector Machines (SVMs) and Principal Component Analysis (PCA) without the distortions inherent in traditional methods.

The Challenge of Non-Euclidean Shapes

Most powerful machine learning tools assume data lives in Euclidean space. To bridge the gap for shape analysis, researchers typically relied on nearest-neighbor approaches, which scale poorly, or tangent space approximations. The latter involves "flattening" the manifold at a specific point, which works locally but introduces significant distortions for shapes far from the tangent point.

The ideal solution is to use Kernel Methods, which map data into a Reproducing Kernel Hilbert Space (RKHS) where geometry becomes linear. However, this requires a "Positive Definite" (PD) kernel. Until this work, a valid PD kernel for Kendall’s shape manifold had not been established.

The Procrustes Gaussian Kernel

The authors' core contribution is the Procrustes Gaussian kernel, the first provably positive definite kernel for Kendall’s shape manifold. By replacing the standard Euclidean distance in a Gaussian kernel with the Full Procrustes distance ($d_{FP}$), they created a metric that respects the manifold's geometry.

Comparison of shape metrics and their properties. The Full-Procrustes distance $d_{FP}$ is uniquely suited for creating a positive definite kernel with full invariance to rotation, translation, and scale.

The mathematical validity of this kernel was established using Schoenberg’s theorem, proving that the squared Full Procrustes distance is "negative definite." This theoretical "green light" ensures the kernel is valid for any kernel-based algorithm, leading to more stable optimization and higher empirical accuracy than previous ad-hoc methods.

Experimental Validation

The framework was evaluated across several standard benchmarks, including ETH-80, COIL-100, and the Swedish Leaves dataset. These datasets present significant challenges due to high intra-class variation and different object categories.

Sample images from the Swedish Leaves dataset, illustrating the high intra-class variation handled by the framework.

The authors applied the kernel to four adapted algorithms:

  • Kernel SVM for classification.
  • Multiple Kernel Learning (MKL) to combine shape descriptions at different scales (e.g., coarse vs. fine landmarks).
  • Kernel PCA for efficient dimensionality reduction and retrieval.
  • Kernel $k$-means for unsupervised clustering.

Key Results and Insights

The "Manifold Kernel" approach consistently outperformed tangent-space approximations and other state-of-the-art methods:

  • Classification: On the ETH-80 dataset, the Manifold Kernel SVM achieved 93.75% accuracy, significantly higher than the 87.29% reached by Tangent Space SVMs. On MPEG-7, it reached a state-of-the-art 96.57%.
  • Clustering: Manifold Kernel $k$-means proved more accurate than standard or tangent-space versions, particularly as the number of clusters increased.
  • Retrieval: Kernel PCA allowed for shape retrieval in a low-dimensional Euclidean space that was both faster and more accurate than searching the raw manifold.

A key insight was the power of Multiple Kernel Learning. By combining "coarse" shape descriptions (robust to noise) with "fine" descriptions (highly discriminative), the model achieved superior performance. This demonstrates that "lifting" the manifold into a higher-dimensional space handles curvature naturally, avoiding the pitfalls of "squashing" it onto a flat plane.

Conclusion

This framework provides a mathematically grounded and empirically superior method for 2D shape analysis. While currently focused on 2D landmarks, the success of the Procrustes Gaussian kernel opens doors for extending these methods to 3D manifolds and other Riemannian spaces, potentially transforming how we process complex geometric data in computer vision.

Summary updated

BibTeX
@inproceedings{jayasumana2013framework,
  author = {Sadeep Jayasumana and Mathieu Salzmann and Hongdong Li and Mehrtash Tafazzoli Harandi},
  title = {{A Framework for Shape Analysis via Hilbert Space Embedding}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2013},
  url = {https://openreview.net/forum?id=rybYfZM_-H},
}
Figure