Proceedings

Fine-grained Analysis of Stability and Generalization for Stochastic Bilevel Optimization

Download BibTeX Cite

Proceedings of the Thirty-Third International Joint Conference on Artificial Intelligence. Main Track. Pages 5508-5516.

https://doi.org/10.24963/ijcai.2024/609

Abstract

Stochastic bilevel optimization (SBO) has been integrated into many machine learning paradigms recently including hyperparameter optimization, meta learning, reinforcement learning, etc. Along with the wide range of applications, there have been abundant studies on concerning the computing behaviors of SBO. However, the generalization guarantees of SBO methods are far less understood from the lens of statistical learning theory. In this paper, we provide a systematical generalization analysis of the first-order gradient-based bilevel optimization methods. Firstly, we establish the quantitative connections between the on-average argument stability and the generalization gap of SBO methods. Then, we derive the upper bounds of on-average argument stability for single timescale stochastic gradient descent (SGD) and two timescale SGD, where three settings (nonconvex-nonconvex (NC-NC), convex-convex (C-C) and strongly-convex-strongly-convex (SC-SC)) are considered respectively. Experimental analysis validates our theoretical findings.

Compared with the previous algorithmic stability analysis, our results do not require the re-initialization of the inner-level parameters before each iteration and are suit for more general objective functions.

  1. Fan Bao, Guoqiang Wu, Chongxuan Li, Jun Zhu, and Bo Zhang. Stability and generalization of bilevel pro- gramming in hyperparameter optimization. In Advances in Neural Information Processing Systems, pages 4529-4541, 2021.
  2. Luca Bertinetto, Joao F Henriques, Philip Torr, and Andrea Vedaldi. Meta-learning with differentiable closed-form solvers. In International Conference on Learning Repre- sentations, 2018.
  3. Olivier Bousquet and André Elisseeff. Stability and gener- alization. Journal of Machine Learning Research, 2:499- 526, 2002.
  4. Jerome Bracken and James T. McGill. Mathematical pro- grams with optimization problems in the constraints. Op- erations Research, 21(1):37-44, 1973.
  5. Tianyi Chen, Yuejiao Sun, Quan Xiao, and Wotao Yin. A single-timescale method for stochastic bilevel optimiza- tion. In International Conference on Artificial Intelligence and Statistics, pages 2466-2488. PMLR, 2022.
  6. Zhun Deng, Hangfeng He, and Weijie Su. Toward better gen- eralization bounds with locally elastic stability. In Inter- national Conference on Machine Learning, pages 2590- 2600. PMLR, 2021.
  7. André Elisseeff, Theodoros Evgeniou, and Massimiliano Pontil. Stability of randomized learning algorithms. Jour- nal of Machine Learning Research, 6:55-79, 2005.
  8. Luca Franceschi, Michele Donini, Paolo Frasconi, and Mas- similiano Pontil. Forward and reverse gradient-based hy- perparameter optimization. In International Conference on Machine Learning, pages 1165-1173. PMLR, 2017.
  9. Luca Franceschi, Paolo Frasconi, Saverio Salzo, Riccardo Grazzi, and Massimiliano Pontil. Bilevel programming for hyperparameter optimization and meta-learning. In Inter- national Conference on Machine Learning, pages 1568- 1577. PMLR, 2018.
  10. Saeed Ghadimi and Mengdi Wang. Approximation methods for bilevel programming. arXiv preprint arXiv:1802.02246, 2018.
  11. 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, 2016.
  12. Elad Hoffer, Itay Hubara, and Daniel Soudry. Train longer, generalize better: closing the generalization gap in large batch training of neural networks. Advances in Neural In- formation Processing Systems, 30, 2017.
  13. Mingyi Hong, Hoi-To Wai, Zhaoran Wang, and Zhuoran Yang. A two-timescale stochastic algorithm framework for bilevel optimization: Complexity analysis and application to actor-critic. SIAM Journal on Optimization, 33(1):147- 180, 2023.
  14. Kaiyi Ji, Jason D Lee, Yingbin Liang, and H Vincent Poor. Convergence of meta-learning with task-specific adapta- tion over partial parameters. Advances in Neural Informa- tion Processing Systems, 33:11490-11500, 2020.
  15. Kaiyi Ji, Junjie Yang, and Yingbin Liang. Bilevel optimiza- tion: Convergence analysis and enhanced design. In Inter- national Conference on Machine Learning, pages 4882- 4892, 2021.
  16. Nitish Shirish Keskar, Dheevatsa Mudigere, Jorge Nocedal, Mikhail Smelyanskiy, and Ping Tak Peter Tang. On large- batch training for deep learning: Generalization gap and sharp minima. In International Conference on Learning Representations, 2017.
  17. Ilja Kuzborskij and Christoph Lampert. Data-dependent sta- bility of stochastic gradient descent. In International Con- ference on Machine Learning, pages 2815-2824. PMLR, 2018.
  18. Brenden M Lake, Ruslan Salakhutdinov, and Joshua B Tenen- baum. Human-level concept learning through probabilistic program induction. Science, 350(6266):1332-1338, 2015.
  19. Yann LeCun. The mnist database of handwritten digits. http://yann. lecun. com/exdb/mnist/, 1998. Link
  20. Yunwen Lei and Yiming Ying. Fine-grained analysis of sta- bility and generalization for stochastic gradient descent. In International Conference on Machine Learning, pages 5809-5819. PMLR, 2020.
  21. Yunwen Lei, Antoine Ledent, and Marius Kloft. Sharper generalization bounds for pairwise learning. Advances in Neural Information Processing Systems, 33:21236-21246, 2020.
  22. Yunwen Lei, Mingrui Liu, and Yiming Ying. Generaliza- tion guarantee of SGD for pairwise learning. In Advances in Neural Information Processing Systems, pages 21216- 21228, 2021.
  23. Yunwen Lei, Zhenhuan Yang, Tianbao Yang, and Yiming Ying. Stability and generalization of stochastic gradient methods for minimax problems. In International Con- ference on Machine Learning, pages 6175-6186. PMLR, 2021.
  24. Junyi Li, Bin Gu, and Heng Huang. Improved bilevel model: Fast and optimal algorithm with theoretical guar- antee. arXiv preprint arXiv:2009.00690, 2020.
  25. Tongliang Liu, Gábor Lugosi, Gergely Neu, and Dacheng Tao. Algorithmic stability and hypothesis complexity. In International Conference on Machine Learning, pages 2159-2167. PMLR, 2017.
  26. Risheng Liu, Pan Mu, Xiaoming Yuan, Shangzhi Zeng, and Jin Zhang. A generic first-order algorithmic framework for bi-level programming beyond lower-level singleton. In In- ternational Conference on Machine Learning, pages 6305- 6315. PMLR, 2020.
  27. Bo Liu, Mao Ye, Stephen Wright, Peter Stone, and Qiang Liu. Bome! bilevel optimization made easy: A simple first-order approach. Advances in Neural Information Pro- cessing Systems, 35:17248-17262, 2022.
  28. Jonathan Lorraine and David Duvenaud. Stochastic hy- perparameter optimization through hypernetworks. arXiv preprint arXiv:1802.09419, 2018.
  29. Matthew MacKay, Paul Vicol, Jonathan Lorraine, David Duvenaud, and Roger B. Grosse. Self-tuning networks: Bilevel optimization of hyperparameters using structured best-response functions. In International Conference on Learning Representations, 2019.
  30. Yu Nesterov. Universal gradient methods for convex opti- mization problems. Mathematical Programming, 152(1- 2):381-404, 2015.
  31. Takayuki Okuno, Akiko Takeda, Akihiro Kawana, and Mo- tokazu Watanabe. On lp-hyperparameter learning via bilevel nonsmooth optimization. Journal of Machine Learning Research, 22:245:1-245:47, 2021.
  32. David Pfau and Oriol Vinyals. Connecting generative adver- sarial networks and actor-critic methods. arXiv preprint arXiv:1610.01945, 2016.
  33. Aravind Rajeswaran, Chelsea Finn, Sham M Kakade, and Sergey Levine. Meta-learning with implicit gradients. Advances in Neural Information Processing Systems, 32, 2019.
  34. Mengye Ren, Wenyuan Zeng, Bin Yang, and Raquel Urtasun. Learning to reweight examples for robust deep learning. In International Conference on Machine Learning, pages 4334-4343. PMLR, 2018.
  35. William Rogers and T. Wagner. A finite sample distribution- free performance bound for local discrimination rules. The Annals of Statistics, 6:506-514, 1978.
  36. Wei Shen, Zhenhuan Yang, Yiming Ying, and Xiaoming Yuan. Stability and optimization error of stochastic gra- dient descent for pairwise learning. Analysis and Applica- tions, 18(05):887-927, 2020.
  37. Ingo Steinwart and Andreas Christmann. Support vector ma- chines. Springer Science & Business Media, 2008.
  38. Sebastian Thrun. Lifelong learning algorithms. In Learning to learn, pages 181-209. Springer, 1998.
  39. Sebastian Tschiatschek, Ahana Ghosh, Luis Haug, Rati Dev- idze, and Adish Singla. Learner-aware teaching: Inverse reinforcement learning with preferences and constraints. In Advances in Neural Information Processing Systems, pages 4147-4157, 2019.
  40. Xuelin Zhang, Yingjie Wang, Liangxuan Zhu, Hong Chen, Han Li, and Lingjuan Wu. Robust variable structure dis- covery based on tilted empirical risk minimization. Applied Intelligence, 53(14):17865-17886, 2023.
  41. Xiao Zhou, Renjie Pi, Weizhong Zhang, Yong Lin, Zonghao Chen, and Tong Zhang. Probabilistic bilevel coreset selec- tion. In International Conference on Machine Learning, pages 27287-27302. PMLR, 2022.
  42. Yi Zhou, Yingbin Liang, and Huishuai Zhang. Understand- ing generalization error of sgd in nonconvex optimization. Machine Learning, pages 1-31, 2022.
  43. Daniel Zügner and Stephan Günnemann. Adversarial attacks on graph neural networks via meta learning. In Interna- tional Conference on Learning Representations, 2019.

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

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