(home)   //   (publications)   //   (blog)   //   (scans from the library)

The Failure of Sparse Smoothed Analysis

Earlier this week I posted a list of arguments why smoothed analysis is a poor model to study the running time of the simplex method. (Hence why we introduced by-the-book analysis which has none of those problems.)

One thing I mentioned was that the standard Klee-Minty cube is stable under zero-preserving perturbations. Someone asked me for a proof. Since there is currently no written source for this lore, I will write a quick proof here.

Let's start with some traditional Klee-Minty cubes:

maximizexdsubject to0x110.2xj1xj10.2xj1j{2,,d}.\begin{aligned} \operatorname{maximize} \quad &x_d \\ \operatorname{subject~to} \quad & 0 \leq x_1 \leq 1 \\ & 0.2 x_{j-1} \leq x_j \leq 1-0.2 x_{j-1} \qquad \forall j \in \{2,\dots,d\}. \end{aligned}

Assume the inequalities are ordered as shown: first we list both inequalities for j=2j=2 and then both inequalities for j=3j=3 and so on.

We shift the means slightly and then perturb all non-zero coefficients. This yields a linear program

maximizexdsubject to0.1+α1(1+γ1)x1(1+δ1)x10.9+ε10.1+αj+(0.2+βj)xj1(1+γj)xj(1+δj)xj(0.9+εj)(0.2+ηj)xj1j{2,,d}.\begin{aligned} \operatorname{maximize} \quad x_d \hphantom{\leq}& \\ \operatorname{subject~to} \quad 0.1 + \alpha_1 \leq& (1+\gamma_1) x_1 \\ & (1+\delta_1) x_1 \leq 0.9+\varepsilon_1 \\ 0.1 + \alpha_j + (0.2 + \beta_j) x_{j-1} \leq& (1+\gamma_j) x_j \\ & (1+\delta_j) x_j \leq (0.9+\varepsilon_j) - (0.2 + \eta_j) x_{j-1} \qquad \forall j \in \{2,\dots,d\}. \end{aligned}

Theorem. If α,β,γ,δ,ε,η[0.05,0.05]d\alpha,\beta,\gamma,\delta,\varepsilon,\eta \in [-0.05,0.05]^d then Bland's rule takes exponentially many pivot steps.

Proof. We go by induction. We prove that there are exactly 2d2^d bases, and Bland's rule will visit all bases when it starts at the basis minimizing xdx_d and works to maximize xdx_d. All basic feasible solutions xx satisfy x[0,1]dx \in [0,1]^d. The Bland path is reversible: if we start at the basis maximizing xdx_d and we use Bland's rule to minimize xdx_d then the same bases are visited but in reverse order.

We can check the base case d=1d=1 easily. The starting basis consists of the constraint 0.1+α1(1+γ1)x10.1 + \alpha_1 \leq (1+\gamma_1)x_1 and the end basis consists of the constraint (1+δ1)x10.9+ε1(1+\delta_1)x_1 \leq 0.9 + \varepsilon_1. The two basic feasible solutions 0.1+α11+γ1\frac{0.1 + \alpha_1}{1+\gamma_1} and 0.9+ε11+δ1\frac{0.9+\varepsilon_1}{1+\delta_1} are easily verified to be in [0,1][0,1].

When d2d \geq 2, assume that the induction statement has been proven for d1d-1. The starting basis for dd consists of all lower-bounding constraints: 0.1+α1(1+γ1)x10.1 + \alpha_1 \leq (1+\gamma_1)x_1 and 0.1+αj+(0.2+βj)xj1(1+γj)xj0.1 + \alpha_j + (0.2+\beta_j)x_{j-1}\leq(1+\gamma_j)x_j for all j{2,,d}j \in \{2,\dots,d\}.

Take the Bland path for d1d-1, and append to every basis in it the constraint 0.1+αj+(0.2+βj)xj1(1+γj)xj0.1 + \alpha_j + (0.2+\beta_j)x_{j-1} \leq (1+\gamma_j)x_j. These bases are now bases for the KM-cube in dd variables. The associated basic solutions are identical on coordinates 1,,d11,\dots,d-1 and have xd=0.1+αj+(0.2+βj)xd11+γjx_d = \frac{0.1 + \alpha_j + (0.2+\beta_j)x_{d-1}}{1+\gamma_j}. The Bland path for d1d-1 contains 2d12^{d-1} bases and increases the value of xd1x_{d-1} in every step. Since 1+γd[0.95,1.05]1+\gamma_d \in [0.95,1.05] and 0.1+αd[0.05,0.15]0.1 + \alpha_d \in [0.05,0.15] and 0.2+βd[0.15,0.25]0.2 + \beta_d \in [0.15,0.25] and xd1[0,1]x_{d-1} \in [0,1] we get xd[0,0.43]x_d \in [0, 0.43].

