Manuscript Offprint
arXiv:2611.00903Foresight: Learning Twisted SMC for Rare Events from Reversed Relaxations
Abstract
We consider the probability that a reversible Markov chain started in a set is in a rare set after a fixed horizon, a quantity often needed for many start laws, down to single states. Twisted sequential Monte Carlo (SMC) estimates such probabilities without bias, with small variance when its proposal and twist approximate the dynamics conditioned on reaching , but these components are usually learned from forward simulations, which contain almost no successful paths when the event is rare. We introduce Foresight-SMC, which learns both components from the target side: under reversibility, relaxations started in that return to are, read backwards, exact samples of the conditioned paths, and their number is governed by the return probability rather than by the rare probability. Extending this reversal to the recorded propose–accept decisions of a Metropolis-adjusted sampler, we fit a controlled Langevin proposal with exact likelihood ratios by maximum likelihood, together with a classifier twist; the resulting estimator is unbiased for any start law. A variance analysis shows that resampling reduces the variance when the importance weights degenerate, as they do over long horizons. On an Allen–Cahn field, the learned proposal alone suffices, and one trained model is more accurate than splitting at equal cost. On alanine tripeptide, resampling with the learned twist is necessary, and Foresight-SMC needs less computation per query than adaptive multilevel splitting on localized start sets.
1. Introduction
Many questions about molecular and stochastic systems ask how likely a rare transition is within a given time. For a reversible Markov chain started from a law on a set , we seek the probability that it is in a target set after steps. Splitting methods (Allen et al., 2005; Cérou & Guyader, 2007) and importance sampling (Dupuis & Wang, 2004) estimate such probabilities far below the reach of direct simulation. Each run, however, answers a single start law and horizon, which we call a query, and splitting further requires a reaction coordinate, a scalar measure of progress toward . Applications often need many queries, down to single start configurations.
Twisted sequential Monte Carlo (SMC) (Del Moral, 2004; Chopin & Papaspiliopoulos, 2020) offers an alternative that estimates such probabilities without bias and needs no reaction coordinate. It propagates particles under a proposal dynamics, corrects them with likelihood ratios, and resamples them according to a twist, a function that predicts how likely each particle is to reach . From a point start, the estimator has zero variance when the proposal is the Doob -transform, that is, the dynamics conditioned to end in , and the twist is the success probability itself (Doob, 1957; Heng et al., 2020). In practice both components are learned from forward simulations (Guarniero et al., 2017; Heng et al., 2020; Lawson et al., 2022), which contain almost no successful paths when the event is rare.
We introduce Foresight-SMC (Figure 1), which learns the proposal and the twist from the target side. Our key observation is that reversibility supplies the missing successful paths. Consider relaxations, that is, reference paths started at equilibrium in . Those that are in after steps are, read backwards, exact samples of the conditioned path law started from , the equilibrium law restricted to . Their fraction satisfies . The rarity is therefore carried by the equilibrium ratio , whereas is not small once exceeds the typical residence time in . The identity alone yields only the average over and requires . Foresight-SMC instead uses the returning relaxations as training data, and the learned model answers queries from any start law, including single configurations, without retraining.
*Equal contribution ¹Key Laboratory of Organ Regeneration and Reconstruction, Chinese Academy of Sciences, Beijing, China ²Institute of Industrial Science, The University of Tokyo, Tokyo, Japan ³Westlake University, Hangzhou, China ⁴Beijing Life Science Academy, Beijing, China. Correspondence to: Chen Fang fangchen23@ioz.ac.cn.
Preprint. October 31, 2026.
Our contributions are as follows.
- We show that reversed relaxations are training data for twisted SMC. We extend the classical time-reversal identity to the recorded propose–accept decisions of a Metropolis-adjusted sampler, and show that the effective sample size of the relaxations is at least their number times (Section 3.1).
• We learn h in the two forms that twisted SMC needs: a controlled Langevin proposal whose recorded steps give exact likelihood ratios, fitted by maximum likelihood on reversed transitions, and a classifier twist whose logit is up to a constant. The estimator is unbiased for any start law, including point starts, whatever the networks learn (Sections 3.2–3.4).
• We relate the variance to the errors of the proposal and the twist. The proposal error accumulates over the horizon, and resampling with the twist resets the weights at the price of the twist error (Section 3.5).
We evaluate Foresight-SMC on the two sides of this analysis (Section 4). On an Allen–Cahn field, the learned proposal alone suffices, and one trained model answers point queries more accurately than splitting at equal cost. On alanine tripeptide, the weights of the proposal alone degenerate over long paths, and resampling with the learned twist needs less work per query than splitting on localized start sets.
which implies that is stationary for . Let be disjoint start and target sets with , and write and .
A query consists of a start law on , either a point mass (a point start) or a distribution over start states, and a horizon . Let denote the law of the path with and . We seek the endpoint probability
where denotes the indicator function of , so that is the probability of being in after further steps from . Note that the event is rather than the first arrival in before time ; the reversal identity of Section 3.1 holds for this endpoint event.
Reference dynamics. In our experiments, for a potential energy on or on a torus, and is the Metropolis-adjusted Langevin algorithm (MALA; Roberts & Tweedie, 1996). From a state , MALA proposes an Euler–Maruyama step of the overdamped Langevin diffusion , where is a standard Brownian motion. With step size , the proposal density is
where is the Gaussian density in z and I is the identity. The proposal is accepted with the Metropolis–Hastings probability
and the chain remains at otherwise. The acceptance step makes exactly reversible with respect to for every , as required by (1). The rejection probability , however, has no closed form, so a MALA path has no tractable density; Section 3.1 handles this by recording the propose–accept decisions.
Conditioned path law. For , conditioning on the terminal event gives
that is, keeps only the paths that end in B and renormalizes their probability. By the Doob h-transform (Doob, 1957), is again a Markov chain, with initial law and time-dependent kernels
(6)
defined where . Here governs the step from time to , when steps remain. It reweights each reference step by the success probability of the state it reaches; the denominator is the normalizing constant, since . In importance sampling, one draws paths from a proposal and averages the weights , whose mean is when on . The conditioned law is the zero-variance proposal: with , every weight equals exactly.
Its kernels, however, depend on the unknown functions , about which forward simulation is nearly uninformative when is small.
3. Foresight-SMC
Section 2 shows that the conditioned path law is the zero-variance proposal but depends on the unknown success probabilities . Foresight-SMC learns approximations of the Doob kernel and of from relaxations started in and combines them in twisted SMC (Figure 1). Section 3.1 obtains training paths by reversing relaxations (Figure 1a). Sections 3.2 and 3.3 learn the proposal (inset of Figure 1b) and the twist (Figure 1c, left), Section 3.4 assembles the estimator (Figure 1b, c), and Section 3.5 analyzes its variance. All proofs are given in the appendix.
3.1. Reversed relaxations
Both the proposal and the twist are learned from paths of the conditioned law , and we obtain these paths from the target side. We draw and run the reference chain for steps. We call a relaxation, its state at age , and write ; a relaxation is returning if , with return probability . Sampling is an equilibrium problem restricted to (Appendices E and F). Read backwards, a returning relaxation is a path from to whose state at time has age , the number of remaining steps.
Transition records. As noted in Section 2, a MALA path has no tractable density, yet twisted SMC needs likelihood ratios between the learned and the reference kernel. We therefore record each transition as , with the proposed state and the acceptance indicator. With respect to the product of and the counting measure on , the record has the explicit density
so likelihood ratios between kernels with this propose-accept structure are exact on recorded paths (Appendix F.1 treats the torus). From now on, and denote laws of recorded paths .
The following proposition shows that reversal turns returning relaxations into exact samples of the conditioned law, both for states and for records.
Proposition 3.1 (Path reversal). Under (1), if , then
and with . If is MALA, (8) also holds for recorded paths. Reversal then keeps a rejected record unchanged and replaces the proposed state of an accepted record by the state it left.
The statement for states and the identity are classical (Kent, 1978; E & Vanden-Eijnden, 2006): by (1), equilibrium paths are invariant under time reversal, and restricting the start to and the end to gives (Appendix A.1). The identity yields a baseline estimator for , reverse counting (Section 4.2), but not for other start laws. The statement for records is new (Appendix A.2) and allows the reversed records to serve as training data for the proposal.
Coverage. It remains to quantify how informative these paths are. The time- marginal of satisfies (Appendix A.3), so relaxation states at age have an effective sample size of at least for . The data requirement is thus set by rather than by . The bound concerns ; for point starts, accuracy relies on the generalization of the learned components.
3.2. Learning the proposal
The Doob kernel (6) reweights a reference step at time by the success probability of the state that it reaches, with . We approximate , up to an additive constant, by a network , and reweight the proposal and the acceptance of a MALA step separately (inset of Figure 1b). Since does not depend on , one network serves every horizon up to the longest one used in training.
Proposal. Tilting by and linearizing around gives
whose added drift points toward states with a higher estimated success probability. In our experiments, the proposal is a mixture of two such Gaussians, which lets paths follow distinct routes to , the transition channels (Appendix B.1).
Acceptance. Tilting the accept and reject outcomes by at the resulting state gives, without linearization,
Substituting and into (7) gives the record density of the controlled kernel . We write for the law of its recorded paths from , and
for their log-likelihood ratio to the reference dynamics. We write for the family .
Training. We minimize the forward KL divergence, which by (5) is

