Don't Be So Positive: Negative Step Sizes in Second-Order Methods

Betty Shea, Mark Schmidt

TL;DR

When second-order optimization methods encounter non-convex loss surfaces, they can produce "ascent" directions that point uphill. Rather than altering the Hessian or falling back to gradient descent, this paper shows that simply taking a negative step size preserves valuable curvature information while ensuring descent. Paired with a generalized Wolfe line search (Wolfe±), this straightforward trick provides global convergence guarantees and allows quasi-Newton methods like SR1 to rival or outperform Adam on neural network training tasks.

What Problem Does This Paper Address?

In deep learning, second-order optimization methods (such as Newton's method and quasi-Newton approximations) are largely sidelined in favor of first-order methods like Adam and SGD. A key reason is non-convexity: in non-convex landscapes, the true Hessian is rarely positive definite. Consequently, classical second-order updates can produce search directions that point uphill or head directly toward saddle points.

Standard fixes—such as trust-region methods, cubic regularization, or Hessian modifications (like eigenvalue damping or BFGS updates)—force the Hessian to be positive definite. However, these techniques come with steep trade-offs:

  1. Computational overhead: Damping often requires expensive eigenvalue decompositions.
  2. Loss of curvature information: Altering the Hessian or pulling the update closer to the negative gradient discards the negative curvature information needed to efficiently escape saddle points and navigate ill-conditioned ravines.

Methods

The authors propose a remarkably simple solution: allow the step size $\alpha_k$ to be negative.

  • The Core Intuition: If a second-order direction $p_k$ points uphill ($\nabla f(x_k)^\top p_k > 0$), reversing it to $-p_k$ (or choosing $\alpha_k < 0$) points downhill while preserving all second-order curvature information intact.
  • Wolfe± Line Search: The standard Wolfe conditions require $p_k$ to be a descent direction. The authors generalize this into Wolfe±:
  • If $\nabla f(x_k)^\top p_k < 0$, run a standard Wolfe line search along $p_k$.
  • If $\nabla f(x_k)^\top p_k > 0$, run the standard Wolfe line search along $-p_k$ and negate the resulting step size.
  • Convergence Proof: The authors prove that any algorithm using updates of the form $x_{k+1} = x_k + \alpha_k p_k$ with non-zero step sizes satisfying the modified Wolfe conditions satisfies Zoutendijk’s condition and is globally convergent, provided $f$ is continuously differentiable with Lipschitz gradients, bounded below, and $p_k$ is not orthogonal to the gradient.

Datasets

The authors evaluated the method across 14 standard binary classification benchmark datasets from the machine learning optimization literature:

  • Small-to-moderate feature spaces: heart, ionosphere, splice, svmguide3, ijcnn1, w1a, w8a, a1a, a9a.
  • High-dimensional / feature-rich settings: colon-cancer ($62 \times 2{,}000$), madelon ($2{,}000 \times 500$), mushrooms ($8{,}124 \times 112$), gisette ($6{,}000 \times 5{,}000$), and leukemia ($38 \times 7{,}129$).

No new datasets were introduced.

Key Insights and Ideas

  • Symmetric Rank-One (SR1) Finds New Life: SR1 approximations are known to approximate the true Hessian better than BFGS because they do not force positive definiteness. However, standard SR1 diverges when encountering ascent directions. Combining SR1 with Wolfe± eliminates this instability without expensive damping.
  • Preserving Negative Curvature Matters: BFGS guarantees positive definiteness at every iteration, but this bias prevents it from capturing negative curvature accurately. In practice, full and limited-memory SR1 with negative step sizes outperformed BFGS in final training error.
  • Zero Overhead Globalization: Damping requires computing the most negative eigenvalue (via SVD/spectral decomposition). In contrast, checking the sign of the directional derivative $\nabla f(x_k)^\top p_k$ and negating the search vector introduces virtually zero computational overhead.

Key Results

  • Avoiding Failure on High Dimensions: When testing limited-memory SR1 (l-SR1), eigenvalue damping (l-SR1+damp) failed to finish within the allocated time (marked as DNF) on high-dimensional datasets like colon-cancer, gisette, and leukemia. Meanwhile, l-SR1+Wolfe± ran seamlessly.
  • Optimization Performance: On 14 benchmark tasks, l-SR1+Wolfe± achieved the lowest training error on 6 datasets and was closely competitive on the rest:
  • On colon-cancer: l-SR1+Wolfe± achieved a training error of 0.003, compared to 0.046 for Adam and 0.006 for GD.
  • On mushrooms: l-SR1+Wolfe± achieved 0.009, outperforming Adam (0.018) and GD (0.040).
  • On gisette: l-SR1+Wolfe± achieved 0.050, substantially outperforming Adam (0.171) and GD (0.139).
  • Network Depth Scaling: In multi-layer perceptron experiments with 1, 2, and 3 hidden layers on the heart dataset, the advantage of SR1(p+n) over BFGS, standard SR1, and first-order baselines became increasingly pronounced as network depth grew.

Limitations and Future Work

  • Deterministic / Full-Batch Focus: The empirical results and theoretical convergence proofs are framed around deterministic unconstrained optimization. Deep learning overwhelmingly relies on mini-batch stochastic optimization, which is not evaluated here.
  • Orthogonality Caveat: Global convergence still assumes that the search direction $p_k$ is bounded away from being orthogonal to the gradient ($|\cos \theta_k| \ge \delta > 0$).
  • Model Scale: Experiments were restricted to relatively small multi-layer perceptrons on tabular/dense datasets rather than modern large-scale vision or language architectures.

Summary updated

BibTeX
@inproceedings{shea2024don,
  author = {Betty Shea and Mark Schmidt},
  title = {{Don't Be So Positive: Negative Step Sizes in Second-Order Methods}},
  booktitle = {OPT @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=ROoWk1IWA3},
}
Figure