基于摩根指纹的图对齐分子上下文学习
Graph-based Molecular In-context Learning Grounded on Morgan Fingerprints
AI总结:
本文提出GAMIC方法,通过图神经网络对齐全局分子结构与文本描述,并结合摩根指纹局部相似性和MMR多样性检索,显著提升中小规模大语言模型在分子任务上的上下文学习性能,最高提升45%。
摘要:
上下文学习(ICL)通过将精心挑选的示范示例嵌入输入提示,有效地使大语言模型(LLMs)适应分子任务,如性质预测和分子描述生成。该方法避免了大规模预训练和微调的计算开销。然而,当前用于分子任务的提示检索方法依赖于分子特征相似性,例如摩根指纹,这不能充分捕捉全局分子和原子键合关系。因此,这些方法在推理过程中无法表示分子结构的全部复杂性。此外,中小规模LLMs在专用系统中部署要求更简单,但在分子ICL文献中仍基本未被探索。为解决这些不足,我们提出了一种自监督学习技术GAMIC(Graph-Aligned Molecular In-Context learning,图对齐分子上下文学习),该技术将由图神经网络(GNNs)表示的全局分子结构与文本描述(说明文字)对齐,同时利用摩根指纹的局部特征相似性。此外,我们在检索过程中引入基于最大边际相关性(MMR)的多样性启发式方法,以优化输入提示示范样本。我们使用多个基准数据集进行的实验结果表明,GAMIC在所有任务上比简单的基于摩根的ICL检索方法性能提升最高达45%。
英文摘要:
In-context learning (ICL) effectively conditions large language models (LLMs) for molecular tasks, such as property prediction and molecule captioning, by embedding carefully selected demonstration examples into the input prompt. This approach avoids the computational overhead of extensive pertaining and fine-tuning. However, current prompt retrieval methods for molecular tasks have relied on molecule feature similarity, such as Morgan fingerprints, which do not adequately capture the global molecular and atom-binding relationships. As a result, these methods fail to represent the full complexity of molecular structures during inference. Moreover, small-to-medium-sized LLMs, which offer simpler deployment requirements in specialized systems, have remained largely unexplored in the molecular ICL literature. To address these gaps, we propose a self-supervised learning technique, GAMIC (Graph-Aligned Molecular In-Context learning, which aligns global molecular structures, represented by graph neural networks (GNNs), with textual captions (descriptions) while leveraging local feature similarity through Morgan fingerprints. In addition, we introduce a Maximum Marginal Relevance (MMR) based diversity heuristic during retrieval to optimize input prompt demonstration samples. Our experimental findings using diverse benchmark datasets show GAMIC outperforms simple Morgan-based ICL retrieval methods across all tasks by up to 45%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。