Optimizers Qualitatively Alter Solutions And We Should Leverage This

Razvan Pascanu, Clare Lyle, Ionut-Vlad Modoranu, Naima Elosegui Borras, Dan Alistarh, Petar Velickovic, Sarath Chandar, Soham De, James MartensarXiv 2025 · DOI

Abstract

Optimization in deep learning is typically framed as a race to the bottom of a loss curve, with speed and efficiency as the primary metrics of success. This paper challenges that narrow perspective, arguing that the choice of optimizer is a powerful lever for "sculpting" the final model's qualitative properties. In non-convex landscapes, different optimizers navigate toward distinct minima, encoding unique inductive biases into the learned representations. Through case studies on second-order preconditioning and optimization-induced sparsity, we demonstrate that the learning algorithm determines the "effective expressivity" of a model—shaping properties like feature rank, sparsity, and the ability to learn continually without catastrophic forgetting.

Introduction: Beyond the Convex Mental Model

In the early development of neural networks, the non-convexity of loss landscapes was seen as a primary obstacle. However, as large-scale training became successful, the community largely adopted a "convex mental model." In this view, the goal of a new optimizer is simply to reach a global minimum faster or with less computational overhead.

Figure 1: In non-convex landscapes, different optimizers (A and B) can converge to entirely different local minima, whereas in convex scenarios, they converge to the same point.

The authors argue that this perspective ignores the reality that non-convex landscapes contain many performant solutions with vastly different qualitative characteristics. While we currently rely on architecture design and data curation to shape model behavior, the learning algorithm itself represents a neglected third lever. The optimizer doesn't just find a solution; it determines which representable functions are actually reachable.

Methods and Case Studies

This position is supported by two primary "thought experiment" case studies:

1. Non-diagonal Preconditioning for Continual Learning

The study compares standard first-order methods (SGD and Adam) against Shampoo, a second-order optimizer utilizing non-diagonal preconditioning. While Adam uses diagonal preconditioning to scale gradients, Shampoo accounts for correlations between parameters. The goal was to observe how these choices affect "catastrophic forgetting" during sequential task learning.

2. Optimization-Induced Sparsity

The authors revisit Power-propagation, a method that encourages sparsity by raising weights to a power. They demonstrate a mathematical duality: what was originally framed as an architectural reparameterization can be recast as a specific choice of preconditioner. This preconditioner creates saddle points at zero, forcing the optimizer to favor sparse solutions without requiring traditional $L_1$ or $L_2$ regularizers.

Key Insights: Reachable vs. Representable

A central theme is the distinction between what a model can represent (defined by architecture) and what it actually learns (defined by the optimizer). For instance, while an RNN is technically Turing Complete, gradient descent may never find the parameters for complex algorithms due to vanishing signals.

Furthermore, the authors suggest that first-order methods like SGD often exhibit "wasteful movement," leading to redundant, high-rank representations. In contrast, non-diagonal optimizers like Shampoo produce more "localized" and lower-rank representations. In continual learning contexts, these compressed representations are less likely to interfere with future tasks.

Key Results

Empirical validation on standard benchmarks like Class-incremental MNIST revealed significant qualitative shifts:

  • Mitigating Catastrophic Forgetting: In sequential learning tasks, Shampoo significantly outperformed Adam and SGD. As shown in the results, Adam's performance on early tasks typically crashes as new tasks are introduced. Shampoo, however, maintains much higher accuracy on previous data.
Figure 2: Accuracy of final trained parameters on test splits of class pairs. Shampoo maintains performance across sequential label sets, while Adam fails to retain knowledge of early tasks.
  • Representation Rank: Spectral analysis confirmed that models trained with Shampoo possessed a lower "effective rank" (fewer significant eigenvalues) in their hidden layers compared to those trained with SGD or Adam.
  • Sparsity: By utilizing a preconditioner mimicking Power-propagation, the authors successfully induced sparsity in model weights without additive penalty terms, proving that optimization can replace manual regularization.

Conclusion and Future Work

The choice of optimizer is not just a matter of speed; it is a fundamental design choice that alters the nature of the learned solution. While many optimizer tweaks can be rewritten as architecture changes, the optimization perspective is often more practical for fine-tuning large, pre-trained models. Future research should explore how these qualitative shifts manifest in massive models like Large Language Models (LLMs), where optimizer choice is currently dominated by convergence speed rather than the desired qualitative properties of the resulting "sculpted" model.

Summary updated

BibTeX
@misc{pascanu2025optimizers,
  author = {Razvan Pascanu and Clare Lyle and Ionut-Vlad Modoranu and Naima Elosegui Borras and Dan Alistarh and Petar Velickovic and Sarath Chandar and Soham De and James Martens},
  title = {{Optimizers Qualitatively Alter Solutions And We Should Leverage This}},
  year = {2025},
  eprint = {2507.12224},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.12224},
}
Figure