arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.01808cs.LGcond-mat.mtrl-sci
收藏

物理性质的上下文学习:对分布外分子图的少样本适应

In-Context Learning of Physical Properties: Few-Shot Adaptation to Out-of-Distribution Molecular Graphs

IDEAS NCBR;NOMATEN CoE(NOMATEN卓越中心);Technical University of Poznan(波兹南工业大学)

Grzegorz Kaszuba, Amirhossein D. Naghdi, Dario Massa, Stefanos Papanikolaou, Andrzej Jaszkiewicz, Piotr Sankowski

AI总结:

本研究提出一种复合模型,利用GPT-2处理几何感知图神经网络的输出,实现上下文学习以预测分布外材料性质,在QM9数据集上显著提升了分子图少样本适应性能。

摘要:

大型语言模型展现出对提供示例序列的少样本适应能力。这种行为被称为上下文学习,允许仅在推理期间执行非平凡的机器学习任务。在本研究中,我们探讨一个问题:能否利用上下文学习来预测分布外材料性质?然而,除非找到一种将原子级几何特征传递给 transformer 模型的有效方法,否则这对于结构性质预测任务是不可能的。为解决此问题,我们采用一个复合模型,其中 GPT-2 作用于几何感知图神经网络的输出,以适应上下文信息。为展示我们模型的能力,我们将 QM9 数据集划分为共享共同子结构的分子序列,并将其用于上下文学习。该方法显著提升了模型在分布外样本上的性能,超越了通用图神经网络模型的性能。

英文摘要:

Large language models manifest the ability of few-shot adaptation to a sequence of provided examples. This behavior, known as in-context learning, allows for performing nontrivial machine learning tasks during inference only. In this work, we address the question: can we leverage in-context learning to predict out-of-distribution materials properties? However, this would not be possible for structure property prediction tasks unless an effective method is found to pass atomic-level geometric features to the transformer model. To address this problem, we employ a compound model in which GPT-2 acts on the output of geometry-aware graph neural networks to adapt in-context information. To demonstrate our model's capabilities, we partition the QM9 dataset into sequences of molecules that share a common substructure and use them for in-context learning. This approach significantly improves the performance of the model on out-of-distribution examples, surpassing the one of general graph neural network models.

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

↑