English

Improved Stochastic Optimization of LogSumExp

Optimization and Control 2026-02-04 v3 Machine Learning

Abstract

The LogSumExp function, dual to the Kullback-Leibler (KL) divergence, plays a central role in many important optimization problems, including entropy-regularized optimal transport (OT) and distributionally robust optimization (DRO). In practice, when the number of exponential terms inside the logarithm is large or infinite, optimization becomes challenging since computing the gradient requires differentiating every term. We propose a novel convexity- and smoothness-preserving approximation to LogSumExp that can be efficiently optimized using stochastic gradient methods. This approximation is rooted in a sound modification of the KL divergence in the dual, resulting in a new ff-divergence called the safe KL divergence. Our experiments and theoretical analysis of the LogSumExp-based stochastic optimization, arising in DRO and continuous OT, demonstrate the advantages of our approach over existing baselines.

Keywords

Cite

@article{arxiv.2509.24894,
  title  = {Improved Stochastic Optimization of LogSumExp},
  author = {Egor Gladin and Alexey Kroshnin and Jia-Jie Zhu and Pavel Dvurechensky},
  journal= {arXiv preprint arXiv:2509.24894},
  year   = {2026}
}

Comments

17 pages, 5 figures, 2 tables; updated experiment in subsection 3.3

R2 v1 2026-07-01T06:04:47.022Z