模块化多任务学习用于化学反应预测
Modular Multi-Task Learning for Chemical Reaction Prediction
AI总结:
本文提出使用LoRA进行模块化多任务学习,以提高有机反应预测的准确性和泛化能力。
摘要:
将经过广泛有机化学训练的大语言模型(LLMs)适应到较小的、领域特定的反应数据集上是化学和制药研发中的关键挑战。有效的专门化需要在学习新反应知识的同时,保持跨相关任务的一般化学理解。在这里,我们评估LoRA作为一种参数高效的方法,作为全微调的替代方案,用于有机反应预测,在有限且复杂的数据集上。使用USPTO反应类别和具有挑战性的C-H功能化反应,我们评估了正向反应预测、逆合成和试剂预测。LoRA在准确率上与全微调相当,同时有效缓解了灾难性遗忘,并更好地保持了多任务性能。两种微调方法都能超越训练分布,产生合理的替代溶剂预测。值得注意的是,C-H功能化微调揭示了LoRA和全微调编码了微妙不同的反应性模式,表明LoRA在反应特定适应方面更为有效。随着LLMs的持续扩展,我们的结果突显了模块化、参数高效的微调策略在化学应用中灵活部署的实用性。
英文摘要:
Adapting large language models (LLMs) trained on broad organic chemistry to smaller, domain-specific reaction datasets is a key challenge in chemical and pharmaceutical R&D. Effective specialisation requires learning new reaction knowledge while preserving general chemical understanding across related tasks. Here, we evaluate Low-Rank Adaptation (LoRA) as a parameter-efficient alternative to full fine-tuning for organic reaction prediction on limited, complex datasets. Using USPTO reaction classes and challenging C-H functionalisation reactions, we benchmark forward reaction prediction, retrosynthesis and reagent prediction. LoRA achieves accuracy comparable to full fine-tuning while effectively mitigating catastrophic forgetting and better preserving multi-task performance. Both fine-tuning approaches generalise beyond training distributions, producing plausible alternative solvent predictions. Notably, C-H functionalisation fine-tuning reveals that LoRA and full fine-tuning encode subtly different reactivity patterns, suggesting more effective reaction-specific adaptation with LoRA. As LLMs continue to scale, our results highlight the practicality of modular, parameter-efficient fine-tuning strategies for their flexible deployment for chemistry applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。