Figure 1. Overview of Foresight-SMC. (a) Relaxations start from ; those that end in , read backwards, are samples of (Proposition 3.1) and train the proposal and the twist. (b) For a query, particles move from (blue) toward (red) under the controlled kernel and are resampled at block ends. Inset: one step, in which the reference Gaussian proposal (dashed) is shifted by and the acceptance is tilted by ; crosses mark rejected proposals. (c) Twisted SMC with proposal and twist returns an unbiased estimate of ; with it reduces to importance sampling.
The first term does not depend on , and by Proposition 3.1 the expectation can be estimated on reversed records, which gives the cross-entropy loss (Zhang et al., 2014; Nüksen & Richter, 2021)
where averages over reversed records. This loss is the negative log-likelihood of the reversed transitions and needs no simulation under (Appendix B.2). Since , evaluating (12) on held-out relaxations gives the path KL when is known, which serves as a training diagnostic; for the reference dynamics, and it equals .
3.3. Learning the twist
At a resampling time with steps remaining (Section 3.4), the twist needs to estimate only up to a positive factor, since rescaling a twist at an intermediate resampling time leaves the estimator unchanged (Appendix C.2). One estimate is . Another is a classifier (Figure 1c, left): by (1), a relaxation state at age has density relative to , so a balanced classifier between such states and draws of has Bayes-optimal logit
(cf. Lawson et al., 2022). With known, is a simulation-free plug-in estimate of , but it is biased under miscalibration and comes without an error
Algorithm 1 Learning the components (once for all queries)
Require: reference kernel ; samplers of and ; longest horizon ; pool size
1: for to do
2: Draw and simulate under , recording
3: end for
4: Reverse the paths with , together with their records (Proposition 3.1)
5: Fit by minimizing (13) on the reversed paths; this defines
6: Fit by classifying states of age of all relaxations against draws of (logit (14))
Ensure: controlled kernel and logits , from which each query forms (or )
bar; using the classifier as a twist in SMC removes both limitations. Since any positive twist keeps the estimator unbiased, we may also temper the classifier, with , to sharpen logits that are too small in magnitude (Appendix F.2). At the resampling time of Section 3.4, we write . Algorithm 1 summarizes training.
3.4. The twisted SMC estimator
Twisted SMC propagates particles under and resamples them at times , which divide the horizon into blocks (Figure 1b). At , the twist is
Algorithm 2 Foresight-SMC for one query
Require: query ; controlled kernel ; twists with , ; block times ; particles
1: Draw for ; set
2: for to do
3: Propagate each particle from to under , recording , and accumulate
4:
5:
6: if then
7: Resample the particle histories with probabilities (systematic)
8: end if
9: end for
Ensure: unbiased estimate of
one of the estimates of from Section 3.3, and , . Each block consists of the three steps of Figure 1c. Particles start from the states assigned by the previous resampling, or from , and are propagated under to ; particle receives the weight
where is the increment of over the block. If , particle is then replaced by copies, with offspring counts drawn according to the normalized weights . The estimator is
The factor corrects for the deviation from the reference dynamics, and, at resampling, the twist ratio favors the particles with a high estimated probability of reaching . Algorithm 2 gives the procedure for one query.
The estimator is unbiased however accurate the learned components are.
Theorem 3.2 (Unbiasedness). Assume wherever , and let the interior twists , be measurable, finite, positive and fixed independently of the particle system. Let denote the particle histories up to , and suppose the offspring counts satisfy and the resampling randomness is independent of later propagation. Then for every .
The result is standard for Feynman–Kac models (Del Moral, 2004): the twist ratios telescope, so the weights along a path
multiply to ; the proof in Appendix C.1 also covers the systematic resampling that we use. With , (16) is importance sampling. With the Doob kernel written on records (Appendix B.1) and , all particles receive equal weights after the first block, and for every from a point start. The learned components only approximate this ideal, and Section 3.5 quantifies the cost of the approximation.
3.5. Variance analysis
We relate the variance of to the errors of the two components. With a single block,
(Chatterjee & Diaconis, 2018; Agapiou et al., 2017), so the number of particles needed for a fixed relative error grows at least exponentially in the path KL. By the chain rule, this KL is a sum of per-step divergences, which accumulate over long horizons. Resampling resets the weights at each boundary. For a point start whose path KL splits into over the blocks, the lower bound for becomes , which grows only linearly in when . The second bound applies to the asymptotic variance under multinomial resampling. The price is an additional variance term due to the twist error, the mismatch between and up to scale, which vanishes only if on the states visited by conditioned paths (Appendix D). We therefore expect resampling to help when the weights without resampling degenerate, as on alanine tripeptide, and otherwise mainly to add twist error, as on the Allen–Cahn field (Section 4 and Appendix D.1).
4. Experiments
We evaluate Foresight-SMC on two systems that correspond to the two regimes of Section 3.5. On a one-dimensional Allen–Cahn field (Section 4.1), the learned proposal alone is accurate. On a model of alanine tripeptide over 16000 steps (Section 4.2), it is not, and resampling becomes necessary. In both, one trained model answers all queries, and cost is the number of evaluations of and ; Table E.1 lists the settings.
4.1. Allen–Cahn field
The Allen–Cahn equation (Allen & Cahn, 1979) models phase separation: a scalar field relaxes toward one of two phases, or , separated by thin interfaces. Under thermal noise, a droplet of one phase can nucleate inside the other, a standard rare event for stochastic fields (Kohn et al., 2007). We discretize the field on a chain of 64 sites, tilt the energy so that the phase is favored, and use MALA as the reference dynamics (Appendix E).
The rare event is the nucleation of a droplet of the unfavored phase: with the length of the longest run of negative sites, and . We query 30 point starts in and three start laws ( restricted to droplet sizes 0, 1 and 2–3), each at and , which gives 66 queries with probabilities between and . Forward simulation from never forms a droplet within steps, whereas most relaxations from lose their droplet and are in at (Figure E.1).
Accuracy and cost. We compare with adaptive multilevel splitting (AMS; Cérou & Guyader, 2007; Bréhier et al., 2016) and forward flux sampling (FFS; Allen et al., 2005), which split trajectories along a reaction coordinate, here the droplet size. The cost of Foresight-SMC includes the one-off cost of generating relaxations and training. After this one-off cost, a query needs far fewer evaluations than AMS run to 20% relative standard error (RSE; Figure 2b). At equal total cost, the mean absolute log error of AMS is substantially larger than that of Foresight-SMC (Table 1, Figure 2a). FFS reaches a similar accuracy only at a much higher cost, because splitting starts over for every query. In wall-clock time, Foresight-SMC takes about one hour in total on one NVIDIA A100 GPU (Appendix E.4).
Effect of resampling. The results above use the learned proposal without resampling (). This proposal is close to the conditioned dynamics: its path KL is a small fraction of that of the reference dynamics (Table E.2). The single-block weights therefore stay balanced, and resampling every 50 steps with the twist only adds twist error and increases (Table 1), as Section 3.5 predicts. Conversely, reference-proposal SMC, which keeps the twist but replaces the learned proposal by the reference dynamics, returns zero estimates on some point queries, so the accuracy comes from the learned proposal.
Transition channels. A droplet can form at either end of the chain or in its interior. Foresight-SMC recovers the share of carried by each channel in close agreement with the reference for all but one start (Table E.3, Figure E.2).
4.2. Alanine tripeptide
Alanine tripeptide (Ace-Ala-Nme) is a small peptide whose backbone conformation is described by the dihedral angles of its three residues. Each residue is mostly found with . Conformations with are rare because reaching them requires crossing a free-energy barrier, so a transition in which all three residues flip is a rare event. The state collects the six angles. The potential is fitted to molecular dynamics data so that reproduces the equilibrium distribution of the angles, and the reference

