Simultaneous Sampling and Multi-Structure Fitting with Adaptive Reversible Jump MCMC

Trung-Thanh Pham, Tat-Jun Chin, Jin Yu, David SuterNeurIPS 2011

Introduction: The Chicken-and-Egg Problem of Multi-Structure Fitting

In computer vision, "multi-structure fitting" involves finding multiple geometric models—such as lines, planes, or distinct motions—within a noisy dataset heavily populated with outliers. This presents a classic "chicken-and-egg" dilemma: to accurately fit the models, you must know which data points belong to them; however, to assign points to models, you need the model parameters first.

Traditional methods have typically relied on a disjoint two-stage approach:

  1. Sample: Randomly generate thousands of "putative" model hypotheses.
  2. Select: Use an optimization algorithm to pick the best subset of these hypotheses that maximizes a joint fitting and model selection criterion.

The authors argue that this two-stage approach is fundamentally inefficient and suboptimal. If the random sampling in the first stage fails to capture a valid structure—a common issue in high-dimensional spaces like fundamental matrices—the optimization in the second stage is doomed to fail. Furthermore, there is no clear "stopping criterion" for the initial sampling stage, often leading to wasted computational resources.

To overcome these weaknesses, this paper introduces a unified framework based on Adaptive Reversible Jump Markov Chain Monte Carlo (ARJMC). This method performs hypothesis sampling and model selection simultaneously, learning to generate better hypotheses on-the-fly.

Methodology: Adaptive Reversible Jump MCMC

Instead of picking from a pre-sampled, static pool of hypotheses, the proposed ARJMC algorithm "walks" through the space of possible models. It dynamically adjusts the model complexity by adding a structure (Birth), removing one (Death), or refining an existing one (Local Update).

Preference Analysis as a Grouping Cue

The "secret sauce" of this approach is its adaptive hypothesis generator, which utilizes a technique called Multi-GS. The algorithm analyzes the "preferences" of data points: if two points consistently "like" (i.e., fit well with) the same random hypotheses, they are highly likely to be part of the same underlying structure.

Evolution of the preference matrix as the number of samples increases.

The algorithm uses this preference information to guide future sampling toward more promising areas of the solution space. By performing sampling and fitting together, the algorithm creates a feedback loop—using the current "best fit" to inform where it should sample next. This allows the algorithm to implicitly cluster points into structures during the sampling process itself.

Theoretical Guarantees

A major hurdle in adaptive MCMC is ensuring the chain still converges to the correct target distribution (ergodicity). The authors provide a mathematical proof that their adaptive sampler satisfies the crucial "diminishing adaptation" property. This ensures that the "learning" stabilizes over time, guaranteeing that the final MCMC results remain theoretically valid.

Experiments and Results

The method was rigorously evaluated on several publicly available two-view motion segmentation datasets, including breadtoycar (3 motions), cubebreadtoychips (4 motions), and others. These datasets are notoriously challenging due to multiple moving objects, varying numbers of inliers per object, and a high percentage of false matches (outliers).

Motion segmentation results on a complex dataset with multiple moving objects.

Key Findings

  • Superior Efficiency: ARJMC consistently reached lower objective function values (indicating better geometric fits) in significantly less time than state-of-the-art two-stage methods like FLOSS, ENERGY, and QP-MF.
  • Lower Error Rates: On the breadtoycar dataset, ARJMC achieved a median segmentation error of 6.52% after just 1,000 hypotheses. In contrast, competing two-stage methods using the exact same adaptive sampler hovered between 7% and 25% error.
  • Rapid Convergence: While ARJMC starts with a higher initial error (because it begins with zero assumed structures), it rapidly "discovers" the correct models. It quickly overtakes traditional methods that start with a massive, but often low-quality, pool of pre-computed samples.

Limitations and Future Work

While highly effective, the ARJMC framework does have limitations. Because the algorithm learns online, it experiences an initial "blind" phase where error is high; it takes a few hundred iterations to "warm up" and begin proposing high-quality hypotheses. Additionally, the computational cost per iteration is higher than simple random sampling due to the overhead of updating preference weights and calculating MCMC acceptance probabilities. Finally, it requires tuning hyperparameters, such as the inlier threshold and the model complexity penalty.

Despite these limitations, the simultaneous sampling and fitting approach represents a significant step forward. The authors suggest this framework is highly extensible and could be applied to other complex computer vision tasks where the number of models is unknown, such as multi-homography detection or robust 3D reconstruction.

Summary updated

BibTeX
@inproceedings{pham2011simultaneous,
  author = {Trung-Thanh Pham and Tat-Jun Chin and Jin Yu and David Suter},
  title = {{Simultaneous Sampling and Multi-Structure Fitting with Adaptive Reversible Jump MCMC}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2011},
  url = {https://openreview.net/forum?id=HJbyCuW_-B},
}
Figure