Path Following with Adaptive Path Estimation for Graph Matching

Tao Wang, Haibin Ling

Abstract

Graph matching is a fundamental yet computationally challenging problem in computer vision. Traditional path-following algorithms achieve high accuracy by solving a sequence of relaxed optimization problems but suffer from significant computational overhead. This paper proposes two enhancements: path estimation (EST) and adaptive step lengths. By modeling the solution trajectory as a smooth curve and employing a predictor-corrector scheme, the proposed method achieves up to 50x speedups over state-of-the-art frameworks like GNCCP and FGM while maintaining comparable matching accuracy across standard benchmarks.

Introduction

Graph matching—finding the best way to align the nodes and edges of two different graphs—is a cornerstone of computer vision, used in tasks ranging from object recognition to image registration. However, it is an NP-hard problem. To solve it, researchers often use "path-following" strategies. These methods start by solving a simple, convex "relaxed" version of the problem and gradually transform it into the real, complex concave version, tracking the solution along the way. While highly accurate, these methods are computationally expensive because they require solving a long sequence of optimization problems. This paper addresses the computational burden that prevents these high-performing algorithms from scaling to larger, real-world graphs.

Methods

The authors propose two main enhancements that can be "fused" into existing path-following frameworks like FGM (Factorized Graph Matching) and GNCCP (Graduated Nonconvexity and Concavity Procedure):

  1. Path Estimation (EST): Standard algorithms start searching for the next solution point using the previous one as a starting point. This paper observes that the sequence of solutions forms a smooth one-dimensional curve. They use the "velocity" of previous solutions to predict where the next one will be. By starting the search closer to the actual target, the algorithm converges much faster.
  2. Adaptive Step Length: Instead of moving along the path in fixed increments, the algorithm dynamically adjusts its pace. If the path estimation is highly accurate (indicating a smooth region), the algorithm takes a larger step. If the estimation is poor, it slows down and takes smaller steps to ensure it doesn't lose track of the local minimum.

These techniques transform the traditional path-following approach into a "predictor-corrector" scheme, a concept borrowed from numerical continuation methods.

Key Results

The results show a dramatic improvement in efficiency with virtually no cost to accuracy. The enhanced version of GNCCP (GNCCP+EST) was roughly 50 times faster than the original, while the enhanced FGM (FGM+EST) was about 7 times faster.

Computational time comparison showing significant speedup with the EST enhancement.

On the CMU House dataset, the proposed methods spent only 4% to 18% of the original computation time while achieving identical or better matching results. On the Caltech dataset, GNCCP+EST achieved the highest accuracy (75.60%) while running in just 0.27 seconds, compared to the original GNCCP’s 6.79 seconds and the PSM algorithm's 15.53 seconds.

Matching accuracy comparison across different methods, showing that accuracy is maintained despite the speedup.

Discussion and Limitations

The core insight is that the transition from a convex relaxation to a concave one is a smooth trajectory in the solution space that can be modeled and predicted. By using a better starting point for the inner optimization loop (the Frank-Wolfe algorithm), the number of iterations required at each step drops significantly. Adaptive stepping further allows the algorithm to "sprint" through easy parts of the optimization landscape and "crawl" through the difficult ones.

However, the method relies on a few hyperparameters, such as the number of previous points used for estimation and the error threshold, which might need tuning for different data types. Additionally, while the logic should hold for higher-order matching, this paper focuses on second-order graph matching.

Conclusion

By treating the optimization process as a smooth path and using path estimation and adaptive step lengths, the authors achieve substantial speedups for state-of-the-art graph matching algorithms. This makes high-accuracy path-following methods much more practical for real-world, large-scale applications.

Summary updated

BibTeX
@inproceedings{wang2016path,
  author = {Tao Wang and Haibin Ling},
  title = {{Path Following with Adaptive Path Estimation for Graph Matching}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10457},
}
Figure