Estimating committor functions via deep adaptive sampling on rare transition paths

Yueyang Wang, Kejun Tang, Xili Wang, Xiaoliang Wan, Weiqing Ren, Chao Yang

TL;DR

Estimating committor functions—the probability that a system will reach one state before another—is notoriously difficult because transition events are rare and high-dimensional. This paper introduces DASTR (Deep Adaptive Sampling for TRansition paths), a framework that uses deep generative models to "hunt" for these rare transition paths and adaptively sample the regions where the committor function is most uncertain, significantly improving accuracy and efficiency in molecular simulations.

What Problem Does This Paper Address?

In molecular dynamics and statistical physics, we often want to understand "rare events," like a protein folding or a chemical reaction occurring. The committor function is the mathematical heart of this: it tells you the probability that a system starting at point $x$ will reach state B before state A.

The challenge is two-fold:

  1. The Curse of Dimensionality: These systems often have dozens or hundreds of degrees of freedom, making traditional grid-based solvers impossible.
  2. The Scarcity of Data: If you just run a standard simulation (Langevin dynamics), the system spends 99.9% of its time vibrating inside the "wells" of states A and B. It almost never crosses the high-energy barrier between them. Consequently, a neural network trained on this data has no information about the transition region—the very place where the committor function changes from 0 to 1.

Methods

The authors propose DASTR, an iterative framework that bridges the gap between neural network solvers and rare-event sampling.

  1. Variational Solver: Instead of solving a partial differential equation (PDE) directly, they represent the committor function as a deep neural network $q_\theta$ and minimize a variational loss functional.
  2. Adaptive Sampling with KRnet: The core innovation is treating the integrand of the loss function as an unnormalized probability density. This density peaks exactly in the transition region. They use a flow-based generative model called KRnet to learn this distribution and generate new, high-quality samples in the transition state region.
  3. Latent Space Sampling: For complex molecules, generating raw atomic coordinates often results in "unphysical" structures (atoms overlapping or bonds stretching impossibly). To fix this, DASTR uses an autoencoder to map the molecule into a lower-dimensional latent space. Sampling happens in this latent space, and a decoder reconstructs the physical molecule, ensuring the generated data points are realistic.
The DASTR workflow: from initial dynamics to generative sampling in the transition area.

Datasets

The method was evaluated on three increasingly complex benchmarks:

  • Rugged Mueller Potential (10D): A classic, "bumpy" energy landscape used to test transition path algorithms.
  • Standard Brownian Motion (20D): A high-dimensional test with an analytical solution to verify accuracy.
  • Alanine Dipeptide (66D): A realistic molecular system in a vacuum. This is the "gold standard" for testing rare-event methods in computational chemistry.

Key Insights and Ideas

  • The Loss as a Map: The authors realized that the mathematical "error" in their neural network solver actually points toward the transition region. By sampling where the gradient of the committor function is highest, they automatically find the most informative data points.
  • Generative Models vs. Physics Simulations: Traditional "enhanced sampling" (like Metadynamics or Umbrella Sampling) requires running expensive physical simulations to force the system over barriers. DASTR uses generative models to hallucinate potential transition states, which is much faster.
  • The Necessity of Latent Space: Directly sampling high-dimensional atomic coordinates is a recipe for "garbage" data. By using an autoencoder, the model learns the underlying "grammar" of molecular shapes, making the adaptive sampling far more efficient.
Comparison of molecules generated using raw coordinates (left) vs. latent variables (right). Latent sampling produces much more physically consistent structures.

Key Results

  • Accuracy: On the 10D Mueller potential, DASTR achieved $L^2$ relative errors an order of magnitude lower than baseline methods (like artificial temperature sampling).
  • Efficiency: For the Alanine Dipeptide problem, generating samples via the latent-space DASTR method was over 25 times faster than using traditional Umbrella Sampling (92 seconds vs. 2406 seconds for $10^5$ samples).
  • Robustness: The method successfully captured the 1/2-isosurface (the "transition state") of Alanine Dipeptide, where previous neural network approaches often struggled due to lack of data.

Limitations and Future Work

While DASTR is a major step forward, the authors note a few areas for improvement:

  • Initial Seeds: The method still benefits from an initial set of samples (e.g., from metadynamics) to "know" that a transition is possible.
  • Energy Thresholding: Currently, they use a simple potential energy cutoff to filter out unphysical samples. More sophisticated ways to enforce physical constraints within the generative model itself could be explored.
  • Scaling: Future work will look at even larger, more complex protein systems where the "rare event" problem is even more pronounced.

Summary updated

BibTeX
@article{wang2026estimating,
  author = {Yueyang Wang and Kejun Tang and Xili Wang and Xiaoliang Wan and Weiqing Ren and Chao Yang},
  title = {{Estimating committor functions via deep adaptive sampling on rare transition paths}},
  journal = {Journal of Computational Physics},
  year = {2026},
  doi = {10.1016/j.jcp.2025.114439},
}
Figure