arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.07148cond-mat.softcond-mat.dis-nncs.AIcs.CLcs.LGq-bio.QM
收藏

X-LoRA:低秩适配器专家混合,一种面向大语言模型的灵活框架及其在蛋白质力学与分子设计中的应用

X-LoRA: Mixture of Low-Rank Adapter Experts, a Flexible Framework for Large Language Models with Applications in Protein Mechanics and Molecular Design

Academy for Science and Design (ASD)(科学设计学院);Massachusetts Institute of Technology (MIT)(麻省理工学院)

Eric L. Buehler, Markus J. Buehler

AI总结:

本文提出X-LoRA框架,通过门控动态混合低秩适配器专家,无需修改底层结构即可扩展大语言模型能力,并在蛋白质力学、蛋白质设计及分子设计等科学任务中验证了其定量预测与推理能力。

摘要:

我们报告了一种专家混合策略,用于基于低秩适配(LoRA)的深层逐层令牌级方法创建微调大语言模型。从一组预训练的LoRA适配器开始,我们的门控策略利用隐藏状态动态混合被适配的层,使所得的X-LoRA模型能够利用不同能力并创造前所未有的深层逐层组合来求解任务。该设计受到生物学的普适性与多样性原理启发,其中神经网络构建块在不同层级表现中被重复使用。因此,X-LoRA模型可以轻松应用于任何现有的大语言模型(LLM),而无需修改底层结构。我们开发了一个定制的X-LoRA模型,提供科学能力,包括正向/逆向分析任务和增强的推理能力,重点关注生物材料分析、蛋白质力学与设计。这项工作的影响包括获得易于扩展和适应且具有强大领域知识的模型,以及跨知识领域整合的能力。该模型拥有生物学、数学、推理、生物启发材料、力学与材料、化学、蛋白质生物物理学、力学以及基于量子力学的分子性质等领域的专家,我们开展了一系列以物理为重点的案例研究。我们考察了知识回忆、蛋白质力学正向/逆向任务、蛋白质设计、对抗性智能体建模(包括本体知识图谱构建)以及分子设计。该模型不仅能够对蛋白质的纳米力学性质或量子力学分子性质进行定量预测,还能对结果进行推理,并正确预测解释不同分子行为的可能机制。

英文摘要:

We report a mixture of expert strategy to create fine-tuned large language models using a deep layer-wise token-level approach based on low-rank adaptation (LoRA). Starting with a set of pre-trained LoRA adapters, our gating strategy uses the hidden states to dynamically mix adapted layers, allowing the resulting X-LoRA model to draw upon different capabilities and create never-before-used deep layer-wise combinations to solve tasks. The design is inspired by the biological principles of universality and diversity, where neural network building blocks are reused in different hierarchical manifestations. Hence, the X-LoRA model can be easily implemented for any existing large language model (LLM) without a need for modifications of the underlying structure. We develop a tailored X-LoRA model that offers scientific capabilities including forward/inverse analysis tasks and enhanced reasoning capability, focused on biomaterial analysis, protein mechanics and design. The impact of this work include access to readily expandable and adaptable models with strong domain knowledge and the capability to integrate across areas of knowledge. Featuring experts in biology, mathematics, reasoning, bio-inspired materials, mechanics and materials, chemistry, protein biophysics, mechanics and quantum-mechanics based molecular properties, we conduct a series of physics-focused case studies. We examine knowledge recall, protein mechanics forward/inverse tasks, protein design, adversarial agentic modeling including ontological knowledge graph construction, as well as molecular design. The model is capable not only of making quantitative predictions of nanomechanical properties of proteins or quantum mechanical molecular properties, but also reasons over the results and correctly predicts likely mechanisms that explain distinct molecular behaviors.

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

↑