# DPA-2

**DPA-2**（深度势注意力-2）是一种用于分子与材料模拟的大型原子模型（LAM），于2023年12月提出，作为一种预训练机器学习原子间势的原型——该势可针对众多下游体系进行微调和蒸馏，而无需为每个体系从零开始训练<sup>[1](https://arxiv.org/abs/2312.15492)</sup>。它由张铎（Duo Zhang）、张林峰（Linfeng Zhang）、鄂维南（Weinan E）和王涵（Han Wang）等人组成的大型合作团队开发，于2024年12月19日以《DPA-2：一种作为多任务学习器的大型原子模型》为题发表于《npj Computational Materials》<sup>[2](https://www.nature.com/articles/s41524-024-01493-2)</sup>。该模型是DPA-1的后续版本，后者是一种为分子模拟预训练的基于注意力机制的深度势模型<sup>[3](https://arxiv.org/abs/2208.08236)</sup>。

| 关键事实 | 详情 |
|---|---|
| 是什么 | 一种基于注意力机制的深度势架构，作为大型原子模型（LAM）的原型提出，在多种化学与材料体系上进行了预训练<sup>[1](https://arxiv.org/abs/2312.15492)</sup> |
| 核心方法 | 多任务预训练：一个统一模型同时在使用不同DFT设置标注的数据集上训练，然后在下游任务上微调<sup>[4](https://liutheory.westlake.edu.cn/pdf/s41524-024-01493-2.pdf)</sup> |
| 发表 | arXiv 2023年12月24日；《npj Computational Materials》10, 293（2024年12月19日）<sup>[1](https://arxiv.org/abs/2312.15492)</sup><sup> • </sup><sup>[2](https://www.nature.com/articles/s41524-024-01493-2)</sup> |
| 元素覆盖 | DPA模型分别在56种元素（DPA-1）和73种元素（DPA-2）上训练，合计约400万个构型<sup>[5](https://doi.org/10.1063/5.0297006)</sup> |
| 模型规模 | 超过500万参数<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC12207430/)</sup> |
| 多任务代价 | 力精度几乎与单任务训练持平（WARMSE 116.3 对 111.1 meV/Å）；能量精度低25%（18.6 对 14.9 meV/atom）<sup>[7](https://doi.org/10.1038/s41524-024-01493-2)</sup> |
| 软件 | 在DeePMD-kit中实现为DPA-2描述符，支持TensorFlow、PyTorch、JAX和Paddle后端<sup>[8](https://docs.deepmodeling.com/projects/deepmd/en/latest/model/dpa2.html)</sup> |

## 动机：模型生成的瓶颈

机器学习原子间势能够以接近从头算电子结构方法的精度运行大规模、长时程的分子模拟，但为每个新体系构建模型需要昂贵的标注参考数据，DPA-2的作者将此视为大规模应用的瓶颈<sup>[1](https://arxiv.org/abs/2312.15492)</sup>。他们提出了一种以模型为中心的生态体系，类似于大语言模型，其中跨多个学科预训练的大型原子模型被适配到下游任务，而非重新训练<sup>[1](https://arxiv.org/abs/2312.15492)</sup>。

单任务训练有一个具体局限：来自不同应用领域的数据集使用不同的DFT设置（不同的泛函、基组和截断值）进行标注，因此无法简单地合并在一起同时训练<sup>[4](https://liutheory.westlake.edu.cn/pdf/s41524-024-01493-2.pdf)</sup>。

## 多任务预训练与微调

DPA-2的核心方法论贡献是一种多任务训练策略，即一个统一的模型框架同时在使用不同DFT参数计算得到的数据上进行训练。共享描述符编码一般物理知识，而各拟合网络编码每个任务特有的体系知识<sup>[4](https://liutheory.westlake.edu.cn/pdf/s41524-024-01493-2.pdf)</sup>。

对于下游任务，描述符参数从预训练模型初始化而非随机初始化，这提升了性能；如果下游数据集与某个预训练任务相似，相应的拟合网络也可以从中初始化。下游模型的能量偏置始终由下游数据决定，而非预训练数据<sup>[4](https://liutheory.westlake.edu.cn/pdf/s41524-024-01493-2.pdf)</sup>。论文描述的完整流程涵盖多任务预训练、微调、知识蒸馏和实际部署<sup>[9](https://pmc.ncbi.nlm.nih.gov/articles/PMC12369844/)</sup>。

跨任务共享一个模型的代价是可量化的：在预训练数据集上，多任务DPA-2的力精度几乎与单任务训练持平，但能量预测精度低25%<sup>[7](https://doi.org/10.1038/s41524-024-01493-2)</sup>。与其他架构相比，DPA-2在[ANI-1x](https://www.edgepedia.org/zh/ani-1x)基准上展现出优于ANI-1x模型的测试精度，在预训练数据集上的精度与GemNet-OC相当，且高于Equiformer V2、NequIP、Allegro和MACE<sup>[2](https://www.nature.com/articles/s41524-024-01493-2)</sup>。

## 架构

DPA-2是一种基于注意力机制的描述符架构。它通过三个耦合通道构建局部原子表示：单原子通道、旋转不变对通道和旋转等变对通道<sup>[8](https://docs.deepmodeling.com/projects/deepmd/en/latest/model/dpa2.html)</sup>。与[SchNet](https://www.edgepedia.org/zh/schnet)和NequIP等仅通过卷积和自相互作用更新节点特征的图神经网络势不同，DPA-2使用额外的机制进行节点特征更新<sup>[4](https://liutheory.westlake.edu.cn/pdf/s41524-024-01493-2.pdf)</sup>。该模型包含超过500万参数<sup>[6](https://pmc.ncbi.nlm.nih.gov/articles/PMC12207430/)</sup>。

## 蒸馏与部署

在下游体系上微调后，所得模型作为教师模型训练更轻量的学生模型，如DPA-1或DeepPot-SE。目标是在该体系上学生模型的精度接近教师模型，而效率提高约两个数量级，从而使大规模、高通量模拟成为可能<sup>[10](https://www.donews.com/news/detail/4/3899512.html)</sup>。

## 基于DPA-2的应用

**类药分子。** DPA-2-Drug是基于DPA-2框架构建的通用神经网络势，适用于含八种元素——H、C、N、O、F、S、Cl和P——的类药分子。通过并发学习、温度加速和增强采样，在约10万个分子的约140万个构象上训练，它达到了相对于ωB97XD/6-31G**水平DFT参考计算的化学精度，在扭转扫描、结构弛豫和高温分子动力学测试中大幅优于常用的半经验方法<sup>[11](https://pmc.ncbi.nlm.nih.gov/articles/PMC12377527/)</sup>。

**核用合金。** 一个基于DPA-2的难熔合金体系Ta-Nb-W-Mo-V势，仅使用五元合金数据从多任务预训练检查点DPA2_medium_28_10M_rc0.pt微调而来，在五元、四元和三元子集上均比从零开始在全部31个体系数据集上训练的DPA-1模型精度更高。预训练模型嵌入的物理知识降低了数据标注成本，同时再现了辐照损伤特征和温度相关的力学响应<sup>[12](https://www.nature.com/articles/s41524-025-01950-6)</sup>。

**生物分子力场。** DPA-2还与基于节点嵌入的相似性度量相结合，用于生物分子的高效力场优化，允许在无需人工干预的情况下扩展到新的化学物种<sup>[13](https://arxiv.org/abs/2406.09817)</sup>。

## 在通用势中的地位

DPA-2是若干通用机器学习原子间势之一（与DPA-3、MACE-MP和[MatterSim](https://www.edgepedia.org/zh/mattersim)并列），这些势在覆盖广泛分子与材料的大型数据集上训练，并用作体系特定模型的起点<sup>[14](https://doi.org/10.1038/s41524-026-02043-8)</sup>。后续基准测试显示即开即用的结果参差不齐：在一项负载纳米颗粒研究中，大多数通用模型将结构弛豫到DFT最小化位置约0.05 Å以内，而DPA2-MPTrj和DPA2-OC2M给出的位移大于约0.1 Å<sup>[15](https://www.nature.com/articles/s41524-026-02043-8)</sup>。在一项过渡态搜索基准中，DPA-2在接触反应性数据后有所改善，但在所测试的机器学习势中验证MAE位居第二高<sup>[16](https://pmc.ncbi.nlm.nih.gov/articles/PMC12442704/)</sup>。DPA系列已延续至DPA-3和DPA-4，后者定位于多任务大型原子模型预训练的新精度-成本前沿<sup>[17](https://arxiv.org/abs/2606.02419)</sup>。

## References

1. [DPA-2: a large atomic model as a multi-task learner (arXiv, 24 December 2023)](https://arxiv.org/abs/2312.15492)
2. [Duo Zhang et al. (2024). DPA-2: a large atomic model as a multi-task learner. npj Computational Materials 10, 293.](https://www.nature.com/articles/s41524-024-01493-2)
3. [DPA-1: Pretraining of Attention-based Deep Potential Model for Molecular Simulation (arXiv)](https://arxiv.org/abs/2208.08236)
4. [DPA-2 paper PDF (Liu Theory Group, Westlake University)](https://liutheory.westlake.edu.cn/pdf/s41524-024-01493-2.pdf)
5. [A foundation model for atomistic materials chemistry, Journal of Chemical Physics](https://doi.org/10.1063/5.0297006)
6. [Global universal scaling and ultrasmall parameterization in machine-learning interatomic potentials with superlinearity, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12207430/)
7. [DPA-2: a large atomic model as a multi-task learner, DOI record](https://doi.org/10.1038/s41524-024-01493-2)
8. [Descriptor DPA-2, DeePMD-kit documentation](https://docs.deepmodeling.com/projects/deepmd/en/latest/model/dpa2.html)
9. [DPA-2: a large atomic model as a multi-task learner, PMC full text](https://pmc.ncbi.nlm.nih.gov/articles/PMC12369844/)
10. [OpenLAM: 深度势能预训练大模型DPA-2发布, DoNews](https://www.donews.com/news/detail/4/3899512.html)
11. [Ab Initio Accuracy Neural Network Potential for Drug-Like Molecules, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12377527/)
12. [Scaling reliable interatomic potentials to complex nuclear alloys via pretrained atomic models, npj Computational Materials](https://www.nature.com/articles/s41524-025-01950-6)
13. [Efficient and Precise Force Field Optimization for Biomolecules Using DPA-2 (arXiv)](https://arxiv.org/abs/2406.09817)
14. [Benchmarking universal machine learning interatomic potentials for supported nanoparticles, npj Computational Materials](https://doi.org/10.1038/s41524-026-02043-8)
15. [Supported-nanoparticle uMLIP benchmark (full text), npj Computational Materials](https://www.nature.com/articles/s41524-026-02043-8)
16. [Harnessing Machine Learning to Enhance Transition State Search with Interatomic Potentials and Generative Models, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC12442704/)
17. [DPA4: Pushing the Accuracy-Cost Frontier of Interatomic Potentials with EMFA SO(2) Convolution (arXiv)](https://arxiv.org/abs/2606.02419)

---
*Initially written Oct 22, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Machine learning and neural computation › Neural networks and deep learning › Deep learning software and hardware › Fine-tuning and transfer of deep models

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/dpa-2

English original: https://www.edgepedia.org/dpa-2
