In-Context Learning of Physical Properties: Few-Shot Adaptation to Out-of-Distribution Molecular Graphs
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 23 of its 42 references that are in the map. First posted on arXiv 3 Jun 2024.
Builds on
23 of 42 references.
References · 23
- 2017Attention Is All You Needcited by 59,932
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
- 2021An Explanation of In-context Learning as Implicit Bayesian Inferencecited by 915
- 2015Convolutional Networks on Graphs for Learning Molecular Fingerprintscited by 751
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2017SchNet: A continuous-filter convolutional neural network for modeling quantum interactionscited by 569
- 2020Directional Message Passing for Molecular Graphscited by 556
- 2022MACE: Higher Order Equivariant Message Passing Neural Networks for Fast and Accurate Force Fieldscited by 467
- 2021MetaICL: Learning to Learn In Contextcited by 450
11 more
- 2021GemNet: Universal Directional Graph Neural Networks for Moleculescited by 342
- 2020ChemBERTa: Large-Scale Self-Supervised Pretraining for Molecular Property Predictioncited by 332
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 303
- 2022Can language models learn from explanations in context?cited by 248
- 2023What can Large Language Models do in chemistry? A comprehensive benchmark on eight taskscited by 179
- 2021Noisy Channel Language Model Prompting for Few-Shot Text Classificationcited by 163
- 2022ChemBERTa-2: Towards Chemical Foundation Modelscited by 123
- 2023PRODIGY: Enabling In-context Learning Over Graphscited by 97
- 2020Molecular Mechanics-Driven Graph Neural Network with Multiplex Graph for Molecular Structurescited by 44
- 2023SynerGPT: In-Context Learning for Personalized Drug Synergy Prediction and Drug Designcited by 13
- 2021cgSpan: Closed Graph-Based Substructure Pattern Miningcited by 5
Built on by
Citing papers per year: 2024: 1.
1 paper.