Autoregressive Boltzmann Generators
Danyal Rehman 1 2 3 4 Charlie B. Tan 1 4 5 Yoshua Bengio 1 4 6 Avishek Joey Bose 1 7 * Alexander Tong 3 *
Abstract
1. Introduction A central insight of statistical mechanics is that macroscopic phenomena—such as protein folding (Noé et al., 2009; Lindorff-Larsen et al., 2011), magnetization of an Ising model (Yang, 1952), and crystal structure formation (Parrinello & Rahman, 1980; Matsumoto et al., 2002)—are governed by the ensemble of microscopic states at equilibrium. This equilibrium distribution is known as the Boltzmann distribution: µtarget (x) ∝ exp (−E(x)), where E(x) is the dimensionless potential energy of a conformation x ∈ Rn×3 . Accordingly, the computational challenge is to efficiently draw statistically-independent samples from this target distribution, µtarget (x).
arXiv:2606.27361v1 [cs.LG] 25 Jun 2026
Efficient sampling of molecular systems at thermodynamic equilibrium is a hallmark challenge in statistical physics. This challenge has driven the development of Boltzmann Generators (BGs), which allow rapid generation of uncorrelated equilibrium samples by combining a generative model with exact likelihoods and an importance sampling correction. However, modern BGs predominantly rely on normalizing flows (NFs), which either suffer from limited expressivity due to strict invertibility constraints (discrete time) or computationally expensive likelihoods (continuous time). In this paper, we propose AUTOREGRES SIVE B OLTZMANN G ENERATORS (A R BG)—a novel autoregressive modelling framework—that overcomes these limitations by departing from the flow-based BG paradigm. A R BG circumvents the topological constraints of flows and enables sequential inference-time interventions, while offering enhanced scalability by leveraging architectures effective in Large Language Models. We empirically demonstrate that A R BG leads to significant improvements over flow-based models across all benchmarks, but particularly in larger peptide systems such as the 10-residue Chignolin. Furthermore, we introduce ROBIN, a 132 million parameter transferable model trained with the A R BG framework which improves over the previous state-of-the-art, reducing the zero-shot energy error, E-W2 , on 8-residue systems by over 60%. The code can be found at the following link: https://github.com/danyalrehman/autobg.
A key characteristic of this sampling problem is that states in thermodynamic equilibrium—i.e., modes of the distribution—are often sparse and well-separated by high-energy barriers (Wirnsberger et al., 2020; Rizzi et al., 2021). The dominant approach for exploring this conformational landscape remains Molecular Dynamics (MD) simulations (Alder & Wainwright, 1959; Rahman, 1964), which seek to simulate the equations of motion with finely-discretized time-steps; however, this approach suffers from a severe timescale issue. Specifically, MD often use time-steps on the order of femtoseconds (10−15 s), but mode mixing across these high-energy barriers typically requires timescales of microseconds (10−6 s) to seconds (100 s) (Olsson, 2026). Consequently, the vast majority of MD computation is spent simulating high-frequency vibrations within local minima rather than exploring the global energy landscape, rendering MD computationally prohibitive for practical problems (Perez et al., 2025). While many accelerated MD schemes have been explored (Hénin et al., 2022; Syed et al., 2021; Klein et al., 2023a; Kapuśniak et al., 2026), they still have difficulty with this fundamental mixing problem. Boltzmann Generators (BGs) (Noé et al., 2019) have emerged as a powerful framework to circumvent this. BGs learn a generative model pθ (x) to propose samples for importance sampling, leveraging the exact model likelihood pθ (x) and target energy E(x). This allows for the parallel generation of independent and consistent samples without having to traverse between modes, making BGs an attractive framework for equilibrium sampling of large molecular systems; however, to satisfy the requirement for tractable likelihoods, the field has relied almost exclusively
*
Equal advising. 1 Mila – Québec AI Institute 2 Broad Institute of MIT & Harvard 3 Aithyra 4 Université de Montréal 5 University of Oxford 6 CIFAR Senior Fellow 7 Imperial College London. Correspondence to: Danyal Rehman <[email protected]>, Alexander Tong <[email protected]>. Proceedings of the 43 rd International Conference on Machine Learning, Seoul, South Korea. PMLR 306, 2026. Copyright 2026 by the author(s).
1
Autoregressive Boltzmann Generators
4.6 4.5 4.4
15
1010
1011
FLOPs
1012
1.4 1.3
4
10
0103
1.5
5
1.2 1.1
3
5
4.3 4.2
6
MD Prose Robin
TICA-W2
Loss
4.7
20
-W2
8M 15M 45M 80M 126M
4.8
E-W 2
4.9
1.0
2 104
105 106 107 Energy Evaluations
1103
108
0.9 104
105 106 107 Energy Evaluations
108
0.8103
104
105 106 107 Energy Evaluations
108
Figure 1. (Left) The training loss curves of models of varying scale (ranging from 8M to 126M parameters) as a function of the total number of floating point operations (FLOPs) on the decapeptide: Chignolin. (Right) Global and local performance metrics as a function of the number of energy evaluations demonstrating inference-time scaling between our transferable model ROBIN, the previous state-of-the-art BG Prose, and a short molecular dynamics (MD) chain for the same number of energy function evaluations.
on normalizing flows (NFs) in either discrete (Tabak & Vanden-Eijnden, 2010; Dinh et al., 2017; Rezende & Mohamed, 2015; Tan et al., 2025a; Rehman et al., 2026b) or continuous time (Chen et al., 2018; Rehman et al., 2026a).
rendering importance sampling computationally prohibitive. Present work. In this work, we propose AUTOREGRESSIVE B OLTZMANN G ENERATORS (A R BG), a novel alternative to flow-based BGs that circumvents these limitations. A R BG employs an autoregressive paradigm to factorize the molecular density into a sequence of conditional densities: Q pθ (x) = p(x j |x<j ). This formulation offers three j distinct advantages: (1) A R BG overcomes the expressivity bottlenecks of discrete time flows without incurring the computational cost of continuous time flows; (2) A R BG avoids the numerical instability of learning high-distortion diffeomorphisms, allowing it to model discontinuous jumps and separate modes present in complex multi-modal target densities; and (3) A R BG benefits from the investment and advances in discrete generative modelling that power modern LLMs, and exhibits similar scaling properties in both model size and inference samples (as shown in Figure 1).
This reliance on flow-based architectures, however, imposes severe theoretical limitations. Fundamentally, NFs in practical instantiations are not only diffeomorphisms but also homeomorphisms, as the prior is a single Gaussian (Cornish et al., 2020; Dupont et al., 2019; Runde et al., 2005). Consequently, such generative models preserve the topology of their domain and struggle to model target distributions with distinct topologies to the prior, e.g., disjoint supports, differing number of connected components, or “holes”. The equilibrium distribution of molecular conformations precisely exhibits these challenging topologies, as several metastable states are separated by regions of high-energy barriers. To morph the single connected mode of a Gaussian to these effectively separated states, a flow is forced to perform extreme deformations, stretching space across thin bridges and compressing it into modes. This leads to highly non-smooth mappings prone to exploding Lipschitz constants and illconditioned Jacobians, resulting in discrete time NFs being notoriously unstable, greatly limiting model expressivity.
Our main contributions are summarized as follows: • We introduce AUTOREGRESSIVE B OLTZMANN G EN ERATORS (A R BG), the first scalable, autoregressive and diffeomorphism-free method for Boltzmann Generation. • We investigate various proposal formulations, demonstrating that discrete binning not only offers superior training stability and scalability compared to continuous mixture models, but also unlocks sequential inference-time interventions that are not possible in flow-based architectures.
Continuous normalizing flows (CNFs) (Chen et al., 2018) are free from the same architectural constraints as discretetime NFs. In addition, modern training strategies for flow-matching (Peluchetti, 2021; Liu, 2022; Lipman et al., 2023; Albergo & Vanden-Eijnden, 2023) can greatly stabilize optimization, yet the ill-conditioning manifests itself during inference. The learned vector field becomes highly non-smooth, resulting in stiff dynamics (Hochbruck & Ostermann, 2010; Hochbruck et al., 2020) leading to a large number of function evaluations being required at inference for accurate likelihoods to be obtained. This presents an unavoidable tradeoff: (1) Discrete-time NFs yield efficient likelihoods but struggle with poor sample quality and limited expressivity, while (2) CNFs are more expressive, but require expensive ODE integrators for likelihood evaluation,
• We demonstrate that A R BG consistently outperforms all baseline methods across every single-peptide benchmark, with especially strong performance and scalability demonstrated on the 10-residue Chignolin system (Figure 1). • We introduce ROBIN, a 132-million parameter transferable autoregressive generative model that achieves zeroshot generalization to unseen peptides, reducing EnergyW2 error, E-W2 , by over 60% compared to the previous state-of-the-art approach on large peptides: Prose, a discrete-time normalizing flow (Tan et al., 2025b).
2
Autoregressive Boltzmann Generators
2. Background and Preliminaries
function evaluations of the network, vθ , per-integration step with d = n × 3. While faster unbiased estimators of the divergence, such as the Hutchinson trace estimator (Meyer et al., 2021) exist, the added variance incurred renders them unsuitable for Boltzmann Generators (Klein et al., 2023b).
Thermodynamic Equilibrium Sampling. We consider molecular systems comprising of n atoms, represented at all-atom resolution by its conformations x ∈ Rn×3 . The equilibrium behaviour of the system is characterized by the following target Boltzmann distribution: Z µtarget (x) ∝ exp (−E(x)) , Z = exp (−E(x)) dx.
3. AUTOREGRESSIVE B OLTZMANN G ENERATORS
X
We now consider an alternative class of generative models for constructing the proposal distribution pθ (x) in a Boltzmann Generator—autoregressive (AR) models. We introduce AUTOREGRESSIVE B OLTZMANN G ENERATORS, the first diffeomorphism-free AR model for molecular systems that operates directly on atoms in their native Cartesian coordinates. In the context of Boltzmann Generators, the central challenge of AR modelling arises from the continuous nature of molecular configurations, in contrast to the discrete data on which AR models are most frequently employed. This setting, therefore, presents an opportunity for developing novel AR frameworks for continuous-state systems. We further motivate our model choice by identifying two key properties required of a proposal distribution within a Boltzmann Generator:
n×3
Here, E : R → R denotes the potential energy, and Z is the partition function, which is computationally intractable to evaluate exactly. Macroscopic properties are obtained by computing observables ϕ(x) as expectations with respect to the Boltzmann distribution µtarget (x). A commonly-used approach to obtain consistent samples from the Boltzmann distribution leverages self-normalized importance sampling (SNIS) with an easy-to-sample proposal distribution p(x): PK w(xi )ϕ(xi ) , Eµtarget (x) [ϕ(x)] = Ep(x) [ϕ(x)w̄(x)] ≈ i=1 PK i i=1 w(x ) where w(xi ) = exp −E(xi ) /p(xi ) is the unnormalized importance weight and xi ∼ p(x), i ∈ [K] are K statistically-independent samples from the proposal p(x). It is well known that SNIS is a consistent estimator whose variance depends on the distributional overlap of the chosen proposal p(x) compared to µtarget (x) (Owen, 2013).
(1) Fast and Accurate Likelihood. A crucial requirement of any proposal in a BG is to facilitate SNIS-based correction of samples—necessitating access to fast, unbiased, and preferably exact likelihood evaluation pθ (x). (2) Scalability. We require expressive generative model families pθ (x) that can capture the complex, sparse, and rugged energy landscape of high-dimensional molecular systems with predictable scaling behaviour.
Boltzmann Generators. A Boltzmann Generator (Noé et al., 2019) learns a parameterized proposal distribution pθ (x) that serves to approximate the target distribution µtarget (x). Crucially, pθ (x) admits a tractable likelihood for samples x ∼ pθ (x), enabling the computation of importance weights required for self-normalized importance sampling. For instance, when pθ (x) is a normalizing flow defined by a composition of invertible maps fθ = fM ◦ · · · ◦ f1 , the likelihood can be computed by the PMchange-of-variables formula log pθ (xM ) = log p0 (x0 )− i=1 log |∂fi,θ (xi−1 )/∂xi−1 |, with xi = fi (xi−1 ), and crucially fi being invertible.
We highlight that both desiderata are demonstrably satisfied by autoregressive models, but not necessarily flow-based models. In particular, autoregressive models exactly factorize the joint density over x as a sequence of conditional distributions that is used to predict the next dimension conditioned on the history x<j = [x1 , . . . xj−1 ], for j ∈ [d]:
In cases where obtaining a likelihood is theoretically possible, but computationally expensive—such as in CNFs—an SNIS-based resampling step becomes equally impractical. To see this more clearly, we can detail the Augmented ODE of 3n + 1 dimensions, which tracks both the particle evolution xt across simulation time t ∈ [0, 1] using the learned velocity field associated with the CNF vθ (xt , t), and the corresponding evolution of the induced log-density log pt,θ (xt ). We can simulate this trajectory from time t = 0 to time t = 1 by sampling from a prior distribution x0 ∼ p0 (x0 ) and then integrating along the Augmented ODE: Z 1 x1 x0 vθ (xt , t) = + dt. log p1,θ (x1 ) log p0 (x0 ) −∇ · vθ (xt , t) 0
log pθ (x) =
d X
log pθ (xj |x<j ).
(1)
j=1
Clearly, Eq. 1 allows for exact likelihood computation in a single pass, avoiding Jacobian determinants or computationally expensive numerical solvers for Neural ODEs. Moreover, AR models have achieved empirical success across a spectrum of domains at scale, including large-scale discrete modelling of text (Comanici et al., 2025) and images (Dosovitskiy et al., 2021). Indeed, the diversity of data domains tackled by autoregressive models comes without specific constraints, such as invertible architectures, or the need to model diffeomorphisms. The latter fact we argue is particularly important for molecular modelling due to the non-smooth nature of the target Boltzmann µtarget (x).
Here ∇· is the divergence operator, which requires O(d)
3
Autoregressive Boltzmann Generators
parameterizations of the conditional pθ (xj |x<j ): K X x̃j + ∆/2 − µk x̃j − ∆/2 − µk πk φ −φ σk σk
We next outline how to build A R BG in §3.1, and explore new unlocked capabilities of an AR model for BGs in §3.2. 3.1. Autoregressive Modelling of Conformations
k=1
We consider inputs of the form x ∈ Rn×3 , which are flattened into a single d dimensional vector by an AR model as defined in Eq. 1. From here onwards, we use subscripts such as xj to denote the j-th dimension of the input vector x rather than a continuous time index as done for CNFs. As AR models require an ordering to model molecular states, we use a residue-by-residue ordering in which the sidechains for each residue immediately follow the backbone atoms.
where πk ≥ 0,
K X
πk = 1, σk > 0.
(2)
k=1
πk is the weight of the k-th mixture component, φ(·) is the logistic function or the normal CDF, √ standard i.e., φ(z) = 0.5 1 + erf z/ 2 , for the MoL and GMM cases, respectively. The edge cases of the first and last bin for the MoL-PixelCNN++ are handled by replacing xj − ∆/2 and xj + ∆/2 by −∞ and +∞, respectively. Finally, we can also handle the edge case for GMM-PixelCNN++’s leftmost and rightmost bins: x̃j + ∆/2 − µk pk (x̃j ∈ b0 ) = Φ , σk x̃j − ∆/2 − µk pk (x̃j ∈ bL ) = 1 − Φ . σk
A key technical challenge of instantiating AR models over continuous spaces is determining the parametrization of the conditional distribution over dimensions pθ (xj |x<j ). We explore several options by leveraging existing ideas from Mixture Density Networks (MDN) (Bishop, 1994), which output the parameters of the conditional distribution as a mixture. In addition, we also offer a novel parametrization utilizing a uniform binning strategy that is simple yet enjoys closer alignment to LLM training—unveiling predictable scaling behaviours but now in the context of BGs.
In both cases, the conditional mixtures admit an analytic log-likelihood, enabling conventional MLE-based training.
Conditionals as Discretized Mixtures. Following the pioneering work of PixelCNN++ (Salimans et al., 2017), we demonstrate how to adapt such an approach to model molecular conformations, leading to MoL-PixelCNN++ and a novel extension in GMM-PixelCNN++. These serve as modernized instantiations of the MDN for molecular conformations and later as baselines in our experiments §4.
Uniform Bin Parameterization. While elegant in theory, Mixture Density Networks like the MoL-PixelCNN++ and GMM-PixelCNN++ are prone to mode collapsing of the mixture components πk to a small subset (Deng et al., 2022), potentially leading to suboptimal performance on harder systems of interest. We remedy this problem by abandoning mixture models altogether and introducing, arguably, the simplest parameterization of pθ (xj |x<j ) by predicting directly the bin centres bl as a Categorical distribution during training. This allows us to directly use an autoregressive model, as commonly done for LLMs for next-token prediction, but now for molecular data. At inference, to recover a continuous coordinate, we can simply add uniform noise to the sampled bin centre: xj = bl + ul , where ul ∼ Unif(−∆/2, ∆/2). Such a uniform bin parameterization induces the following piecewise-constant conditional density:
To construct these conditional mixtures, we model the input xj , e.g. a singular spatial dimension of an atom, by first discretizing the space into B uniform bins of width ∆ over a pre-determined interval range I = [Cmin , Cmax ), with range cutoffs Cmin and Cmax picked through a data standardization step. Formally, the mapping Q : R → [L] from a continuous coordinate xj ∈ R to a bin index bl ∈ [L] is given by: x̃j − Cmin b = Q(xj ) = , x̃j = clip(xj , Cmin , Cmax ). ∆ After binning, we assume a latent assignment k sampled from a K-component mixture, πk ∼ Cat (π1 , . . . , πk ). Each mixture component can then be prescribed by an easy-to-parametrize distribution, such as the logistic distribution, leading to a Mixture of Logistics (MoL) or a Gaussian Mixture Model (GMM). We can compute the discretized probability mass that an observed value xj falls in bin b, i.e. p(X = xj |x<j ), by leveraging the integral of the CDF differences of the logistic distribution at x̃j + ∆/2 and x̃j − ∆/2. This leads to the following
pθ (x̃j |x<j ) =
L X
πθ (bl |x<j )
l=1
1{x̃j ∈ bl } , ∆
(3)
where πθ (bl |x<j ) = Cat(b0 , . . . , bL ). In Eq. 3 we observe that when ∆ is the same for all bins—i.e., uniform binning— then the conditional log density has a constant offset log ∆ which vanishes with an increasing number of bins. Under the uniform bin parameterization, we are also able to quantify the exact log-likelihood error. Let p⋆ (x̃j |x<j ) denote the true conditional density and define its bin masses: Z ⋆ p (bl |x<j ) := p⋆ (u|x<j ) du. bl
4
Autoregressive Boltzmann Generators
Algorithm 1 Autoregressive SMC Inference
Also, define the true conditional density restricted to a bin: ⋆
p⋆ (x̃j |x̃j ∈ bl , x<j ) :=
Require: Pre-trained proposal pθ , batch size M , and energy for s-length capped residues Es 1: w0 ← 1 2: for j in 1, . . . , d do 3: for m in 1, . . . , M do m m 4: xm ) j ∼ pθ (xj |x <j m ψ j (xj ) m 5: wjm ← wj−1 ψj−1 (xm j−1 ) 6: end for 7: if IS RESIDUE END(j) then 8: x≤j ← S YSTEMATIC -R ESAMPLE(x≤j , wj ) 9: wj ← 1 10: end if 11: end for
p (x̃j |x<j ) 1{x̃j ∈ bl }. p⋆ (bl |x<j )
The lowest attainable error of pθ (xj |x<j ) as measured by the KL-divergence, is given by the following proposition. Proposition 1. Let the true conditional density be given by p∗ (xj |x<j ) and the autoregressive model’s conditional density pθ (xj |x<j ) under the uniform bin parameterization. The resulting minimum achievable error of the autoregressive model in KL is, inf DKL (p∗ (xj |x<j )∥pθ (xj |x<j )) = θ
L X
p⋆ (bl |x<j )DKL (p⋆ (x̃j |x̃j ∈ bl , x<j ) ∥Unif(∆)) .
l=1
ψj (xj ) which define a number of intermediate densities ηj (xj ) := pθ (xj |x<j )ψj (xj ). Instead of sampling directly from pθ (xj |x<j ) at every step, the goal is to sample from the twisted intermediate distribution ηj . This can be accomplished by first calculating the likelihoods and the twist function values, then performing resampling (Algorithm 1). In our molecular case, we define the twist functions using partial energy evaluations:
Proposition 1 quantifies the intrinsic loss of modelling resolution induced by piecewise-uniform de-quantization within bins. Intuitively, it explicates that the mismatch corresponds to precisely the true density within each bin not being exactly uniform with width ∆, which is precisely the irreducible error of this AR model parameterization. Moreover, we highlight the KL term is merely the Shannon entropy of p⋆ (x̃j |x̃j ∈ bl , x<j ) up to a constant as we are comparing it against the uniform distribution Unif(∆). In Figure A.1 and Figure A.2 in the Appendix, we quantify the impact of uniform binning for single peptide systems we consider by analyzing the distribution of coordinates in each bin index as well as irreducible error due to this distributional mismatch. Importantly, choosing the appropriate number of bins still allows us to perform effective resampling through SNIS as we demonstrate in our experiments §4.
ψj (xj ) =
exp(−Es (rs (x≤j ))) , pθ (rs (x≤j )|rs−1 (x≤j ))
(4)
where r(x≤j ) defines the largest (capped) residue subset of x≤j , inclusive of xj (c.f. §E.5.1 for details on capped residues). This twist function allows us to inject physical validity constraints using any molecular energy function Es (·), a version of the original E(·), that operates on peptides of length s < d. While resampling can be done at any point, we tailor our SMC to the molecular setting by invoking systematic resampling (Douc & Cappé, 2005), at the end of the atomistic coordinates of a generated residue. We use residue-level granularity to leverage standard peptide force-fields, though finer atom-level twists are also possible and allow for earlier rejection. This approach is fundamentally distinct from prior flow-based resampling methods like SBG (Tan et al., 2025a). While SBG must generate complete candidates before resampling, meanwhile, A R BG enables substructure-level steering, correcting the generative process as soon as an error is detected.
3.2. Tools Enabled by A R BG A R BG’s autoregressive factorization unlocks a large toolkit of inference-time interventions unavailable to flow-based approaches that generate all data dimensions concurrently. By decomposing generation into discrete steps over each conditional, we can leverage standard techniques from modern LLMs, such as temperature scaling for diversity control, and extend them to the molecular domain. Crucially, this autoregressive structure admits intermediate intervention; we can analyze, correct, or discard partial conformations before the full molecule is realized. We proceed to demonstrate this capability via a granular resampling scheme.
4. Experiments
Autoregressive Twisted Sequential Monte Carlo. SMC sampling has been a staple tool across varied domains (Doucet et al., 2001; Del Moral et al., 2006). In A R BG, we can improve efficiency by early exiting the sampling process on physically implausible substructures (e.g., steric clashes). We implement this via an Autoregressive Twisted SMC. We define a series of twist functions
In this section, we empirically validate the efficacy of AUTOREGRESSIVE B OLTZMANN G ENERATORS across a variety of molecular conformation sampling tasks. Our evaluation focuses on assessing the framework’s scalability on single peptides systems ranging from alanine dipeptide to the 10-residue Chignolin in the same experimental data configuration of Tan et al. (2025a). We also eval5
Autoregressive Boltzmann Generators Table 1. Tri-alanine (AL3), Alanine tetrapeptide (AL4), Hexa-alanine (AL6), and Chignolin (GYDPETGTWG) results. Evaluations are performed using 2 × 105 energy evaluations; all methods except SBG use SNIS. Best values are in bold, with second-best underlined. Split into flow-based (top), single-pass autoregressive with temperature one (middle), and tuned temperature settings (bottom). Tri-alanine (AL3)
Tetrapeptide (AL4)
Hexa-alanine (AL6)
Chignolin (GYDPETGTWG)
Algorithm
E-W2 ↓
T-W2 ↓
E-W2 ↓
T-W2 ↓
E-W2 ↓
T-W2 ↓
E-W2 ↓
T-W2 ↓
ECNF++ RegFlow SBG FALCON-A FALCON
2.206 ± 0.813 0.853 ± 0.105 0.598 ± 0.084 1.385 ± 0.182 0.544 ± 0.013
0.962 ± 0.253 1.577 ± 0.140 0.503 ± 0.029 0.343 ± 0.004 0.452 ± 0.011
5.638 ± 0.483 3.277 ± 0.546 1.007 ± 0.382 2.929 ± 0.068 0.686 ± 0.047
1.002 ± 0.061 2.342 ± 0.102 1.039 ± 0.069 1.094 ± 0.034 0.858 ± 0.077
10.668 ± 0.285 — 1.189 ± 0.357 1.211 ± 0.105 0.892 ± 0.311
1.902 ± 0.055 — 1.444 ± 0.140 1.163 ± 0.112 1.256 ± 0.132
— — 10.819 ± 7.206 — —
— — 3.778 ± 0.440 — —
GIVT MoL-PixelCNN++ GMM-PixelCNN++ A R BG (ours) (T = 1)
1.354 ± 0.058 0.506 ± 0.082 0.249 ± 0.025 0.271 ± 0.113
0.343 ± 0.008 1.024 ± 0.686 0.364 ± 0.016 0.311 ± 0.009
1.033 ± 0.449 1.643 ± 0.504 1.434 ± 0.783 0.886 ± 0.076
1.113 ± 0.100 1.415 ± 0.110 0.806 ± 0.056 0.593 ± 0.008
1.206 ± 0.056 1.429 ± 0.186 1.164 ± 0.037 0.722 ± 0.063
1.527 ± 0.048 1.264 ± 0.205 1.285 ± 0.058 1.085 ± 0.069
45.646 ± 20.989 140.717 ± 49.113 23.339 ± 6.485 7.942 ± 1.053
3.031 ± 0.098 3.391 ± 0.093 3.007 ± 0.086 2.780 ± 0.105
A R BG (ours) (tuned T )
0.202 ± 0.010
0.312 ± 0.003
0.449 ± 0.030
0.592 ± 0.010
0.328 ± 0.122
1.094 ± 0.052
1.723 ± 0.075
2.632 ± 0.044
uate the zero-shot generalization capabilities on unseen sequences using our transferable model, ROBIN, using the ManyPeptidesMD dataset introduced in (Tan et al., 2025b).
dynamical modes fit on a reference trajectory. We exclude Effective Sample Size (ESS) (Kish, 1957) as a primary metric, as it is incompatible with SMC-based schemes while also disproportionately rewarding “mode-seeking” models that collapse into single energy minima to minimize variance (Blessing et al., 2024). We instead prioritize metrics that penalize mode-dropping to ensure accurate global distributional coverage (see §C.2 for a detailed discussion).
Baselines. We consider a suite of prior baselines that include the equivariant CNF (Klein et al., 2023b; Klein & Noe, 2024), and an improved version: ECNF++ from Tan et al. (2025a). We additionally compare against discrete normalizing flows, in RegFlow (Rehman et al., 2026b), and the prior state-of-the-art method for single-system Boltzmann sampling SBG (Tan et al., 2025a). We also benchmark performance relative to few-step CNFs, i.e., flow-maps (Boffi et al., 2025; Geng et al., 2025): FALCON/FALCON-A, which differ in their training objectives (Rehman et al., 2026a). For ALDP, we further include BoltzNCE, an energy-based model trained via noise-contrastive estimation (Aggarwal et al., 2025). We further train a GIVT (Tschannen et al., 2024), MoL-PixelCNN++, and GMM-PixelCNN++ as described in Section 3.1, following the same training procedure as A R BG. For the transferable setting, we compare against Timewarp (Klein et al., 2023a), BioEmu (Lewis et al., 2025), UniSim (Yu et al., 2025), TarFlow (Zhai et al., 2025), and the prior SOTA for transferable Boltzmann generation in Prose (Tan et al., 2025b).
4.1. Single Peptide Systems We evaluate the performance of A R BG on conformation sampling tasks for single peptides, ranging from the simple alanine dipeptide (ALDP) (2 residues) to the large Chignolin (10 residues). We report our results in Table 1, and defer the ALDP results to Table A.3 in §D.3 due to both the simplicity of the dataset and also problems with the dataset construction leading to mode-collapse of models. We find that A R BG comprehensively outperforms on both E-W2 and T-W2 for all considered systems when the temperature is tuned on a validation set. Without temperature tuning (T = 1) A R BG is still the best performing method overall, especially when scaled larger systems (AL6 and Chignolin), but has slightly worse E-W2 on smaller systems. We further observe MDN baselines like GMM-PixelCNN++ and GIVT achieve slightly worse but very promising results, demonstrating the overall potential of AR models for BG’s in comparison to flow-based BGs.
Metrics. We evaluate our models with three complementary Wasserstein-based metrics following prior work. (1) The 2-Wasserstein energy distance (E-W2 ), which measures agreement between generated and reference energy distributions, providing a sensitive test of local physical accuracy and consistency with the target Boltzmann distribution. (2) To assess structural mode coverage, we compute a 2-Wasserstein distance in torsional space (T-W2 ) that respects angular periodicity, capturing global conformational differences and missing modes that may not be reflected in energies alone. While this torus-based metric is effective at detecting large-scale structural mismatches, it can be insensitive to rare mode loss. (3) Lastly, we analyze a time-lagged independent component analysis (TICA)-based 2-Wasserstein distance (TICA-W2 ) that compares samples in a lower-dimensional space spanned by the slowest
Scaling to Decapeptides. SBG (Tan et al., 2025a) first demonstrated that discrete NFs can be scaled to the decapeptide Chignolin—a particularly challenging molecular system due to the existence of the β-hairpin secondary structure. As shown in Table 1, A R BG significantly outperforms the SBG approach across all global and local evaluation metrics, further validating its scalability. Additionally, Figure 2 shows that the reweighted energy distribution proposed by our model closely matches that of MD simulation data. Finally, the Ramachandran plots (Ramachandran et al., 1963) in Figure 3 indicate that our model accurately captures nearly all the conformational modes present in the test set. 6
Autoregressive Boltzmann Generators ALDP (Ace-A-Nme)
Normalized Density
0.10
AL3 (AAA)
Ground Truth Proposal Resampled
0.08 0.06 0.04 0.02 0.00 60
40
20
E(x)
0
20
AL4 (Ace-AAA-Nme)
0.08 0.06 Ground Truth 0.07 Proposal 0.05 Resampled 0.06 0.04 0.05 0.04 0.03 0.03 0.02 0.02 0.01 0.01 40 0.00225 200 175 150 125 100 75 50 0.00 50
Ground Truth Proposal Resampled
25
E(x)
0
25
E(x)
50
75
AL6 (AAAAAA)
0.05
0.05
Ground Truth Proposal Resampled
0.04
0.03
0.02
0.02
0.01
0.01 75
E(x)
50
25
Ground Truth Proposal Resampled
0.04
0.03
100 0.00150 125 100
Chignolin (GYDPETGTWG)
0.00500
0
450
400
E(x)
350
300
250
Figure 2. Energy histogram of the proposal and re-sampled distribution compared to ground truth MD data for all single peptide systems.
TYR2
ψ
Ground Truth
π
GLU5
π
THR6
π
GLY7
π
THR8
π
π
π
π
π
π
0
0
0
0
0
0
0
0
−π2
−π2
−π2
−π2
−π2
−π2
−π2
−π2
2
−π2
0
π 2
TYR2
2
π −π−π
−π2
0
π −π−π
π 2
ASP3
π
2
−π2
0
π 2
PRO4
π
π −π−π
2
−π2
0
π 2
GLU5
π
2
π −π−π
−π2
0
π 2
THR6
π
π −π−π
π
2
−π2
0
π 2
GLY7
π
π −π−π
2
−π2
0
π 2
THR8
π
π −π−π
π
π
π
π
π
π
π
0
0
0
0
0
0
0
0
−π2
−π2
−π2
−π2
−π2
−π2
−π2
−π2
−π −π
2
−π2
0
ϕ
π 2
2
π −π−π
−π2
0
ϕ
π −π−π
π 2
2
−π2
0
ϕ
π 2
π −π−π
2
−π2
0
ϕ
π 2
2
π −π−π
−π2
0
ϕ
π 2
π −π−π
2
−π2
0
ϕ
π 2
π −π−π
−π2
0
π 2
π
π
π
TRP9
π
π 2
TRP9
π
π
2
π
ψ
PRO4
π
π
−π −π
Resampled
ASP3
π
2
−π2
0
ϕ
π 2
π −π−π
−π2
0
ϕ
2
Figure 3. Ramachandran plots for Chignolin (top row: ground truth test set; bottom row: A R BG’s predictions). Table 2. Quantitative results across peptides of length 4 and 8. All methods evaluated a budget of 104 energy evaluations (top) or 2×105 (bottom). Best values in bold, with second-best underlined. # Residues →
4AA (30 systems)
Twisted SMC. We observe that Twisted SMC outperforms SNIS only marginally. We attribute this to the high quality of the base ROBIN proposal. Since the model has learned the Boltzmann distribution sufficiently well, the SMC correction yields diminishing returns; however, the twisted SMC approach confirms that A R BG is amenable to intermediate steering, paving the way for increased efficiency using early rejection, applying constraints, or guidance in larger or more complex systems where the proposal is less accurate. We find that on 8AA peptides, around 7% of samples have a final partial energy greater than 100 + Emin , with a 10,000 sample batch, where Emin is the empirical minimum energy obtained. For larger systems where the proposal is not as efficient, see Section 4 for additional analysis.
8AA (30 systems)
Model ↓
E-W2
T-W2
TICA-W2
E-W2
T-W2
TICA-W2
TimeWarp BioEmu UniSim
7.237 90.079 > 104
2.204 2.037 2.766
0.993 1.479 1.733
— 193.873 > 103
— 4.638 6.156
— 1.601 1.495
ECNF++ TarFlow Prose ROBIN (ours) ROBIN (ours) SMC
10.032 1.260 0.932 1.168 1.079
1.121 0.924 0.752 0.886 0.874
0.572 0.492 0.367 0.471 0.463
— 11.298 10.038 4.251 4.263
— 2.733 2.456 2.325 2.315
— 1.087 0.988 0.943 0.977
2 × 105 evaluations TarFlow Prose ROBIN (ours)
0.929 0.646 0.531
0.776 0.607 0.649
0.498 0.349 0.379
10.826 9.360 3.615
2.320 2.019 1.902
1.057 0.960 0.882
Inference Scaling. We also investigate the scaling behaviour of inference samples relative to molecular dynamics (MD) and Prose on 8AA in Figure 1 and Figure A.16. We find that ROBIN performs favourably against Prose and molecular dynamics achieving the same performance with an order of magnitude fewer samples vs. Prose and three orders of magnitude vs. MD in terms of T-W2 . Furthermore, ROBIN also outperforms Prose for the same computational budget (Figure A.16, despite operating on dimensions instead of atoms. We provide further analysis and also investigate the non-monotonic behaviour of the TICA-W2 for MD in §D.7. Finally, we also provide TICA plots which demonstrate the strong zero-shot performance of ROBIN on an unseen octapeptide compared to ground truth MD in Figure 4.
4.2. Transferable Generation We now introduce ROBIN, a transferable model trained using the A R BG framework with additional conditioning information—detailed in §E.2—to allow zero-shot transfer to unseen peptides in the ManyPeptidesMD dataset (Tan et al., 2025b). We report our results in Table 2, which contain test set performance metrics averaged over 30 different sequences of length 4 and 8 residues. Empirically, we observe superior performance over the current state-ofthe-art method (Prose) on all molecular systems of size 8 with competitive performance on sequences of size 4. 7
Autoregressive Boltzmann Generators
4.3. Ablations
5. Related Work
Performance with Bin Resolution. As we increase the number of bins used in A R BG, the granularity of the coordinates generated by the model increases. In §B, we first discretize the coordinates into a fixed number of bins, then use uniformly sampled noise from each bin to reconstruct these molecules, demonstrating an upper bound on performance for a model with a fixed number of bins. In Figure 5 and Figure A.5, for the tri-alanine (AL3) single peptide system, we ablate the number of bins, and empirically validate that an increasing bin count monotonically improves performance on the resampled E-W2 .
Boltzmann Generators. The use of deep generative models in equilibrium sampling was popularized with the introduction of Boltzmann Generators (BGs) (Noé et al., 2019). Most subsequent work has focused on refining the NF architecture used in BGs to improve expressivity (Zhai et al., 2025; Draxler et al., 2024), stability (Schopmans & Friederich, 2025; von Klitzing et al., 2025), and generalization (Klein & Noe, 2024). CNFs offer superior expressivity and easy handling of symmetries (Köhler et al., 2020; Klein et al., 2023b), but incur a high computational cost for likelihood evaluation during inference, which is only partially ameliorated with approximate few-step models (Rehman et al., 2026a), architectural constraints (Gloy & Olsson, 2025), or learned energy functions (Aggarwal et al., 2025; Akhound-Sadegh et al., 2025).
Ground Truth MD
TIC1
2 1
1
0
0
1
1
2
2
3
3
4
4
5
5
68
7
6
5
4
TIC0
3
2
Robin
2
1
0
1 68
7
6
5
4
TIC0
3
2
1
0
Autoregressive Models on Continuous Spaces. Several works have investigated transformer-based models for generating molecules, including latent space (Murtada et al., 2025) and flow-based (Cheng et al., 2025; Team et al., 2025) approaches. While it is possible to design an autoregressive SE(3) invariant architecture (Gebauer et al., 2019), these have not scaled as well as purely transformer-based methods. Mixture Density Networks (Bishop, 1994) have been explored for decades as a way to parametrize outputs over continuous spaces while providing exact densities (Razavi et al., 2024). These have been employed for generating sketches (Ha & Eck, 2018), images (Salimans et al., 2017), world models (Ha & Schmidhuber, 2018), and demand forecasting (Li et al., 2025), to name a few. AR MDNs have also recently been reintroduced (Tschannen et al., 2024; Li et al., 2024; Billera et al., 2024); however, all these methods focus on proposal quality, rather than interrogating the use of likelihoods for Boltzmann Generation. Moreover, MDNs have historically been prone to dropping modes in their mixtures (Deng et al., 2022), leading to suboptimal performance—as also observed for molecules in Table 1.
1
Figure 4. TICA plots comparing the true MD distribution against predictions from ROBIN for the octapeptide: CGSWHKQR.
Increasing resolution
Figure 5. Left: Performance with increasing bin count for AL3. Right: Optimal temperature on AL3 across E-W2 and T-W2 .
Sampling Temperature. We perform inference-time ablations over the transformer’s sampling temperature to identify conditions that yield optimal generative performance. As shown in Figure A.5, the energy distribution varies systematically with temperature: at low temperatures, probability mass concentrates on high-likelihood (lowenergy) modes, which can suppress or entirely miss other modes, while at higher temperatures the distribution flattens, encouraging diversity but potentially over-sampling modes and degrading generative quality. We quantify this trade-off using our resampled metrics via a temperature sweep, which reveals an optimal sampling temperature near T = 1.02 for alanine tetrapeptide. We perform equivalent temperature sweeps for all other settings and summarize the optimal temperatures in §D.1, finding that lower temperatures improve performance on larger molecular systems.
6. Conclusion In this work, we introduced AUTOREGRESSIVE B OLTZ MANN G ENERATORS (A R BG), a novel autoregressive model for Boltzmann Generators that offers a promising alternative to the dominant paradigm of flow-based approaches. In particular, A R BG offers new tools that circumvent the expressivity and efficiency constraints that hinder discrete flow-based architectures while being more computationally efficient at likelihood estimation than CNFs. Importantly, A R BG enjoys the same toolkit available to LLMs that comes with feature rich optimizations that enable scaling laws for language, token level-steering, which we demonstrated in the molecular setting for the first time within a Boltzmann Generator framework.
8
Autoregressive Boltzmann Generators
Limitations. While A R BG enables a drastically different approach to BGs, it comes with a few notable limitations. Firstly, AR models impose a specific ordering over dimensions, while molecules themselves do not possess a natural ordering and as a result, this choice may affect performance, e.g., in small molecules (Cheng et al., 2025). Secondly, the use of uniform binning bounds the precision of the model by ∆, which may pose challenges on even larger systems with sharper energy profiles. Finally, flow-based BGs can benefit from the use of informative priors, such as in TFEP (Wirnsberger et al., 2020); an investigation of which for AR models we leave as a direction for future work.
dynamics. i. general method. The Journal of Chemical Physics, 31(2):459–466, 1959. Bannwarth, C., Ehlert, S., and Grimme, S. Gfn2-xtb-an accurate and broadly parametrized self-consistent tightbinding quantum chemical method with multipole electrostatics and density-dependent dispersion contributions. Journal of chemical theory and computation, 15 3:1652– 1671, 2018. Billera, L., Oresten, A., Stålmarck, A., Sato, K., Kaduk, M., and Murrell, B. The continuous language of protein structure. bioRxiv, 2024. doi: 10.1101/2024.05.11.593685. Bishop, C. M. Mixture density networks. Technical report, Aston University, 1994.
Impact Statement This paper presents work whose goal is to advance the field of machine learning for scientific applications. There are many potential societal consequences of our work, none of which we feel must be specifically highlighted here.
Blessing, D., Jia, X., Esslinger, J., Vargas, F., and Neumann, G. Beyond elbos: A large-scale evaluation of variational methods for sampling. In International Conference on Machine Learning (ICML), 2024.
Acknowledgements
Boffi, N. M., Albergo, M. S., and Vanden-Eijnden, E. How to build a consistency model: Learning flow maps via selfdistillation. In Neural Information Processing Systems (NeurIPS), 2025.
The authors would like to thank Benjamin Murrell for planting the seeds of this idea, as well as Luka Mucko, Tolga Birdal, and Matthew Wicker for feedback on an early draft of this work. Danyal Rehman received financial support from the Natural Sciences and Engineering Research Council’s (NSERC) Banting Postdoctoral Fellowship under Funding Reference No. 198506. The authors acknowledge funding from UNIQUE, CIFAR, NSERC, Intel, and Samsung. The research was enabled in part by computational resources provided by the Digital Research Alliance of Canada (https://alliancecan. ca), Mila (https://mila.quebec), Aithyra (https:// www.oeaw.ac.at/aithyra), and NVIDIA.
Chen, R. T. Q., Rubanova, Y., Bettencourt, J., and Duvenaud, D. K. Neural ordinary differential equations. Neural Information Processing Systems (NeurIPS), 2018. Cheng, A. H., Sun, C., and Aspuru-Guzik, A. Scalable autoregressive 3d molecule generation, 2025. Comanici, G., Bieber, E., Schaekermann, M., Pasupat, I., Sachdeva, N., Dhillon, I., Blistein, M., Ram, O., Zhang, D., Rosen, E., et al. Gemini 2.5: Pushing the frontier with advanced reasoning, multimodality, long context, and next generation agentic capabilities. arXiv preprint arXiv:2507.06261, 2025.
References Aggarwal, R., Chen, J., Boffi, N. M., and Koes, D. R. BoltzNCE: Learning likelihoods for boltzmann generation with stochastic interpolants and noise contrastive estimation. In Neural Information Processing Systems (NeurIPS), 2025.
Cornish, R., Caterini, A., Deligiannidis, G., and Doucet, A. Relaxing bijectivity constraints with continuously indexed normalising flows. In International conference on machine learning (ICML), 2020.
Akhound-Sadegh, T., Lee, J., Bose, A. J., Bortoli, V. D., Doucet, A., Bronstein, M. M., Beaini, D., Ravanbakhsh, S., Neklyudov, K., and Tong, A. Progressive inferencetime annealing of diffusion models for sampling from boltzmann densities. In Neural Information Processing Systems (NeurIPS), 2025.
Dao, T. FlashAttention-2: Faster attention with better parallelism and work partitioning. In International Conference on Learning Representations (ICLR), 2024. Del Moral, P., Doucet, A., and Jasra, A. Sequential Monte Carlo samplers. Journal of the Royal Statistical Society Series B: Statistical Methodology, 2006.
Albergo, M. S. and Vanden-Eijnden, E. Building normalizing flows with stochastic interpolants. International Conference on Learning Representations (ICLR), 2023.
Deng, H., Bui, M., Navab, N., Guibas, L., Ilic, S., and Birdal, T. Deep bingham networks: Dealing with uncertainty and ambiguity in pose estimation. International Journal of Computer Vision, 130(7):1627–1654, 2022.
Alder, B. J. and Wainwright, T. E. Studies in molecular 9
Autoregressive Boltzmann Generators
Dinh, L., Sohl-Dickstein, J., and Bengio, S. Density estimation using Real NVP. International Conference on Learning Representations (ICLR), 2017.
Hénin, J., Lelièvre, T., Shirts, M. R., Valsson, O., and Delemotte, L. Enhanced sampling methods for molecular dynamics simulations. arXiv preprint arXiv:2202.04164, 2022.
Dosovitskiy, A., Beyer, L., Kolesnikov, A., Weissenborn, D., Zhai, X., Unterthiner, T., Dehghani, M., Minderer, M., Heigold, G., Gelly, S., Uszkoreit, J., and Houlsby, N. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations (ICLR), 2021.
Hjorth Larsen, A., Jørgen Mortensen, J., Blomqvist, J., Castelli, I. E., Christensen, R., Dułak, M., Friis, J., Groves, M. N., Hammer, B., Hargus, C., Hermes, E. D., Jennings, P. C., Bjerre Jensen, P., Kermode, J., Kitchin, J. R., Leonhard Kolsbjerg, E., Kubal, J., Kaasbjerg, K., Lysgaard, S., Bergmann Maronsson, J., Maxson, T., Olsen, T., Pastewka, L., Peterson, A., Rostgaard, C., Schiøtz, J., Schütt, O., Strange, M., Thygesen, K. S., Vegge, T., Vilhelmsen, L., Walter, M., Zeng, Z., and Jacobsen, K. W. The atomic simulation environment—a python library for working with atoms. Journal of Physics: Condensed Matter, 29(27):273002, 2017. doi: 10.1088/1361-648X/aa680e.
Douc, R. and Cappé, O. Comparison of resampling schemes for particle filtering. In ISPA 2005. Proceedings of the 4th International Symposium on Image and Signal Processing and Analysis, 2005., pp. 64–69. Ieee, 2005. Doucet, A., De Freitas, N., Gordon, N. J., et al. Sequential Monte Carlo methods in practice. Springer, 2001. Draxler, F., Sorrenson, P., Zimmermann, L., Rousselot, A., and Köthe, U. Free-form flows: Make any architecture a normalizing flow. In International Conference on Artificial Intelligence and Statistics (AISTATS), 2024.
Hochbruck, M. and Ostermann, A. Exponential integrators. Acta Numerica, 2010. Hochbruck, M., Leibold, J., and Ostermann, A. On the convergence of lawson methods for semilinear stiff problems. Numerische Mathematik, 2020.
Dupont, E., Doucet, A., and Teh, Y. W. Augmented neural odes. In Neural Information Processing Systems (NeurIPS), 2019.
Jing, Z., Liu, C., Cheng, S. Y., Qi, R., Walker, B. D., Piquemal, J.-P., and Ren, P. Polarizable force fields for biomolecular simulations: Recent advances and applications. Annual Review of biophysics, 48(1):371–394, 2019.
Eastman, P., Galvelis, R., Peláez, R. P., Abreu, C. R. A., Farr, S. E., Gallicchio, E., Gorenko, A., Henry, M. M., Hu, F., Huang, J., Krämer, A., Michel, J., Mitchell, J. A., Pande, V. S., Rodrigues, J. P., Rodriguez-Guerra, J., Simmonett, A. C., Singh, S., Swails, J., Turner, P., Wang, Y., Zhang, I., Chodera, J. D., De Fabritiis, G., and Markland, T. E. Openmm 8: Molecular dynamics simulation with machine learning potentials. The Journal of Physical Chemistry B, 128(1):109–116, 2024. doi: 10.1021/acs.jpcb.3c06662.
Jordan, K., Jin, Y., Boza, V., Jiacheng, Y., Cecista, F., Newhouse, L., and Bernstein, J. Muon: An optimizer for hidden layers in neural networks, 2024. URL https: //kellerjordan.github.io/posts/muon. Kapuśniak, K., Gabellini, C., Bronstein, M., Tossou, P., and Giovanni, F. D. Mars-fm: Generative modeling of molecular dynamics via markov state models. In International Conference on Learning Representations (ICLR), 2026.
Gebauer, N., Gastegger, M., and Schütt, K. Symmetryadapted generation of 3d point sets for the targeted discovery of molecules. In Neural Information Processing Systems (NeurIPS), 2019.
Kish, L. Confidence intervals for clustered samples. American Sociological Review, 1957.
Geng, Z., Deng, M., Bai, X., Kolter, J. Z., and He, K. Mean flows for one-step generative modeling. In Neural Information Processing Systems (NeurIPS), 2025.
Klein, L. and Noe, F. Transferable boltzmann generators. In Neural Information Processing Systems (NeurIPS), 2024.
Gloy, J. F. and Olsson, S. Hollowflow: Efficient sample likelihood evaluation using hollow message passing. In Neural Information Processing Systems (NeurIPS), 2025.
Klein, L., Foong, A., Fjelde, T., Mlodozeniec, B., Brockschmidt, M., Nowozin, S., Noé, F., and Tomioka, R. Timewarp: Transferable acceleration of molecular dynamics by learning time-coarsened dynamics. In Neural Information Processing Systems (NeurIPS), 2023a.
Ha, D. and Eck, D. A neural representation of sketch drawings. In International Conference on Learning Representations (ICLR), 2018.
Klein, L., Krämer, A., and Noé, F. Equivariant flow matching. Neural Information Processing Systems (NeurIPS), 2023b.
Ha, D. and Schmidhuber, J. World models. arXiv preprint arXiv:1803.10122, 2(3), 2018. 10
Autoregressive Boltzmann Generators
Köhler, J., Klein, L., and Noé, F. Equivariant flows: exact likelihood generative learning for symmetric densities. International Conference on Machine Learning (ICML), 2020.
Murtada, M. H., Brotzakis, Z. F., and Vendruscolo, M. Mdllm-1: A large language model for molecular dynamics. arXiv, 2025. Noé, F., Olsson, S., Köhler, J., and Wu, H. Boltzmann generators: Sampling equilibrium states of many-body systems with deep learning. Science, 2019.
Lawson, D., Raventós, A., Warrington, A., and Linderman, S. Sixo: Smoothing inference with twisted objectives. In Neural Information Processing Systems (NeurIPS), 2022.
Noé, F., Schütte, C., Vanden-Eijnden, E., Reich, L., and Weikl, T. R. Constructing the equilibrium ensemble of folding pathways from short off-equilibrium simulations. Proceedings of the National Academy of Sciences, 2009.
Lewis, S., Hempel, T., Jiménez-Luna, J., Gastegger, M., Xie, Y., Foong, A. Y., Satorras, V. G., Abdin, O., Veeling, B. S., Zaporozhets, I., et al. Scalable emulation of protein equilibrium ensembles with generative deep learning. Science, 389(6761):eadv9817, 2025.
Olsson, S. Generative molecular dynamics. Current Opinion in Structural Biology, 2026.
Li, T., Tian, Y., Li, H., Deng, M., and He, K. Autoregressive image generation without vector quantization. In Neural Information Processing Systems, 2024.
Owen, A. B. Monte carlo theory, methods and examples, 2013.
Li, X., Normandin-Taillon, H., Wang, C., and Huang, X. Xrmdn: An extended recurrent mixture density network for short-term probabilistic rider demand forecasting considering high volatility. IEEE Transactions on Intelligent Vehicles, 2025.
Parrinello, M. and Rahman, A. Crystal structure and pair potentials: A molecular-dynamics study. Physical review letters, 45(14):1196, 1980.
Lindorff-Larsen, K., Piana, S., Dror, R. O., and Shaw, D. E. How Fast-Folding Proteins Fold. Science, 2011.
Perez, D., Thompson, A., Moore, S., Oppelstrup, T., Sharapov, I., Santos, K., Sharifian, A., Kalchev, D. Z., Schreiber, R., Pakin, S., et al. Breaking the mold: Overcoming the time constraints of molecular dynamics on general-purpose hardware. The Journal of Chemical Physics, 162(7), 2025.
Peluchetti, S. Non-denoising forward-time diffusions, 2021.
Lipman, Y., Chen, R. T. Q., Ben-Hamu, H., Nickel, M., and Le, M. Flow matching for generative modeling. International Conference on Learning Representations (ICLR), 2023.
Pope, R., Douglas, S., Chowdhery, A., Devlin, J., Bradbury, J., Heek, J., Xiao, K., Agrawal, S., and Dean, J. Efficiently scaling transformer inference. Proceedings of machine learning and systems, 5:606–624, 2023.
Liu, Q. Rectified flow: A marginal preserving approach to optimal transport. arXiv, 2022. Loshchilov, I. and Hutter, F. Decoupled weight decay regularization. In International Conference on Representation Learning (ICLR), 2019.
Rahman, A. Correlations in the motion of atoms in liquid argon. Physical review, 136(2A):A405, 1964.
Matsumoto, M., Saito, S., and Ohmine, I. Molecular dynamics simulation of the ice nucleation and growth process leading to water freezing. Nature, 2002.
Ramachandran, G. N., Ramakrishnan, C., and Sasisekharan, V. Stereochemistry of polypeptide chain configurations. Journal of Molecular Biology, 1963.
Meyer, R. A., Musco, C., Musco, C., and Woodruff, D. P. Hutch++: Optimal stochastic trace estimation. In Symposium on Simplicity in Algorithms (SOSA), pp. 142–155. SIAM, 2021.
Razavi, S. F., Hosseini, R., and Behzad, T. Frmdn: Flowbased recurrent mixture density network. Expert Systems with Applications, 2024.
Midgley, L. I., Stimper, V., Antorán, J., Mathieu, E., Schölkopf, B., and Hernández-Lobato, J. M. SE(3) equivariant augmented coupling flows. Neural Information Processing Systems (NeurIPS), 2023.
Rehman, D., Akhound-Sadegh, T., Gazizov, A., Bengio, Y., and Tong, A. Falcon: Few-step accurate likelihoods for continuous flows. In International Conference on Learning Representations (ICLR), 2026a.
Mudgal, S., Lee, J., Ganapathy, H., Li, Y., Wang, T., Huang, Y., Chen, Z., Cheng, H.-T., Collins, M., Chen, J., Beutel, A., and Beirami, A. Controlled decoding from language models. In International Conference on Machine Learning (ICML), 2024.
Rehman, D., Davis, O., Lu, J., Tang, J., Bronstein, M., Bengio, Y., Tong, A., and Bose, A. J. Efficient regressionbased training of normalizing flows for boltzmann generators. In International Conference on Learning Representations (ICLR), 2026b. 11
Autoregressive Boltzmann Generators
Rezende, D. and Mohamed, S. Variational inference with normalizing flows. International Conference on Machine Learning (ICML), 2015.
Tschannen, M., Eastwood, C., and Mentzer, F. Givt: Generative infinite-vocabulary transformers. In ECCV, 2024. von Klitzing, C., Blessing, D., Schopmans, H., Friederich, P., and Neumann, G. Learning boltzmann generators via constrained mass transport. In International Conference on Learning Representations (ICLR), 2025.
Rizzi, A., Carloni, P., and Parrinello, M. Targeted free energy perturbation revisited: Accurate free energies from mapped reference potentials. The journal of physical chemistry letters, 2021.
Wirnsberger, P., Ballard, A. J., Papamakarios, G., Abercrombie, S., Racanière, S., Pritzel, A., Jimenez Rezende, D., and Blundell, C. Targeted free energy estimation via learned mappings. J. Chem. Phys., 2020.
Runde, V., Ribet, K., and Axler, S. A taste of topology. Springer, 2005. Salimans, T., Karpathy, A., Chen, X., and Kingma, D. P. Pixelcnn++: Improving the pixelcnn with discretized logistic mixture likelihood and other modifications. In International Conference on Learning Representations (ICLR), 2017.
Yang, C. N. The spontaneous magnetization of a twodimensional ising model. Physical Review, 85(5):808, 1952. Yang, K. and Klein, D. Fudge: Controlled text generation with future discriminators. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pp. 3511–3535. Association for Computational Linguistics, 2021.
Schopmans, H. and Friederich, P. Temperature-Annealed Boltzmann Generators. In International Conference on Machine Learning (ICML), 2025. Shazeer, N. Glu variants improve transformer, 2020. Snyder, C., Bengtsson, T., Bickel, P., and Anderson, J. Obstacles to high-dimensional particle filtering. Monthly Weather Review, 136(12):4629 – 4640, 2008. doi: 10.1175/2008MWR2529.1.
Yoo, J. and Aksimentiev, A. Improved parameterization of amine–carboxylate and amine–phosphate interactions for molecular dynamics simulations using the charmm and amber force fields. Journal of chemical theory and computation, 12(1):430–443, 2016.
Syed, S., Bouchard-Côté, A., Deligiannidis, G., and Doucet, A. Non-reversible parallel tempering: A scalable highly parallel mcmc scheme. Journal of the Royal Statistical Society Series B: Statistical Methodology, 84(2):321–350, 2021.
Yu, Z., Huang, W., and Liu, Y. Unisim: A unified simulator for time-coarsened dynamics of biomolecules. In International Conference on Machine Learning (ICML), 2025.
Tabak, E. G. and Vanden-Eijnden, E. Density estimation by dual ascent of the log-likelihood. Communications in Mathematical Sciences, 2010.
Zhai, S., Zhang, R., Nakkiran, P., Berthelot, D., Gu, J., Zheng, H., Chen, T., Bautista, M. A., Jaitly, N., and Susskind, J. Normalizing flows are capable generative models. International Conference on Learning Representations (ICLR), 2025.
Tan, C. B., Bose, A. J., Lin, C., Klein, L., Bronstein, M. M., and Tong, A. Scalable Equilibrium Sampling with Sequential Boltzmann Generators. In International Conference on Learning Representations (ICLR), 2025a.
Zhang, B. and Sennrich, R. Root mean square layer normalization. In Neural Information Processing Systems (NeurIPS), 2019.
Tan, C. B., Hassan, M., Klein, L., Syed, S., Beaini, D., Bronstein, M. M., Tong, A., and Neklyudov, K. Amortized sampling with transferable normalizing flows. In Neural Information Processing Systems (NeurIPS), 2025b. Team, N., Han, C., Li, G., Wu, J., Sun, Q., Cai, Y., Peng, Y., Ge, Z., Zhou, D., Tang, H., Zhou, H., Liu, K., Huang, A., Wang, B., Miao, C., Sun, D., Yu, E., Yin, F., Yu, G., Nie, H., Lv, H., Hu, H., Wang, J., Zhou, J., Sun, J., Tan, K., An, K., Lin, K., Zhao, L., Chen, M., Xing, P., Wang, R., Liu, S., Xia, S., You, T., Ji, W., Zeng, X., Han, X., Zhang, X., Wei, Y., Xu, Y., Jiang, Y., Wang, Y., Zhou, Y., Han, Y., Meng, Z., Jiao, B., Jiang, D., Zhang, X., and Zhu, Y. Nextstep-1: Toward autoregressive image generation with continuous tokens at scale, 2025. 12
Autoregressive Boltzmann Generators
Appendix A. Theory Proposition 1. Let the true conditional density be given by p∗ (xj |x<j ) and the autoregressive model’s conditional density pθ (xj |x<j ) under the uniform bin parameterization. The resulting minimum achievable error of the autoregressive model in KL is, ∗
inf DKL (p (xj |x<j )∥pθ (xj |x<j )) = θ
L X
p⋆ (bl |x<j )DKL (p⋆ (x̃j |x̃j ∈ bl , x<j ) ∥Unif(∆)) .
l=1
Proof. Fix a dimension j and a context x<j . Let {bl }L l=1 be a measurable partition of the domain of x̃j into disjoint bins, SL each with width |bl | = ∆, i.e. l=1 bl covers the support of interest and bl ∩ bl′ = ∅ for l ̸= l′ . Under uniform binning, the autoregressive model’s conditional PL density is constrained to be piecewise-uniform on bins. Concretely, there exist bin probabilities πθ (bl |x<j ) ≥ 0 with l=1 πθ (bl |x<j ) = 1 such that pθ (x̃j |x<j ) =
L X
πθ (bl |x<j ) Unif(∆) =
l=1
L X
πθ (bl |x<j )
l=1
1{x̃j ∈ bl } . ∆
(5)
Equivalently, for x̃j ∈ bl , πθ (bl |x<j ) . ∆
pθ (x̃j |x<j ) =
(6)
By the definition of the true conditionals we have, DKL (p⋆ (x̃j |x<j ) ∥ pθ (x̃j |x<j )) =
Z
p⋆ (x̃j |x<j ) log
⋆ p (x̃j |x<j ) dx̃j . pθ (x̃j |x<j )
Since the bins form a disjoint partition, we can split the integral: ⋆ L Z X p (x̃j |x<j ) ⋆ ⋆ p (x̃j |x<j ) log DKL (p ∥pθ ) = dx̃j . pθ (x̃j |x<j ) bl
(7)
(8)
l=1
Now use Eq. 6 inside each bin: for x̃j ∈ bl , pθ (x̃j |x<j ) = πθ (bl |x<j )/∆. Therefore ⋆ p (x̃j |x<j ) log = log p⋆ (x̃j |x<j ) − log πθ (bl |x<j ) + log ∆. pθ (x̃j |x<j )
(9)
Plugging Eq. 9 into Eq. 8 yields L Z X DKL (p⋆ ∥pθ ) = p⋆ (x̃j |x<j ) (log p⋆ (x̃j |x<j ) − log πθ (bl |x<j ) + log ∆) dx̃j l=1
=
l=1
(Here we used
R bl
bl
L Z X
p⋆ (x̃j |x<j ) log p⋆ (x̃j |x<j ) dx̃j −
bl
L X
p⋆ (bl |x<j ) log πθ (bl |x<j ) + log ∆.
(10)
l=1
p⋆ (x̃j |x<j ) dx̃j = p⋆ (bl |x<j ) and
⋆ l p (bl |x<j ) = 1.)
P
Now insert and subtract log p⋆ (bl |x<j ) to isolate a discrete KL. We can then rewrite the term involving log πθ as follows: ⋆ L L L X X X p (bl |x<j ) ⋆ ⋆ ⋆ ⋆ − p (bl |x<j ) log πθ (bl |x<j ) = − p (bl |x<j ) log p (bl |x<j ) + p (bl |x<j ) log . (11) πθ (bl |x<j ) l=1
l=1
l=1
The second sum is exactly the KL divergence between the true bin-mass distribution and the model bin distribution: ⋆ L X p (bl |x<j ) DKL (p⋆ (bl |x<j )∥πθ (bl |x<j )) = p⋆ (bl |x<j ) log . (12) πθ (bl |x<j ) l=1
13
Autoregressive Boltzmann Generators
Substituting back into Eq. 10 gives ⋆
⋆
DKL (p ∥pθ ) = DKL (p (bl |x<j )∥πθ (bl |x<j )) +
L Z X
⋆
p (x̃j |x<j ) log
bl
l=1
p⋆ (x̃j |x<j ) p⋆ (bl |x<j )/∆
dx̃j .
(13)
To interpret the second term, observe that for x̃j ∈ bl , p⋆ (bl |x<j ) = p⋆ (bl |x<j ) · Unif(∆). ∆ Moreover, using the true conditional density, p⋆ (x̃j |x̃j ∈ bl , x<j ) =
p⋆ (x̃j |x<j ) 1{x̃j ∈ bl }. p⋆ (bl |x<j )
Hence, we can rewrite the bracketed integral as ⋆ ⋆ Z Z p (x̃j |x<j ) p (x̃j |x̃j ∈ bl , x<j ) ⋆ ⋆ ⋆ dx̃j = p (bl |x<j ) dx̃j p (x̃j |x<j ) log p (x̃j |x̃j ∈ bl , x<j ) log p⋆ (bl |x<j )/∆ Unif(∆) bl bl = p⋆ (bl |x<j )DKL (p⋆ (x̃j |x̃j ∈ bl , x<j )∥Unif(∆)) .
(14)
Combining Eq. 13 and Eq. 14, we obtain the exact decomposition DKL (p⋆ (x̃j |x<j )∥pθ (x̃j |x<j )) = DKL (p⋆ (bl |x<j )∥πθ (bl |x<j )) +
L X
p⋆ (bl |x<j )DKL (p⋆ (x̃j |x̃j ∈ bl , x<j )∥Unif(∆)) .
l=1
(15) The second term in Eq. 15 depends only on the true distribution p⋆ and the fixed bins, and is independent of θ. The first term is a KL divergence over discrete distributions, hence it is always nonnegative and is minimized if and only if πθ (bl |x<j ) = p⋆ (bl |x<j )
for all l.
At this optimum, the discrete KL equals zero, so the minimum achievable KL within the piecewise-uniform model family is inf DKL (p⋆ (x̃j |x<j )∥pθ (x̃j |x<j )) = θ
L X
p⋆ (bl |x<j )DKL (p⋆ (x̃j |x̃j ∈ bl , x<j )∥Unif(∆)) .
l=1
As a result, this matches the statement of the proposition.
B. Data Preprocessing and Analysis We analyze the coordinate distribution of each peptide by placing the training data into a fixed number of bins (set to num bins = 1024 for simplicity) in Figure A.1. Alanine Dipeptide
Count
50000
Tri-alanine
50000
Alanine Tetrapeptide
50000
40000
40000
40000
40000
30000
30000
30000
30000
20000
20000
20000
20000
10000
10000
10000
10000
00
200
400
600
Bin index
800
1000
00
200
400
600
Bin index
800
1000
00
200
400
600
Bin index
Hexa-alanine
50000
800
1000
00
200
400
600
Bin index
800
1000
Figure A.1. The distribution of coordinates across bins for fixed bin count with num bins = 1024.
In addition to analyzing the distribution of samples across discretized bins, we evaluated a lower bound on E-W2 and T-W2 by de-quantizing via uniform noise injection (see Figure A.2). Specifically, training data were discretized into bins and subsequently mapped back to continuous coordinates by reconstructing via uniformly sampled noise. This procedure was repeated over a range of bin sizes to characterize the bin-width-dependent lower bound on attainable performance across 14
Autoregressive Boltzmann Generators
all alanine-based peptides. We further conducted ablations to assess the effect of bin size on E-W2 and T-W2 . As shown in Figure A.3, performance exhibits a near-monotonic dependence on bin resolution, validating our original analysis. Based on these results, we used 4096 bins for alanine dipeptide and tri-alanine, and 8192 bins for larger molecules and ROBIN.
Figure A.2. Energy distributions on the training data as a function of bin discretization. The corresponding E-W2 and T-W2 values are reported for each discretization, demonstrating an upper bound on the learnability of these metrics.
Increasing resolution
Figure A.3. We vary the model’s bin count and evaluate its impact on the resampled E-W2 and T-W2 for tri-alanine.
C. Metrics Below, we introduce the metrics used to evaluate model performance and describe their computation. The proposed metrics capture both local and global behaviour. Energy-based metrics assess the accuracy of local interactions, as small geometric perturbations can induce large energy variations. Complementary global metrics–including torus- and TICA-based measures–evaluate mode coverage and the ability of models to capture multi-modal structure. We omit the effective sample size (ESS), as its interpretation is invalidated by the use of SMC. C.1. Main Geometric Metrics 2-Wasserstein Energy Distance (E-W2 ). To quantify the agreement between generated and reference energy distributions, we compute the squared 2-Wasserstein distance between the energies of generated samples and those obtained from MD. Let p, q ∈ P(R) denote the probability distributions over energy values for the generated and reference samples, respectively, and let Π(p, q) denote the set of admissible couplings between them. The Wasserstein energy distance is then defined as: Z E-W2 (p, q)2 ≜ min |x − y|2 dπ(x, y). (16) π∈Π(p,q)
R×R
This metric measures how closely the generated energy landscape matches the reference distribution. Because molecular energies are highly sensitive to local structural change such as bond lengths/angles, E-W2 is particularly effective at detecting physically relevant discrepancies. Lower values correspond to better agreement with the target Boltzmann distribution. Torus 2-Wasserstein Distance (T-W2 ). To assess structural similarity in torsional space, we compute a 2-Wasserstein distance defined on the torus. For a molecule with L ∈ N residues, each conformation is represented by its vector of 15
Autoregressive Boltzmann Generators
dihedral angles: Dihedrals(x) = (ϕ1 , ψ1 , . . . , ϕL−1 , ψL−1 ) ∈ [0, 2π)2(L−1) .
(17)
To account for the periodicity of angular variables, the squared cost between two conformations x and y is defined as: 2(L−1)
cT (x, y)2 =
X
2 Dihedrals(x)i − Dihedrals(y)i + π mod 2π − π .
(18)
i=1
The corresponding torus Wasserstein distance between two distributions p, q ∈ P([0, 2π)2(L−1) ) is then defined as: Z cT (x, y)2 dπ(x, y). T -W2 (p, q)2 ≜ min π∈Π(p,q)
(19)
This metric captures global conformational differences in torsional space while respecting angular periodicity. Unlike energy-based distances, T-W2 is sensitive to missing or misrepresented conformational modes, providing a complementary assessment of structural diversity and coverage in generative Boltzmann models. One point of note is that although this claim generally holds, in cases where there are few samples from a given mode that are lost, this does not substantially impact the T-W2 , meaning that we can see a reduced value even in the presence of mode loss—one clear example of this phenomenon is presented in Section D.3, where we demonstrate mode collapse despite decreasing T-W2 . TICA 2-Wasserstein Distance (TICA-W2 ). To compare the long-timescale dynamical structure of trajectories, we evaluate discrepancies in a reduced space defined by time-lagged independent component analysis (TICA). TICA identifies collective coordinates that maximize autocorrelation, isolating the slow modes governing conformational dynamics. Given a mean-centered time series {x̃t }Tt=1 ⊂ Rn and a lag time τ , we estimate the empirical covariance matrices: Ĉ00 =
T −τ 1 X x̃t x̃⊤ t , T − τ t=1
Ĉ0τ =
T −τ 1 X x̃t x̃⊤ t+τ . T − τ t=1
(20)
The dominant slow modes are obtained by solving the generalized eigenvalue problem Ĉ0τ w = λĈ00 w,
(21)
where each eigenvector w defines a linear projection with maximal normalized autocorrelation at lag τ . In practice, we retain the first two TICA components {w1 , w2 }, which capture the slowest dynamical processes. Using these projections, we define an ℓ2 cost between configurations x, y ∈ Rn as their Euclidean distance in TICA space: cTICA (x, y)2 =
2 X
wj⊤ x − wj⊤ y
2
.
(22)
j=1
The corresponding TICA Wasserstein distance between generated and reference distributions p, q ∈ P(Rn ) is then Z TICA-W2 (p, q)2 ≜ min cTICA (x, y)2 dπ(x, y). π∈Π(p,q)
(23)
This metric directly assesses agreement in the slow dynamical subspace learned from the reference trajectory. By construction, TICA-W2 is sensitive to mismatches in metastable state populations and transition pathways, making it well-suited for evaluating models intended to reproduce long-timescale molecular kinetics. C.2. On the use of Geometric over Likelihood-based metrics in High-dimensions In this work, we prioritize Wasserstein-based metrics (TICA, Torus, Energy) over likelihood-based metrics. While ESS is a standard diagnostic for the efficiency of SNIS estimators, it is widely recognized as a potentially misleading proxy for sample quality in high-dimensional spaces. In high-dimensional spaces, importance sampling is susceptible to the “curse of dimensionality”, referred to as weight collapse in the particle filtering literature (Snyder et al., 2008). As the dimensionality increases, the overlap between the typical sets of the proposal and target distributions vanishes exponentially. Consequently, the variance of the importance weights becomes dominated by rare samples that land in the small region of overlap. This results in an estimator variance that explodes, rendering ESS an unreliable metric for performance in systems with hundreds of degrees of freedom (e.g., Decapeptides), as the metric becomes sensitive to global scaling factors rather than local mode coverage.
16
Autoregressive Boltzmann Generators
The Bias Toward Mode Collapse. The core limitation of the effective sample size (ESS) in the context of Boltzmann Generation is its tendency to reward “mode-seeking” behaviour over “mass-covering” behaviour. ESS is derived from the variance of the importance weights wi (x) = µtarget (xi )/pθ (xi ). Specifically we use the normalized effective sample size that ranges between [1/N, 1], P 2 N wi i=1 , ESS {wi }N PN i=1 = N i=1 wi2 where xi ∼ pθ . A generative model pθ can maximize ESS by collapsing its probability mass into a single, highly stable metastable state (a single mode of µtarget ). In this scenario, the ratio µtarget (x)/pθ (x) remains stable within that specific region, yielding a high ESS; however, this comes at the cost of failing to sample other metastable states (mode dropping). In Figure A.4, we compare the Ramachandran plots between the ground truth MD data, FALCON, and A R BG for one of the torsion angles present in tri-alanine. It can clearly be seen that the mode between 0 and π2 exists in the training data, while being lost in FALCON—a model that obtains a higher ESS than A R BG. Conversely, a model that attempts to cover the full diversity of the Boltzmann distribution (“mass-covering”) is much more likely to assign non-zero probability to high-energy regions where µtarget (x) ≈ 0. This results in high variance of the importance weights and a low ESS, despite the model being superior in terms of exploring the global conformational space.
Mode Present in Train Set
Mode Lost in FALCON
Mode Present in ArBG
Figure A.4. Left: Ramachandran plot from the ground truth MD data for tri-alanine; Center: FALCON’s torsion angle predictions; Right: Torsion angle predictions from A R BG. FALCON clearly loses one of the conformational modes at inference.
On the Interaction with Numerical Error in Practice. In practice, with models that have some numerical error, the variance of importance weights—and therefore ESS—is often dominated by numerical errors where a small fraction of samples will have an unusually high likelihood. This causes the creation of a large importance weight, which is why in practice, all models use a form of clipping to ensure reasonable importance weight values and to prevent collapse. In this work, we use a clipping value of 0.002 where the samples with the largest 0.002 fraction of importance weights are clipped following prior work (Klein et al., 2023b; Midgley et al., 2023; Tan et al., 2025b; Rehman et al., 2026a). In practice, ESS is highly sensitive to numerical precision and is often dominated by outliers, particularly in high-dimensional settings. By contrast, geometry-based metrics are substantially more robust to such numerical effects and provide a more reliable characterization of global model behaviour.
D. Additional Results D.1. Temperature Tuning Sampling temperature controls the entropy of the model distribution by scaling logits at inference time. The optimal temperatures for all systems are reported in Table A.1. For smaller systems, temperatures near 1.0 are sufficient, with slight gains observed for values marginally above 1.0. In contrast, larger and more complex systems benefit from lower temperatures, which likely mitigate underfitting. Temperature on Alanine Tetrapeptide. In Figure A.5, we study the effects of temperature tuning on the proposal and re-weighted distributions on the alanine tetrapeptide system. First, as noted in the main text, we find that the optimal temperature is slightly higher than 1.0. This is interesting and in line with prior works that find a slightly more diffuse proposal may be slightly better for Boltzmann Generation metrics, as it allows better coverage of the space. 17
Autoregressive Boltzmann Generators Table A.1. Optimal sampling temperatures identified via inference-time temperature sweeps across molecular systems. Optimal Temperature, T
System
ROBIN (Transferable)
0.95
E-W 2
Ground Truth Low T Opt T High T
0.10
E-W 2
0.08 0.06 0.04 0.02 0.00 π
-20
0
Ground Truth
E(x)
Low T
π
20
40
Opt T
π
≥ 60
High T
π
1.0
π
π
π
π 2
0.9
0
0
0
0
0.8
−π2
−π2
−π2
−π2
2
ψ
14 12 10 8 6 4 2 0 0.75 1.00 1.25 1.50
2
2
Temperature -W2
-W2
Normalized Density
1.03 0.99 1.02 0.98 0.88
Energy Distribution (Reweighted)
0.12
Density
Alanine Dipeptide Tri-alanine Alanine Tetrapeptide Hexa-alanine Chignolin
0.7 0.6
−π −π
−π2
0
ϕ
π 2
π
−π −π
−π2
0
ϕ
π 2
π
−π −π
−π2
0
ϕ
π 2
π
−π −π
−π2
0
ϕ
π 2
π
0.75 1.00 1.25 1.50
Temperature
Figure A.5. Ablations on model temperature. For the energy distribution, we demonstrate that lower temperatures sample lower energy modes more frequently, while the converse holds for higher temperatures. We also show how the modes become more prominent at high temperatures and are lost at lower temperatures. Finally, we show how an optimal temperature exists for optimizing E-W2 and T-W2 .
D.2. Inference Time In Table A.2, we report inference throughput (samples per second) for transferable models with 2, 4, and 8 residues, averaged over 30 systems. While ROBIN is slower than Prose, its substantially higher sample quality yields superior performance under a fixed sampling budget (see Figure 1). D.3. Alanine Dipeptide Below, we summarize the results of all A R BG variants in conjunction with other baselines on ALDP. A R BG outperforms all competing models—including both discrete flows and CNFs, on E-W2 , with competitive performance on T-W2 . Mode Collapse. When training models on the alanine dipeptide dataset from Klein et al. (2023b), we observe that we can continue improving our performance across both global and local metrics if we train our models for longer; however, in this process, part of the performance improvement comes from losing the mode, which artificially inflates ESS. Torus, which is designed to be a global metric, also suffers given that there are an insufficient number of points in that mode to radically impact the degradation of performance, yielding a nearly monotonic trend in performance improvement as training time increases. For larger systems, like tri-alanine and above, this behaviour is not observed. In Figure A.6, we provide a clear demonstration of the lost mode on ALDP. The Ramachandran plots are shown for two different instances in the training process—Epoch 110 and Epoch 370. We show that earlier in training, the mode exists, but as training continues, it disappears. This can also be observed on the training loss curve as annotated. We also provide the ESS and Torus results during training to demonstrate that the loss of the mode improves performance on metrics. 18
Autoregressive Boltzmann Generators Table A.2. Inference speed in samples per second for best performing models in the transferable setting. ROBIN is around 50% faster than Prose per model evaluation, but is slower in terms of samples per second due to operating over dimensions instead of atom coordinates and therefore requires 3× the model evaluations.
TarFlow PROSE ROBIN
2AA
4AA
8AA
737 338 260
329 158 87
126 66 29
Table A.3. Results on alanine dipeptide. Best results are bolded, with second-best underlined.
Alanine dipeptide (ALDP) Algorithm ↓
E-W2 ↓
T-W2 ↓
BoltzNCE SE(3)-EACF ECNF RegFlow ECNF++ SBG FALCON-A FALCON
0.27 ± 0.02 108.202 0.419 0.501 ± 0.011 0.914 ± 0.122 0.741 ± 0.189 0.512 ± 0.038 0.225 ± 0.104
0.57 ± 0.00 2.867 0.311 0.951 ± 0.054 0.189 ± 0.019 0.431 ± 0.141 0.180 ± 0.005 0.402 ± 0.021
GIVT MoL-PixelCNN++ GMM-PixelCNN++
0.256 ± 0.033 1.447 ± 0.277 0.763 ± 0.118
0.175 ± 0.171 0.528 ± 0.028 0.354 ± 0.098
A R BG
0.209 ± 0.041
0.402 ± 0.008
We believe this stems from the method used to generate the dataset in Klein et al. (2023b). Specifically, the dataset was generated in the following way: 1. MD simulation using Amberff99SBildn force-field at 300K for 1 ms using openMM (Eastman et al., 2024) with a timestep of 1 femto-second. 2. Relaxation of 105 uniformly randomly selected states from the MD data for 100 femto-seconds each using the GFN2-xTB forcefield (Bannwarth et al., 2018) and the ASE library (Hjorth Larsen et al., 2017) with a friction constant of 0.5 a.u. 3. To make the density nearly equal between negative and positive φ dihedral angles, importance sampling is performed using weights from a von Mises distribution fvM . Specifically, weights for each sample are computed as: ω(φ) = 150fvM (φ|µ = 1, κ = 10) + 1
(24)
with 105 training samples drawn from the weighted distribution. Specifically, this final reweighting step makes it possible for powerful models to overfit on the positive φ mode. The reweighting step causes there to be multiple instances of exactly the same data sample in the training set. For powerful models, seeing the same datapoint multiple times (even with data augmentation) causes overfitting. We observe that the likelihood of these exact training samples explodes, causing the distribution after importance sampling to remove the positive φ mode. This mixed energy function usage creates somewhat of a problem for importance sampling. In practice, following previous work, use the Amberff99SBildn force-field at 300K as a target energy function for reweighting, but note that this is not quite a perfect fit as the samples are relaxed slightly with the GFN2-xTB forcefield which may create a slight mismatch between the target distribution and the actual Amberff99SBildn-defined equilibrium distribution. Recommendation. For newer and more powerful Boltzmann Generator models, we recommend using training sets without importance sampling, as these are much more difficult to overfit on specific training samples. It is important to be mindful of overfitting-type behaviour on these small datasets with relatively powerful models. 19
Autoregressive Boltzmann Generators
Mode Present
Mode Collapse
Overfitting regime
Figure A.6. We demonstrate that training models for too long leads to overfitting on the training data, which despite improving resampled metrics, yields undesirable behaviour.
D.4. Ramachandran Plots for Other Single Peptide Systems Here, we demonstrate the competitive performance of A R BG across single peptide systems by showing the Ramachandran plots for all systems considered. In all cases considered, A R BG captures nearly every mode present in the test data, clearly illustrating the quality of the learned likelihoods and their synergy with SNIS. MD (Test Set)
ArBG Free Energy / kB T
π π
4.0
ψ
2
0
2.0 −π2 −π −π
−π2
0
ϕ
π 2
π−π
−π2
0
ϕ
π 2
π
0.0
Figure A.7. Left: Test data for alanine dipeptide; Right: A R BG’s angular predictions for alanine dipeptide.
MD (Test Set)
MD (Test Set)
ArBG
ArBG Free Energy / kB T
π π
4.0
ψ
2
0
2.0
−π2 −π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π
0.0
Figure A.8. Left: Test data for tri-alanine; Right: A R BG’s angular predictions for tri-alanine.
20
Autoregressive Boltzmann Generators
MD (Test Set)
MD (Test Set)
ArBG
ArBG
ArBG Free Energy / kB T
MD (Test Set)
π π
4.0
2
ψ
0
2.0
−π2 −π −π
−π2
0
ϕ
π
−π2
π −π
2
π
0
2
ϕ
π −π
−π2
π
0
π −π
2
ϕ
−π2
π
0
−π2
π −π
2
ϕ
π
0
2
ϕ
π −π
−π2
0
ϕ
π
π
2
0.0
Figure A.9. Left: Test data for alanine tetrapeptide; Right: A R BG’s angular predictions for alanine tetrapeptide. MD (Test Set)
MD (Test Set)
MD (Test Set)
MD (Test Set)
MD (Test Set)
ArBG
ArBG
ArBG
ArBG
ArBG Free Energy / kB T
π
4.0
π
ψ
2
0
2.0
−π2 −π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π −π
−π2
0
ϕ
π 2
π
0.0
Figure A.10. Left: Test data for hexa-alanine; Right: A R BG’s angular predictions for hexa-alanine.
D.5. De-quantization Strategies For our discrete model to generate continuous coordinates, we explored three different sampling strategies: 1. Sampling uniformly from the discrete bin selected by the model. This is our reasonable default choice and defines a piecewise-constant continuous density in Rd . 2. Using the center value of the bin. This strategy reduces a bit of variability from generation and may make bond lengths slightly more uniform. With enough bins, this is not necessary. Empirically, we observed small benefits for this de-quantization strategy over uniformly sampling from the bin. 3. Using the biased training data distribution for the chosen molecule to determine empirical offsets that we apply to the chosen bin at inference time. Especially for larger bin sizes, we may be able to fit more interesting distributions concerning the training dataset within the bin. Here, we use a Dirac distribution over the empirical mean of the training dataset within the bin. We find this gives a small boost in performance, especially when the training data is centered. D.6. Transferable Generation Autoregressive Twisted SMC Efficiency Benefits. We evaluate the efficiency gains that can be obtained using our Autoregressive Twisted SMC algorithm. The main idea is that it is easy to detect samples that will not result in valid low energy samples early on during inference. Using the twist function defined in Eq. 4, we are able to essentially stop inference early for any sample that exhibits a high partial energy. In Figure A.11, we investigate the partial energy distributions on the sequence SQQKVAFE 8AA test set peptide for ROBIN. To investigate this, we perform SMC inference without resampling for 10,000 generations. We record the partial energy of each sample at each residue checkpoint. We find that residue 2 has around 2% of samples that have poor energy samples while residue 7 has > 7% of samples that have high energies and represent likely steric clashes or other high energy features. These samples represent “wasted” compute, in that they will not contribute to the final distribution of samples. Therefore, additional efficiency can be gained by filtering these out early. On this peptide, using the min(E(x)) + 100 filter on energy at the earliest time a sample is registered as high energy, we find a savings of roughly 3% over a method without intermediate resampling. While this is a relatively minor saving, we expect that for more complicated and larger systems where the proposal has more failure modes, the advantage of autoregressive twisted SMC here would increase substantially in terms of cost savings or sampling efficiency, depending on the exact method and utilization of this concept. TICA Plots for Unseen Octapeptides. To demonstrate the quality of ROBIN and its zero-shot performance, we include TICA plots for seven different unseen octapeptides in Figure A.12. In this process, we show the predictive capacity of ROBIN as it nearly perfectly captures all the modes of these unseen molecules. Peptide-level Performance and Learnability. We evaluate the learned model on each peptide in the test set and report the resampled E-W2 and T-W2 in Figures A.13 and A.14 for ROBIN, Prose, and TarFlow. Overall, performance is broadly 21
Autoregressive Boltzmann Generators Residue 2
Normalized Density
0.06
Residue 3 Residue 2
0.05
0.04
0.04
0.03
0.03
0.02
0.02
0.01
0.01 0.00
340
360
380
E(x) (kJ/mol)
400
420
0.00
Residue 5
0.040 0.035 0.030 0.025 0.020 0.015 0.010 0.005 0.000
220
240
260
Residue 5
Normalized Density
0.030 0.025 0.020 0.015 0.010 0.005 180
200
220
E(x) (kJ/mol)
300
Residue 4
200
220
Residue 6
0.035
0.000
280
E(x) (kJ/mol)
Residue 4
0.040 0.035 0.030 0.025 0.020 0.015 0.010 0.005 0.000
Residue 3
240
260
240
260
280
E(x) (kJ/mol)
Residue 7
Residue 6
Residue 7
0.07 0.06 0.05 0.04 0.03 0.02 0.01
220
240
260
280
0.00
300
E(x) (kJ/mol)
260
280
300
E(x) (kJ/mol)
320
340
Figure A.11. Histogram of the energy values for 10,000 samples on SQQKVAFE for each residue, where we perform resampling for SMC. We clip the maximum energy to min(E(x)) + 100. The spikes represent all values greater than or equal to that histogram value. We can see that by residue 7, > 7% of samples have extremely large energies, which likely represent clashes or erroneous bond lengths. MD (PPWRECNN)
2
MD (PLFHVMYV)
MD (NPCLCYML)
0
TIC1 1
2
2
33
6
2
1
TIC0
0
1
2
84
3
Robin (PPWRECNN)
2
2
1
TIC0
0
1
2
10 7
6
5
Robin (PLFHVMYV)
4
3
TIC0
2
1
0
1
2
Robin (NPCLCYML)
2
4
3
TIC0
2
1
0
1
2
Robin (IFGWVYTG)
33
2
1
TIC0
0
1
2
84
1
TIC0
0
1
2
10 7
3
2
1
TIC0
0
1
2
3
Robin (YFPHAGYT)
6
5
4
3
TIC0
2
1
0
1
2
27
4 5 3
2
1
TIC0
0
1
2
Robin (ISKCKNGE)
1
5
4
3
TIC0
2
1
0
1
2
65
6
4
TIC0
2
0
2
0
2
Robin (DGVAHALS)
1 0
1
1
2
2 3
3
4
4
5
5 6
68 2
0
4 1
8 2
4
3
0
3
64
2
4
6
65
1
6 2
5
5
0
1
3
4
1
2
2
4
2 3
2
3
0
2
TIC1
5
4
2 0
1
6
4
1 0
27
1
2
4 1
8
0
1
3
0 6
2
1
2
4
4
MD (DGVAHALS)
2
0
1
1
MD (ISKCKNGE)
1
1 0
0
2
MD (YFPHAGYT)
2
3
2
0
MD (IFGWVYTG)
4
4
2 1
4
3
2
1
TIC0
0
1
2
3
64
5 3
2
1
TIC0
0
1
2
68
6
4
TIC0
2
Figure A.12. TICA modes using ROBIN on seven unseen octapeptides (from left to right): PPWRECNN, PLFHVMYV, NPCLCYML, IFGWVYTG, YFPHAGYT, ISKCKNGE, DGVAHALS.
comparable across models on a per-sequence basis; however, several peptides remain challenging for all methods. For example, all models perform poorly on the E-W2 for KRRGFFLE. Further analysis indicates that sequences with substantial charge contributions are particularly difficult to learn, especially those containing R and Y residues. Although all amino acids incur steep energy penalties outside favourable conformations, certain side chains are exceptionally sensitive to small geometric perturbations. Arginine’s planar, highly charged guanidinium group exhibits strongly orientation-dependent electrostatics, while tyrosine’s aromatic ring engages in highly directional non-bonded interactions (Yoo & Aksimentiev, 2016; Jing et al., 2019). Consequently, minor deviations in side-chain geometry can produce large energy fluctuations, complicating the learning of equilibrium conformational distributions for these residues. D.7. Inference Scaling In Figure 1, we demonstrated the scaling performance of ROBIN against Prose and MD on unseen octapeptide systems in terms of the number of function and energy evaluations. In this section, we continue an investigation into the inference scaling behaviour of ROBIN on octapeptides. GPU hour performance. In Figure A.16, we investigate not only an equal number of energy evaluations, but also the scaling performance in terms of GPU hours. While ROBIN is slower than Prose or MD per model or energy function evaluation, its performance for the same number of GPU hours is better, especially on the T-W2 . Here, and in Figure 1, we notice an unexpected trend in the TICA-W2 plots. Specifically, the TICA-W2 is relatively flat 22
Autoregressive Boltzmann Generators
4AA Test Sequences
8
Robin
7
Prose
TarFlow
6 E-W 2
5 4 3 2
KR QW NL RL MM SH KS SV ND TA PF TM WC VP FY WN MA
PQ IF
QA
FG NE VI
NC
KL LR KR WN
ITY L KK AP
SD FY YY GC DE GD TI GG RS HE AV HQ VS HY GW
FE
TL EH QW
MT
DM
DE
VH CC
AR
IP
0
CIP Q
1
8AA Test Sequences
40
Robin
35
Prose
TarFlow
30 E-W 2
25 20 15 10 5 AN KS M CG IEA SW HK CL QR CC GQ DD WN RD TE DG QT VA H EK ALS YY WM FW QT RV DH D GN M DL VT HW VI HS L IDH ICK RQ LK IFG W WV YT ISK G CK NG KR E RG FF MA LE PQ T MR IAT DP VL MW FA NS T MY EMI GR NC NH YM QY GS NK DP EK FF NP QH CL CY M PG L ES TA PL ES FH VM PP YV WR EC N PY N IRN C SP VE HK MR SQ LC QK VA F VW E IPV I WD DT LIQ F WT RQ YA FA YF HS PH AG YT
0
Figure A.13. The resampled E-W2 across peptides when comparing ROBIN, Prose, and SBG. Models were evaluated using 104 samples.
4AA Test Sequences
2.00
Robin
1.75
Prose
TarFlow
1.50
-W2
1.25 1.00 0.75 0.50
KR QW NL RL MM SH KS SV ND TA PF TM WC VP FY WN MA
IF
QA
VI
PQ
NE
FG NC
KL LR KR WN
ITY L KK AP
MT DM TL EH QW FE SD FY YY GC DE GD TI GG RS HE AV HQ VS HY GW
DE
Q CIP
CC
AR
IP
0.00
VH
0.25
8AA Test Sequences
7
Robin
6
Prose
TarFlow
5
-W2
4 3 2
CG
AN
KS MI
0
E SW A H CL KQR CC GQ DD WN RD TE DG QT VA H EK ALS YY WM FW QT RV DH D GN M DL VT HW VI HS L IDH ICK RQ L IFG KW WV YT ISK G CK NG KR E RG FF MA LE PQ T MR IAT DP VL MW FA NS T MY EMI GR NC NH YM QY GS NK DP EK FF NP QH CL CY M PG L ES TA PL ES FH VM PP YV WR EC N PY N IRN CV E SP HK MR SQ LC QK VA VW FE IPV WD IDT LIQ F WT RQ YA FA YF HS PH AG YT
1
Figure A.14. The resampled T-W2 across peptides when comparing ROBIN, Prose, and SBG. Models were evaluated using 104 samples.
for MD, then spikes at around 107 -108 energy evaluations. We investigate this further by breaking the performance out sequence by sequence in Figures A.17 to A.19, where we show all 30 test set eight residue sequences. We notice a few interesting things, as stated in the following: 1. As noted in Figures A.13 and A.14, the variability between sequences is quite high. Often, the performance is nonmonotonic. For some sequences, one model is better than another, particularly at low energy evaluations; however, as the number of energy evaluations grows, ROBIN generally outperforms Prose. 2. TICA-W2 for MD often has extremely non-monotonic elements often after 107 energy evaluations due to mode jumps. Specifically, it takes around 107 MD steps for chains to jump to the next mode. This often drastically changes TICA-W2 as the relative weights between modes evolve, especially when the new mode has less free energy than the starting mode. 23
Autoregressive Boltzmann Generators
We demonstrate this clearly in Figure A.15, where we see the MD over-sample a mode that is incorrectly weighted, leading to significant spikes in the TICA-W2 . We note that these plots are compared to the test set trajectories which have been run for 50 times as long as the longest MD chain. Given that we see the first mode mixing events at around 107 energy evaluations, this implies that the test chains may not be fully mixed. An interesting difference between MD and BG traces is that BG traces are often more monotonic than the MD trajectories. This is reasonable as BGs (both Prose and ROBIN) sample independently from their proposal where MD is autocorrelated. This means that the performance is often significantly better for BG type models in the few-step regime for unseen peptides. ROBIN outperforms all others on 8 residue systems on average.
SQQKVAFE TICA-W2
2
0 1
1 105
107
106
Energy Evaluations
10 5 Evals
10 7 Evals
2 × 10 8 Evals
4 × 10 7 Evals
0
108
2
TIC1
104
103
TIC1
Reference
1
Prose Robin MD
3 4
2
5
4
6
6
7 2.5 0.0
2.5 0.0
TIC0
2.5 0.0
TIC0
2.5 0.0
TIC0
4
TIC0
2
TIC0
0
Figure A.15. How the TICA-W2 varies as a function of energy evaluations across MD, Prose, and ROBIN. In addition, in the bottom row we see how the MD simulation slowly discovers modes as more energy evaluations are performed; in this process, it often searches in incorrect regions, amplifying the TICA-W2 , and then recovering from it with additional samples.
20
MD Prose Robin
15
2 104
105 106 107 Energy Evaluations
108
1103
104
105 106 107 Energy Evaluations
6 5
3 2 1
108
1.5 1.4 1.3 1.2 1.1 1.0 0.9 0.8
104
105 106 107 Energy Evaluations
108
TICA-W2
-W2
E-W 2
4
10 4 10 3 10 2 10 1 100 GPU Hours
1.5 1.4 1.3 1.2 1.1 1.0 0.9 0.8103
TICA-W2
-W2
E-W 2
3
5
20.0 17.5 15.0 12.5 10.0 7.5 5.0 2.5 0.0
5 4
10
0103
6
10 4 10 3 10 2 10 1 100 GPU Hours
10 4 10 3 10 2 10 1 100 GPU Hours
Figure A.16. E-W2 , T-W2 , and TICA-W2 against the number of energy evaluations and GPU hours for MD, Prose, and ROBIN.
24
E-W 2
CGSWHKQR CLCCGQWN DDRDTEQT
20
DGVAHALS
20
EKYYWMQT
20
20
10
HWHSLICK
10
FWRVDHDM
0 20
IDHRQLKW
Prose Robin MD
10
GNDLVTVI
ANKSMIEA
Autoregressive Boltzmann Generators
0
0
0
0
0
0
0 20 0
103
104
105
106
107
1 103
104
105
106
107
108
104
105
106
107
108
2.5
104
105
106
107
108
2.5
104
105
106
107
108
103
104
105
106
107
108
104
105
106
107
108
2.5
103
104
104
105
105
106
106
107
107
108
108
103 4 2
104
105
106
107
104
105
106
107
108
104
105
106
107
108
103
104
105
106
107
108
105
106
107
103
108
104
105
106
107
103
104
105
106
107
108
105
106
107
108
103
104
105 106 107 Energy Evaluations
108
103 5.0 2.5
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
1
103
104
105
106
107
108
103
104
105
106
107
108
1.25 1.00 0.75
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105 106 107 Energy Evaluations
108
1.5
2.5 104
1.5 1.0 0.5
108
5.0 103
108
3 2 1
2.5 104
107
2
5.0 103
1.5 1.0 0.5
108
5 4 3 103
106
1.0 103
5.0 2.5 103
105
1.5
5.0 103
104
1 103
5.0 103
103 2
5.0 103
TICA-W2
2
2.5
108
25 0
-W2
5.0
104
105
106
107
108
1.0 2.5 2.0 1.5
103
104
105 106 107 Energy Evaluations
108
Figure A.17. E-W2 , T-W2 , TICA-W2 per peptide vs. Energy Evaluations.
25
IFGWVYTG ISKCKNGE
10
30 20 10
E-W 2
103
0
104
105
106
Prose Robin MD
107
108
2.5
103
104
105
106
107
108
103
103
104
105
106
107
108
104
105
106
107
108
NHQYGSDP NPCLCYML
103
104
105
106
107
108
0 10 0
108
104
105
106
107
108
104
105
106
107
108
104
105
106
107
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
104
105
106
107
108
2
103
104
104
105
105
106
106
107
107
108
108
103
104
105
106
107
108
4 103
104
105
106
107
108
2
103
104
105
106
107
108
5.0 2.5 103
104
105 106 107 Energy Evaluations
108
1
108
4 103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105 106 107 Energy Evaluations
108
1
103 4 2
103
2
2.5 103
3 2 1
108
5.0
20
NKEKFFQH
MYGRNCYM
20
25
107
1.5 1.0 103
MRDPVLFA
103
2
0
106
5.0 2.5
0
20
105
1.5 1.0 0.5
TICA-W2
2 103
4
0
104
5 4
25
0
103
5 4 3
20 0
-W2
5.0
MWNSTEMI
MAPQTIAT
15 10 5
KRRGFFLE
Autoregressive Boltzmann Generators
1.0 0.5 1.5 1.0 0.5 3 2 1 1.25 1.00 0.75 1.5 1.0 0.5
103
104
105 106 107 Energy Evaluations
108
Figure A.18. E-W2 , T-W2 , TICA-W2 per peptide vs. Energy Evaluations.
26
Autoregressive Boltzmann Generators
PGESTAES
20
PLFHVMYV
20 10
PPWRECNN
E-W 2
20
0
PYIRNCVE SPHKMRLC
10
WTYAFAHS
WDLIQFRQ
VWIPVIDT
15 10 5
SQQKVAFE
0
0
10 0
105
106
107
108
104
105
106
107
108
103
104
105
106
107
108
104
105
106
107
2.5
2.5
108
104
105
106
107
108
103
104
105
106
107
108
104
105
106
107
108
103
104
105
106
107
108
104
105
106
107
108
103
104
105
106
107
108
5.0 104
105
106
107
108
103
104
105
106
107
105
106
107
108
103
104
105
106
107
104
105
106
107
108
2.5
103
104
105
106
107
108
5.0 104
105
106
107
108
103
104
105
106
107
104
105 106 107 Energy Evaluations
108
2
1.5 1.0
1.5 1.0
108
4 103
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105
106
107
108
103
104
105 106 107 Energy Evaluations
108
1.25 1.00
2.5 103
1
108
5.0 103
106
2 1
2.5 104
1.25
108
5.0 103
105
2 1
2.5 103
104
2 103
2
1.25 1.00 0.75
103
1.50
4
10 0
103
2.5 103
20 0
2.5
TICA-W2
1.25 1.00
5.0
25 0
5.0
5.0
103
0
104
-W2
5.0 103
20
YFPHAGYT
103
Prose Robin MD
103
104
105 106 107 Energy Evaluations
108
1.5 1.0 0.5
Figure A.19. E-W2 , T-W2 , TICA-W2 per peptide vs. Energy Evaluations.
27
Autoregressive Boltzmann Generators
E. Experimental Configurations E.1. Architecture The architecture choice employed follows a standard but performant recipe of Transformer-based building blocks. In Figure A.20, we capture the model specifications within a Transformer Block, which models the conditional distribution pθ (xj |x<j ) and is composed of causal self-attention, RMSNorm (Zhang & Sennrich, 2019), and SwiGLU activations (Shazeer, 2020). The two main differences between the set of single peptide experiments and the transferable setting were: (1) the scale of the model; and (2) the conditioning, which we cover in detail below. Unique to the molecular setting, we include an additional source of conditioning information through embeddings of the atom type and residue types that are injected into the main transformer block. We discuss the details behind all the enhancements and best practices below.
Conditioning A
R
P
Discrete Coordinate Inputs
RMSNorm Non-causal Global Self-attention
Cross Attention
Transformer Block (xN)
+
K, V from conditioning
R
RMSNorm
Causal Self-Attention
+
RMSNorm
RMSNorm
Causal Self-Attention
Cross Attention
+
+
RMSNorm
RMSNorm
Feed-forward Network
Feed-forward Network
SwiGLU Activation
SwiGLU Activation
+
+
Discrete Coordinate Outputs
Discrete Coordinate Outputs
Figure A.20. The transformer-based architecture variants that were considered. Left: The decoder-only like architecture that takes the conditioning information in at the initial generation step; Right: The encoder-decoder like architecture that repeatedly has a cross attention block that interacts with every transformer layer.
E.2. Conditioning l In the transferable setting, we explore various conditioning strategies. In line with Tan et al. (2025b), the conditioning information considers: (1) atom type, A; (2) residue type, R; (3) residue position, P ; and (4) sequence length, L. To feed this conditioning information into the model, we consider the decoder-only architectures commonly employed in modern LLMs. More specifically, in this variant, we pass the conditioning information through a separate transformer model with non-causal masking (token by token predictions should have access to global conditioning information). The representations obtained from the transformer are subsequently injected directly into the first layer of the larger transformer. For language, most conditional information is passed in at the beginning of the model as context, with additional passing at each layer excluded. 28
Conditio A
L
Transformer Block (xN)
Discrete Coordinate Inputs
Non-ca Glob Self-atte
K, co
Autoregressive Boltzmann Generators
E.3. Model Sizes A R BG and ROBIN. For all single peptide and transferable generation experiments, we concluded upon the model configurations reported in Table A.5. For ease of contrast, we include the configurations used for competing models: SBG and Prose in Table A.4. In addition, although the model configurations appear identical between all alanine datasets for A R BG and ROBIN, the difference in parameter count can be attributed to the number of bins used. As stated in Table A.5, for alanine dipeptide and tri-alanine, we use 4096 bins, while for alanine tetrapeptide and larger, we use 8192 bins. Table A.4. SBG and Prose configurations across molecular systems (Tan et al., 2025a;b).
System
Layers / Block
Blocks
Channels
Parameters (M)
SBG (Alanine Dipeptide) SBG (Tri-alanine) SBG (Alanine Tetrapeptide) SBG (Hexa-alanine) SBG (Chignolin)
4 6 6 6 8
4 6 6 6 8
256 256 384 384 384
13 29 64 64 114
Prose (Transferable)
8
8
384
285
MoL/GMM-PixelCNN++ and GIVT. For fair comparison, with A R BG we inherit the same de-quantization strategy and architectural blocks as A R BG when constructing the MoL/GMM-PixelCNN++ baselines. For all single peptide experiments, we set the bin count to |B| = 2048. For GIVT, as it is a fully continuous model in the vein of a true Mixture Density Network, there is no de-quantization needed. In all three baselines, the model includes an additional output projection head that outputs the parameters of the mixture distribution and has the shape: outputproj = 3K + 2,
(25)
where K is the number of mixtures, and for each mixture we output the means, scales, and logits over the mixture components. Lastly, we use two additional parameters as dependency coefficients to model the linear dependency coefficients for better modelling of correlated coordinates. In each case, the models are trained by computing the negative log likelihood under the mixture distribution. All remaining training settings are identical to the main model A R BG for single peptide systems. E.4. Training Optimizer, Learning Rate, and Scheduler. Following the recent success of the Muon optimizer in accelerating LLM training (Jordan et al., 2024), we adopt it in our experiments. Muon is a momentum-based optimizer that applies Newton– Schulz orthogonalization to gradient updates. For weight matrices, it maintains an orthogonalized momentum buffer computed using five Newton–Schulz iterations, with Nesterov momentum (µ = 0.95) and a learning rate of 0.02. For one-dimensional parameters, such as biases and normalization layers, the optimizer falls back to AdamW (Loshchilov & Hutter, 2019) with a learning rate of 0.002 and (β1 , β2 ) = (0.9, 0.999). We apply decoupled weight decay of 0.01 to all parameters and combine the optimizer with a cosine learning rate schedule with a warm-up phase covering 5% of the training iterations. Flash Attention. To improve training efficiency and reduce memory consumption, we employ FlashAttention for all models (Dao, 2024). FlashAttention computes the attention operation using fused kernels that significantly reduce the number of memory reads/writes by avoiding the explicit materialization of attention matrices. This substantially reduces memory overhead and improves throughput, enabling faster training and better hardware utilization without altering the Table A.5. A R BG and ROBIN configurations for single system experiments and transferable sampling. Including the standard deviation of the centered training data and the bin width in picometers (1/100 of an Angstrom). System
Heads
Head Dim.
Layers
Channels
Expansion
Parameters (M)
Bins
Std
Bin Width (pm)
A R BG (Alanine Dipeptide) A R BG (Tri-alanine) A R BG (Alanine Tetrapeptide) A R BG (Hexa-alanine) A R BG (Chignolin)
8 8 8 8 8
32 32 32 32 64
8 8 8 8 12
256 256 256 256 512
4 4 4 4 4
7.4 7.4 10.5 10.5 39.9
4096 4096 8192 8192 8192
0.163 0.210 0.227 0.299 0.345
0.358 0.461 0.499 0.328 0.379
ROBIN (Transferable)
8
64
16
768
4
132.0
8192
0.350
0.385
29
Autoregressive Boltzmann Generators
underlying attention computation or model behaviour. Lower precision training and inference. We tested training in both bf16 and float32. We found that for smaller models, bf16 performed equally well to float32 training. However, for larger models, and primarily ROBIN, we observed that bf16 training sometimes resulted in training instability. We therefore chose to train ROBIN using float32 precision. We also found that for inference, float32 inference was more consistent than bf16, which anecdotally had some numerical irregularities. Hardware. Training and inference was performed across multiple heterogeneous clusters containing a variety of NVIDIA GPUs. We primarily utilized L40S and RTX6000 Pro GPUs for inference and training of single-system A R BG models and H100/H200 GPUs for training of ROBIN. E.4.1. S INGLE - SYSTEM For the Chignolin scaling plot in Figure 1, we removed the scheduler, fixed the learning rate to 3 × 10−4 , and set the batch size to 256 across all trained models to ensure a fair comparison. E.4.2. ROBIN TRAINING We train ROBIN using the same number of training steps as Prose, with a comparable batch size of 448 (7/8 of the Prose batch size 512). We use a learning rate 5 × 10−4 , with a cosine annealing schedule without weight decay. E.5. Inference E.5.1. AUTOREGRESSIVE T WISTED S EQUENTIAL M ONTE C ARLO In this section, we detail our usage of SMC and the details on how it is applied in our peptide setting. In the ideal setting with a terminal reward µtarget (x), we would directly have access to the optimal intermediate density i.e. ηj⋆ ∝ pθ (x≤j )ψj⋆ (x≤j ).
(26)
with optimal twist functions: ψj⋆ (x≤j ) ∝
X
pθ (x>j |x≤j )µtarget (x)
(27)
x>j
However, these optimal twist functions are, in general, difficult to obtain. While many works attempt to learn them using a variety of objective,s including soft Q-learning (Mudgal et al., 2024), noise contrastive estimation (Lawson et al., 2022), and classification (Yang & Klein, 2021), we already have a reasonable twist function using pre-defined energy functions. We approximate the twist function by the relative likelihood of a sample under the target energy function and our model. To encourage samples that are lower energy during our autoregressive generation. We use the intermediate signals of a peptide-based energy function (either Amber ff99SBildn or Amber 14, depending on the system) (Tan et al., 2025a). However, these peptide-based energy functions only function correctly on complete peptides. In the case of a partial peptide (for instance, the subset of atoms PPW in the peptide PPWRECNN), these atoms are not able to be processed by the energy function because they do not form a complete peptide, which has a C-terminus oxygen cap, often denoted as OXT, the terminal oxygen. We are therefore not able to efficiently evaluate the partial energy of a subsequence like PPW. Instead, we generate one more atom, the nitrogen atom of the next residue, which can tell us a reasonable direction for the oxygen atom to go. Our procedure is then as follows: 1. Generate dimensions until we have generated a full residue plus the nitrogen atom of the next residue 2. Find the direction of the nitrogen atom relative to the carbon atom its attached to 3. Replace this nitrogen atom with an oxygen atom in the same direction off of the carbon atom, but at the optimal distance for carbon-oxygen bonds at 0.125 nanometers. 4. Evaluate the energy of this subset of the peptide using the relevant Amber energy function. This procedure allows us to calculate the intermediate twist functions, which then allows for resampling to improve the distribution during autoregressive sampling. We perform SMC over the entire batch of samples for the best performance. This is much larger than can fit on a single 30
Autoregressive Boltzmann Generators
GPU. Therefore, we need to operate in batches. We perform batched generation with KV caching per residue generated for minimal slow down. This has a couple of advantages over other generation procedures. First, we only need to hold a single gpu batch worth of Keys and Values at once. Second, we only need to regenerate the cache every residue. This means for a large batch of B samples, we need to regenerate the cache at most (L − 1)B times, where L is the length of the peptide. This minimizes the additional overhead of SMC to a few more model evaluations, which is less than a 10% overhead. E.5.2. KV- CACHING KV-caching is a technique used during inference that stores the attention keys and values from previous tokens during decoding to prevent recomputing them at every step (Pope et al., 2023). By caching these tensors, the model avoids redundant attention computations over the entire prefix, reducing per-token complexity and lowering latency at inference time. Consequently, we adopt it to reduce inference time cost when generating samples from the equilibrium distribution. E.6. Table and Figure Specific Details Table 1. ECNF++, RegFlow, SBG, FALCON-A, and FALCON results are taken from Tan et al. (2025a) and Rehman et al. (2026a). SBG here is SBG with Sequential Monte–Carlo sampling instead of self-normalized importance sampling (SNIS), as this performed slightly better. All other methods utilize SNIS. ECNF++ dashes represent models that were not run on that system due to scaling concerns.
31