论文

一个模型学560个PDE算子:in-context多保真学习框架

In-Context Learning for Multi-Fidelity Multiscale Model Closure and Cross-Operator Out-Of-Distribution Generalization

精选理由

搞科学计算的朋友看看这个:用in-context学习把560个PDE算子塞进一个25万参数的小模型,新PDE给几对演示就能直接预测,不用重新训练。

论文提出in-context多保真学习框架,用同一个模型学习多个多保真算子,将粗尺度PDE解映射到细尺度解。模型用多算子的粗-细解配对样本作为演示训练,遇到新PDE时只需少于5对粗-细演示样本,无需微调即可预测细尺度解。当目标算子在训练集中但预测目标不同(如超出训练时间区间)时,甚至无需额外演示。最小的模型只有255,364个可训练参数,在560个训练算子上平均每个算子约456个参数。

原文 · arXiv cs.LG

In-Context Learning for Multi-Fidelity Multiscale Model Closure and Cross-Operator Out-Of-Distribution Generalization

Multi-fidelity learning uses low-fidelity information (coarse-scale PDE models) together with limited high-fidelity data (fine-scale solutions) to obtain high-accuracy PDE solutions. It is a data-driven approach to downscale reduced-order models to solve PDEs efficiently and accurately. Standard multi-fidelity learning focuses on one operator or PDE; given a new PDE, retraining using additional coarse-fine solution pairs may be required, which is costly. In this work, we propose an in-context multi-fidelity learning framework for learning multiple multi-fidelity operators with one shared model. The model is trained using paired low- and high-fidelity examples as demonstrations from multiple operators, together with a new coarse-scale solution query, to predict the corresponding fine-scale solution. Once trained, given a new PDE operator, a few (fewer than five) coarse-fine demonstration pairs, and a low-cost coarse query, the model predicts the corresponding fine-scale solution without fine-tuning. When the target operator appears in the training dataset but has a different prediction goal, such as predicting beyond the training time interval, no additional demonstrations are needed. Instead, the model uses training coarse-fine pairs from that PDE and information from other training operators. Testing then only requires generating a low-cost coarse-scale solution query, without fine-tuning. Notably, our smallest model contains only 255,364 trainable parameters, corresponding to approximately 456 parameters per training operator for 560 operators.