cs.LGMay 28, 2025

Accelerating Optimization via Differentiable Stopping Time

Authors: Zhonglin Xie, Yiman Fong, Haoran Yuan, Zaiwen Wen

Organizations: Beijing International Center for Mathematical Research, Peking University · Department of Industrial Engineering, Tsinghua University · School of Mathematics Science, Peking University

Abstract

Optimization is an important module of modern machine learning applications. Tremendous efforts have been made to accelerate optimization algorithms. A common formulation is achieving a lower loss at a given time. This enables a differentiable framework with respect to the algorithm hyperparameters. In contrast, its dual, minimizing the time to reach a target loss, is believed to be non-differentiable, as the time is not differentiable. As a result, it usually serves as a conceptual framework or is optimized using zeroth-order methods. To address this limitation, we propose a differentiable stopping time and theoretically justify it based on differential equations. An efficient algorithm is designed to backpropagate through it. As a result, the proposed differentiable stopping time enables a new differentiable formulation for accelerating algorithms. We further discuss its applications, such as online hyperparameter tuning and learning to optimize. Our proposed methods show superior performance in comprehensive experiments across various problems, which confirms their effectiveness.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Learning to Optimize by Differentiable Programming

    Jan 23, 2026Liping Tao, Xindi Tong, Chee Wei TanPrimal-Dual OptimizationLearning to Optimize

  2. Differentiable Optimization Layers for Guaranteed Fairness in Deep Learning

    May 16, 2026David Troxell, Noah Roemer, Guido MontúfarDeep Learning OptimizationAlgorithmic Fairness

  3. Evolution of Optimization Methods: Algorithms, Scenarios, and Evaluations

    Apr 14, 2026Tong Zhang, Jiangning Zhang, Zhucun Xue +9Deep Learning OptimizationAdaptive Gradient Methods