Figure 2. Allen–Cahn field, one trained model for all queries. (a) Absolute log error of the 60 point queries at equal total cost. (b) Cumulative evaluations of U and : Foresight-SMC pays a one-off cost, whereas AMS and FFS, run to 20% RSE, pay again for every query.
Table 1. Allen–Cahn field. Cost: evaluations for all 66 queries, including the one-off cost of Foresight-SMC. : over the 60 point queries; Foresight-SMC gives mean SE over three training seeds. In 2 SE: point queries within two standard errors of the reference. : zero estimates on some queries. Further baselines: Appendix E.
| Method | Cost | (nat) | In 2 SE |
|---|---|---|---|
| Foresight-SMC, L = 1 | 1.32 | 0.070 0.002 | 56–58 |
| Foresight-SMC, 50-step blocks | 1.31 | 0.119 0.027 | 52–60 |
| Reference-proposal SMC | 1.31 | - | |
| AMS, equal cost | 1.29 | 0.296 | 48 |
| AMS, to 20% RSE | 4.02 | 0.175 | 51 |
| FFS, to 20% RSE | 127 | 0.059 | 57 |
| Naive Monte Carlo | 0.11 | - |
dynamics is MALA on (Appendix F). The sets and contain the states with all three residues at and at , respectively, with , and the horizon is steps. Although is small, a large fraction of the relaxations are in after steps.
The queries start from equilibrium restricted to subsets of . Eight broad sets , defined by the angles , partition and have of order . Four narrow sets, small balls that each hold about 0.3% of the mass of , act as localized starts that still admit an independent reference; their centers serve as point starts. Foresight-SMC resamples every 250 steps () with the classifier twist and averages 8 independent runs of 512 particles, called islands, whose spread gives the standard error.
Because these start laws are restricted equilibrium laws and is known here, Proposition 3.1 with replaced by gives a direct baseline, reverse counting:
where and is estimated by the fraction of


Figure 3. Alanine tripeptide, eight broad queries. (a) Effective sample size of the weights along the horizon (median and 10–90 % band over queries), over the whole path for L = 1 and per block otherwise. (b) Mean number of residues with among the resampled particles. of each variant: Table 2.
Foresight-SMC ◇ reverse counting
AMS, geometric RC △ AMS, learned RC

