Introduction
Hyperparameter optimization (HPO) is a critical yet computationally expensive component of the machine learning pipeline. Evaluating a single configuration often requires training a model to convergence, which can take hours or days. To mitigate this, researchers use "fidelities"—low-cost proxies such as learning curves—to estimate final performance early. However, traditional extrapolation methods are often static and fail to adapt to unexpected training behaviors. This paper introduces a framework for probabilistic learning curve extrapolation using sequence models that "roll out" predictions into the future, adapting in real-time as more data becomes available.
Methodology: Probabilistic Rollouts
The core innovation of this work is treating learning curve prediction as a probabilistic sequence modeling task. Instead of a static mapping from hyperparameters $\theta$ to a final performance metric, the proposed models predict the next performance point $y_t$ based on $\theta$ and a window of previous performance points. This iterative process, termed a "rollout," allows the model to incorporate the most recent training dynamics into its future predictions.
Random Forest Rollouts
The authors adapt standard Random Forests to produce a Gaussian predictive distribution. During inference, the model takes the first $K$ observed points and iteratively predicts subsequent points, feeding its own outputs back as inputs for the next step.
Variational Recurrent Neural Networks (VRNNs)
The VRNN model utilizes Long Short-Term Memory (LSTM) cells to capture long-term dependencies within the training sequence. To provide probabilistic estimates, the model employs variational dropout (MC dropout). By maintaining dropout during inference and performing multiple rollouts, the VRNN generates both a mean prediction and a measure of uncertainty (variance).
Experimental Setup
The models were evaluated on four diverse benchmarks from OpenML: MNIST (image classification), Adult (census income), Higgs (particle detection), and Vehicle (object recognition). For each dataset, a library of 5,000 hyperparameter configurations was trained for 50 epochs to provide a robust ground truth for training and testing the extrapolation models.
Key Results and Insights
The sequential nature of the rollout models provides a significant advantage over static baselines like LCNet. By observing early training behavior, the models can dynamically adjust their trajectories. For instance, if a model starts training poorly due to a suboptimal hyperparameter setting, the rollout model identifies these early low-accuracy points and adjusts its future extrapolation downward. This self-correcting mechanism is a major departure from static methods that rely on fixed functional forms.
Quantitatively, the VRNN and Random Forest rollout models consistently outperformed LCNet across almost all benchmarks in terms of Mean Squared Error (MSE) and Log-Likelihood (LL). A key observation is that as the number of observed epochs increases, the rollout models significantly reduce their prediction error and tighten their uncertainty bounds. In contrast, static models often maintain a constant error level because they cannot incorporate new information from the ongoing training process.
Furthermore, the models demonstrated impressive zero-shot transfer capabilities. A VRNN trained exclusively on MNIST learning curves could provide reasonable predictions for the Vehicle dataset without retraining. This suggests that the model learns fundamental, generalizable patterns of how neural networks optimize, regardless of the specific dataset or task architecture.
Conclusion
Probabilistic rollout models represent a significant step forward in learning curve extrapolation. By treating training as a sequence and providing uncertainty estimates, these models offer the flexibility and accuracy needed for advanced HPO algorithms. Future work includes integrating dataset meta-features to enhance transfer learning and applying these models within "Freeze-Thaw" Bayesian optimization frameworks to automate the management of training runs.
Summary updated