Optimizing Large-Scale Hyperparameters via Automated Learning Algorithm

Bin Gu, Guodong Liu, Yanfu Zhang, Xiang Geng, Heng Huang
2/17/2021
cs.LG

Official code: jsgubin/HOZOG (6 stars, Python, last commit 2021-04-12).

Abstract

Modern machine learning algorithms usually involve tuning multiple (from one to thousands) hyperparameters which play a pivotal role in terms of model generalizability. Black-box optimization and gradient-based algorithms are two dominant approaches to hyperparameter optimization while they have totally distinct advantages.

Show full abstract

How to design a new hyperparameter optimization technique inheriting all benefits from both approaches is still an open problem. To address this challenging problem, in this paper, we propose a new hyperparameter optimization method with zeroth-order hyper-gradients (HOZOG). Specifically, we first exactly formulate hyperparameter optimization as an A-based constrained optimization problem, where A is a black-box optimization algorithm (such as deep neural network). Then, we use the average zeroth-order hyper-gradients to update hyperparameters. We provide the feasibility analysis of using HOZOG to achieve hyperparameter optimization. Finally, the experimental results on three representative hyperparameter (the size is from 1 to 1250) optimization tasks demonstrate the benefits of HOZOG in terms of simplicity, scalability, flexibility, effectiveness and efficiency compared with the state-of-the-art hyperparameter optimization methods.

View on arXivView PDF

Code Implementations(1)

jsgubin/HOZOGOfficial100%

a new hyperparameter optimization method withzeroth-order hyper-gradients

60PythonFeb 14, 20215 years ago

Similar Papers

Cite this paper

@article{gu2021optimizing,
  title  = {Optimizing Large-Scale Hyperparameters via Automated Learning Algorithm},
  author = {Bin Gu and Guodong Liu and Yanfu Zhang and Xiang Geng and Heng Huang},
  year   = {2021},
  eprint = {2102.09026},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2102.09026}
}

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/2102.09026.svg)](https://codeofpaper.com/paper/2102.09026)

Discussion