arXiv:2411.01158cs.LGcs.AI2024-11NeurIPS被引 8

用轻量适配器实现分子属性预测的高效少样本微调

Pin-Tuning: Parameter-Efficient In-Context Tuning for Few-Shot Molecular Property Prediction

  • 设计轻量级适配器与贝叶斯权重整合,实现参数高效微调
  • 在仅需少量可训练参数下,提升少样本分子属性预测性能
  • 适合需要快速适配新任务的药物研发与材料科学场景

分子属性预测(MPP)在药物发现和材料科学中至关重要,但常面临真实场景中数据稀缺的问题。为此,少样本分子属性预测(FSMPP)应运而生。不同于其他少样本任务,FSMPP通常采用预训练分子编码器与上下文感知分类器,利用分子预训练和上下文信息。然而,现有方法在微调预训练编码器时效率低下。我们归因于可调参数过多与标注分子稀缺之间的不平衡,以及编码器缺乏上下文感知能力。为此,提出一种参数高效的上下文微调方法——Pin-Tuning。具体包括:为预训练消息传递层设计轻量适配器(MP-Adapter),对原子/键嵌入层采用贝叶斯权重整合(Emb-BWC),实现参数高效微调并防止过拟合与灾难性遗忘;同时增强MP适配器的上下文感知能力,使预训练编码器能进行上下文微调,提升对特定FSMPP任务的适应性。在公开数据集上的实验表明,该方法以更少可训练参数获得更优微调效果,显著提升少样本预测性能。

原文摘要 · Abstract (English)

Molecular property prediction (MPP) is integral to drug discovery and material science, but often faces the challenge of data scarcity in real-world scenarios. Addressing this, few-shot molecular property prediction (FSMPP) has been developed. Unlike other few-shot tasks, FSMPP typically employs a pre-trained molecular encoder and a context-aware classifier, benefiting from molecular pre-training and molecular context information. Despite these advancements, existing methods struggle with the ineffective fine-tuning of pre-trained encoders. We attribute this issue to the imbalance between the abundance of tunable parameters and the scarcity of labeled molecules, and the lack of contextual perceptiveness in the encoders. To overcome this hurdle, we propose a parameter-efficient in-context tuning method, named Pin-Tuning. Specifically, we propose a lightweight adapter for pre-trained message passing layers (MP-Adapter) and Bayesian weight consolidation for pre-trained atom/bond embedding layers (Emb-BWC), to achieve parameter-efficient tuning while preventing over-fitting and catastrophic forgetting. Additionally, we enhance the MP-Adapters with contextual perceptiveness. This innovation allows for in-context tuning of the pre-trained encoder, thereby improving its adaptability for specific FSMPP tasks. When evaluated on public datasets, our method demonstrates superior tuning with fewer trainable parameters, improving few-shot predictive performance.

少样本学习分子建模参数高效

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。