arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2306.00258cs.LGcs.NAmath.NA
收藏

迈向科学机器学习的基础模型:表征缩放与迁移行为

Towards Foundation Models for Scientific Machine Learning: Characterizing Scaling and Transfer Behavior

Lawrence Berkeley National Lab(劳伦斯伯克利国家实验室);UC Berkeley(加州大学伯克利分校);ICSI(国际计算机科学研究所)

Shashank Subramanian, Peter Harrington, Kurt Keutzer, Wahid Bhimji, Dmitriy Morozov, Michael Mahoney, Amir Gholami

AI总结:

研究预训练模型在SciML中的迁移与缩放行为,发现适当微调能以更少样本达到高精度,且性能随模型规模增加而提升,为构建SciML基础模型提供了路径。

摘要:

预训练的机器学习(ML)模型在广泛应用中展现出了卓越的性能,特别是在自然语言处理(NLP)和计算机视觉(CV)领域。在此,我们研究如何将预训练用于科学机器学习(SciML)应用,具体是在迁移学习的背景下。我们研究了这些模型的迁移行为,包括随着预训练模型规模的扩大、下游训练数据集规模的扩大、物理参数被系统性地推至分布外,以及一个在混合不同物理问题上预训练的单一模型如何适应各种下游应用。我们发现,在适当微调的情况下,迁移学习能够以比从头训练少几个数量级的下游样本(跨越甚至可能处于分布外的不同任务)达到所需的精度水平,并且在广泛的下游样本范围内表现一致。我们还发现,与从头训练新的下游任务相比,随着模型规模的增加,微调这些模型能带来更多的性能提升。这些结果适用于广泛的偏微分方程(PDE)学习任务。总而言之,我们的结果展示了“预训练与微调”范式在SciML问题上的潜力,指明了构建SciML基础模型的道路。我们开源了代码以确保可复现性。

英文摘要:

Pre-trained machine learning (ML) models have shown great performance for a wide range of applications, in particular in natural language processing (NLP) and computer vision (CV). Here, we study how pre-training could be used for scientific machine learning (SciML) applications, specifically in the context of transfer learning. We study the transfer behavior of these models as (i) the pre-trained model size is scaled, (ii) the downstream training dataset size is scaled, (iii) the physics parameters are systematically pushed out of distribution, and (iv) how a single model pre-trained on a mixture of different physics problems can be adapted to various downstream applications. We find that-when fine-tuned appropriately-transfer learning can help reach desired accuracy levels with orders of magnitude fewer downstream examples (across different tasks that can even be out-of-distribution) than training from scratch, with consistent behavior across a wide range of downstream examples. We also find that fine-tuning these models yields more performance gains as model size increases, compared to training from scratch on new downstream tasks. These results hold for a broad range of PDE learning tasks. All in all, our results demonstrate the potential of the "pre-train and fine-tune" paradigm for SciML problems, demonstrating a path towards building SciML foundation models. We open-source our code for reproducibility.

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

↑