Figure 4. Alanine tripeptide, four narrow start sets, against the fraction of relaxations that end in each set. (a) Work-normalized variance; the cost of reverse counting grows as (dashed). (b) Absolute log error against the reverse-counting reference. RC: reaction coordinate.
relaxations that end in . The cost of reverse counting grows as . It also requires , which is usually unknown, and does not apply to point starts.
Broad start sets. On this system the learned proposal is far from the conditioned dynamics: its path KL remains a large fraction of that of the reference dynamics (Appendix F.3). Over 16000 steps the weights without resampling therefore degenerate (Figure 3a), and Foresight-SMC with has a large error (Table 2). This is the regime of Section 3.5 in which resampling reduces the variance. Resampling restores the accuracy only when the learned proposal and the classifier twist are combined: the proposal moves the particles toward , the twist keeps those that are likely to complete the transition, and the particles enter the rare conformation steadily over the horizon (Figure 3b). With the reference proposal, particles rarely reach and most islands return a zero estimate. With the twist , the error is markedly larger than with the classifier twist, since the training loss determines only through its gradient and its differences between neighboring states. Tempering the classifier, with exponents set by pilot runs, lowers the error further (Appendix F.3). AMS splits trajectories along a reaction coordinate (RC), either a geometric one built from the angles or a learned one built from the classifier; both variants cost less but have a much larger log error. Reverse counting is the most accurate method on these sets, because each broad set receives a large share of the returning relaxations. The classifier plug-in of Section 3.3 also has a lower log error, but it requires and has no error bar (Appendix F.3).
Narrow start sets. The narrow sets test localized starts, which few relaxations reach: the four sets differ widely in . We compare the per-query work needed for a given precision through the work-normalized variance , where is the cost per query and one-off costs are excluded. Foresight-SMC has a lower average log error than both AMS variants and a lower WNV on every set (Table 2, Figure 4). The cost of Foresight-SMC does not depend on , because it simulates forward from the start set and uses the relaxations only for training. The cost of reverse counting, in contrast, grows as , so it needs considerably more work than Foresight-SMC on the two sets with the smallest and comparable work on the other two. The error of AMS varies strongly between sets and is large on some of them (Table F.2). As on the broad sets, the variants without resampling, with the twist or with the reference proposal are less accurate and need more work, naive Monte Carlo finds no hit, and the classifier plug-in is more accurate but provides no error bar. The advantage of reverse counting on the broad sets thus disappears for localized start sets, whereas the cost of Foresight-SMC stays the same.
Point starts. From the centers of the narrow sets, Foresight-SMC agrees closely with a reference from an independent Foresight-SMC run with 64 islands and the untempered twist. Reverse counting on shrinking balls around three of the centers agrees with this reference (Appendix F.3). Together, the two systems confirm the prediction of Section 3.5: a single block suffices when the proposal is accurate, and resampling with the learned twist is needed when the weights degenerate over long horizons.
5. Related Work
Rare-event estimators. Splitting methods (Allen et al., 2005; Cérou & Guyader, 2007) and SMC samplers for rare events (Cérou et al., 2012) move particles through intermediate levels of a reaction coordinate, and their efficiency depends on that coordinate; importance sampling instead needs a bias close to the conditioned dynamics, usually de-
Table 2. Alanine tripeptide. Cost: evaluations per broad query, excluding one-off costs; on the narrow sets, costs are similar except for learned-RC AMS (Appendix F.2). : mean absolute log error (nat); : SE over three training seeds. WNV ratio: work-normalized variance relative to the first row, range over the four narrow sets. The plug-in gives no error bar; reverse counting is the narrow-set reference. : effective sample size below 12, so the WNV is underestimated. Per-set values: Tables F.2 and F.1.
| Method | Broad (8 sets) | Narrow (4 sets) | ||
|---|---|---|---|---|
| Cost | WNV ratio | |||
| Foresight-SMC, twist: | ||||
| tempered classifier | 6.6 | 0.15 | 1 | |
| classifier | 6.6 | 0.16 | 0.45–5.8 | |
| 6.6 | 0.47 | 0.34 | 3.3–30 | |
| Foresight-SMC, | 6.6 | 1.26 | 1.03 | 3.3–17 |
| Reference-proposal SMC | 6.6 | 1.03 | 0.53 | 9.5–75 |
| Classifier plug-in | 0 | 0.07 | 0.08 | – |
| AMS, geometric RC | 1.5 | 0.77 | 0.74 | 2.8–107 |
| AMS, learned RC | 4.2 | 0.81 | 0.59 | 5.1–49 |
| Naive Monte Carlo | 13.9 | |||
| Reverse counting | 6.6 | 0.03 | ref. | 1.3–14 |
rived from large-deviation theory (Dupuis & Wang, 2004). Foresight-SMC replaces the levels by a learned twist and the analytic bias by a learned proposal, at the price of requiring equilibrium samples of and .
Learned proposals and twists. Stochastic control (Hartmann & Schütte, 2012; Du et al., 2026), the cross-entropy method (Zhang et al., 2014) and learned SMC (Heng et al., 2020; Lawson et al., 2022) approximate the Doob transform from forward simulations. When the event is rare, these simulations contain few successes; on alanine tripeptide, controlled SMC receives no training signal (Appendix G). Neural committors (Khoo et al., 2019; Strahan et al., 2023), which approximate the probability of reaching before , estimate a quantity close to our twist but return no probability estimate with an error bar. Learned path samplers (Holdijk et al., 2023; Du et al., 2024) produce transition paths without exact weights. Foresight-SMC learns from the target side and places the learned components in an unbiased estimator through exact likelihood ratios.
Time reversal. Time reversal under reversibility is classical in transition path theory and kinetics (E & Vanden-Eijnden, 2006; Hummer, 2004). Reverse-time SMC (Koskela et al., 2018) and learned diffusion bridges (Heng et al., 2025) approximate a backward process. Under reversibility, no approximation is needed, because reversed relaxations are exact samples of the conditioned path law; we use them to train a forward twisted SMC estimator for any start law.
6. Conclusion
Foresight-SMC estimates rare endpoint probabilities of reversible dynamics with twisted SMC whose proposal and twist are learned from reversed relaxations. Because one trained model serves all queries, on point queries and localized start sets it needs less work per query for a given precision than splitting, which starts over for every query. When the learned proposal alone is accurate, as on the Allen–Cahn field, a single block suffices; on alanine tripeptide, resampling with the learned twist controls the weight degeneracy that accumulates over long horizons.
The approach requires reversible dynamics, equilibrium samples of and, for the classifier twist, equilibrium samples of . It targets the endpoint event , not a first-passage event. Its rarity must also lie mainly in : when is short compared with the residence time in , few relaxations return and the training data are scarce. For start laws other than , including point starts, accuracy relies on generalization. Extensions to non-reversible dynamics and all-atom systems remain open.
Impact Statement
This paper presents a method for estimating rare-event probabilities in simulated stochastic systems, with applications in molecular simulation. We do not foresee specific negative societal consequences beyond those of the underlying simulations.
References
Agapiou, S., Papaspiliopoulos, O., Sanz-Alonso, D., and Stuart, A. M. Importance sampling: intrinsic dimension and computational cost. Statistical Science, 32(3):405–431, 2017. doi: 10.1214/17-STS611.
Allen, R. J., Warren, P. B., and ten Wolde, P. R. Sampling rare switching events in biochemical networks. Physical Review Letters, 94:018104, 2005.
Allen, S. M. and Cahn, J. W. A microscopic theory for antiphase boundary motion and its application to antiphase domain coarsening. Acta Metallurgica, 27(6):1085–1095, 1979.
Barducci, A., Bussi, G., and Parrinello, M. Well-tempered metadynamics: A smoothly converging and tunable free-energy method. Physical Review Letters, 100(2):020603, 2008.
Blessing, D., Berner, J., Richter, L., Domingo-Enrich, C., Du, Y., Vahdat, A., and Neumann, G. Trust region constrained measure transport in path space for stochastic optimal control and inference. In Advances in Neural Information Processing Systems, volume 38, 2025.
Bréhier, C.-E., Gazeau, M., Goudénège, L., Lelièvre, T., and Rousset, M. Unbiasedness of some generalized adaptive multilevel splitting algorithms. The Annals of Applied Probability, 26(6):3559–3601, 2016. doi: 10.1214/16-AAP1185.
Cérou, F. and Guyader, A. Adaptive multilevel splitting for rare event analysis. Stochastic Analysis and Applications, 25(2):417–443, 2007.
Cérou, F., Del Moral, P., Furon, T., and Guyader, A. Sequential Monte Carlo for rare event estimation. Statistics and Computing, 22(3):795–808, 2012. doi: 10.1007/s11222-011-9231-6.
Chatterjee, S. and Diaconis, P. The sample size required in importance sampling. The Annals of Applied Probability, 28(2):1099–1135, 2018. doi: 10.1214/17-AAP1326.
Chopin, N. Central limit theorem for sequential Monte Carlo methods and its application to Bayesian inference. The Annals of Statistics, 32(6):2385–2411, 2004. doi: 10.1214/009053604000000698.
Chopin, N. and Papaspiliopoulos, O. An Introduction to Sequential Monte Carlo. Springer Series in Statistics. Springer, Cham, 2020. doi: 10.1007/978-3-030-47845-2.
Del Moral, P. Feynman–Kac Formulae: Genealogical and Interacting Particle Systems with Applications. Probability and its Applications. Springer, New York, 2004. doi: 10.1007/978-1-4684-9393-1.
Doob, J. L. Conditional Brownian motion and the boundary limits of harmonic functions. Bulletin de la Société Mathématique de France, 85:431–458, 1957.
Douc, R., Cappé, O., and Moulines, E. Comparison of resampling schemes for particle filtering. In Proceedings of the 4th International Symposium on Image and Signal Processing and Analysis (ISPA), pp. 64–69, 2005.
Du, Y., Plainer, M., Brekelmans, R., Duan, C., Noé, F., Gomes, C. P., Aspuru-Guzik, A., and Neklyudov, K. Doob's Lagrangian: A sample-efficient variational approach to transition path sampling. In Advances in Neural Information Processing Systems, volume 37, 2024.
Du, Y., He, J., Zhang, D., Vanden-Eijnden, E., and Domingo-Enrich, C. Rare event analysis via stochastic optimal control. arXiv preprint arXiv:2604.13213, 2026.
Dupuis, P. and Wang, H. Importance sampling, large deviations, and differential games. Stochastics and Stochastic Reports, 76(6):481–508, 2004. doi: 10.1080/10451120410001733845.
E, W. and Vanden-Eijnden, E. Towards a theory of transition paths. Journal of Statistical Physics, 123:503–523, 2006.
Guarniero, P., Johansen, A. M., and Lee, A. The iterated auxiliary particle filter. Journal of the American Statistical Association, 112(520):1636–1647, 2017. doi: 10.1080/01621459.2016.1222291.
Hartmann, C. and Schütte, C. Efficient rare event simulation by optimal nonequilibrium forcing. Journal of Statistical Mechanics: Theory and Experiment, 2012:P11004, 2012.
Heng, J., Bishop, A. N., Deligiannidis, G., and Doucet, A. Controlled sequential Monte Carlo. The Annals of Statistics, 48(5):2904–2929, 2020. doi: 10.1214/19-AOS1914.
Heng, J., De Bortoli, V., Doucet, A., and Thornton, J. Simulating diffusion bridges with score matching. Biometrika, 112(4):asaf048, 2025. doi: 10.1093/biomet/asaf048.
Holdijk, L., Du, Y., Hooft, F., Jaini, P., Ensing, B., and Welling, M. Stochastic optimal control for collective variable free sampling of molecular transition paths. In Advances in Neural Information Processing Systems, volume 36, 2023.
Hummer, G. From transition paths to transition states and rate coefficients. The Journal of Chemical Physics, 120 (2):516–523, 2004. doi: 10.1063/1.1630572.
Kent, J. Time-reversible diffusions. Advances in Applied Probability, 10(4):819–835, 1978. doi: 10.2307/1426661.
Khoo, Y., Lu, J., and Ying, L. Solving for high-dimensional committor functions using artificial neural networks. Research in the Mathematical Sciences, 6(1):1, 2019. doi: 10.1007/s40687-018-0160-2.
Kohn, R. V., Otto, F., Reznikoff, M. G., and Vanden-Eijnden, E. Action minimization and sharp-interface limits for the stochastic Allen–Cahn equation. Communications on Pure and Applied Mathematics, 60(3):393–438, 2007.
Koskela, J., Spanò, D., and Jenkins, P. A. Inference and rare event simulation for stopped Markov processes via reverse-time sequential Monte Carlo. Statistics and Computing, 28(1):131–144, 2018.
Lawson, D., Raventós, A., Warrington, A., and Linderman, S. SIXO: Smoothing inference with twisted objectives. In Advances in Neural Information Processing Systems, volume 35, 2022.
Nüsken, N. and Richter, L. Solving high-dimensional Hamilton–Jacobi–Bellman PDEs using neural networks: perspectives from the theory of controlled diffusions and measures on path space. Partial Differential Equations and Applications, 2(4):48, 2021. doi: 10.1007/s42985-021-00102-x.
Onufriev, A., Bashford, D., and Case, D. A. Exploring protein native states and large-scale conformational changes with a modified generalized Born model. Proteins: Structure, Function, and Bioinformatics, 55(2):383–394, 2004.
Roberts, G. O. and Tweedie, R. L. Exponential convergence of Langevin distributions and their discrete approximations. Bernoulli, 2(4):341–363, 1996.
Seong, K., Park, S., Kim, S., Kim, W. Y., and Ahn, S. Transition path sampling with improved off-policy training of diffusion path samplers. In International Conference on Learning Representations, 2025.
Shirts, M. R. and Chodera, J. D. Statistically optimal analysis of samples from multiple equilibrium states. The Journal of Chemical Physics, 129(12):124105, 2008.
Strahan, J., Finkel, J., Dinner, A. R., and Weare, J. Predicting rare events using neural networks and short-trajectory data. Journal of Computational Physics, 488:112152, 2023. doi: 10.1016/j.jcp.2023.112152.
Zhang, W., Wang, H., Hartmann, C., Weber, M., and Schütte, C. Applications of the cross-entropy method to importance sampling and optimal control of diffusions. SIAM Journal on Scientific Computing, 36(6):A2654–A2672, 2014. doi: 10.1137/14096493X.
A. Path Reversal and Coverage
This appendix proves Proposition 3.1 and the coverage bound of Section 3.1.
Throughout this section, is reversible with respect to . We write for the law of the relaxation at age .
A.1. Proof of Proposition 3.1
By reversibility, for any ,
Integrating over A with s = T gives
For a path , detailed balance implies
The right-hand side is the law of the reference chain started from at and run backward to , restricted to and divided by . Conditioning on and using (20), we obtain
In particular, the initial marginal of the reversed paths is
A.2. Reversal of records
For an accepted MALA transition , detailed balance gives
so the reversed transition , recorded as , has the same weight, . A rejected transition at with proposal is reversed by keeping and ; its weight is unchanged. For a fixed acceptance pattern, reversal permutes the coordinates and so preserves the reference measure. On the torus, where records store increments, reversal negates the increments of accepted steps and reverses their order; this map has unit Jacobian, so the argument is unchanged. Equation (21) therefore also holds for recorded paths, and the reversed records follow the record law of .
A.3. Coverage
Let be the time-t marginal of . By the Markov property,
Reversibility gives
Combining these with (19) and (20) yields
Since ,
Let . Since , . Relaxation states at age , used as importance samples of , therefore have a population effective sample size fraction of at least . The same bound holds for the path segment . By reversibility, the backward kernel of the relaxation from age to is , the Doob kernel with steps remaining. The law of under and that of the corresponding reversed relaxation segment therefore differ only through their marginals at time .
B. Controlled Kernel and Training
This appendix derives the controlled kernel of Section 3.2 and the KL identity (12).
B.1. Tilted MALA step
Let , where s is the number of steps remaining after the step. Tilting one reference step by and writing the tilted kernel in terms of the proposal z gives
Given , the step moves to with probability , which is (10). The proposal marginal is proportional to . Ignoring rejections, we replace it by . Expanding to first order around ,
(30)
which is (9). In our experiments the proposal is a two-component mixture,
where , , is the logistic function of a network output, , and is another network output.
For finite , is positive everywhere, and whenever , with when . The reference and controlled record laws are therefore mutually absolutely continuous, and each term of is
B.2. KL identity
Since and share the initial law ,
on recorded paths. With (5),
(34)
By Appendix A.2, the last expectation can be computed from reversed relaxation paths, and by (20). This gives (12). Since the state path is a function of the recorded path, the data-processing inequality bounds the KL divergence between the state-path laws by this divergence.
C. Twisted SMC
This appendix proves Theorem 3.2 and the scale invariance of the twist used in Section 3.3.
C.1. Proof of Theorem 3.2
Let and denote the reference and controlled record laws over block k, so that
Target identity. Since and , the twist ratios telescope and
Consequently,
Particle unbiasedness. For a nonnegative function of the history up to time , where is the recorded path segment of block , define
where and , so that . Let
Then . Let denote the particle histories up to and the normalized weights. Resampling with , followed by independent propagation, gives
Independent initialization from gives . Induction over , applied to all nonnegative simultaneously, yields for all , where Tonelli's theorem permits infinite values. Taking at ,
The argument uses only the conditional mean of the offspring counts, not their independence, and therefore covers systematic resampling. Systematic resampling draws a single and assigns to particle the points , , that fall in , where and . The point is uniform on , so it falls in with probability ; summing over gives .
C.2. Scale invariance of the twist
If is replaced by with constants for , and , each is multiplied by . The normalized weights do not change, and
By (19), relaxation states of age have density with respect to . For a classifier trained on such states against equilibrium states, the Bayes-optimal logit is
The offset does not depend on , so by the rescaling invariance above the exponentiated logit at can be used as (cf. Lawson et al., 2022). The offset is also independent of when is the same at every age, as in our experiments. This property is used only for interpolation between trained ages and for the AMS score built from the logit (Appendix F.2).
D. Variance Analysis
This appendix proves the variance statements of Section 3.5 and examines the choice of the number of blocks L.
Write , and let denote the time- marginal of . Assume on the support of the reference marginal at . The conditioned law of block started at is
with and as in Appendix C.1, and we write and .
Proposition D.1. (a) For , . (b) If at every interior boundary the ancestor indices are drawn i.i.d. from given and the moment conditions of Chopin (2004) hold, then is asymptotically normal with variance , where
and with and .
Proof of (a). With , where
The are i.i.d. with mean one, so
By Jensen's inequality,
The population effective sample size fraction is therefore at most .
Proof of (b). The standard central limit theorem for SMC estimates of normalizing constants (Chopin, 2004; Del Moral, 2004), applied with one resampling step per block, gives with
where the outer expectations are over a particle in block in the limit . Because the twists telescope and turns expectations under into expectations under ,
In the limit, block starts from with law proportional to and follows . Since ,
Averaging over the start of the block gives (45).
Two cases follow from (45). If the proposal is exact, and , which exceeds one unless . If the twist is exact, that is, , then .
For a general positive twist, the Cauchy–Schwarz inequality applied to (45), as in part (a), and Jensen’s inequality give
Summing over blocks and using the convexity of exp,
By the chain rule for the KL divergence along the Markov law , which is the path KL for a point start.
We do not verify the moment conditions of Chopin (2004) for the mixture proposals. Part (b) does not cover the systematic resampling used in our experiments, whose offspring counts are not conditionally independent (Douc et al., 2005); the resulting estimator is still unbiased by Theorem 3.2.
D.1. Choice of the number of blocks
In Figure D.1, varies at a fixed number of evaluations, with four repetitions per setting. On alanine tripeptide, where the path KL is about 11 nat, falls from 0.72 at to 0.1–0.25 for , and the variance of across islands falls from 3.6 to about 0.3. On the Allen–Cahn field, where the path KL is 3.2 nat and the twist is , on six point queries at is flat up to and grows for shorter blocks, mainly for start states without a droplet, because fewer particles end in . The two systems correspond to the two regimes of Section 3.5.


