Hybrid Linear Modeling via Local Best-fit Flats

Teng Zhang, Arthur Szlam, Yi Wang, Gilad Lerman · DOI

Abstract

We present a simple and fast geometric method for modeling data by a union of affine subspaces. The method begins by forming a collection of local best-fit affine subspaces, i.e., subspaces approximating the data in local neighborhoods. The correct sizes of the local neighborhoods are determined automatically by the Jones' $\beta_2$ numbers (we prove under certain geometric conditions that our method finds the optimal local neighborhoods). The collection of subspaces is further processed by a greedy selection procedure or a spectral method to generate the final model. We discuss applications to tracking-based motion segmentation and clustering of faces under different illuminating conditions. We give extensive experimental evidence demonstrating the state of the art accuracy and speed of the suggested algorithms on these problems and also on synthetic hybrid linear data as well as the MNIST handwritten digits data; and we demonstrate how to use our algorithms for fast determination of the number of affine subspaces.

Introduction

In many real-world applications, high-dimensional data does not reside on a single linear manifold but rather on a collection of low-dimensional affine subspaces, or "flats." For instance, in motion segmentation, feature points from distinct moving objects in a video sequence lie on different 3D affine subspaces. Similarly, images of a face under varying illumination conditions form a low-dimensional subspace. The challenge of Hybrid Linear Modeling (HLM) is to simultaneously identify which points belong to the same subspace and determine the mathematical parameters of those subspaces.

Existing approaches often struggle with a trade-off between robustness and efficiency. Global methods like Generalized Principal Component Analysis (GPCA) are computationally intensive and sensitive to noise. Conversely, local methods like Local Subspace Analysis (LSA) typically rely on fixed neighborhood sizes. If the neighborhood is too small, noise can dominate the signal; if too large, it may include points from adjacent subspaces, leading to inaccurate modeling.

Methodology: Adaptive Scale Selection

The core innovation of this work is an adaptive method for determining the "optimal" neighborhood size for each data point. This is achieved using the Jones’ $\beta_2$ number, a scale-invariant error measure that represents the ratio of the best-fit error to the neighborhood's radius.

Finding the Optimal Neighborhood

For each point $x$, the algorithm iteratively grows a neighborhood $\mathcal{N}_k$ and monitors the $\beta_2$ number. The optimal neighborhood is identified at the first local minimum of this value, representing the largest scale that contains points primarily from the same subspace. This process is formalized in Algorithm 1.

Algorithm 1: Neighborhood size selection for HLM using randomized local best-fit flats.

Global Model Construction

Once local best-fit flats are established, the global model is constructed using one of two proposed algorithms:

  • LBF (Local Best-fit Flats): A greedy approach that selects candidate flats and iteratively optimizes them to minimize the $\ell_1$ distance from data points to their nearest flat, ensuring high robustness to outliers.
  • SLBF (Spectral LBF): A spectral clustering method that builds a similarity matrix based on the mutual fit between local flats and data points, followed by eigenvector-based clustering.

Experimental Evaluation

The proposed algorithms were evaluated against several benchmarks, including the Hopkins 155 motion segmentation dataset, the Extended Yale Face Database B, and the MNIST handwritten digits dataset.

Experimental results comparing LBF and SLBF against state-of-the-art methods across various synthetic and real-world datasets.

Key Results

  • Efficiency: LBF and SLBF demonstrate significant speed advantages, often running up to 10 times faster than competing methods like Sparse Subspace Clustering (SSC) or Agglomerative Lossy Compression (ALC).
  • Accuracy and Robustness: On the Hopkins 155 dataset, SLBF-MS achieved a mean error of 0.98% for two-motion sequences. In synthetic tests with 30% outliers, LBF maintained an error rate of approximately 3.7%, significantly outperforming traditional methods like K-flats, which exceeded 15% error.
  • Subspace Separation: For datasets like Yale B where subspaces are closely aligned, the authors found that a "whitening" step (removing the first few principal components) significantly improves clustering performance.

Conclusion

By leveraging adaptive neighborhood selection via $\beta_2$ numbers, LBF and SLBF provide a powerful framework for Hybrid Linear Modeling. These methods offer a unique combination of speed, accuracy, and robustness, making them suitable for large-scale computer vision tasks. Future work may extend these concepts to curved manifolds by "gluing" local best-fit flats based on smoothness constraints.

Summary updated

BibTeX
@article{zhang2012hybrid,
  author = {Teng Zhang and Arthur Szlam and Yi Wang and Gilad Lerman},
  title = {{Hybrid Linear Modeling via Local Best-fit Flats}},
  journal = {International Journal of Computer Vision2012},
  year = {2012},
  url = {https://openreview.net/forum?id=BjgeZ2gPxuaB},
}

Loading related content...

Figure