Multi-class Model Fitting by Energy Minimization and Mode-Seeking

Daniel Barath, Jiri Matas

Introduction

In computer vision, interpreting complex datasets often requires fitting geometric models to noisy point clouds. While traditional methods like RANSAC excel at identifying a single instance of a specific shape, real-world scenarios are rarely so simple. Messy datasets frequently contain multiple instances of different shapes—such as walls (planes) and pillars (cylinders) in a 3D scan—buried under significant noise and outliers.

This paper addresses the "multi-class multi-instance" model fitting problem. Most existing tools are designed for single-class cases (e.g., finding multiple lines). Multi-class fitting is significantly more challenging because different geometric shapes operate in different parameter spaces. Previous approaches were often slow, greedy, or required extensive manual parameter tuning. The authors propose Multi-X, a robust framework designed to handle multiple classes simultaneously with high speed and minimal manual intervention.

The Multi-X Framework

Multi-X builds upon the PEARL (Propose, Expand, and Re-estimate Labels) algorithm, introducing a novel three-step iterative loop to refine model hypotheses.

  1. Instance Generation: The process begins by proposing a large number of potential model hypotheses (e.g., thousands of random lines, circles, or planes).
  2. Mode-Seeking (The Core Innovation): Instead of simply assigning points to the best available hypothesis, Multi-X employs Median-Shift (a robust variant of Mean-Shift) within the parameter space. By analyzing the density of hypotheses, the algorithm replaces clusters of redundant models with a single, optimized "mode." This drastically reduces the search space and prevents the algorithm from converging on multiple nearly-identical models.
  3. Energy Minimization: Using $\alpha$-expansion graph-cut techniques, data points are assigned to models by minimizing an energy function that balances data fit, spatial coherence (geometric priors), and a label cost penalty to prevent overfitting.
Multi-X simultaneously fitting different geometric classes (circles and planes) to a single image.

To bridge the gap between different geometric classes (like a line versus a homography), the authors utilize the Hausdorff distance. By representing models as point sets, they create a "universal language" that allows different shapes to be compared and optimized within the same mode-seeking step.

Experimental Evaluation

The authors evaluated Multi-X across several diverse benchmarks, ranging from synthetic 2D data to real-world 3D LIDAR scans:

  • AdelaideRMF: A standard dataset for homography and motion segmentation.
  • Hopkins 155: A video dataset used for tracking multiple moving objects.
  • LIDAR Point Clouds: Real-world 3D scans requiring simultaneous plane and cylinder fitting for infrastructure detection.
Multi-X applied to a LIDAR point cloud, successfully segmenting planes and cylinders in a complex scene.

Key Results

Multi-X consistently outperformed state-of-the-art methods such as PEARL, T-Linkage, and RPA in both accuracy and computational efficiency:

  • Accuracy: On AdelaideRMF plane segmentation, Multi-X achieved a median error of 0.00% on several sequences where competing methods averaged 4% to 6% error.
  • Speed: The algorithm is approximately an order of magnitude faster than previous energy-minimization implementations.
  • Robustness: In synthetic tests with high noise, Multi-X reliably identified the correct number of models, whereas other methods often "hallucinated" extra models or missed valid ones.

Conclusion and Future Work

Multi-X represents a significant step toward automated, robust multi-class model fitting. By shifting the focus to density estimation in the parameter domain and automating label cost calculations, it removes the need for an "expert-in-the-loop" to tweak settings for every new dataset.

However, limitations remain. The current framework assumes each data point belongs to exactly one model, making it unsuitable for points at the intersection of two structures. Future research may explore hierarchical models (e.g., fundamental matrices consistent with specific homographies) and more complex geometric priors to handle even more intricate scene relationships.

Summary updated

BibTeX
@inproceedings{barath2018multi,
  author = {Daniel Barath and Jiri Matas},
  title = {{Multi-class Model Fitting by Energy Minimization and Mode-Seeking}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  doi = {10.1007/978-3-030-01270-0\_14},
}
Figure