Persistence-Based Structural Recognition

Chunyuan Li, Maks Ovsjanikov, Frédéric Chazal

Abstract

This paper introduces a novel framework for object recognition that leverages topological persistence to capture the structural "skeleton" of data. While traditional Bag-of-Features (BoF) models excel at counting visual patterns, they are inherently "spatially blind," ignoring how those patterns are connected. By treating feature descriptors as real-valued functions over a graph representation of an object, the authors demonstrate that 0-dimensional persistence diagrams provide a stable, compact, and informative representation of spatial connectivity. Evaluation across 3D shape retrieval, hand gesture recognition, and texture classification shows that this topological approach significantly outperforms or complements standard BoF models.

Introduction

For years, the Bag-of-Features (BoF) model dominated computer vision due to its simplicity and effectiveness. However, its primary weakness is the loss of spatial information; it records the frequency of visual patterns but not their arrangement. Existing solutions, such as Spatial Pyramid Matching, often rely on rigid, pre-defined grids that fail to accommodate non-rigid transformations, such as a person bending their arm or a 3D model undergoing deformation.

This research addresses the challenge of creating a descriptor that is both informative (capturing underlying structure) and stable (remaining consistent under noise). The authors propose using Topological Data Analysis (TDA) to encode the connectivity of features without requiring explicit spatial parametrization.

Methodology

The proposed workflow compares the traditional BoF pipeline with the persistence-based encoding pipeline.

The framework follows a multi-step pipeline to transform raw data into a topological signature:

  1. Graph Representation: The input object (whether a 2D shape, 3D mesh, or texture) is represented as a connectivity graph $G = (V, E)$.
  2. Functions on Graphs: Rather than treating a descriptor (like the Heat Kernel Signature, HKS) as a single high-dimensional vector, each dimension of the descriptor is treated as a real-valued function defined over the nodes of the graph.
  3. Persistence Computing: The authors track the evolution of the connectivity of the function's superlevel sets. Using a "landscape" analogy, as a threshold (water level) is lowered, peaks emerge ("birth") and eventually merge with higher peaks ("death"). This process is efficiently computed using a Union-Find data structure.
  4. Persistence Diagrams (PD): The lifespan of each peak is plotted on a 2D diagram. The distance of a point from the diagonal represents its topological prominence, effectively filtering out noise while preserving locally significant features.
  5. Metric Learning: To handle multiple functions, the authors employ distance metric learning to assign optimal weights to different persistence-based distances, ensuring that semantically similar objects remain close in the feature space.

Key Insights and Stability

A core theoretical advantage of this method is its built-in stability. Persistence diagrams are proven to be stable under small perturbations of the input function. For instance, sensor noise in a Kinect scan or minor holes in a 3D mesh result in only negligible changes to the resulting PD.

Furthermore, the authors highlight that PD and BoF provide complementary information. While BoF captures the distribution of values (the "what"), PD captures the connectivity between those values (the "how it's arranged"). This synergy allows the combined model to achieve higher accuracy than either method alone.

Experimental Results

The framework was evaluated across three distinct modalities with impressive results:

  • 3D Shape Retrieval: On the SHREC 2010 dataset, combining PD with Intrinsic Spatial Pyramid Matching (ISPM) achieved state-of-the-art results, reaching a Discounted Cumulative Gain (DCG) score of 0.9778.
  • Hand Gesture Recognition: This modality highlights the strength of structural encoding. Using a "distance-to-center" function, PD achieved 87.6% accuracy compared to BoF's 72.6%. With multi-function metric learning, accuracy rose to 95.4%.
  • Texture Classification: On the Outex database, adding PD information improved the accuracy of the CLBP-SMC descriptor from 96.56% to 97.03%.
Confusion matrices for hand gesture recognition demonstrate that the PD approach (b) is significantly more accurate and less prone to class confusion than the BoF approach (a).

Conclusion and Future Work

Persistence-based structural recognition offers a robust alternative to spatially-blind models. By focusing on local extrema and their connectivity, the method identifies features that are locally significant regardless of their absolute values.

However, the method does have limitations. Persistence diagrams focus on critical points (peaks and valleys) and do not capture the distribution of non-critical values along "slopes." Consequently, the authors recommend using PD as a complement to BoF rather than a total replacement. Future research directions include extending the framework to higher-dimensional homology (to capture loops and voids) and applying it to complex RGB-D data.

Summary updated

BibTeX
@inproceedings{li2014persistence,
  author = {Chunyuan Li and Maks Ovsjanikov and Frédéric Chazal},
  title = {{Persistence-Based Structural Recognition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2014},
  doi = {10.1109/cvpr.2014.257},
}
Figure