Empirical Study on Optimizer Selection for Out-of-Distribution Generalization
Mila - Quebec AI Institute(米拉-魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);University of Tsukuba(筑波大学);Tokyo Institute of Technology(东京工业大学);Denso IT Laboratory Inc.(电装信息技术实验室有限公司)
Hiroki Naganuma, Kartik Ahuja, Shiro Takagi, Tetsuya Motokawa, Rio Yokota, Kohta Ishikawa, Ikuro Sato, Ioannis Mitliagkas
Modern deep learning systems do not generalize well when the test data distribution is slightly different to the training data distribution. While much promising work has been accomplished to address this fragility, a systematic study of the role of optimizers and their out-of-distribution generalization performance has not been undertaken. In this study, we examine the performance of popular first-order optimizers for different classes of distributional shift under empirical risk minimization and invariant risk minimization. We address this question for image and text classification using DomainBed, WILDS, and Backgrounds Challenge as testbeds for studying different types of shifts -- namely correlation and diversity shift. We search over a wide range of hyperparameters and examine classification accuracy (in-distribution and out-of-distribution) for over 20,000 models. We arrive at the following findings, which we expect to be helpful for practitioners: i) adaptive optimizers (e.g., Adam) perform worse than non-adaptive optimizers (e.g., SGD, momentum SGD) on out-of-distribution performance. In particular, even though there is no significant difference in in-distribution performance, we show a measurable difference in out-of-distribution performance. ii) in-distribution performance and out-of-distribution performance exhibit three types of behavior depending on the dataset -- linear returns, increasing returns, and diminishing returns. For example, in the training of natural language data using Adam, fine-tuning the performance of in-distribution performance does not significantly contribute to the out-of-distribution generalization performance.
When Muon Optimizer Meets Adversarial Training: A Theoretical and Empirical Study
IT College, Shanghai Ocean University(上海海洋大学信息学院);School of Computer Science and Technology, Tongji University(同济大学计算机科学与技术学院);SEIE, Suzhou University of Science and Technology(苏州科技大学SEIE学院);DP Tech(DP科技);School of Mathematical Sciences, Peking University(北京大学数学科学学院)
$μ$LO: Compute-Efficient Meta-Generalization of Learned Optimizers
Université de Montréal(蒙特利尔大学);Mila – Quebec AI Institute(魁北克人工智能研究所);Concordia University(康科迪亚大学);Samsung AI Lab(三星AI实验室);ISIR, Sorbonne University, CNRS, Paris, France(巴黎法国索邦大学ISIR研究所、法国国家科学研究中心)
Large-scale empirical tuning and comparison of default optimizers for variational inference
Department of Statistics, UBC(统计学系,不列颠哥伦比亚大学);Department of Mathematics & Statistics, Boston University(数学与统计学系,波士顿大学);Faculty of Computing & Statistics, Boston University(计算与统计学学院,波士顿大学);Department of Computer and Information Science, UPenn(计算机与信息科学系,宾夕法尼亚大学)
When Is Availability-Aware Training Worth It? A Benchmark and Empirical Study of Interruption-Resilient Optimization Under Predictable Compute Schedules
Permutation Randomization on Nonsmooth Nonconvex Optimization: A Theoretical and Experimental Study
School of Computer and Cyber Sciences(计算机与电子科学学院);Augusta University(奥古斯塔大学);Department of Graduate Psychology(研究生心理学系);James Madison University(詹姆斯·麦迪逊大学);School of Computing(计算学院);University of Georgia(佐治亚大学)
Minibatching Offers Improved Generalization Performance for Second Order Optimizers
University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Washington State University(华盛顿州立大学);Rutgers, The State University of New Jersey(罗格斯新泽西州立大学);University of Washington(华盛顿大学);Pacific Northwest National Laboratory(太平洋西北国家实验室)
Optimizers Qualitatively Alter Solutions And We Should Leverage This
Google DeepMind(谷歌DeepMind);Mila, Québec AI Institute(魁北克AI研究院);Institute of Science and Technology Austria (ISTA)(奥地利科学与技术研究所);Technische Universität Berlin(柏林技术大学);BIFOLD Berlin(柏林BIFOLD);Red Hat AI(红帽AI);Cambridge University(剑桥大学);Politechnique Montreal(蒙特利尔理工学院)