arXiv · 2509.24894
Improved Stochastic Optimization of LogSumExp
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 $f$-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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Egor Gladin, Alexey Kroshnin, Jia-Jie Zhu, Pavel Dvurechensky. 2025-09-29. Improved Stochastic Optimization of LogSumExp. https://arxiv.org/abs/2509.24894
Cite the original work for its findings. Save a collection to share your selection of sources.