Smoothed analysis of algorithms: Why the simplex algorithm usually takes polynomial time

Daniel A. Spielman, Shang-Hua Teng · DOI

TL;DR

This paper introduces "smoothed analysis" as a new framework to bridge the gap between worst-case and average-case algorithm analysis. They demonstrate its power by showing that the simplex algorithm for linear programming, notorious for its exponential worst-case complexity, actually has polynomial smoothed complexity, explaining its practical efficiency.

What Problem Does This Paper Address?

Many algorithms work exceptionally well in practice, yet their theoretical worst-case analysis suggests they should be prohibitively slow. This disconnect is often attributed to the artificiality of worst-case inputs or the unsuitability of average-case analysis for real-world data. The authors propose "smoothed analysis" to address this by analyzing an algorithm's performance under small, random perturbations of any input. This approach aims to explain why algorithms with poor worst-case bounds often perform well in practice, by considering inputs that are "close" to typical ones.

Methods

The core contribution is the introduction of smoothed analysis. This framework defines smoothed complexity as the maximum expected performance of an algorithm over all inputs, after those inputs have been subjected to small random perturbations. The authors specifically apply this to the simplex algorithm for linear programming. They introduce a two-phase shadow-vertex simplex method and analyze its performance using geometric properties of polytopes and sophisticated probability bounds, particularly focusing on Gaussian perturbations. The analysis involves intricate geometric arguments about "shadows" of polytopes and probabilistic lemmas concerning Gaussian distributions.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Smoothed Analysis as a New Paradigm: This paper introduces a novel framework that offers a more realistic assessment of algorithm performance than traditional worst-case or average-case analyses. It accounts for the inherent noise or imprecision often present in real-world data.
  • Explaining the Simplex Algorithm's Success: The authors provide a theoretical explanation for why the simplex algorithm, despite its exponential worst-case complexity, is so efficient in practice. Smoothed analysis reveals that small perturbations to inputs lead to polynomial-time performance.
  • Geometric Interpretation of Algorithm Performance: The analysis leverages geometric concepts like "shadows" of polytopes and their projections to understand how algorithms traverse the solution space.
  • Bridging Theory and Practice: Smoothed analysis offers a way to reconcile theoretical worst-case bounds with observed practical performance, providing a more nuanced understanding of algorithmic efficiency.

Key Results

The paper shows that the simplex algorithm, when analyzed using smoothed analysis with Gaussian perturbations, has a polynomial smoothed complexity. This means its expected running time, under small random perturbations of the input, is polynomial in the input size and inversely polynomial in the standard deviation of the perturbations. This result directly addresses the long-standing puzzle of the simplex algorithm's practical efficiency.

Limitations and Future Work

The authors acknowledge that the polynomial bounds derived are quite large and could likely be improved. They suggest that further work could focus on simplifying the analysis and obtaining tighter bounds. They also propose extending smoothed analysis to other pivot rules for the simplex algorithm and exploring its application to other algorithms that exhibit a similar gap between theoretical worst-case performance and practical efficiency. Additionally, they mention the possibility of developing a more refined model of perturbations that preserves certain structures in the input data, such as zero-preserving or relative perturbations.

Summary updated

BibTeX
@article{spielman2004smoothed,
  author = {Daniel A. Spielman and Shang-Hua Teng},
  title = {{Smoothed analysis of algorithms: Why the simplex algorithm usually takes polynomial time}},
  journal = {J. ACM},
  year = {2004},
  doi = {10.1145/990308.990310},
}
Figure