Figure D.1. Number of blocks at a fixed number of evaluations, mean over four repetitions (bars: SE). (a) Mean absolute log error: alanine tripeptide, two broad queries, tempered classifier twist; Allen–Cahn field, six point queries at , twist . (b) Fraction of particles in at . Values differ from Tables 1 and F.1, which average over all queries.
E. Details of the Allen–Cahn Field
This appendix gives the details of Section 4.1; Table E.1 lists the settings of both experiments.
Table E.1. Settings for the Allen–Cahn field and alanine tripeptide.
| Allen–Cahn field | Alanine tripeptide | |
|---|---|---|
| MALA step | on unwrapped increments, | |
| Sampling | MALA restricted to : 1024 chains, burn-in steps, 128 draws per chain | exact: rejection sampling of , then |
| Relaxation pool | 131072 paths of 500 steps (74% in at ); train/validation/test 90/5/5, split by chain | 32768 paths (); held-out pool of 4096 for checkpoint selection |
| Records used | all ages, both horizons1-D CNN, 4 layers 64 channels, kernel 7; remaining steps enter through Fourier features | 128 per returning path, ages uniformMLP, 4 layers 256, SiLU; inputs cos/sin of the angles, , Fourier features of the remaining steps, |
| Proposal | two-component mixture, Appendix B.1 | same |
| Training | AdamW, lr (cosine), batch 8192, 30000 steps, EMA 0.999; three seeds | same, 60000 steps; selected at 4000–6000 steps |
| Twist | classifier: MLP , 21 ages, 131072 draws of , 10000 Adam steps; tempering in Appendix F | |
| Inference | : batches of 4096 paths until hits and RSE ; SMC: particles, 50-step blocks | particles, 250-step blocks; : 4096 paths |
| AMS | 256 replicas, 26 removed per iteration; runs doubled from 32 to 512 until RSE | 256 replicas, 10% removed; 5 runs per broad, 4 per narrow query |
| Reference | AMS with 1000 replicas, 1280 runs per query (median RSE 3.2%, max 21 %) | reverse counting on independent pools of 32768 (broad) and 163840 (narrow) relaxations |
| One-off cost | evaluations, almost all for sampling | evaluations, plus for the tempering pilot runs |
E.1. System and queries
The state is a field on a chain with free ends, with energy
The first term penalizes interfaces, the second is a double well with minima near , and the tilt favors . The equilibrium law is with at temperature . The droplet size is the length of the longest run of consecutive sites with (negative sites). The sets are and . The channel of a path that ends in is the position of this run at time : at the left end, at the right end, or in the interior. Figure E.1 shows the reference dynamics from a point start in and from .
The 30 point starts form five strata of six, defined by their negative sites: none, one, two adjacent, three adjacent in the interior, and three adjacent at an end. Each point start is drawn from restricted to its sign pattern. The start laws are restricted to , and . Every start is queried at and , which gives 60 point queries and 66 queries in total. For the three start laws, the estimates of Foresight-SMC lie within two standard errors of both an AMS and a reverse-counting reference.
E.2. Baselines and reference values
All baselines are run by us with the same reference dynamics.
AMS is generalized fixed-horizon AMS (Bréhier et al., 2016) with the score , set to when . FFS uses the interfaces and the same stopping rule as AMS (Table E.1). Its cost includes its pilot runs. Naive Monte Carlo spends the per-query budget of Foresight-SMC on reference paths, and reference-proposal SMC uses the islands, blocks and twist of Foresight-SMC with the reference kernel. With as the reaction coordinate, AMS reaches , which is lower than with and twice the error of Foresight-SMC, and it incurs the same one-off cost. The reference probabilities come from AMS with the settings of Table E.1. A point query counts as within two standard errors (“In 2 SE”) if the estimate and the reference differ by at most twice their standard errors added in quadrature. also contains the error of the reference, and estimators that stop at a target RSE carry a small stopping-rule bias.

