Kernels on Attributed Pointsets with Applications

Mehul Parsana, Sourangshu Bhattacharya, Chiru Bhattacharyya, K. R. RamakrishnanNeurIPS 2007

This paper, authored by researchers at the Indian Institute of Science, presents a novel approach to comparing "attributed pointsets"—collections of data points where each point has both a spatial location and a descriptive attribute. By moving beyond simple "bags of vectors" and incorporating local neighborhood structures, the authors develop kernels that significantly improve performance in computer vision tasks like face recognition and automated photo tagging.

The Challenge: Beyond "Bags of Vectors"

In machine learning, "kernel methods" are a powerful way to compare complex objects. While kernels for simple vectors are well-understood, designing kernels for structured data—like sets of points—is challenging.

The standard approach often treats a set of points as a "bag of vectors," ignoring where those points are located relative to one another. For example, in face recognition, a simple set-based kernel might recognize that an image contains "eye-like" and "nose-like" features, but it wouldn't necessarily care if the eye was located below the nose. This paper addresses this gap by incorporating the spatial embedding of points, using the concept of neighborhoods to ensure that similarity is calculated based on both what a point looks like and how its neighbors are arranged.

Proposed Methods

The authors propose two distinct positive semidefinite kernels based on the concept of a $k$-neighborhood (the $k$ closest points to a reference point):

  1. Neighborhood Kernel (NK): This kernel hypothesizes that two points are similar if their own attributes match and the attributes of their neighbors match. It essentially "weights" the similarity of two points by the similarity of their surrounding clusters.
  2. Spectral Neighborhood Kernel (SK): This kernel focuses on shape similarity. It uses spectral graph matching techniques—specifically the spectral decomposition of an adjacency matrix—to compare the geometric arrangement of points within a neighborhood. To ensure the kernel remains mathematically valid (positive semidefinite), they utilize the "convolution kernel" framework.

By combining these neighborhood-level comparisons, they build a global kernel that can compare two entire pointsets (e.g., two different faces) by summing up these localized, context-aware similarities.

Datasets and Evaluation

The researchers evaluated their kernels on several benchmarks and real-world scenarios, including the AR Face Database (featuring variations in facial expression, lighting, and occlusions), the ORL Dataset, personal photo albums from Flickr, and video sequences for automated shot annotation.

Sample images from the face datasets showing variations in expression, lighting, and occlusion.

Key Results

  • Expression Robustness: On the AR Face dataset, the proposed kernels (NK and SK) achieved near-perfect accuracy (up to 99.04%) on "Smile" and "Angry" expressions, significantly outperforming traditional methods like PCA or 1-Nearest Neighbor.
  • Handling Occlusions: The kernels showed a major jump in performance for faces wearing sunglasses (94.28% accuracy vs. 80.7% for previous state-of-the-art methods).
  • Real-World Utility: In the photo tagging experiment, the system correctly identified individuals in personal albums with up to 90% accuracy, demonstrating that the kernels translate well from controlled lab datasets to messy, real-world photos.

Limitations and Future Work

While highly effective for many variations, the approach has notable limitations:

  • The "Scarf" Problem: The kernels struggled with faces occluded by scarves. Because the scarf introduces a large number of "noisy" points that don't belong to the face, the summation of similarities becomes cluttered, leading to lower accuracy (around 65%).
Pointset matching between a face occluded by a scarf and a standard face, illustrating the challenge of noisy points.
  • Extreme Lighting: Like many vision-based systems, performance dips under extreme lighting changes because the underlying local descriptors (e.g., Gabor filters or SIFT) change too drastically for the kernel to find a match.
  • Computational Complexity: While manageable for small neighborhoods, the spectral kernel has a complexity of $O(k!n^2)$. The authors note that while $k$ (neighborhood size) is usually small, scaling this to massive pointsets might require further optimization.

Summary updated

BibTeX
@inproceedings{parsana2007kernels,
  author = {Mehul Parsana and Sourangshu Bhattacharya and Chiru Bhattacharyya and K. R. Ramakrishnan},
  title = {{Kernels on Attributed Pointsets with Applications}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2007},
  url = {https://openreview.net/forum?id=r1VQpLZ_bB},
}
Figure