cs.LGMar 26, 2026

Second-Order, First-Class: A Composable Stack for Curvature-Aware Training

Authors: Mikalai Korbit, Mario Zanon

Organizations: IMT School for Advanced Studies Lucca Lucca, Italy

Abstract

Second-order methods promise improved stability and faster convergence, yet they remain underused due to implementation overhead, tuning brittleness, and the lack of composable APIs. We introduce Somax, a composable Optax-native stack that treats curvature-aware training as a single JIT-compiled step governed by a static plan. Somax exposes first-class modules -- curvature operators, estimators, linear solvers, preconditioners, and damping policies -- behind a single step interface and composes with Optax by applying standard gradient transformations (e.g., momentum, weight decay, schedules) to the computed direction. This design makes typically hidden choices explicit and swappable. Somax separates planning from execution: it derives a static plan (including cadences) from module requirements, then runs the step through a specialized execution path that reuses intermediate results across modules. We report system-oriented ablations showing that (i) composition choices materially affect scaling behavior and time-to-accuracy, and (ii) planning reduces per-step overhead relative to unplanned composition with redundant recomputation.

Figures & tables

Appendix figures & tables2 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Second-Order Optimization with Asynchronous Curvature

    Oct 17, 2025El Mahdi Chayti, Martin JaggiSecond-Order OptimizationCurvature-Aware Optimization

  2. Accelerated Gradient Descent for Faster Convergence with Minimal Overhead

    May 15, 2026Manuel Graca, L. Miguel Silveira, Arlindo Oliveira +1Deep Learning OptimizationGradient Descent

  3. Why Muon Outperforms Adam: A Curvature Perspective

    Jun 3, 2026Shuche Wang, Fengzhuo Zhang, Jiaxiang Li +2Loss Landscape SharpnessNeural Network Optimization