Matching Hierarchical Structures Using Association Graphs

Marcello Pelillo, Kaleem Siddiqi, Steven W. Zucker

Abstract

It is well known that the problem of matching two relational structures can be posed as an equivalent problem of finding a maximal clique in a (derived) “association graph.” However, it is not clear how to apply this approach to computer vision problems where the graphs are hierarchically organized, i.e. are trees, since maximal cliques are not constrained to preserve the partial order. Here we provide a solution to the problem of matching two trees, by constructing the association graph using the graph-theoretic concept of connectivity. We prove that in the new formulation there is a one-to-one correspondence between maximal cliques and maximal subtree isomorphisms, and show how to solve the matching problem using simple “replicator” dynamical systems developed in theoretical biology. Such continuous solutions to discrete problems can motivate analog and biological implementations. We illustrate the power of the approach by matching articulated and deformed shapes described by shock trees.

Introduction

In computer vision, matching relational structures—such as the constituent parts of an object—is a fundamental task often framed as finding a maximum clique in an "association graph." While this approach is robust for general graphs, it encounters significant hurdles when applied to hierarchical structures like trees. Standard association graphs do not inherently enforce the "partial order" of a tree. Consequently, a maximum clique might match nodes that are disjointed across the trees, failing to preserve a single, connected, and hierarchically consistent subtree. This paper addresses this gap by proposing a framework that ensures the resulting match is a valid, maximal subtree isomorphism.

Methodology

The proposed solution hinges on two primary innovations: the use of path-strings to construct the association graph and the application of replicator dynamics for optimization.

Path-Strings for Association Graphs

To preserve hierarchical integrity, the authors define a "path-string" between any two nodes in a rooted tree. This string captures the precise sequence of "up" (to parent) and "down" (to child) movements required to traverse from node $u$ to node $v$. The core proof demonstrates that if two pairs of nodes across different trees share identical path-strings, matching them preserves the underlying tree topology. This allows for the construction of an association graph where every maximal clique corresponds exactly to a maximal subtree isomorphism.

Example of two hierarchical trees to be matched, illustrating the types of structures the algorithm processes.

Replicator Equations

Rather than relying on computationally intensive discrete search algorithms, the authors utilize replicator dynamics. This class of differential equations, originating in theoretical biology to model evolving populations, offers a continuous alternative. By leveraging a generalization of the Motzkin-Straus theorem, the discrete clique problem is mapped onto a continuous quadratic programming problem. The replicator equations then "evolve" the system toward a solution that converges to a maximal clique, providing a biologically plausible mechanism for structural matching.

Experimental Results

The framework was evaluated using shape matching on "shock trees"—hierarchical structures derived from the singularities (shocks) of a curve evolution process. The study utilized the Rutgers Tools Database, comprising 22 silhouettes across 8 object classes, including hands, horses, human heads, and various tools.

Topological Accuracy and Robustness

Remarkably, the algorithm performed exceptionally well even when relying solely on topology, ignoring geometric attributes like lengths or angles. For every query shape, all other exemplars of the same class were typically found within the top three matches. The method proved robust against articulated and deformed shapes, successfully matching hands in different finger positions or pliers in varying states of openness.

Efficiency

The approach demonstrated significant computational efficiency, with convergence typically occurring within 2 to 3 seconds on standard hardware of the era (Sparc 10). This performance, combined with the continuous nature of the solution, suggests suitability for parallel hardware and analog implementations.

Conclusion

This work provides a novel bridge between graph-theoretic matching and hierarchical structure preservation. By encoding "relative genealogy" through path-strings and optimizing via replicator dynamics, the authors offer a robust, efficient, and biologically inspired solution to the tree-matching problem. While future work may incorporate metric information to further enhance performance, the current topological framework establishes a powerful foundation for recognizing articulated and deformed objects in computer vision.

Summary updated

BibTeX
@inproceedings{pelillo1998matching,
  author = {Marcello Pelillo and Kaleem Siddiqi and Steven W. Zucker},
  title = {{Matching Hierarchical Structures Using Association Graphs}},
  booktitle = {European Conference on Computer Vision},
  year = {1998},
  url = {https://openreview.net/forum?id=ry4NEqbdZH},
}
Figure