When we consider the constraint (1+δd)xd(0.9+εd)(0.2+ηd)xd1(1+\delta_d)x_d \leq (0.9+\varepsilon_d)-(0.2+\eta_d)x_{d-1}, we see that the left-hand side is at most 1.050.430.461.05 \cdot 0.43 \leq 0.46 and the right-hand side is at least 0.850.25=0.60.85-0.25 = 0.6. That is all we needed to check in order to verify that the bases constructed so far are feasible.

Every step on our path so far is improving. Due to our chosen ordering of the inequalities, the constraint 0.1+αj+(0.2+βj)xj1(1+γj)xj0.1 + \alpha_j + (0.2+\beta_j)x_{j-1} \leq (1+\gamma_j)x_j will not leave the basis until there is no other possible improving direction left. Hence our path so far is all part of the Bland path for our KM-cube in dd variables.

At the end of our path so far, Bland's rule will pivot out the constraint 0.1+αj+(0.2+βj)xj1(1+γj)xj0.1 + \alpha_j + (0.2+\beta_j)x_{j-1} \leq (1+\gamma_j)x_j and pivot in (1+δd)xd(0.9+εd)(0.2+ηd)xd1(1+\delta_d)x_d \leq (0.9+\varepsilon_d)-(0.2+\eta_d)x_{d-1}, since it is the only available improving move.

Now take again the Bland path for d1d-1, but reverse its order and append to every basis in it the constraint (1+δd)xd(0.9+εd)(0.2+ηd)xd1(1+\delta_d)x_d \leq (0.9+\varepsilon_d)-(0.2+\eta_d)x_{d-1}. This yields 2d12^{d-1} more bases for the dd-variable KM-cube. Because we reversed the order, the Bland path is decreasing xd1x_{d-1}. Since 0.2+ηd>00.2+\eta_d > 0 and 1+δd>01+\delta_d > 0, the path is thus increasing the value of xdx_d. We have now constructed our full Bland path of 2d2^d bases. It remains to show that these final 2d12^{d-1} bases are feasible and in [0,1]d[0,1]^d. Note that 1+δd[0.95,1.05]1+\delta_d \in [0.95,1.05], 0.9+εd[0.85,0.95]0.9+\varepsilon_d \in [0.85,0.95] and 0.2+ηd[0.15,0.25]0.2+\eta_d \in [0.15,0.25]. Since xd1[0,1]x_{d-1} \in [0,1] we get xd=0.9+εd(0.2+ηd)xd11+δd[0.57,1]x_d = \frac{0.9+\varepsilon_d - (0.2+\eta_d)x_{d-1}}{1+\delta_d} \in [0.57, 1]. The only constraint that can lead to infeasiblity is 0.1+αj+(0.2+βj)xj1(1+γj)xj0.1 + \alpha_j + (0.2+\beta_j)x_{j-1} \leq (1+\gamma_j)x_j but its left-hand side is at most 0.40.4 and its right-hand side is at least 0.570.57, hence the bases are all feasible. QED

Interpretation

This theorem directly shows us that Bland's rule has exponential complexity under both relative and zero-preserving smoothed analysis. When we rescale the inequalities by large numbers in the standard way, it follows directly that Dantzig's most-negative reduced cost rule has exponential complexity for relative smoothed analysis.

In my previous post I interpreted the above theorem by stating that zero-preserving smoothed analysis is a dead end. While I stand by that statement, I do want to give a second possible interpretation.

Namely, you can conclude that Bland's rule is just bad.[1] More specifically: Bland's rule is purely combinatorial in nature. Perturbations are (stochastic) geometry. It is no wonder that Bland's pivoting decisions fail to benefit from perturbations. Dantzig's rule is also bad of course. In this case, specifically because it fails to be scale-invariant with respect to rescaling the inequalities. Dantzig thus similarly fails to be a geometrically-steered pivot rule.

When your pivot rule does incorporate the ambient geometry, you can do significantly better than zero-preserving smoothed analysis. In fact, in the by-the-book paper we bound the running time of a simplex method in a much weaker probabilistic model: only the right-hand side is perturbed.[2] That is part of why we are so proud of the BTB paper: its both mathematically stronger and scientifically more robust than what we had before.

[1] Every practitioner will agree.
[2] We use the semi-random shadow vertex pivot rule, which generally prefers steeper edges over shallower edges. Hence it incorporates the ambient geometry. The analysis also needs some additional minor assumptions to make the definitions make sense: RHS perturbations alone lack scale.