Figure E.1. Allen–Cahn field: reference dynamics as space-time plots of the field (color; red: , the unfavored phase) over the sites and the steps . (a) From a point start in without a negative site, no droplet forms within . (b) A relaxation from : the droplet shrinks and vanishes; read backwards, the relaxation is a training path.
E.3. Additional results
Training seeds. The three seeds reach the same held-out path KL and similar accuracy with (Table E.2). With 50-step blocks, seeds 2 and 3 lose accuracy, as expected from Section 3.5.
Table E.2. Allen–Cahn field: training seeds. KL is the held-out path KL for the start law ; for comparison, is 22.3 nat at and 23.3 nat at . over the 60 point queries, with the number of queries within two standard errors in parentheses. Seed 1 has the best validation objective.
| Seed | KL, | KL, | , 50-step blocks | |
|---|---|---|---|---|
| 1 | 3.24 ± 0.07 | 5.67 ± 0.17 | 0.073 (58) | 0.065 (60) |
| 2 | 3.27 ± 0.07 | 5.68 ± 0.18 | 0.067 (56) | 0.146 (55) |
| 3 | 3.26 ± 0.08 | 5.67 ± 0.17 | 0.071 (56) | 0.146 (52) |
Transition channels. Point starts that already contain a negative run commit to the corresponding channel, and Foresight-SMC reproduces the channel shares of the reference (Table E.3). The largest total variation distance, 0.11, occurs for the droplet-free start at . Figure E.2 shows one generated path per channel.
Table E.3. Allen–Cahn field: channel shares (left end / right end / interior) against the reference, and their total variation (TV). Starts: (reference: reverse counting) and one point start of each stratum, labeled by its number of negative sites (reference: AMS).
| Start | Foresight-SMC | Reference | TV | |
|---|---|---|---|---|
| 500 | .397 / .436 / .167 | .394 / .381 / .225 | 0.058 | |
| 0 | .423 / .285 / .292 | .396 / .316 / .288 | 0.031 | |
| 1 | .347 / .259 / .394 | .408 / .228 / .364 | 0.060 | |
| 2 | .009 / .005 / .986 | .010 / .010 / .981 | 0.005 | |
| 3, interior | .001 / .002 / .998 | .000 / .003 / .997 | 0.001 | |
| 3, left end | .990 / .002 / .008 | .991 / .000 / .009 | 0.001 | |
| 3, right end | .002 / .996 / .003 | .000 / .991 / .009 | 0.006 | |
| 250 | .333 / .363 / .304 | .327 / .313 / .359 | 0.056 | |
| 0 | .374 / .159 / .467 | .421 / .218 / .361 | 0.106 | |
| 1 | .061 / .048 / .891 | .030 / .026 / .944 | 0.053 | |
| 2 | .000 / .000 / 1.000 | .000 / .000 / 1.000 | 0.000 | |
| 3, interior | .000 / .000 / 1.000 | .000 / .000 / 1.000 | 0.000 | |
| 3, left end | .994 / .000 / .006 | .991 / .001 / .008 | 0.003 | |
| 3, right end | .000 / .998 / .002 | .000 / .995 / .005 | 0.003 |

