arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.20447cs.LGcs.AIstat.ML
收藏

使用先验数据拟合网络的高效贝叶斯学习曲线外推

Efficient Bayesian Learning Curve Extrapolation using Prior-Data Fitted Networks

Machine Learning Lab(机器学习实验室);University of Freiburg(弗莱堡大学)

Steven Adriaensen, Herilalaina Rakotoarison, Samuel Müller, Frank Hutter

AI总结:

本文提出 LC-PFN,利用先验数据拟合网络以单次前向传播实现高效贝叶斯学习曲线外推,在精度上超过 MCMC 且速度提升超万倍,并在多个基准上验证了其外推性能与早停加速效果。

摘要:

学习曲线外推旨在根据训练早期轮次的性能,预测模型在后续训练轮次中的性能。在这项工作中,我们认为,虽然学习曲线外推中固有的不确定性需要采用贝叶斯方法,但现有方法要么(i)限制性过强,要么(ii)计算成本过高。我们描述了先验数据拟合神经网络(PFNs)在这一背景下的首次应用。PFN 是一种 Transformer,它在从先验生成的数据上进行预训练,以在单次前向传播中执行近似贝叶斯推断。我们提出 LC-PFN,这是一种 PFN,经过训练可外推 1000 万条人工右删失学习曲线,这些曲线由先前技术中提出的参数化先验使用 MCMC 生成。我们证明,LC-PFN 能够比 MCMC 更准确地近似后验预测分布,同时速度提高超过 10 000 倍。我们还表明,同一个 LC-PFN 在来自四个学习曲线基准(LCBench、NAS-Bench-201、Taskset 和 PD1)的总共 20 000 条真实学习曲线上取得了有竞争力的外推性能,这些曲线源于在 53 个具有不同输入模态(表格、图像、文本和蛋白质数据)的不同数据集上训练各种模型架构(MLP、CNN、RNN 和 Transformer)。最后,我们研究了它在模型选择背景下的潜力,并发现一个简单的基于 LC-PFN 的预测性早停准则在其中的 45 个数据集上获得了 2 到 6 倍的加速,且几乎没有额外开销。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