Sparse Updates Degrade Generalization More Mildly Than Optimization: Stability Analysis for Randomized Subspace Descent

Yifei Liang, Yan Sun, Yifei Cheng, Haobo Fu, Xiaochun Cao, Li ShenNeurIPS 2026

TL;DR

When training massive models, updating only a tiny slice of parameters at each step saves precious memory and compute, though it predictably slows down training convergence. This paper asks what that sparsity does to how well the model actually learns to generalize to unseen data—and finds a pleasant surprise: generalization degrades much more gently than optimization speed. By unifying a whole zoo of sparse-update methods under one mathematical roof, the authors show that you pay a steep linear tax in training steps, but only a mild fractional tax in statistical performance.

What Problem Does This Paper Address?

Modern machine learning has a weight problem. Maintaining optimizer states and communicating gradients for billions of parameters can cost as much as computing the gradients themselves. The standard workaround is to be selective: at each step, only update a single coordinate, a block of layers, or a random low-dimensional subspace.

We already know from optimization theory how much this slows down minimizing error on the training set. What we didn't know is the statistical consequence: how does restricting update directions affect population risk (test error on unseen data)? Population risk is a tug-of-war between optimization (fitting the data) and generalization (not memorizing noise). Existing stability analyses—which measure generalization by asking "how much does my trained model change if I swap out one training data point?"—couldn't handle overlapping, non-axis-aligned subspaces, custom per-block learning rates, and the inherent randomness of nonconvex outputs all at once.

Methods

Instead of analyzing algorithms piecemeal, the authors analyze Randomized Subspace Descent (RSD)—a unified framework where each step projects the full gradient onto a randomly sampled subspace. Under a condition called joint isotropy (meaning on average, no direction in parameter space is favored over another), standard Gradient Descent (GD), Randomized Coordinate Descent (RCD), Block Coordinate Descent (BCD), and Stochastic Subspace Descent (SSD) all collapse into special cases governed by a single coverage parameter $\alpha \in (0, 1]$, representing the average fraction of parameter space explored per step.

