[Paper Review] Using a thousand optimization tasks to learn hyperparameter search strategies
This paper introduces TaskSet, a large-scale, diverse dataset of over 1,000 deep learning optimization tasks spanning image classification, variational autoencoders, normalizing flows, and language modeling. By meta-learning an ordered hyperparameter search list from this dataset, the authors achieve significant sample efficiency gains over random search and demonstrate strong generalization to new tasks like ImageNet and LM1B, with 29 million training curves and code released for reproducibility.
We present TaskSet, a dataset of tasks for use in training and evaluating optimizers. TaskSet is unique in its size and diversity, containing over a thousand tasks ranging from image classification with fully connected or convolutional neural networks, to variational autoencoders, to non-volume preserving flows on a variety of datasets. As an example application of such a dataset we explore meta-learning an ordered list of hyperparameters to try sequentially. By learning this hyperparameter list from data generated using TaskSet we achieve large speedups in sample efficiency over random search. Next we use the diversity of the TaskSet and our method for learning hyperparameter lists to empirically explore the generalization of these lists to new optimization tasks in a variety of settings including ImageNet classification with Resnet50 and LM1B language modeling with transformers. As part of this work we have opensourced code for all tasks, as well as ~29 million training curves for these problems and the corresponding hyperparameters.
Motivation & Objective
- To address the lack of large-scale, diverse, and application-relevant optimization datasets for training and evaluating learned optimizers.
- To reduce the high computational and environmental cost of hyperparameter tuning in deep learning.
- To develop a data-driven, meta-learned hyperparameter search strategy that generalizes across diverse tasks.
- To enable more efficient, sample-efficient hyperparameter search by learning an optimal sequence of hyperparameter configurations.
- To release a comprehensive benchmark dataset, training curves, and code to accelerate future research in learned optimizers and hyperparameter search.
Proposed method
- Constructs TaskSet, a dataset of over 1,000 deep learning optimization tasks with diverse architectures, datasets, and hyperparameter configurations.
- Defines a task as a complete training procedure with data, loss, and model architecture, covering 7 orders of magnitude in parameter count.
- Uses meta-learning to train an ordered list of hyperparameters that maximizes performance across all tasks in TaskSet.
- Employs a search strategy based on a fixed sequence of hyperparameter configurations, learned via optimization over the TaskSet.
- Trains approximately 29 million models across 4,000 distinct hyperparameter configurations to learn the optimal list.
- Releases code in TensorFlow, JAX, and PyTorch, along with all training curves and hyperparameter logs for public use.
Experimental results
Research questions
- RQ1Can a single, learned hyperparameter search list generalize across a wide range of deep learning tasks?
- RQ2How does meta-learned hyperparameter ordering compare to random search in terms of sample efficiency?
- RQ3To what extent can a hyperparameter list learned on smaller tasks generalize to large-scale tasks like ImageNet and LM1B?
- RQ4What is the impact of task diversity and scale on the performance and robustness of learned optimization strategies?
- RQ5How do different optimizer hyperparameters (e.g., initial learning rate, weight decay) contribute to generalization across tasks?
Key findings
- The meta-learned hyperparameter list achieves substantial speedups in sample efficiency compared to random search, reducing the number of trials needed to find good configurations.
- The learned list generalizes effectively to new, larger-scale tasks, including ResNet50 on ImageNet and transformer-based language modeling on LM1B.
- Tasks with similar architectures and objectives (e.g., VAEs, RNNs) cluster in embedding space, indicating shared optimization dynamics.
- The diversity of TaskSet enables the discovery of hyperparameter strategies that are robust across different model types and data distributions.
- The release of 29 million training curves and hyperparameter logs provides a valuable resource for future meta-learning and hyperparameter analysis.
- The open-source codebase enables immediate deployment of the learned hyperparameter list across new models and frameworks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.