Proceedings

Stability and Generalization for Stochastic (Compositional) Optimizations

Download BibTeX Cite

Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 6039-6047.

https://doi.org/10.24963/ijcai.2025/672

Abstract

The use of estimators instead of stochastic gradients for updates has been shown to improve algorithm convergence rates of, but their impact on generalization remains under-explored. In this paper, we investigate how estimators influence generalization. Our focus is on two widely studied problems: stochastic optimization (SO) and stochastic compositional optimization (SCO), both under convex and non-convex settings. For SO problems, we first analyze the generalization error of the STORM algorithm as a foundational step. We then extend our analysis to SCO problems by introducing an algorithmic framework that encompasses several popular algorithmic approaches. Through this framework, we conduct a generalization analysis, uncovering new insights into the impact of estimators on generalization. Subsequently, we provide a detailed analysis of three specific algorithms within this framework: SCGD, SCSC, and COVER, to explore the effects of different estimator strategies. Furthermore, in the context of SCO, we propose a novel definition of stability and a new decomposition of excess risk in the non-convex setting. Our analysis indicates two key findings: (1) In SCO problems, eliminating the estimator for the gradient of the inner function does not impact generalization performance while significantly reducing computational and storage overhead. (2) Faster convergence rates are consistently associated with better generalization performance.

  1. [Attouch and Peypouquet, 2016] Hedy Attouch and Juan Peypouquet. The rate of convergence of nesterov's ac- celerated forward-backward method is actually faster than 1/kˆ2. SIAM Journal on Optimization, 26(3):1824-1834, 2016.
  2. [Bartlett and Mendelson, 2002] Peter L Bartlett and Shahar Mendelson. Rademacher and gaussian complexities: Risk bounds and structural results. Journal of Machine Learning Research, 3(Nov):463-482, 2002.
  3. [Bassily et al., 2020] Raef Bassily, Vitaly Feldman, Cristóbal Guzmán, and Kunal Talwar. Stability of stochastic gradient descent on nonsmooth convex losses. Advances in Neural Information Processing Systems, 33:4381-4391, 2020.
  4. [Bottou et al., 2018] Léon Bottou, Frank E Curtis, and Jorge Nocedal. Optimization methods for large-scale machine learning. SIAM review, 60(2):223-311, 2018.
  5. [Bousquet and Elisseeff, 2002] Olivier Bousquet and André Elisseeff. Stability and generalization. The Journal of Machine Learning Research, 2:499-526, 2002.
  6. [Bousquet et al., 2020] Olivier Bousquet, Yegor Klochkov, and Nikita Zhivotovskiy. Sharper bounds for uniformly sta- ble algorithms. In Conference on Learning Theory, pages 610-626. PMLR, 2020.
  7. [Charles and Papailiopoulos, 2018] Zachary Charles and Dimitris Papailiopoulos. Stability and generalization of learning algorithms that converge to global optima. In International conference on machine learning, pages 745-754. PMLR, 2018.
  8. [Chen et al., 2021] Tianyi Chen, Yuejiao Sun, and Wotao Yin. Solving stochastic compositional optimization is nearly as easy as solving stochastic optimization. IEEE Transactions on Signal Processing, 69:4937-4948, 2021.
  9. [Cutkosky and Orabona, 2019] Ashok Cutkosky and Francesco Orabona. Momentum-based variance reduction in non-convex sgd. Advances in neural information processing systems, 32, 2019.
  10. [Dann et al., 2014] Christoph Dann, Gerhard Neumann, and Jan Peters. Policy evaluation with temporal differences: A survey and comparison. The Journal of Machine Learning Research, 15(1):809-883, 2014.
  11. [Davis and Drusvyatskiy, 2019] Damek Davis and Dmitriy Drusvyatskiy. Stochastic model-based minimization of weakly convex functions. SIAM Journal on Optimization, 29(1):207-239, 2019.
  12. [Defazio et al., 2014] Aaron Defazio, Francis Bach, and Si- mon Lacoste-Julien. Saga: A fast incremental gradient method with support for non-strongly convex composite objectives. Advances in neural information processing systems, 27, 2014.
  13. [Deng et al., 2021] Zhun Deng, Hangfeng He, and Weijie Su. Toward better generalization bounds with locally elastic stability. In International Conference on Machine Learning, pages 2590-2600. PMLR, 2021.
  14. [Duchi et al., 2011] John Duchi, Elad Hazan, and Yoram Singer. Adaptive subgradient methods for online learning and stochastic optimization. Journal of machine learning research, 12(7), 2011.
  15. [Fang et al., 2018] Cong Fang, Chris Junchi Li, Zhouchen Lin, and Tong Zhang. Spider: Near-optimal non-convex optimization via stochastic path-integrated differential esti- mator. Advances in neural information processing systems, 31, 2018.
  16. [Feldman and Vondrak, 2019] Vitaly Feldman and Jan Von- drak. High probability generalization bounds for uniformly stable algorithms with nearly optimal rate. In Conference on Learning Theory, pages 1270-1279. PMLR, 2019.
  17. [Finn et al., 2017] Chelsea Finn, Pieter Abbeel, and Sergey Levine. Model-agnostic meta-learning for fast adaptation of deep networks. In International conference on machine learning, pages 1126-1135. PMLR, 2017.
  18. [Foster et al., 2018] Dylan J Foster, Ayush Sekhari, and Karthik Sridharan. Uniform convergence of gradients for non-convex learning and optimization. Advances in neural information processing systems, 31, 2018.
  19. [Gao and Huang, 2021] Hongchang Gao and Heng Huang. Fast training method for stochastic compositional optimiza- tion problems. Advances in Neural Information Processing Systems, 34:25334-25345, 2021.
  20. [Ghadimi and Lan, 2013] Saeed Ghadimi and Guanghui Lan. Stochastic first-and zeroth-order methods for nonconvex stochastic programming. SIAM journal on optimization, 23(4):2341-2368, 2013.
  21. [Ghadimi et al., 2020] Saeed Ghadimi, Andrzej Ruszczynski, and Mengdi Wang. A single timescale stochastic approxi- mation method for nested stochastic optimization. SIAM Journal on Optimization, 30(1):960-979, 2020.
  22. [Hardt et al., 2016] Moritz Hardt, Ben Recht, and Yoram Singer. Train faster, generalize better: Stability of stochastic gradient descent. In International conference on machine learning, pages 1225-1234. PMLR, 2016.
  23. [Jiang et al., 2022] Wei Jiang, Bokun Wang, Yibo Wang, Li- jun Zhang, and Tianbao Yang. Optimal algorithms for stochastic multi-level compositional optimization. In Inter- national Conference on Machine Learning, pages 10195- 10216. PMLR, 2022.
  24. [Johnson and Zhang, 2013] Rie Johnson and Tong Zhang. Accelerating stochastic gradient descent using predictive variance reduction. Advances in neural information pro- cessing systems, 26, 2013.
  25. [Kingma and Ba, 2014] Diederik P Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014.
  26. [Kuzborskij and Lampert, 2018] Ilja Kuzborskij and Christoph Lampert. Data-dependent stability of stochastic gradient descent. In International Conference on Machine Learning, pages 2815-2824. PMLR, 2018.
  27. [Lei et al., 2021] Yunwen Lei, Ting Hu, and Ke Tang. Gen- eralization performance of multi-pass stochastic gradient descent with convex loss functions. Journal of Machine Learning Research, 22(25):1-41, 2021.
  28. [Lei, 2023] Yunwen Lei. Stability and generalization of stochastic optimization with nonconvex and nonsmooth problems. In The Thirty Sixth Annual Conference on Learn- ing Theory, pages 191-227. PMLR, 2023.
  29. [Levy et al., 2021] Kfir Levy, Ali Kavis, and Volkan Cevher. Storm+: Fully adaptive sgd with recursive momentum for nonconvex optimization. Advances in Neural Information Processing Systems, 34:20571-20582, 2021.
  30. [Li et al., 2019] Jian Li, Xuanyuan Luo, and Mingda Qiao. On generalization error bounds of noisy gradient methods for non-convex learning. arXiv preprint arXiv:1902.00621, 2019.
  31. [Lian et al., 2017] Xiangru Lian, Mengdi Wang, and Ji Liu. Finite-sum composition optimization via variance reduced gradient descent. In Artificial Intelligence and Statistics, pages 1159-1167. PMLR, 2017.
  32. [Liu et al., 2024] Jin Liu, Xiaokang Pan, Junwen Duan, Hong-Dong Li, Youqi Li, and Zhe Qu. Faster stochas- tic variance reduction methods for compositional minimax optimization. In Proceedings of the AAAI Conference on Ar- tificial Intelligence, volume 38, pages 13927-13935, 2024.
  33. [London et al., 2016] Ben London, Bert Huang, and Lise Getoor. Stability and generalization in structured predic- tion. Journal of Machine Learning Research, 17(221):1-52, 2016.
  34. [Nagarajan and Kolter, 2019] Vaishnavh Nagarajan and J Zico Kolter. Uniform convergence may be unable to explain generalization in deep learning. Advances in Neural Information Processing Systems, 32, 2019.
  35. [Nesterov, 1983] Yurii Evgen'evich Nesterov. A method of solving a convex programming problem with convergence rate o\bigl(kˆ2\bigr). In Doklady Akademii Nauk, volume 269, pages 543-547. Russian Academy of Sciences, 1983.
  36. [Nguyen et al., 2017] Lam M Nguyen, Jie Liu, Katya Schein- berg, and Martin Takáč. Sarah: A novel method for ma- chine learning problems using stochastic recursive gradient. In International conference on machine learning, pages 2613-2621. PMLR, 2017.
  37. [Qi et al., 2021] Qi Qi, Zhishuai Guo, Yi Xu, Rong Jin, and Tianbao Yang. An online method for a class of dis- tributionally robust optimization with non-convex objec- tives. Advances in Neural Information Processing Systems, 34:10067-10080, 2021.
  38. [Qu et al., 2022] Zhe Qu, Xingyu Li, Rui Duan, Yao Liu, Bo Tang, and Zhuo Lu. Generalized federated learning via sharpness aware minimization. In International conference on machine learning, pages 18250-18280. PMLR, 2022.
  39. [Qu et al., 2023] Zhe Qu, Xingyu Li, Xiao Han, Rui Duan, Chengchao Shen, and Lixing Chen. How to prevent the poor performance clients for personalized federated learn- ing? In Proceedings of the IEEE/CVF Conference on Com- puter Vision and Pattern Recognition, pages 12167-12176, 2023.
  40. [Rakhlin et al., 2005] Alexander Rakhlin, Sayan Mukherjee, and Tomaso Poggio. Stability results in learning theory. Analysis and Applications, 3(04):397-417, 2005.
  41. [Rivasplata et al., 2020] Omar Rivasplata, Ilja Kuzborskij, Csaba Szepesvári, and John Shawe-Taylor. Pac-bayes analysis beyond the usual bounds. Advances in Neural Information Processing Systems, 33:16833-16845, 2020.
  42. [Shalev-Shwartz et al., 2010] Shai Shalev-Shwartz, Ohad Shamir, Nathan Srebro, and Karthik Sridharan. Learn- ability, stability and uniform convergence. The Journal of Machine Learning Research, 11:2635-2670, 2010.
  43. [Wang et al., 2017] Mengdi Wang, Ethan X Fang, and Han Liu. Stochastic compositional gradient descent: algorithms for minimizing compositions of expected-value functions. Mathematical Programming, 161:419-449, 2017.
  44. [Wang et al., 2024] Shu Wang, Zhe Qu, Yuan Liu, Shichao Kan, Yixiong Liang, and Jianxin Wang. Fedmmr: Multi- modal federated learning via missing modality reconstruc- tion. In 2024 IEEE International Conference on Multimedia and Expo (ICME), pages 1-6. IEEE, 2024.
  45. [Yang et al., 2023] Ming Yang, Xiyuan Wei, Tianbao Yang, and Yiming Ying. Stability and generalization of stochastic compositional gradient descent algorithms. arXiv preprint arXiv:2307.03357, 2023.
  46. [Zhang and Xiao, 2019] Junyu Zhang and Lin Xiao. A stochastic composite gradient method with incremental variance reduction. Advances in Neural Information Pro- cessing Systems, 32, 2019.
  47. [Zhang et al., 2021] Jiayao Zhang, Hua Wang, and Weijie Su. Imitating deep learning dynamics via locally elastic stochas- tic differential equations. Advances in Neural Information Processing Systems, 34:6392-6403, 2021.
  48. [Zhang, 2004] Tong Zhang. Solving large scale linear predic- tion problems using stochastic gradient descent algorithms. In Proceedings of the twenty-first international conference on Machine learning, page 116, 2004.
  49. [Zhou et al., 2018] Dongruo Zhou, Jinghui Chen, Yuan Cao, Yiqi Tang, Ziyan Yang, and Quanquan Gu. On the con- vergence of adaptive gradient methods for nonconvex opti- mization. arXiv preprint arXiv:1808.05671, 2018.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards