Skip to main content
QUICK REVIEW

[Paper Review] Efficient Bayesian Learning Curve Extrapolation using Prior-Data Fitted Networks

Steven Adriænsen, Herilalaina Rakotoarison|arXiv (Cornell University)|Oct 31, 2023
Machine Learning in HealthcareComputer Science7 citations
TL;DR

This paper introduces LC-PFN, the first application of prior-data fitted networks (PFNs) for Bayesian learning curve extrapolation. By training a transformer-based PFN on synthetic right-censored learning curves from a parametric prior, LC-PFN achieves over 10,000× speedup over MCMC while providing more accurate probabilistic predictions, and demonstrates strong generalization across 20,000 real learning curves from diverse architectures and datasets, enabling efficient early stopping with 2–6× speedups.

ABSTRACT

Learning curve extrapolation aims to predict model performance in later epochs of training, based on the performance in earlier epochs. In this work, we argue that, while the inherent uncertainty in the extrapolation of learning curves warrants a Bayesian approach, existing methods are (i) overly restrictive, and/or (ii) computationally expensive. We describe the first application of prior-data fitted neural networks (PFNs) in this context. A PFN is a transformer, pre-trained on data generated from a prior, to perform approximate Bayesian inference in a single forward pass. We propose LC-PFN, a PFN trained to extrapolate 10 million artificial right-censored learning curves generated from a parametric prior proposed in prior art using MCMC. We demonstrate that LC-PFN can approximate the posterior predictive distribution more accurately than MCMC, while being over 10 000 times faster. We also show that the same LC-PFN achieves competitive performance extrapolating a total of 20 000 real learning curves from four learning curve benchmarks (LCBench, NAS-Bench-201, Taskset, and PD1) that stem from training a wide range of model architectures (MLPs, CNNs, RNNs, and Transformers) on 53 different datasets with varying input modalities (tabular, image, text, and protein data). Finally, we investigate its potential in the context of model selection and find that a simple LC-PFN based predictive early stopping criterion obtains 2 - 6x speed-ups on 45 of these datasets, at virtually no overhead.

Motivation & Objective

  • To address the limitations of existing Bayesian learning curve extrapolation methods, which are either too restrictive or computationally expensive.
  • To explore the feasibility and effectiveness of applying prior-data fitted networks (PFNs) to learning curve extrapolation for the first time.
  • To evaluate LC-PFN’s performance on both synthetic curves from a known prior and real-world learning curves across diverse architectures and data modalities.
  • To demonstrate practical utility by integrating LC-PFN into an early stopping criterion for hyperparameter optimization.
  • To enable reproducibility by open-sourcing code, data, and models for the LC-PFN framework.

Proposed method

  • LC-PFN is a transformer-based neural network pre-trained on artificial right-censored learning curves generated from a parametric prior using MCMC sampling.
  • The PFN learns to approximate the posterior predictive distribution (PPD) over learning curves in a single forward pass, enabling fast Bayesian inference.
  • The model is trained to predict the full future performance distribution given partial training data, conditioned on the prior.
  • LC-PFN is evaluated against MCMC-based posterior predictive approximation on both synthetic and real learning curve benchmarks.
  • A fine-grained early stopping criterion is implemented using LC-PFN’s predictive uncertainty, terminating runs when improvement is unlikely beyond a confidence threshold.
  • The method is validated across five benchmarks: LCBench, NAS-Bench-201, Taskset, PD1, and synthetic curves from the prior.

Experimental results

Research questions

  • RQ1Can prior-data fitted networks (PFNs) be effectively applied to the task of Bayesian learning curve extrapolation?
  • RQ2How does LC-PFN’s accuracy and speed compare to MCMC-based posterior predictive approximation on synthetic learning curves from a known prior?
  • RQ3Can LC-PFN generalize to real-world learning curves from diverse architectures (MLPs, CNNs, RNNs, Transformers) and data modalities (tabular, image, text, protein)?
  • RQ4What is the practical impact of LC-PFN-based early stopping on hyperparameter optimization efficiency?
  • RQ5How robust is the LC-PFN-based early stopping criterion to variations in confidence threshold and minimal observation cutoff?

Key findings

  • LC-PFN achieves over 10,000× speedup over MCMC while yielding more accurate probabilistic extrapolations on synthetic curves from the prior.
  • LC-PFN generalizes effectively to real learning curves, achieving competitive performance across 20,000 curves from four diverse benchmarks (LCBench, NAS-Bench-201, Taskset, PD1).
  • The LC-PFN-based early stopping criterion achieves 2–6× speedups over baselines on 45 out of 45 datasets, with minimal computational overhead.
  • The method is robust to hyperparameter choices: confidence levels of 0.90, 0.95, 0.99, and 0.999 yield strong performance, with higher confidence levels providing more consistent but slightly slower improvements.
  • A minimal cutoff of two observations before applying termination is optimal, as one-observation cutoffs degrade performance on easy tasks, while higher cutoffs cause minor slow-downs.
  • Qualitative extrapolation plots show that LC-PFN predictions are mostly logical and consistent with observed data and the prior, with MCMC-PP rarely outperforming LC-PFN.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.