Architecture-Aware Learning Curve Extrapolation via Graph Ordinary Differential Equation

Yanna Ding, Zijie Huang, Xiao Shou, Yihang Guo, Yizhou Sun, Jianxi Gao

Abstract

Training modern neural networks is computationally intensive. Learning curve extrapolation—predicting final performance from early training epochs—offers a solution, yet traditional methods often ignore the network's architecture. We present LC-GODE (Learning Curve Graph Ordinary Differential Equation), a framework that treats training as a dynamical system influenced by model topology. By combining graph-based architecture embeddings with neural ordinary differential equations (ODEs), LC-GODE captures how specific structures shape training trajectories, enabling up to a 20x speedup in model selection compared to exhaustive training.

Introduction

The computational cost of training state-of-the-art neural networks has become a significant bottleneck in research and development. To mitigate this, researchers employ learning curve extrapolation to predict a model's final accuracy based on its initial progress. However, existing techniques typically treat learning curves as isolated time series, neglecting the underlying architecture. Since a model’s architecture defines the "loss landscape"—the mathematical terrain the optimizer navigates—ignoring it leads to suboptimal predictions. LC-GODE bridges this gap by integrating architectural information into a continuous-time dynamical model.

Methodology

LC-GODE is built upon a sequence-to-sequence variational autoencoder (VAE) framework consisting of four primary components:

  1. Graph Encoder: The neural network architecture is represented as a graph (e.g., neurons as nodes for MLPs, operations for CNNs). A Graph Convolutional Network (GCN) with differentiable pooling compresses this structure into a global embedding vector ($z_G$).
  2. Sequence Encoder: A Gated Recurrent Unit (GRU) processes the initial observed epochs to initialize a latent state representing the early training trajectory.
  3. Latent ODE: This component serves as the system's engine. Rather than discrete steps, it uses a neural ODE to model the continuous evolution of the training process. The derivative of the latent state is conditioned on both the current state and the architecture embedding ($z_G$), explicitly shaping the "physics" of the trajectory by the network's design.
  4. Decoder: This module maps the evolved latent states back into predicted loss or accuracy values for future time steps.
Overview of the LC-GODE framework, including data generation, graph encoding, sequence encoding, and the ODE-based decoder.

Experimental Evaluation

The framework was evaluated across diverse architectures and tasks:

  • MLP Architectures: Using the car and segment datasets from OpenML, 550 unique configurations were generated, varying layers, units, and learning rates.
  • CNN Architectures: Utilizing the NAS-Bench-201 benchmark, 5,000 architectures were sampled and trained on CIFAR-10 and CIFAR-100.

Results and Discussion

LC-GODE demonstrates significant improvements over state-of-the-art baselines, including Bayesian and Transformer-based methods. Key findings include:

  • Superior Accuracy: The model reduced prediction error (MAPE) on test accuracy by 30% to 60% compared to standard Latent ODEs that lacked architecture awareness.
  • Efficiency in Model Selection: LC-GODE identified high-performing models with a 20x speedup over brute-force training, making it highly effective for Neural Architecture Search (NAS).
  • Architecture as a Force Field: By feeding $z_G$ into the ODE, the model learns how structural motifs, such as skip connections, influence convergence speed and stability.
  • Continuous Extrapolation: The ODE approach allows for extrapolation to any arbitrary future point in time by simply adjusting the integration interval, providing more flexibility than discrete RNN-based models.

Conclusion

LC-GODE successfully integrates architectural topology into the modeling of training dynamics. While currently task-specific, future work aims to incorporate dataset-specific features to allow for cross-task generalization. Additionally, further research is needed to better capture the stochastic nature of modern optimizers like Adam within the deterministic ODE framework. Despite these areas for growth, LC-GODE represents a major step toward more efficient and architecture-aware automated machine learning.

Summary updated

BibTeX
@inproceedings{ding2025architecture,
  author = {Yanna Ding and Zijie Huang and Xiao Shou and Yihang Guo and Yizhou Sun and Jianxi Gao},
  title = {{Architecture-Aware Learning Curve Extrapolation via Graph Ordinary Differential Equation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i15.33789},
}
Figure