Learning to Generalize Provably in Learning to Optimize

Junjie Yang, Tianlong Chen, Mingkang Zhu, Fengxiang He, Dacheng Tao +2 more
2/22/2023
cs.LGstat.ML

Official code: VITA-Group/Open-L2O (297 stars, MIT, last commit 2023-06-09).

Abstract

Learning to optimize (L2O) has gained increasing popularity, which automates the design of optimizers by data-driven approaches. However, current L2O methods often suffer from poor generalization performance in at least two folds: (i) applying the L2O-learned optimizer to unseen optimizees, in terms of lowering their loss function values (optimizer generalization, or ``generalizable learning of optimizers"); and (ii) the test performance of an optimizee (itself as a machine learning model), trained by the optimizer, in terms of the accuracy over unseen data (optimizee generalization, or ``learning to generalize"). While the optimizer generalization has been recently studied, the optimizee generalization (or learning to generalize) has not been rigorously studied in the L2O context, which is the aim of this paper. We first theoretically establish an implicit connection between the local entropy and the Hessian, and hence unify their roles in the handcrafted design of generalizable optimizers as equivalent metrics of the landscape flatness of loss functions. We then propose to incorporate these two metrics as flatness-aware regularizers into the L2O framework in order to meta-train optimizers to learn to generalize, and theoretically show that such generalization ability can be learned during the L2O meta-training process and then transformed to the optimizee loss function. Extensive experiments consistently validate the effectiveness of our proposals with substantially improved generalization on multiple sophisticated L2O models and diverse optimizees. Our code is available at: https://github.com/VITA-Group/Open-L2O/tree/main/Model_Free_L2O/L2O-Entropy.

View on arXivView PDF

Code Implementations(1)

MIT

Open-L2O: A Comprehensive and Reproducible Benchmark for Learning to Optimize Algorithms

29746C, C++Jan 3, 20213 years agoMIT
convex-optimizationlassolearning-to-learnlearning-to-optimizemeta-learning+2 more

Similar Papers

Cite this paper

@article{yang2023learning,
  title  = {Learning to Generalize Provably in Learning to Optimize},
  author = {Junjie Yang and Tianlong Chen and Mingkang Zhu and Fengxiang He and Dacheng Tao and Yingbin Liang and Zhangyang Wang},
  year   = {2023},
  eprint = {2302.11085},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2302.11085v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2302.11085.svg)](https://codeofpaper.com/paper/2302.11085)

Discussion