Figure E.2. Allen–Cahn field: paths generated by Foresight-SMC with from the droplet-free point start, one per channel (rows: interior, left end, right end), each the path of median importance weight in its channel. Columns show the field at ; the dashed line is and the shaded area marks negative sites.
E.4. Computational cost
Foresight-SMC runs on one NVIDIA A100-PCIE-40GB GPU, and the splitting baselines run on single cores of a Huawei Kunpeng-920 (ARM) CPU. Training takes 0.84 GPU hours per seed, and answering all 66 queries takes 0.16 GPU hours. At 20% RSE, AMS and FFS take 1.1 and 36 CPU core hours, respectively.
F. Details of the Alanine Tripeptide Model
This appendix gives the details of Section 4.2; the settings are listed in Table E.1.
F.1. System and queries
Potential and dynamics. The state is , the backbone dihedral angles of Ace-Ala-Nme. The potential is fitted to Langevin dynamics simulations of the molecule at 300 K (Amber ff96, OBC implicit solvent (Onufriev et al., 2004)). Since the rare conformation () is seldom visited, these simulations are run with a torsional bias on , which is removed by reweighting (Shirts & Chodera, 2008). We write : the marginal of is a smoothed histogram interpolated by a periodic spline, and is an autoregressive mixture of von Mises densities fitted by maximum likelihood, so that is smooth and periodic. The reference kernel is MALA on the unwrapped increment , after which the angles are wrapped to . Since the wrapped state does not determine the increment, the records store . The network receives the angles through their sines and cosines.
Sets and queries. The sets and are
is metastable: of 128 reference paths started from , 72% are still in after 1000 steps. With if and otherwise, the broad sets are
For , the narrow set is the geodesic ball in centered at a state , with . The centers are the point starts (Figure F.1).

