Skip to main content
QUICK REVIEW

[Paper Review] Smoothed Analysis of Algorithms: Why the Simplex Algorithm Usually Takes Polynomial Time

Daniel A. Spielman, Shang‐Hua Teng|arXiv (Cornell University)|Nov 19, 2001
Advanced Optimization Algorithms ResearchMathematics33 references52 citations
TL;DR

This paper introduces smoothed analysis as a hybrid framework between worst-case and average-case analysis, applying it to the simplex algorithm for linear programming. It proves that under small random perturbations of the input, the simplex method runs in polynomial time in expectation, resolving a long-standing discrepancy between theoretical worst-case bounds and practical performance.

ABSTRACT

We introduce the smoothed analysis of algorithms, which is a hybrid of the worst-case and average-case analysis of algorithms. In smoothed analysis, we measure the maximum over inputs of the expected performance of an algorithm under small random perturbations of that input. We measure this performance in terms of both the input size and the magnitude of the perturbations. We show that the simplex algorithm has polynomial smoothed complexity.

Motivation & Objective

  • Address the disconnect between the worst-case exponential complexity of the simplex algorithm and its consistently good practical performance.
  • Overcome limitations of average-case analysis, which assumes inputs are uniformly random and may not reflect real-world data.
  • Develop a new analytical framework—smoothed analysis—that evaluates algorithm performance under small random perturbations of worst-case inputs.
  • Establish polynomial smoothed complexity for the simplex algorithm, showing it typically performs efficiently even on adversarial inputs when slightly perturbed.

Proposed method

  • Define smoothed analysis as the maximum over all inputs of the expected running time under small Gaussian perturbations of the input.
  • Apply the shadow vertex method, a variant of the simplex algorithm that traces the shadow of the objective function over the feasible polyhedron.
  • Bound the size of the shadow path using geometric and probabilistic tools, including distance and angle bounds between vectors.
  • Use change-of-variables and Jacobian determinants to analyze the probability density of perturbed constraint matrices.
  • Leverage properties of Gaussian distributions and tail bounds to control the likelihood of ill-conditioned or degenerate instances.
  • Analyze two phases: a phase to find a feasible starting basis and a phase to optimize the objective, bounding the expected number of steps in each.

Experimental results

Research questions

  • RQ1Why does the simplex algorithm perform well in practice despite having exponential worst-case complexity?
  • RQ2Can a theoretical framework be developed that explains the practical efficiency of algorithms like simplex without relying on unrealistic average-case assumptions?
  • RQ3Does the simplex algorithm have polynomial expected running time under small random perturbations of the input data?
  • RQ4How does smoothed analysis handle degeneracy and ill-conditioning in linear programs?
  • RQ5Can smoothed complexity be extended to other algorithms with poor worst-case performance but good practical behavior?

Key findings

  • The simplex algorithm has polynomial smoothed complexity in the input size and the standard deviation of Gaussian perturbations.
  • The expected number of pivot steps in the shadow vertex method is bounded by a polynomial in the number of variables and constraints, and in the inverse of the perturbation standard deviation.
  • The probability of encountering a linear program with a large shadow path—indicating slow convergence—is exponentially small under small perturbations.
  • Degeneracy does not prevent the algorithm from making progress, as the shadow vertex method continues to advance along the shadow even when multiple bases correspond to the same vertex.
  • The analysis extends to degenerate cases where the feasible set lies in a lower-dimensional affine subspace, as long as perturbations preserve the affine hull.
  • Relative smoothed complexity remains an open problem, but the framework suggests that the simplex method may also have polynomial relative smoothed complexity under appropriate perturbation models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.