RANSAC Revisited: An Improved Algorithm for Robust Subspace Recovery under Adversarial and Noisy Corruptions

Guixian Chen, Jianhao Ma, Salar FattahiarXiv 2025 · DOI

Abstract

Robust Subspace Recovery (RSR) is a critical task in high-dimensional data analysis, often complicated by adversarial outliers and Gaussian noise. While the Random Sample Consensus (RANSAC) algorithm offers robustness against outliers, its practical utility is limited by exponential computational costs, sensitivity to noise, and the requirement for precise knowledge of the subspace dimension. We introduce RANSAC+, a two-stage algorithm that addresses these limitations. By employing a coarse-to-fine estimation strategy, RANSAC+ decouples the search complexity from the ambient dimension, providing a noise-resilient and rank-agnostic solution. Experimental results demonstrate that RANSAC+ significantly outperforms existing methods in both efficiency and robustness under adversarial conditions.

Introduction

Robust Subspace Recovery (RSR) aims to identify a low-dimensional subspace within a dataset that may contain corrupted points. Modern RSR algorithms often assume random outlier distributions, but adversarial settings require more robust approaches. Classic RANSAC is a benchmark for robustness but suffers from three major drawbacks: high computational cost scaling with ambient dimension, extreme sensitivity to Gaussian noise, and the need for exact rank knowledge. RANSAC+ is designed to overcome these "deal-breakers," making robust recovery practical for high-dimensional, noisy environments.

Methods

RANSAC+ utilizes a two-stage recovery process to decouple complexity:

  1. Stage 1: Coarse-Grained Estimation. The algorithm identifies a subspace $\mathcal{V}$ of dimension $O(r^*)$ that contains the true subspace $S^*$. This is achieved by iteratively sampling points and doubling batch sizes until a threshold is met. This stage is rank-agnostic and effectively reduces the ambient dimension from $d$ to $O(r^*)$.
  2. Stage 2: Fine-Grained Estimation. The dataset is projected onto $\mathcal{V}$, and a specialized robust RANSAC variant is applied. Because the ambient dimension is now reduced, the exponential search cost is no longer multiplied by the large ambient dimension or total sample size.

Key Results

RANSAC+ demonstrates superior performance across several metrics. In adversarial scenarios, it remains robust at corruption rates where other modern methods fail.

Figure 1: Comparison of RANSAC+ with other RSR methods under varying adversarial corruption rates.

Furthermore, RANSAC+ exhibits linear error scaling with noise and maintains efficiency as the subspace dimension increases. Unlike classic RANSAC, it is resilient to rank overestimation, maintaining low distance from the true subspace even when the assumed rank is incorrect.

Figure 4: Performance of RANSAC+ vs. RANSAC regarding rank overestimation (left), noise intensity (middle), and runtime scaling (right).

Conclusion

RANSAC+ provides a robust, efficient, and rank-agnostic framework for RSR. While it retains an exponential complexity term relative to the subspace dimension—a consequence of the problem's NP-hardness—it is highly effective for low-rank applications. Future work will focus on adaptive noise thresholding and validation on real-world adversarial datasets.

Summary updated

BibTeX
@misc{chen2025ransac,
  author = {Guixian Chen and Jianhao Ma and Salar Fattahi},
  title = {{RANSAC Revisited: An Improved Algorithm for Robust Subspace Recovery under Adversarial and Noisy Corruptions}},
  year = {2025},
  eprint = {2504.09648},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.09648},
}
Figure