Figure F.1. Alanine tripeptide: start sets on the plane of each residue, over the marginal free energy (saturated above 40 kJ mol). The box is the range of in ; dashed lines mark the band , where . Each broad set fixes . Points: 300 start states of each narrow set .
F.2. Training, baselines and reference values
As on the Allen–Cahn field, all baselines are run by us with the same reference dynamics, and one set of settings (Table E.1) serves all queries.
Training data and twist. Draws of and of are exact, by rejection sampling of followed by . The classifier is a single network with input , trained with balanced classes to separate states of age of all training relaxations from draws of . Between these ages, the exponentiated logits are interpolated linearly. The tempered twist uses with piecewise linear in through , and , and for . These values were fixed from six pilot runs with start states disjoint from the reported ones. Since is fixed before the reported runs, Theorem 3.2 applies conditionally on .
Baselines. Reference-proposal SMC uses the reference kernel with the twist and blocks of Foresight-SMC. AMS is fixed-horizon generalized AMS (Bréhier et al., 2016). Its score is at the final time and, for ,
for the geometric reaction coordinate, where dist is the angular distance to the interval, with selected by pilot runs, or for the learned one.
Reference values and costs. The ratio is computed by quadrature over . The references are reverse counting on independent pools of relaxations (Table E.1), with RSE 2–5% on the broad and 2–11% on the narrow sets. The broad reference shares and with the reverse-counting baseline, so the error of this baseline in Table F.1 reflects counting noise only. The one-off costs, excluded from the tables, are evaluations for the relaxation pool, for the held-out pool and for the classifier, which learned-RC AMS also requires. The tempering pilot runs cost evaluations. Table F.2 lists, for the four narrow sets, the log errors, the RSE of Foresight-SMC and the WNV of each baseline relative to Foresight-SMC. For the narrow sets, the RSE is computed across the eight islands for Foresight-SMC, across four runs for AMS, and binomially for reverse counting with 4096 relaxations. With eight islands, the WNV of Foresight-SMC is uncertain by a factor of about two. With 32 islands, bootstrap 95% intervals of the WNV ratio of reverse counting to Foresight-SMC exclude one on and . If one relaxation pool served all start sets at once, reverse counting would need less work than Foresight-SMC on and .
Table F.1. Alanine tripeptide: eight broad queries with diagnostics. Cost: evaluations for all eight queries, excluding one-off costs (Appendix F.2). Diagnostic: fraction of particles in at (SMC), effective sample size out of 4096 (), islands with a zero estimate out of 64, or RSE of a single run. : SE over three training seeds.
| Method | Cost | (nat) | Diagnostic |
|---|---|---|---|
| Foresight-SMC, twist: | |||
| tempered classifier | 5.24 | 0.13 0.03 | 77% in |
| classifier | 5.24 | 0.18 0.01 | 18% in |
| 5.24 | 0.47 | 16% in | |
| Foresight-SMC, | 5.24 | 1.26 | ESS 4–15 |
| Reference-proposal SMC | 5.24 | 1.03 | 46/64 zero |
| AMS, geometric RC | 1.20 | 0.77 | RSE 30–120 % |
| AMS, learned RC | 3.35 | 0.81 | RSE 40–140 % |
| Naive Monte Carlo | 11.1 | no hit | |
| Reverse counting | 5.24 | 0.03 | – |
Table F.2. Alanine tripeptide: four narrow start sets, ordered by increasing , at about evaluations per query (learned-RC AMS: two to three times more). WNV ratio: relative to Foresight-SMC with the tempered classifier twist, the default variant; above one means more work for the same precision. Reverse counting provides the reference. Naive Monte Carlo finds no hit. : effective sample size below 12, so the WNV is underestimated.
| 0.55 | 4.0 | 4.6 | 16 | |
| Log error (nat) | ||||
| Foresight-SMC | 0.17 | 0.17 | 0.21 | 0.04 |
| Foresight-SMC, untempered classifier | 0.02 | 0.31 | 0.12 | 0.17 |
| Foresight-SMC, twist | 0.38 | 0.43 | 0.52 | 0.03 |
| Foresight-SMC, | 2.66 | 0.22 | 1.14 | 0.09 |
| Reference-proposal SMC | 0.44 | 0.77 | 0.77 | 0.13 |
| AMS, geometric RC | 0.11 | 1.01 | 1.40 | 0.45 |
| AMS, learned RC | 0.32 | 1.32 | 0.23 | 0.49 |
| RSE of Foresight-SMC (%) | 17.8 | 7.7 | 19.7 | 10.4 |
| WNV relative to Foresight-SMC | ||||
| AMS, geometric RC | 7.3 | 107 | 2.8 | 13.7 |
| AMS, learned RC | 48.7 | 40.9 | 5.1 | 7.5 |
| Reverse counting | 14.0 | 10.4 | 1.4 | 1.3 |
| Foresight-SMC, untempered classifier | 1.1 | 5.8 | 0.45 | 0.58 |
| Foresight-SMC, twist | 10.8 | 29.6 | 3.3 | 6.6 |
| Foresight-SMC, | 3.3 | 17.3 | 6.2 | 8.1 |
| Reference-proposal SMC | 11.9 | 74.6 | 9.5 | 69.8 |
F.3. Additional results
Path KL. The held-out path KL is , and nat for the three training seeds, against nat for the reference dynamics.
Effect of tempering. The tempering parameters were fixed by pilot runs on the broad start laws. On fresh start states, the tempered and untempered twists give of 0.10 and 0.09, respectively, on the broad queries. With tempering, the variance of across islands is 0.43 times that without. On the narrow sets, the two twists give comparable errors.
Point starts. For the point starts , the reference is Foresight-SMC with the untempered twist and 64 islands, which is unbiased by Theorem 3.2. Reverse counting on shrinking balls around and , which uses no learned component, agrees with this reference within one to two standard errors. Runs with 8 islands have mean log errors of 0.12 with the tempered and 0.15 with the untempered twist (Table F.3).
Table F.3. Alanine tripeptide, point starts at the narrow-set centers: reference (RSE) from an independent Foresight-SMC run (untempered twist, 64 islands) and absolute log errors of Foresight-SMC (8 islands) with the two classifier twists and of the classifier plug-in.
| Start | Reference | Tempered | Untempered | Plug-in |
|---|---|---|---|---|
| -20.02 (6.0 %) | 0.14 | 0.11 | 0.03 | |
| -17.72 (5.6 %) | 0.05 | 0.16 | 0.07 | |
| -18.03 (6.6 %) | 0.11 | 0.23 | 0.14 | |
| -16.42 (5.3 %) | 0.18 | 0.11 | 0.09 |
Classifier plug-in. The plug-in estimate has mean log error 0.07–0.08 on all three query types, below that of Foresight-SMC. These queries favor the plug-in: at the logit varies little within a start set, and the start laws are restrictions of , which supplies the negative class of the classifier. The plug-in requires and has the limitations stated in Section 3.3.
End states and generated paths. Proposition 3.1 predicts the end-state law of conditioned paths from relaxations (Table F.4). Relative to , this law favors the upper basin of for and the lower basin for . For every residue and training seed, the fraction of end states of Foresight-SMC in the upper basin exceeds that under for and falls below it for . Figures F.2 and F.3 show generated paths. The free-energy backgrounds of Figures F.1 and F.2 are computed for the all-atom molecule by metadynamics (Barducci et al., 2008). The structures in Figure F.3 are reconstructed from the six angles by restrained energy minimization.
Table F.4. Alanine tripeptide: fraction of end states in the upper basin of () for residues 1, 2, 3. Prediction: initial states of relaxations, weighted by . Foresight-SMC: range over three training seeds.
| Residue 1 | Residue 2 | Residue 3 | |
|---|---|---|---|
| 0.26 | 0.25 | 0.23 | |
| Prediction, | 0.40 | 0.43 | 0.38 |
| Foresight-SMC, | 0.40–0.53 | 0.32–0.54 | 0.38–0.53 |
| Prediction, | 0.09 | 0.10 | 0.09 |
| Foresight-SMC, | 0.10–0.13 | 0.08–0.12 | 0.09–0.16 |
F.4. Computational cost
A controlled step, which also evaluates , costs 6.6 µs per particle against 4.8 µs for a reference step. All computations for this system, including AMS, run on one NVIDIA A100-PCIE-40GB GPU. The relaxation pool takes 0.8 GPU hours and training 0.2 to 0.35 GPU hours per seed. A narrow query takes 0.15 to 0.35 GPU hours with Foresight-SMC and 0.12 to 0.48 GPU hours with AMS, so Foresight-SMC is also cheaper than AMS per unit of variance in GPU time (Table F.2).

Figure F.2. Alanine tripeptide: paths of Foresight-SMC over steps from the broad set (top) and the narrow set (bottom), on the plane of each residue (columns) over the free energy of Figure F.1. Each row shows 20 paths from a start state (white) to an end state in (magenta), chosen so that the end states follow the full sample.

Figure F.3. Alanine tripeptide: potential energy , with , shifted to a minimum of zero, along one path from the top row of Figure F.2 (light: every tenth step; dark: running mean over 201 steps). Above: all-atom structures at the marked steps, with residues in the rare conformation in blue. The residues flip one at a time, and each flip raises the potential. None of 32 reference paths from the same start state flips a single residue within .
G. Comparison with Forward-Trained Samplers
We compare samplers whose proposals are learned without target-side data. On the Allen–Cahn field, the cross-entropy sampler uses the network of Foresight-SMC but fits it to forward rollouts, with intermediate levels in the droplet size . With the one-off budget of Foresight-SMC, it returns a zero estimate on all 60 point queries. On alanine tripeptide, we adapt the diffusion path sampler TPS-DPS (Seong et al., 2025), which learns a sampler for fixed end states, and trust-region transport (Blessing et al., 2025), a path-space stochastic control method. Both run inside a MALA-type propose–accept step that records each transition, so that their likelihood ratios are exact, as for Foresight-SMC. Their proposals either rarely reach or produce degenerate weights, and their log errors are far larger than that of Foresight-SMC (Table G.1).
Controlled SMC. Controlled SMC (Heng et al., 2020) learns the proposal by approximate dynamic programming on its own particles. To isolate the source of training data, we give it the kernel family of Foresight-SMC with a single mixture component, the same twist form, blocks and resampling, and one policy shared by all start states. Only is learned, by regressing on the block-wise target backward from , using all particles of the previous iteration. On alanine tripeptide no forward particle reaches , at the budget of Foresight-SMC or at four times that budget, so every regression target is zero and the method reduces to SMC with the reference kernel.
Table G.1. Alanine tripeptide: learned samplers without target-side data. Hits are the fraction of paths that end in ; : zero estimate.
| Method | Hits in | (nat) |
|---|---|---|
| TPS-DPS | 4.4–6.8 % | 17.7 |
| Trust-region transport | 0 of 32768 | |
| Foresight-SMC, | 14.5–29.4 % | 1.26 |
| Foresight-SMC, 250-step blocks, tempered classifier | 77 % | 0.13 |