[Paper Review] Learning to Learn with Generative Models of Neural Network Checkpoints
This paper proposes G.pt, a generative model that learns to optimize neural networks by training on a large dataset of 23 million neural network checkpoints. Using a conditional diffusion transformer, G.pt predicts optimal parameter updates in a single step for unseen architectures and tasks, achieving desired metrics like loss, error, or return without backpropagation or unrolled optimization.
We explore a data-driven approach for learning to optimize neural networks. We construct a dataset of neural network checkpoints and train a generative model on the parameters. In particular, our model is a conditional diffusion transformer that, given an initial input parameter vector and a prompted loss, error, or return, predicts the distribution over parameter updates that achieve the desired metric. At test time, it can optimize neural networks with unseen parameters for downstream tasks in just one update. We find that our approach successfully generates parameters for a wide range of loss prompts. Moreover, it can sample multimodal parameter solutions and has favorable scaling properties. We apply our method to different neural network architectures and tasks in supervised and reinforcement learning.
Motivation & Objective
- Address the limitation of gradient-based optimizers that cannot improve from past experience.
- Overcome the instability and complexity of training learned optimizers via unrolled optimization or reinforcement learning.
- Leverage the vast amount of existing neural network checkpoints as a data source for meta-learning optimization strategies.
- Develop a scalable, data-driven method for one-step optimization of neural networks across diverse architectures and tasks.
- Enable optimization of non-differentiable objectives such as classification error or reinforcement learning returns.
Proposed method
- Construct a dataset of 23 million neural network checkpoints from over 100,000 training runs across supervised (MNIST, CIFAR-10) and reinforcement learning (Cartpole) tasks.
- Collect checkpoints with parameters and task-level metrics (test loss, error, return), using standard optimizers like Adam and SGD.
- Apply parameter-level data augmentation (e.g., weight permutations) to increase dataset diversity while preserving model function.
- Train a conditional diffusion transformer model (G.pt) that, given an initial parameter vector and a target metric prompt (e.g., desired loss), predicts a distribution over optimal parameter updates.
- Use standard generative modeling techniques instead of unrolled optimization or reinforcement learning, enabling stable and scalable training.
- At inference, apply a single forward pass of G.pt to generate optimized parameters for new, unseen initializations and architectures.
Experimental results
Research questions
- RQ1Can a generative model trained on a large-scale dataset of neural network checkpoints learn to produce effective parameter updates in a single step?
- RQ2To what extent can such a model generalize to out-of-distribution weight initializations and unseen architectures?
- RQ3Can the model generate multimodal solutions for the same optimization prompt, reflecting diverse paths to the same metric?
- RQ4Does the method work effectively for non-differentiable objectives such as classification error or reinforcement learning returns?
- RQ5How does the performance of the learned optimization strategy scale across different network architectures and tasks?
Key findings
- G.pt successfully optimizes neural networks with a single parameter update for unseen initializations across multiple architectures and tasks.
- The model generalizes to out-of-distribution weight initialization methods, demonstrating robustness beyond the training distribution.
- G.pt can generate multimodal solutions for the same optimization prompt, indicating it learns diverse paths to optimal performance.
- The model achieves favorable scaling properties, maintaining performance across different network depths and widths.
- G.pt effectively optimizes non-differentiable objectives such as classification error and reinforcement learning returns, unlike traditional learned optimizers.
- Despite some underfitting in complex datasets like CIFAR-10, the model shows strong performance on simpler tasks and generalization to new architectures.
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.