Fast, Accurate and Memory-Efficient Partial Permutation Synchronization

Shaohan Li, Yunpeng Shi, Gilad Lerman

Abstract

Partial Permutation Synchronization (PPS) is a fundamental problem in computer vision, particularly within multi-object matching and Structure-from-Motion (SfM) pipelines. Existing solutions often struggle with the massive scale of modern datasets or fail under non-uniform corruption. This paper introduces MatchFAME (Fast, Accurate and Memory-Efficient Matching), a framework that combines a novel outlier-detection scheme, CEMP-Partial, with a weighted, non-convex power method. MatchFAME achieves state-of-the-art accuracy while being orders of magnitude more memory-efficient and faster than previous spectral or semidefinite programming (SDP) approaches, enabling the processing of massive real-world datasets on standard hardware.

Introduction

In computer vision, multi-object matching involves identifying correspondences between keypoints across thousands of images. Mathematically, this is modeled as Partial Permutation Synchronization. Given a set of noisy, relative matches between pairs of images, the goal is to recover absolute matches relative to a global universe of 3D points.

This task faces three primary hurdles:

  1. Scale: Datasets like the "Photo Tourism" collection involve millions of keypoints, leading to dense matrices that exceed the memory capacity of typical workstations.
  2. Non-uniform Corruption: Real-world errors are rarely random; they often cluster due to repetitive structures (e.g., building facades), creating adversarial conditions for standard algorithms.
  3. Partiality: Unlike standard group synchronization, partial permutations are "rectangular" and sparse, meaning they do not form a group, which complicates traditional mathematical modeling.

The MatchFAME Framework

MatchFAME addresses these challenges through a three-stage pipeline designed for sparsity and robustness.

1. CEMP-Partial for Outlier Detection

The authors extend the Cycle-Edge Message Passing (CEMP) framework to the partial permutation setting. This iterative algorithm leverages "cycle-consistency"—the logical requirement that matches $i \to j \to k \to i$ must return to the starting point—to estimate the corruption level of every observed match. By treating the matching problem as a graph problem, CEMP-Partial can identify clusters of bad matches without prior knowledge of the ground truth.

2. MST Initialization

Traditional methods often rely on memory-intensive spectral decompositions for initialization. MatchFAME instead constructs a Minimum Spanning Tree (MST) of the images, using the corruption scores from CEMP-Partial as weights. This provides a fast, sparse initial guess for the absolute permutations, significantly reducing the initial computational overhead.

3. Weighted Projected Power Method (PPM)

The final stage refines the solution using a non-convex power method. Crucially, the iterations are weighted by the CEMP-Partial confidence scores. This forces the algorithm to focus on clean data and ignore likely outliers. Because the algorithm relies exclusively on sparse matrix operations, its memory footprint remains minimal.

Experimental Evaluation

Datasets

The method was evaluated on both synthetic and real-world benchmarks:

  • Synthetic Models: Tested against Local Biased Corruption (LBC), Local Adversarial Corruption (LAC), and Uniform Corruption Models (UCM).
  • Real-World Data: The Photo Tourism Dataset (14 large-scale sets including Notre Dame and the Alamo) and the EPFL dataset for precision benchmarks.

Performance and Efficiency

MatchFAME demonstrates significant improvements across all key metrics:

  • Memory Efficiency: On large-scale datasets, MatchFAME is estimated to be at least 10,000 times more memory-efficient than traditional spectral methods.
  • Runtime: In benchmarks involving a 2000-keypoint universe, MatchFAME completed the task in 27 seconds, compared to nearly 22 minutes for the previous state-of-the-art, MatchEIG.
  • SfM Accuracy: When integrated into a standard SfM pipeline (LUD), MatchFAME drastically reduced camera rotation and translation errors. Notably, for the "Piazza Del Popolo" dataset, it reduced rotation error by 80.3%.
  • Robustness: The algorithm successfully navigated the "Gendarmenmarkt" dataset, which is notorious for false-positive matches caused by symmetric architecture.

Discussion and Future Work

The success of MatchFAME stems from the realization that while the global matching matrix is massive, it is inherently sparse. By avoiding dense eigenvector computations, the authors make large-scale SfM computationally tractable on standard PCs. Furthermore, the paper provides a theoretical bridge for partial permutations, proving that CEMP-Partial can exactly separate clean and corrupted edges under specific adversarial conditions.

Despite these gains, some limitations remain. The MST-based initialization is a heuristic that may fail if the chosen path is too sparse; future iterations may explore "Minimum-K spanning trees" for increased robustness. Additionally, the authors plan to automate the selection of the confidence parameter ($\gamma$) and extend the theoretical framework to account for the geometric noise typical of SIFT keypoints.

Summary updated

BibTeX
@inproceedings{li2022fast,
  author = {Shaohan Li and Yunpeng Shi and Gilad Lerman},
  title = {{Fast, Accurate and Memory-Efficient Partial Permutation Synchronization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure