WELP : Weighted Ensemble in the LooP for committor learning

Jacky Chen, Rishal Aggarwal, David Ryan Koes

TL;DR

WELP (Weighted Ensemble in the LooP) is a new framework that solves the "chicken-and-egg" problem of learning molecular transition paths. By coupling Weighted Ensemble sampling with a neural network trained on a self-consistent "semigroup" loss, the method simultaneously explores rare transition regions and refines the reaction coordinate needed to find them, significantly outperforming greedy sampling baselines.

What Problem Does This Paper Address?

In computational biophysics, we often want to understand "rare events"—like a protein folding or a drug binding to a receptor. These transitions happen on timescales far beyond what standard molecular dynamics (MD) can simulate because the system spends most of its time stuck in stable "basins."

To accelerate these simulations, researchers use the committor function ($q$): the probability that a specific molecular configuration will reach a target state before returning to its starting state. If you know the committor, you have the perfect "reaction coordinate" to drive enhanced sampling. However, there is a circular dependency: to learn the committor, you need to have already sampled the very transition regions that are hardest to reach.

Previous attempts to solve this often used "greedy" strategies—sampling where the current model thinks the transition is most likely. As this paper demonstrates, greedy methods often suffer from confirmation bias, getting trapped in a single transition channel and failing to discover alternative pathways.

Methods

The authors introduce WELP, a closed-loop framework that alternates between sampling and learning:

  1. Weighted Ensemble (WE) Sampling: Instead of one long simulation, WE manages an ensemble of short "walkers." It uses a progress coordinate (initially a guess, later the learned committor) to bin these walkers. By constantly splitting walkers in sparsely sampled regions and merging them in oversampled ones, WE forces the simulation to explore the entire transition path without adding unphysical biases.
  2. Semigroup Loss: To train the neural network, the authors use a "semigroup" approach. This relies on a self-consistency property: the committor value at a point $x$ should equal the average committor value of the system a short time later. This is brilliant because it allows the model to learn from thousands of short trajectory snippets generated by the WE process, rather than requiring complete, successful transition paths.
  3. Adaptive Binning: The framework uses the Minimal Adaptive Binning (MAB) scheme. It automatically identifies "bottleneck" walkers—those that have made progress but carry little statistical weight—and splits them to accelerate discovery.
Figure 1: Algorithmic overview of WELP, with a target of two walkers per bin: (a) initialize walkers at boundary states; (b) propagate the dynamics; (c) store parent–child pairs in a buffer; (d) train the neural network using the semigroup loss; (e) adaptively rebin to increase sampling in bottleneck regions; and (f) merge and split walkers to restore two walkers per bin.

Datasets

The authors evaluated WELP on three systems of increasing complexity:

  • 2D Two-Channel Potential: A synthetic system designed to test if the algorithm can find two distinct pathways between states.
  • Alanine Dipeptide (ADP): A standard 22-atom benchmark for rare-event sampling.
  • Chignolin: A 10-residue protein in explicit water (over 16,000 atoms total), representing a high-dimensional real-world challenge.

New Contribution: The authors curated and released a public benchmark dataset for Alanine Dipeptide containing ~360,000 conformations with empirically determined committor values, providing a much-needed "ground truth" for the community to test future learning methods.

Key Insights and Ideas

  • Exploration is Non-Negotiable: The "aha moment" of the paper is the failure of greedy methods. In the 2D system, the greedy baseline eventually "collapsed" onto a single channel, losing accuracy for the rest of the configuration space. WELP’s use of WE ensures that even "unlikely" paths are kept alive and sampled, allowing the model to correct its own mistakes.
  • Symbiotic Reinforcement: WE and the semigroup loss are perfectly matched. WE naturally produces the short, weighted "parent-child" trajectory pairs that the semigroup loss requires for training. In return, the learned committor provides the most efficient possible coordinate for WE to bin its walkers.
  • Robustness to Initialization: In an "adversarial" test where the initial samples were biased away from a known channel, WELP was able to recover the missing pathway, whereas greedy methods remained blind to it.

Key Results

  • Accuracy: In the 2D system, WELP achieved an RMSE of 0.032, compared to 0.129 for the greedy baseline.
  • Channel Occupancy: As shown in Figure 2, the greedy method progressively abandons one of the two transition channels, while WELP maintains balanced coverage of both.
  • Efficiency on Chignolin: WELP converged to experimental folding and unfolding rates within just 350 ns of aggregate simulation time. For context, this is less time than it would take to observe a single folding event in an unbiased simulation.
  • ADP Performance: WELP reached a Pearson correlation of 0.934 with the ground-truth benchmark, significantly higher than the 0.732 achieved by the greedy baseline.
Comparison of channel occupancy and accuracy between Greedy and WELP

Limitations and Future Work

  • Degenerate Pathways: WELP bins walkers along a single learned coordinate. If two very different physical pathways have identical committor values, they will be binned together, which might limit the diversity of the ensemble. The authors suggest binning on additional coordinates in the future.
  • Computational Overhead: Each iteration requires $K$ child rollouts per bin to estimate the semigroup target. While effective, adapting $K$ based on the model's local uncertainty could make the algorithm even more efficient.
  • Scaling to Larger Proteins: While Chignolin is a significant step up from toy models, the ultimate goal is to apply this to large, multi-domain proteins where the transition mechanisms are entirely unknown.

Summary updated

Abstract

Understanding how complex molecular systems transition between metastable states is a central challenge in computational chemistry and biophysics. A key tool for characterizing these transitions is the committor function: the probability that a trajectory initiated from a given configuration reaches one state before another. Because the committor encodes both the progress and the mechanism of a transition, it is an ideal collective variable (CV). Learning it, however, requires sampling the rare transitions it describes. We address this circular dependency with a ``WE-in-the-loop'' framework that couples committor learning with weighted ensemble (WE), an enhanced sampling method that uses a CV to drive transition dynamics. Our framework alternates between the two: WE simulation generates transition data for training a neural network committor with a self-consistent loss, and the learned committor then serves as an improved CV for subsequent WE simulation. Across a two-channel 2D system, alanine dipeptide, and chignolin, our framework consistently outperforms greedy baselines, highlighting the importance of principled exploration. We also curate a public benchmark of empirically determined committor values for alanine dipeptide. Together, the framework and benchmark provide a new method for studying rare transitions in high-dimensional molecular systems and a standard for evaluating committor learning methods.
BibTeX
@inproceedings{chen2026welp,
  author = {Jacky Chen and Rishal Aggarwal and David Ryan Koes},
  title = {{WELP : Weighted Ensemble in the LooP for committor learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=PgXWIFAiIh},
}
Figure