# 伞形采样

伞形采样是分子模拟中的一种增强采样技术，通过施加偏置势（通常为简谐势）将体系限制在反应坐标的选定值附近，从而能够对沿该坐标的高自由能区域进行采样，随后再去除偏置以恢复无偏的自由能剖面。该方法由托里和瓦洛于20世纪70年代提出，用于对含高能垒体系进行蒙特卡罗分析，至今仍是分子动力学中获取自由能剖面最广泛使用的途径之一。<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC3694627/)</sup><sup> • </sup><sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC4306294/)</sup>

| 关键事实 | 详细内容 |
|---|---|
| 目的 | 计算沿反应坐标 \( \xi \) 的自由能剖面（平均力势），其中 \( A(\xi) = -k_B T \ln P(\xi) \)<sup>[3](https://tutorials.gromacs.org/docs/umbrella-sampling.html)</sup> |
| 起源 | 由托里和瓦洛于20世纪70年代提出，用于对含高能垒体系进行蒙特卡罗采样<sup>[1](https://pmc.ncbi.nlm.nih.gov/articles/PMC3694627/)</sup> |
| 典型偏置 | 以选定窗口值 \( s_0 \) 为中心的简谐约束 \( V(s) = \frac{k}{2}(s - s_0)^2 \)；也允许其他函数形式<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup><sup> • </sup><sup>[5](https://wires.onlinelibrary.wiley.com/doi/10.1002/wcms.66)</sup> |
| 窗口 | 一系列独立模拟，每个模拟使用不同的约束中心，覆盖整个反应坐标；相邻窗口必须重叠<sup>[6](https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/umbrella-sampling)</sup> |
| 标准分析 | 库马尔等人（1992年）提出的加权直方图分析方法（WHAM）将各偏置直方图合并为一个无偏剖面<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC3271861/)</sup> |
| 已知缺陷 | 与反应坐标正交的自由度在不同窗口间的采样可能存在差异，若这些运动较慢，会使结果产生偏倚<sup>[6](https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/umbrella-sampling)</sup> |
| 常见变体 | 副本交换伞形采样（REUS）、自适应偏置伞形采样，以及与元动力学的结合<sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC4993472/)</sup><sup> • </sup><sup>[5](https://wires.onlinelibrary.wiley.com/doi/10.1002/wcms.66)</sup> |

## 为何需要偏置

在温度 \( T \) 下，无偏的分子动力学或蒙特卡罗模拟从正则系综中采样构型，\( P(q) \propto e^{-U(q)/k_B T} \)，其中 \( q \) 为微观坐标，\( k_B \) 为玻尔兹曼常数。集体变量 \( s \)（\( q \) 的低维函数）的概率分布映射为自由能景观 \( F(s) = -k_B T \log P(s) \)。<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup> 当景观中的极小值被高鞍点分隔时，它们之间的跃迁所需时间可能超出普通模拟的承受范围，因此势垒区域被访问的频率过低，无法直接测量其概率。<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup>

**伞形思想。** 在其原始表述中，理想偏置应为自由能本身的负值，这将使偏置后的景观变得平坦，让体系自由穿越过渡态。由于该剖面事先未知，方法通常以不同方式实施：在集体变量上施加简谐约束 \( V(s) = \frac{k}{2}(s - s_0)^2 \)，当力常数 \( k \) 较大时，仅探索 \( s_0 \) 附近的点。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC4306294/)</sup><sup> • </sup><sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup> 用不同的中心 \( s_0 \) 运行一系列此类模拟，便产生一组连续的窗口，从一个极小值出发，跨越过渡态到达另一个极小值。<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup>

偏置对自由能的影响是可加的：偏置后的景观为 \( F'(s) = F(s) + V(s) + C \)，其中未定常数 \( C \) 对合并窗口有影响，但对单个窗口内的自由能差无影响。任何无偏量也可通过以权重 \( w \propto e^{V(s(q))/k_B T} \) 对每个采样帧进行重加权，从偏置轨迹中恢复。<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup>

## 用WHAM合并窗口

每个窗口 \( i \) 产生一个偏置分布 \( P_i(s) = P(s) e^{-V_i(s)/k_B T} / Z_i \)，其中 \( Z_i \) 为未知归一化因子。无偏分布 \( P(s) \) 和 \( Z_i \) 通过最大化所有观测快照的似然自洽求得，即WHAM方程。<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup> 在GROMACS教程所用形式中，合并估计为 \( P(\xi) = \frac{\sum_{i=1}^{N_w} h_i(\xi)}{\sum_{j=1}^{N_w} n_j \exp(-\beta V_j(\xi) + F_j)} \)，其中 \( h_i(\xi) \) 为窗口 \( i \) 的直方图计数，\( n_i \) 为其总观测数，\( \beta = 1/k_B T \)。<sup>[3](https://tutorials.gromacs.org/docs/umbrella-sampling.html)</sup>

方程通过迭代求解：更新猜测值直至其与所有窗口自洽，若采样充分，各窗口在其重叠区域对 \( P(\xi) \) 的估计一致。传统上方程通过不动点直接迭代求解，可能需要超过100,000次迭代且收敛性差；朱和哈默表明，用超线性数值优化最大化等价似然可显著加快收敛。<sup>[3](https://tutorials.gromacs.org/docs/umbrella-sampling.html)</sup><sup> • </sup><sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC3271861/)</sup> WHAM已成为分析伞形采样模拟的标准技术，并在主流模拟软件包中实现；替代方法包括伞形积分和加权最小二乘分析法。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC3271861/)</sup><sup> • </sup><sup>[6](https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/umbrella-sampling)</sup>

## 计算设置

实际的伞形采样计算有三个设计决策：反应坐标、窗口布局和力常数。

**窗口与重叠。** 相邻窗口必须重叠，以便其直方图能够正确叠加；每个阶段的力常数必须选择得当，以高效采样势能面；每个窗口都需要初始热化模拟。若力常数过强，每个窗口采样的区域非常狭窄，需要过多模拟才能覆盖坐标。<sup>[6](https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/umbrella-sampling)</sup> 一个教学经验法则认为，窗口间距为0.25（以坐标单位计）可提供可观的局部重叠，而间距为2则表明重叠较弱，不过陡峭或多峰剖面需要检查实际直方图。<sup>[9](https://www.quantumchemistry.net/en/learn/molecular-dynamics/free-energy/)</sup>

**软件。** 在GROMACS中，伞形采样通过牵引代码配置：牵引组定义坐标的两端，`pull-coord1-type = umbrella` 选择简谐偏置，`pull-coord1-k` 设置力常数（教程中为5000.0），`pull-coord1-init` 固定窗口中心（教程中为0.834 nm）。每个窗口运行输出 `pullx.xvg`（沿坐标的距离时间序列）和 `pullf.xvg`（标量偏置力）；随后 `gmx wham` 工具将它们与匹配的 `topol.tpr` 运行输入文件结合，生成自由能剖面。<sup>[3](https://tutorials.gromacs.org/docs/umbrella-sampling.html)</sup> 在PLUMED中，相同设置使用 `RESTRAINT` 指令和简谐常数；一个大师课练习使用32个窗口，约束中心均匀分布在 \( -\pi \) 到 \( \pi \) 之间的扭转角 \( \phi \) 上，力常数为200.0。<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup><sup> • </sup><sup>[10](https://www.plumed.org/doc-v2.9/user-doc/html/masterclass-21-3.html)</sup>

**收敛性检查。** 朱和哈默提出两个统计标准来检验相邻窗口直方图之间的一致性，有助于识别采样不足和与反应坐标正交的自由度中的滞后现象。对于具有简谐偏置的密集窗口，WHAM剖面可通过积分平均约束力获得的粗粒化自由能来近似，其统计误差易于估计并可传递到WHAM结果。<sup>[7](https://pmc.ncbi.nlm.nih.gov/articles/PMC3271861/)</sup>

## 局限与变体

主要的结构性局限在于反应坐标可能隐藏一个缓慢的正交变量：沿 \( \xi \) 看似收敛的采样，若垂直于它的运动平衡缓慢，仍可能存在偏倚；与序参量正交的自由度在不同窗口中的采样不同。<sup>[9](https://www.quantumchemistry.net/en/learn/molecular-dynamics/free-energy/)</sup><sup> • </sup><sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC4993472/)</sup> 窗口设计还必须在剖面已知之前预先确定。<sup>[6](https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/umbrella-sampling)</sup>

若干变体针对这些弱点。副本交换伞形采样并行运行窗口，并以梅特罗波利斯接受准则尝试相邻窗口间的构型交换，这在正交势垒仅在某些窗口较高时有所帮助。<sup>[8](https://pmc.ncbi.nlm.nih.gov/articles/PMC4993472/)</sup> 自适应偏置伞形采样通过一系列短模拟精炼偏置；若偏置调整至在末端态之间产生均匀分布，则整个范围可由一个窗口跨越，自由能变化可直接从偏置中读取。<sup>[2](https://pmc.ncbi.nlm.nih.gov/articles/PMC4306294/)</sup><sup> • </sup><sup>[5](https://wires.onlinelibrary.wiley.com/doi/10.1002/wcms.66)</sup> 一种自适应优化理论以依赖于PMF的最优力常数分布窗口，将窗口集中在自由能陡峭处。<sup>[11](https://pubs.acs.org/doi/10.1021/ct500504g)</sup> 伞形采样也可与元动力学（一种沿轨迹沉积高斯势的自适应方法）结合，逐片采样自由能面。<sup>[12](https://arxiv.org/abs/1507.06764)</sup>

## 与其他自由能方法的关系

伞形采样属于集体变量偏置方法家族，与元动力学和自适应偏置力算法并列，而有别于并行回火等回火方法。<sup>[13](https://arxiv.org/abs/1401.0387)</sup> 与自由能微扰和热力学积分相比，伞形采样的窗口势可在自由能计算中将构象空间限制到特定区域，WHAM向组合自由能计算的扩展正是利用了这一点。<sup>[14](https://www.sciencedirect.com/science/article/pii/S0010465500002150)</sup> 典型应用包括分子复合物的结合与解离、沿双分子层法线方向的膜渗透性剖面，以及丙氨酸二肽等分子的构象跃迁。<sup>[4](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)</sup><sup> • </sup><sup>[15](https://pmc.ncbi.nlm.nih.gov/articles/PMC3527668/)</sup><sup> • </sup><sup>[10](https://www.plumed.org/doc-v2.9/user-doc/html/masterclass-21-3.html)</sup>

## References

1. [Self-Learning Adaptive Umbrella Sampling Method for the Determination of Free Energy Landscapes in Multiple Dimensions, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3694627/)
2. [The Adaptive Biasing Force Method: Everything You Always Wanted To Know but Were Afraid To Ask, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC4306294/)
3. [Umbrella sampling, GROMACS tutorials](https://tutorials.gromacs.org/docs/umbrella-sampling.html)
4. [PLUMED: Belfast tutorial: Umbrella sampling](https://www.plumed.org/doc-v2.9/user-doc/html/belfast-4.html)
5. [Umbrella sampling (Kästner, 2011), WIREs Computational Molecular Science](https://wires.onlinelibrary.wiley.com/doi/10.1002/wcms.66)
6. [Umbrella Sampling, ScienceDirect Topics overview](https://www.sciencedirect.com/topics/biochemistry-genetics-and-molecular-biology/umbrella-sampling)
7. [Convergence and error estimation in free energy calculations using the weighted histogram analysis method (Zhu & Hummer), PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3271861/)
8. [QM/MM free energy simulations: recent progress and challenges, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC4993472/)
9. [Free energies, umbrella sampling and reaction coordinates, Quantum Chemistry Network](https://www.quantumchemistry.net/en/learn/molecular-dynamics/free-energy/)
10. [PLUMED Masterclass 21.3: Umbrella sampling](https://www.plumed.org/doc-v2.9/user-doc/html/masterclass-21-3.html)
11. [Theory of Adaptive Optimization for Umbrella Sampling, Journal of Chemical Theory and Computation](https://pubs.acs.org/doi/10.1021/ct500504g)
12. [Sampling Free Energy Surfaces as Slices by Combining Umbrella Sampling and Metadynamics, arXiv](https://arxiv.org/abs/1507.06764)
13. [Enhanced Sampling in Molecular Dynamics Using Metadynamics, Replica-Exchange, and Temperature-Acceleration, arXiv](https://arxiv.org/abs/1401.0387)
14. [Extension to the weighted histogram analysis method: combining umbrella sampling with free energy calculations, Computer Physics Communications](https://www.sciencedirect.com/science/article/pii/S0010465500002150)
15. [Back to the Future: Can physical models of passive membrane permeability help reduce drug candidate attrition?, PMC](https://pmc.ncbi.nlm.nih.gov/articles/PMC3527668/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 11, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 物理学 › 物理学方法、实践与学术共同体 › Applied and interdisciplinary physics › Computational and simulation physics › Numerical methods in physics › Molecular and particle simulation methods › Enhanced sampling and free-energy methods

Copyright 2026 Edgepedia

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

Source: https://www.edgepedia.org/zh/umbrella-sampling

English original: https://www.edgepedia.org/umbrella-sampling