To measure generalization, they use on-average model stability, coupling two runs on neighboring datasets so they share the exact same random subspace draws. They introduce two clever mathematical tools to make this work beyond basic settings:

  1. Block Lyapunov Geometry ($D_{\mathcal{L}}$): In practice, BCD uses custom step sizes for each block based on its local curvature (smoothness $L_i$), taking bigger leaps on flatter blocks. Standard Euclidean distance breaks here, so the authors craft a curvature-weighted distance metric to track stability.
  2. Moment Separation via Hölder’s Inequality: For nonconvex landscapes (analyzed under the local Polyak–Łojasiewicz, or PŁ, condition, which ensures gradients don't vanish before hitting a minimum), the final model is random, tangling optimization residuals with local curvature. Applying Hölder’s inequality neatly separates gradient size from inverse-curvature sensitivity without needing unrealistic uniform curvature bounds.

Datasets

No new benchmarks are introduced. In the main text, the authors evaluate their theory on:

  • a9a: Used for regularized logistic regression in convex curvature-balance sweeps (alongside ridge regression and shallow mean-squared-error neural networks on synthetic teacher–student setups and unspecified standard benchmarks detailed in the appendices).
  • WikiText-103: Used for block-sparse fine-tuning of GPT-2 Small.

Key Insights and Ideas

  • Generalization takes a smaller hit than optimization: If you only update a fraction $\alpha$ of the space per step, convex optimization slows down by $O(1/\alpha)$. Why doesn't stability blow up too? Because sparse projections shrink both your optimization progress and your sensitivity to any single noisy data point! When balanced via early stopping, the excess test risk penalty is only $O(\alpha^{-1/4})$ in general convex settings, and $O(\alpha^{-1/2})$ in low-noise regimes.
Optimization gap grows steeply (~1/α) as coverage shrinks, while the generalization gap stays nearly flat.
  • Finer blocks can break stability guarantees if curvature is lopsided: When using blockwise step sizes ($1/L_i$) in convex BCD, stability requires a "curvature balance" condition: global smoothness must be less than twice the smallest block smoothness ($L_f < 2L_{\min}$). Slicing a model into tiny blocks makes individual blocks flatter ($L_{\min}$ drops), which shrinks this safety margin.
  • In nonconvex training, $\alpha$ acts like a clock: Under local PŁ conditions, $\alpha$ doesn't explicitly multiply the excess-risk bound. Instead, smaller $\alpha$ stretches out the required training horizon proportionally ($1/\alpha$), affecting generalization indirectly through the gradient and curvature statistics of wherever the random trajectory stops.

Key Results

The theoretical trade-offs across convex and nonconvex regimes are unified cleanly in the paper's main comparison:

Summary of early-stopped excess-risk bounds and training horizons across convex and nonconvex settings.

Empirically, the predictions hold up nicely:

  • GPT-2 Small on WikiText-103: Fine-tuning by randomly updating subsets of its 12 Transformer blocks at a fixed budget of 20,000 steps degrades perplexity from 27.91 ($\alpha=1$, all blocks) to 37.84 ($\alpha=1/12$, 1 block/step). Stretching the horizon by $1/\alpha$ to 240,000 steps—matching total expected updates per block—recovers perplexity to 28.96 (just a 1.05 gap).
  • Curvature Balance Sweep: On a9a logistic regression across 100 random partitions, the safety condition $L_f < 2L_{\min}$ held 100% of the time for 2 blocks, 65–100% for 4 blocks, 0–18% for 8 blocks, and 0% for 16 blocks—confirming that aggressive partitioning alters stability dynamics alongside compute.

Limitations and Future Work

Theory requires clean sandboxes, and the authors are upfront about theirs: the proofs assume full-batch gradients (not mini-batch SGD), uniform smoothness, and fixed, data-independent subspace sampling. That means popular adaptive optimizers (like AdamW, used in their GPT-2 experiment), state-dependent subspace methods, and standard LoRA (whose low-rank factor updates aren't orthogonal projections) fall outside the strict theoretical guarantees. Extending this framework to mini-batch noise, adaptive step sizes, validation-based early stopping, and high-probability bounds (rather than bounds in expectation) are all ripe territory for future work.

Summary updated

Abstract

Large-scale learning increasingly relies on updating only a coordinate, a block, or a low-dimensional subspace to reduce memory and communication costs, yet the statistical consequence of reduced update coverage remains unclear. Existing coordinate-level and common-step analyses do not jointly characterize how subspace coverage, blockwise step sizes, and output randomness affect population risk. We analyze randomized subspace descent (RSD), which recovers GD, RCD, BCD, and isotropic SSD. Under fixed, data-independent joint isotropy, expected projection energy reduces to a single coverage parameter $\alpha$. For all $N\ge1$ and $\alpha\in(0,1]$, the convex excess-risk bound is $O(\min\{\alpha^{-1/4}N^{-1/2},1\})$, improving to $O((N\sqrt{\alpha})^{-1})$ under low noise, both milder than the $O(1/\alpha)$ optimization slowdown. In the nonconvex local Polyak–Łojasiewicz setting, smaller $\alpha$ lengthens the horizon and affects the bound through stopped-output moments. The analysis extends to the canonical blockwise step sizes $\eta_t=1/L_{i_t}$ through a curvature-matched Lyapunov geometry. Hölder’s inequality separates gradient and inverse-curvature moments without a uniform positive lower bound on neighboring curvature. Experiments on convex and nonconvex benchmarks and block-sparse GPT-2 fine-tuning support the predicted coverage–horizon trade-off.
BibTeX
@inproceedings{liang2026sparse,
  author = {Yifei Liang and Yan Sun and Yifei Cheng and Haobo Fu and Xiaochun Cao and Li Shen},
  title = {{Sparse Updates Degrade Generalization More Mildly Than Optimization: Stability Analysis for Randomized Subspace Descent}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=weRx6oFuWD},
}
Figure