WorksPhysics and Astronomy
Synthetic Stochastic Time Series from Generative Models
Abstract
Obtaining statistically converged time-series data represents a fundamental challenge in computational chemistry, where sampling is constrained by the prohibitive computational cost of high-fidelity simulations. The accuracy attainable from a finite simulation budget is governed by the standard-error scaling , rendering exhaustive sampling challenging for systems of realistic complexity. Here we show that generative models trained on high-quality stochastic trajectories can reproduce key statistical properties of the underlying process and generate additional synthetic trajectories at substantially lower computational cost, thereby enhancing the sampling accessible from a finite set of simulations. We present a systematic comparison of four generative architectures across two complementary data sources: an analytically tractable Ornstein-Uhlenbeck reference and donor-acceptor energy-gap trajectories from all-atom molecular dynamics simulations. Among the four architectures tested, the denoising diffusion probabilistic model reproduces the target statistics most consistently, across both data sources and across the range of correlation times examined, and generates far faster than the sequential Transformer. Specifically, for the energy-gap trajectories, augmentation from 0.1 ns of training data yields statistical estimates comparable in accuracy to those obtained from 0.25-0.50 ns of direct MD sampling. We further show that the benefit of synthetic augmentation is bounded by the information contained in the training data, producing a quality floor determined by both the training data and the generative model. Our findings establish diffusion-based generative models as an effective route to data-driven augmentation of stochastic time series in computational chemistry.
main-4.pdf

Figure 8.
Introduction
The accurate characterization of dynamical processes in molecular systems depends on the quality and quantity of available simulation data. In computational chemistry, the relationship between statistical precision and sample size typically follows the scaling law , where the standard error (SE) is inversely proportional to the square root of the number of independent samples and denotes the population standard deviation. This relationship imposes a stringent requirement: a tenfold reduction in statistical uncertainty necessitates a hundredfold increase in sampling, a demand that becomes prohibitive for systems of realistic complexity, particularly when high-level electronic structure methods or costly molecular dynamics (MD) simulations are required.
This statistical bottleneck motivates the development of generative models capable of synthesizing additional time-series data that preserve the underlying stochastic properties of the original trajectories. Unlike deterministic physical models that can be fitted to observed data, many processes of chemical interest, such as solvent reorganization dynamics, barrier-crossing events, and electronic energy gap fluctuations, exhibit inherently stochastic behavior that defies simple functional representation.{sup}1,2` Being able to augment limited simulation datasets with synthetic trajectories that faithfully reproduce both short-time correlations and long-time decorrelation could therefore accelerate scientific discovery while maintaining statistical rigor.
Many experimentally accessible dynamical observables in molecular systems can be cast in terms of equilibrium two-time correlation functions in either the time-domain or frequency-domain.{sup}2–6 As a result, MD simulations are often carried out for the sole purpose of calculating such two-time correlation functions. Examples include the diffusion constant, which is given in terms of the time integral of the velocity–velocity correlation function;{sup}2 the optical absorption spectrum, which is given in terms of the Fourier transform of the dipole-dipole correlation function;{sup}7 the vibrational energy relaxation rate constant, which is given in terms of the Fourier transform of the force-force correlation function;{sup}2,8–10 chemical reaction rate constants, which are given in terms of a time integral over the flux–flux correlation function;{sup}11–13 and the spectral density function which is given in terms of the cosine Fourier transform of the donor–acceptor energy gap autocorrelation function.{sup}14–16
Importantly, equilibrium two-time correlation functions are measures of the statistics underlying the stochastic dynamics of molecular systems in thermal equilibrium. Specifically, given the correlation function — , corresponds to the variance, , and its lifetime is a measure of the correlation time, which sets the fluctuation time scale. As such, the calculation of such equilibrium two-time correlation functions requires averaging over a large number of equilibrium MD trajectories, and converges like , where is the number of independent dynamical segments averaged over.
In this paper we consider the question of whether or not it is possible to train a generative machine learning (ML) model on a small sample of MD trajectories (one that would be too small for establishing a two-time correlation function at the desirable level of convergence), so that it can generate synthetic trajectories with the same statistics but at a lower cost, which can then be used to generate a better converged two-time correlation function without incurring the cost associated with generating additional MD trajectories. To this end, we frame the analysis in terms of the following three questions:
To what extent can the statistics of equilibrium fluctuations be learned from a finite sample and reproduced by synthetic trajectories?
Which class of generative model is best suited to the task?
By how much can such synthetic trajectories improve the estimate?
In this context, the relationship of the present work to recent work by Markland and coworkers should be noted. 17–20 Specifically, those authors used ML models to accelerate the simulation of linear and nonlinear electronic spectra in the condensed phase. Specifically, the spectra were assumed to be given in terms of second-order cumulant expansions of the optical response functions, which in turn are given in terms of the two-time correlation function of the transition frequency. ML models were then used to generate a transition frequency for each given nuclear configuration along the MD trajectories, which was shown to reduce the number of excited-state calculations from tens of thousands to a few hundreds. 17–19 However, obtaining converged spectra still required averaging over a large number of trajectories. In another related study, Markland and coworkers used ML models to extract spectral densities (whose knowledge is equivalent to that of the transition frequency two-time correlation function) from experimental electronic two-dimensional spectra. 20 The current paper is distinctly different and complementary to those studies in that ML is used to lower the number of trajectories needed to obtain converged energy gap (analogous to the transition frequency) two-time correlation functions and the corresponding spectral densities. The remainder of this paper is organized as follows. Equilibrium two-time correlation functions are defined in the time and frequency domains, and the conceptual framework of using generative models for time series prediction is introduced in Sec. 2. A detailed outline of the generative ML models under consideration in this paper is presented in Sec. 3. The two stochastic models used for testing the ability of the generative models under consideration to generate statistically reliable synthetic stochastic trajectories are presented in Sec. 4. The results of applying the generative models to the two test models are presented in § 7 and discussed in § 10. Finally, a summary of the main results and conclusions is given in § 11. Additional technical details, derivations and figures are provided in appendices and as supplementary information (SI).
Preliminary considerations
The two-time correlation function, spectral density and power spectral density
For the sake of concreteness, we will focus on the commonly used protocol for generating a spectral density function from MD simulation data for a system that satisfies Gaussian statistics, 14–16
To this end, consider a molecular system undergoing charge transfer (CT), which corresponds to a transition between two diabatic electronic states, referred to as the donor (D) state and acceptor (A) state. The fact that the charge distribution in the donor state is different from that in the acceptor state implies that, generally speaking, for a given nuclear configuration, , the donor potential energy, , differs from the acceptor potential energy, . Here, is the coordinate of the -th nuclear degree of freedom (DOF), where . The donor-acceptor energy gap in nuclear configuration can then be defined as follows:
For a system in thermal equilibrium at the donor state, the nuclear configuration is time-dependent, , which makes the donor-acceptor energy gap time-dependent too, . Importantly, since initial nuclear positions and momenta are sampled from the Boltzmann distribution that corresponds to thermal equilibrium, the dynamics of is stochastic rather than deterministic, where each choice of initial state gives rise to a different trajectory , and thereby a different realization of the time series traced by . 21,22 Since the system is at equilibrium, is also a stationary stochastic process 23,24, where fluctuates around its stationary equilibrium average value, , where corresponding to averaging over trajectories whose initial states where sampled based on a Boltzmann distribution at the donor state.
Assuming Gaussian statistics, such a stationary stochastic process can be fully defined by the corresponding average and two-time autocorrelation function:
The Gaussian nature of the statistics is often given in terms of a spectral density function, which in turn is given in terms of the cosine Fourier transform of : 14–16
Here, is the inverse temperature and of Eq. (2). Alternatively, the Gaussian statistics can also be expressed in terms of the power spectral density (PSD), which is defined by: 22
It should be noted that there is a one-to-one correspondence between , and . Thus, for a system that satisfies Gaussian statistics, either or or completely defines the statistics of the system. In practice, is calculated from MD simulation data. For example, given a single MD trajectory of length , where is the number of time steps of length each, can be estimated by: 1,22
(5) is based on the ergodic hypothesis, according to which time averaging is equivalent to ensemble averaging. It should be noted that is an estimate of the actual , which corresponds to the limit of :
The rate at which converges to scales like , which typically requires relatively long MD trajectories for generating an estimate of with an error bar which is below an acceptable tolerance. Since numerical errors typically accumulate over time, averaging over multiple equilibrium trajectories that are long compared to the correlation time but sufficiently short so as to avoid extensive numerical error accumulation, is often preferable. 22 In such a case, the error bar is often estimated by arranging the multiple trajectories into blocks and calculating the standard deviation between the averages over different blocks.
Generative model for time series prediction
Contemporary ML approaches to deep learning are based on two principal architectures for generative modeling of sequential data:
Autoregressive generative models, which generate time-series elements sequentially, conditioning each prediction on previous observations. This family encompasses convolutional neural networks (CNNs), recurrent neural networks, and attention-based transformers. 25
Simultaneous generative models, which generate an entire sequence rather than predicting it one point at a time. Here we consider a variational autoencoder (VAE) model, a latent-variable generative model, 26 and a denoising diffusion probabilistic model (DDPM), which is a score-based generative model. 27
In what follows, we evaluate the ability of two autoregressive generative models (CNN, Transformer) and two simultaneous generative models (VAE, DDPM) to accelerate the calculation of , and from MD simulation data.
Using generative models for calculating , and
The standard protocol for calculating , and outlined in Sec. 2.1 typically requires averaging over a large number of trajectories in order to bring the error bar to an acceptable level. The computational cost of doing so obviously grows with the number trajectories one has to average over for the error bar to reach an acceptable level. In this paper, we propose an alternative protocol, which is based on using a relatively small number of trajectories generated via MD simulations to train a generative model, which could then be used to generate additional synthetic stochastic time series with the same statistics, but at a much lower computational cost.
Specifically, let be the number of time series used to train the generative model and let be the number of synthetic time series generated by the generative model. Calculating , and based on the set of synthetically generated time series, three outcomes are possible:
The error bar would remain the same with increasing .
The error bar would decrease indefinitely with increasing .
The error bar would decrease with increasing up to a critical value of , and then remain the same or increase when is increased beyond that critical value.
In what follows, we establish that for the generative models under consideration, outcome 3 is observed (see also Appendix A).
Generative Models for Stochastic Trajectories
Two-time correlation functions from generative models
We start by casting two-time correlation functions in terms of the probabilistic description underlying the generative model of choice. To this end, consider a stationary stochastic process , which stands for all the possible realizations of the stochastic process (as opposed to a deterministic process where there is only one such realization). Let the equilibrium probability density for the stochastic variable to have the value , which for a stationary stochastic process is time-independent, be given by . Also let the conditional probability density for the stochastic variable to have the values at a time provided that it has the value at time be given by . Then, the two-time correlation function in the time domain is given by:
It should be noted that is the two-time joint probability density for at time 0 and at time . At the same time, the generative model can be thought of as a representation of the -time joint probability, , and as such can be used to generate a sequence that spans an order time correlation functions. However, in what follows we make the choice of choosing the two-time correlation function in (7) as the learnable quantity.
Sequential and simultaneous generation
The four generative models considered and compared in this paper fall into two classes that differ with respect to how the aforementioned joint probability is handled. Autoregressive models synthesize data sequentially:
Here, is the value of the stochastic variable at the -th point of a uniform time grid, , with the sampling interval, is the value predicted by the autoregressive model for , given the known preceding values , and denotes the neural network realization of the model, where is the set of trainable parameters. It should be noted that in this case, one predicts the next step based on all the steps that preceded it, one step at a time.
The sequential generation underlying autoregressive models can amplify errors when small errors per step can accumulate over multiple steps to yield divergent trajectories. 28 In contrast, simultaneous models generate the entire sequence at once (as opposed to one step at a time):
Here, is a random vector which is drawn from a fixed, parameter-free, probability distribution (a standard Gaussian for both simultaneous models considered here, see § 5), and denotes the neural network that maps onto an entire sequence , where stands for the set of trainable parameters. Since is fixed, everything the model learns about the data is stored in , and each new draw of yields a new synthetic sequence. The global nature of the mapping in Eq. (9) eliminates the aforementioned error accumulation to which autoregressive models are susceptible to and permits parallel computation during both training and inference. As a result, simultaneous models can be expected to do better at capturing correlations across the entire sequence.
The distinction tested in this work is therefore between squared-error sequential point prediction and whole-sequence generation. The former learns a conditional mean, which under-disperses when the next value carries an irreducible stochastic innovation. This does not by itself imply that probabilistic autoregressive models are unsuited to stochastic processes (the reader is referred to Appendix § 13 for a more detailed discussion of this point).
Autoregressive models
Autoregressive models factorize the joint distribution of a trajectory of points, , into a product of conditional distributions,
where is an integer time index and is the probability density of given all preceding values. In practice the conditioning is truncated to a window of the most recent values, and a neural network predicts the next value from that window, 29
where the hat marks the model output, denotes the trainable parameters, and is the length of the look back window ( in this work, § 7.1). The models used here output a single predicted value and are trained on its squared error, so approximates the conditional mean , where denotes a conditional expectation value. Trajectories are then generated by feeding each prediction back as input.
Convolutional neural network (CNN)
Convolutional neural networks extract hierarchical features through localized filter operations. For one-dimensional time-series data, the convolution operation is:
where denotes the -th feature map (output channel) at layer , a sequence along the time axis, with the input window (a single channel, ); represents the learnable convolutional kernel connecting input channel to output channel (here of width 5 points); denotes the one-dimensional discrete convolution along the time axis; is the bias term; is the activation function (here the rectified linear unit, ); and indicates the number of input channels from the previous layer. The model captures local temporal patterns through a hierarchy of increasingly abstract representations. In the model used here, each of three convolutional layers is followed by max pooling, which halves the length of the feature maps, and fully connected layers map the final feature maps onto the single predicted value (Supporting Information, Table S1).
Attention-based transformer
The transformer architecture eschews recurrence in favor of self-attention mechanisms that directly model interactions between all time points. The scaled dot-product attention is computed as:
Here, each of the values of the input window is first mapped by a learned linear transformation onto a -dimensional vector, its embedding, and the embeddings form the rows of a matrix . , , and represent the query, key, and value matrices, whose -th rows are the query, key, and value vectors of the -th time point of the window; they are derived from through learned linear projections (see below). is the dimensionality of the query and key vectors, denotes the matrix transpose, and the softmax function is applied to each row of its argument, , so that each row of the output is a weighted average of the value vectors, with weights set by the similarity between the corresponding query and the keys. Multi-head attention extends this by computing attention in parallel across multiple subspaces:
with each head defined as
Here, is the number of attention heads, ; and are the learned projection matrices of head , with the dimensionality of the value vectors; Concat places the head outputs side by side to form a matrix; and is a learned output projection matrix that maps the concatenated heads back onto the -dimensional embedding space. In self-attention, as used here, .
Because the model must predict the future from the past, a causal mask is applied, setting the entries of above the diagonal to before the softmax, so that each time point attends only to itself and to earlier time points. Positional encodings are added to the input embeddings to convey temporal ordering:
where denotes the temporal position within the window and indexes pairs of embedding dimensions. In the model used here, , , and . Two such attention layers are stacked, each followed by a position-wise feed-forward network and each wrapped in a residual connection and layer normalization, and the predicted value is read out from the output at the last position of the window (Supporting Information, Table S2).
Simultaneous generative models
The two simultaneous models generate a whole trajectory window rather than predicting one point at a time. The VAE model does so through a latent variable representation, while the DDPM is a score-based model, which reframes generation as learning the gradient of the log-probability density, the score function, and generates by following that gradient field.
Variational autoencoder (VAE)
Variational autoencoders 26 learn a compressed latent representation of the data through an encoder-decoder architecture with a probabilistic regularization. For a training window , the loss minimized during training is
Here, is a latent vector of much lower dimension than (32 here, compared with 1024 points); the encoder , with trainable parameters , is the approximate posterior, i.e., the probability density of given ; the decoder , with trainable parameters , is the probability density of given ; and denotes an average over drawn from . The first term represents the reconstruction loss, which for the Gaussian decoder used here reduces, up to constants, to the squared error between and its reconstruction. The second term is the Kullback–Leibler divergence, , between the approximate posterior and the prior , chosen here as a standard Gaussian with the identity matrix, and is its weight ( in this work; for , is the evidence lower bound on ). The reparameterization trick enables differentiable sampling:
where and are the mean and standard deviation of output by the encoder network, and denotes element-wise multiplication. Once trained, the encoder is discarded, and synthetic windows are generated by drawing and passing it through the decoder network, which plays the role of in Eq. (9).
Denoising diffusion probabilistic model (DDPM)
Denoising diffusion probabilistic models 27 define a forward diffusion process that gradually corrupts data with Gaussian noise over noising steps, :
Here, is a clean training window and is its noised version after steps (the index labels the noising step, not physical time); denotes the Gaussian probability density of with mean and covariance matrix ; is the identity matrix; and follows a predefined noise schedule. Here and increases linearly from to , so that is essentially pure Gaussian noise. The reverse generative process learns to denoise:
Training minimizes a simplified objective:
where the average is over drawn uniformly from , over training windows , and over , the noise added at step ; is the noise predicted by the neural network here a one-dimensional U-Net, Supporting Information, Table S4; and is the Euclidean norm. Using the reparameterization with , the model learns to predict and remove the noise component. The predicted noise determines the mean of the reverse step, , while the covariance is held fixed, . The predicted noise is also, up to a factor, an estimate of the score, , which is why the DDPM is a score-based model. A synthetic window is generated by drawing , which plays the role of in Eq. (9), and applying the reverse step times, down to .
Stochastic Test Models
In this section, we outline the two stochastic test models that we will use to test the ability of the four generative models outlined in Sec. 3 to generate synthetic time series with the same statistics as the training set, as measured by , and .
The Ornstein–Uhlenbeck (OU) process
The Ornstein–Uhlenbeck (OU) process 30 is a Gaussian stationary Markov process with an exponential two-time correlation function. The dynamics of the OU stochastic variable is governed by the following equation of motion:
Here, is the correlation time, sets the stochastic noise strength, and is Gaussian white noise such that . The stationary variance is , and the normalized autocorrelation function is
In what follows, stochastic OU time series were generated via the exact integral algorithm of Fox et al. 31. Within this algorithm:
where is the time step and is a random variable sampled from a Gaussian probability density with variance . It should be noted that the update is exact for any step size.
A stochastic time series consisting of time steps was generated by the aforementioned algorithm, where we set and , and varied from to , so that . The training set was set to a 1,024-point window. Setting the variance to unity, left as the only parameter. For this model, times and frequencies are reported in units of and , respectively.
Electron-transfer energy gap (ETG) process
The second stochastic process we will employ is based on the CT reaction scenario outlined in Sec. 2.1. To this end, we will train the generative models on trajectories generated by all-atom MD simulations of a peptoid chain consisting of nine N-(S)-(1-phenylethyl)glycine (nspe) units and functionalized with Fe-porphyrin and Fe-porphyrin complexes in positions 4 and 7, and dissolved in liquid acetonitrile, at room temperature.
The CT reaction in this case occurs between the Fe-porphyrin and Fe-porphyrin complexes, and the stochastic variable corresponds to the donor-acceptor energy gap, (see Eq. (1)). In this case, we will test the robustness of the generative models on fifteen different peptoid conformations.
Results
The following four generative models outlined in Sec. 3 were evaluated on the two test stochastic processes (OU and ETG) described in Sec. 4:
The Denoising Diffusion Probabilistic Model (DDPM).
The Variational Autoencoder (VAE).
The Convolutional Neural Network (CNN).
The decoder-only Transformer (Transformer).
Stochastic variables were normalized to have zero mean and unit variance prior to training. The performance of the generative models was estimated based on their ability to generate synthetic trajectories that can reproduce the two-time autocorrelation function, (see Eq. (2)), the spectral density (See Eq. (3)), and the PSD (see Eq. (4)).
Protocol
All results are obtained with a single protocol, applied identically to the four models and to both data sources (Figure 1 (PDF p. 7)).

Figure 1 (PDF p. 7). Protocol shared by all models and both data sources (Section 5.1).
Training data. Each model is trained on a single trajectory of points, for both the OU process and ETG; for ETG the sampling interval is fs (0.1 ns). The trajectory is normalized to zero mean and unit variance and cut into windows of points with a stride , which gives
training samples, at the default . For the autoregressive models each window is extended by one point, the prediction target. The choice of stride is examined in Section 5.3.
Evaluation metrics. Each ensemble is summarized by three curve statistics — , , and the PSD — and by the distributions of values and of one-step increments. A curve statistic on a grid of lags or frequencies is scored by
where the bar denotes the ensemble average and the PSD enters as . Distributions are compared by the Kolmogorov–Smirnov statistic
with the empirical cumulative distribution of the amplitudes (KS) or increments (KS); it ranges from 0 (identical) to 1 (disjoint). Lower is better for every metric. Error bars on the curves are the standard deviation of a statistic estimated from about points, the size of the training set (0.1 ns for ETG): for a generated ensemble, over ten groups of 100 trajectories; for the reference, over its 100 individual trajectories. Where not visible, they are smaller than the line width. These error bars describe the statistical uncertainty of the curves within a single generated ensemble. The scalar metrics also vary between independent generation draws from the same trained model (Section 5.3), so every entry in Tables 1–4 is the median over five such draws. These metrics are used only to evaluate trained models and are not the objectives the models are trained on, which are given below.
Model training. The sequential models, a one-dimensional CNN and a Transformer, map a -point window to the next point (Section 3.3) and are trained on the squared error of that prediction,
they generate by feeding their own predictions back as input, starting from a random window from the test set. The simultaneous models learn the joint distribution of a whole window . The VAE, with encoder and decoder , is trained by maximizing the evidence lower bound, that is, by minimizing
with (Section 3.4), and generates by decoding latent vectors drawn from the standard normal prior . The diffusion model is a denoising diffusion probabilistic model in which a one-dimensional U-Net is trained to recover the noise added to a window at step of a Gaussian noising process,
with , drawn uniformly from the noising steps, and the cumulative noise schedule; it generates by running the reverse process from Gaussian noise. In each case averages over training windows. None of these objectives involves the correlation function or the spectrum, so agreement in those statistics tests what the models have learned rather than what they were fitted to. Architectures, noise schedules, and training details are given in the Supporting Information.
Generation and reference. Each model generates 1000 synthetic trajectories of 1024 points, a length set by the architecture of the simultaneous models and by the instability of long autoregressive rollouts. The reference is computed from 100 independent real trajectories (10 ns), one hundred times the training data, evaluated on 1024-point windows so that real and synthetic statistics share the same grids. The data are partitioned as follows. The training trajectory is one of the 100 reference trajectories, so it contributes 1% of the reference data. The autoregressive models start each rollout from a 1024-point window drawn at random from a second trajectory, which is not used for training (it is also one of the reference trajectories); rollouts whose matched true continuation would extend beyond the end of that trajectory are discarded (about 1%), so these models contribute about 990 rather than 1000 trajectories. The simultaneous models generate unconditionally and need no input at generation, so no separate test set is required for them. The real-data curve of Section 5.5 is computed from a further 96 trajectories that are disjoint from both the training and the reference data. Rarely, a single diffusion draw diverges during sampling, a numerical instability of the batch-normalization layers of the U-Net; such draws are discarded and redrawn (no run used here produced more than 5 in 1000; Supporting Information, Section 3.1).
Cross-model comparison
This subsection addresses the first two questions of the Introduction: whether the statistics of equilibrium fluctuations can be learned from a sample too small to converge them, and which class of generative model is suited to the task. Each model sees one hundredth of the data that defines the reference (Section 5.1).
Ornstein–Uhlenbeck (OU) process
For a variance-normalized OU process, the correlation time sets the one-step correlation and hence how predictable the signal is: nearly deterministic for , nearly white noise for . Sweeping thus varies exactly the property that separates sequential from simultaneous generation (Section B).
The results follow this distinction (Table 1, Figs. 2 and 3). The diffusion model reproduces the spectrum at every correlation time, with an error essentially independent of . The autoregressive models are competitive only at long ; as their spectrum collapses, because a conditional-mean predictor cannot anticipate unstructured noise and returns the conditional mean. The VAE reproduces the amplitude distribution but not the spectrum.
Energy-gap (ETG) trajectories
ETG is the harder target, with a non-Gaussian amplitude distribution and spectral structure on several timescales. The ranking from the OU process nevertheless carries over (Table 2, Fig. 4). The diffusion model is best on every metric except , on which the VAE is better, as for the OU process, and reproduces the positions and relative heights of the spectral peaks. The VAE matches the amplitude distribution but misses the increment distribution: it learns how the values are distributed without learning how they are correlated in time. The autoregressive models show the opposite failure, reproducing the shape of but with an amplitude distribution that is too narrow — the same regression to the conditional mean seen in the white-noise limit of the OU process.
Both tests show that a generative model trained on a small portion of the reference data can reproduce the correlation function, spectrum, and distributions of that reference. They also reveal a structural difference between the model classes. The diffusion model, which generates the whole trajectory at once, is the most successful. The VAE also generates simultaneously but falls short: it reproduces the distribution of values without their local correlations. The Transformer, by contrast, performs far better at large than at small , tracking how predictable the signal is. These systematic differences are examined in Section 6.
Diffusion Model hyperparameter study
Before turning to the third question, we check that the performance of the diffusion model does not depend on a particular configuration. Three hyperparameters are varied one at a time about the default of Section 5.1 (input length 1024, stride 10, 6 U-Net layers): the input length, which is also the length of the generated trajectories; the stride between training windows; and the U-Net depth (Table 3, Fig. 5). The dominant source of scatter is sampling rather than training. For a fixed trained model, repeating only the reverse-diffusion step with new random seeds changes
MSE PSD by up to an order of magnitude, more than most of the differences between configurations. Each entry of Table 3 is therefore a median over five generation draws, and a difference is counted as real only if it exceeds the spread of the default’s own draws. By this criterion the default is best or tied-best on every metric.
| value | MSE | MSE | MSE logPSD | |
| Input size | ||||
| 512 | ||||
| 1024 (def) | ||||
| 2048 | ||||
| 4096 | ||||
| Window stride | ||||
| 2 | ||||
| 5 | ||||
| 10 (def) | ||||
| 20 | ||||
| U-Net depth | ||||
| 4 | ||||
| 5 | ||||
| 6 (def) |
Table 3. Diffusion hyperparameter sweep for ETG, varying one parameter at a time about the default (“def”). Each entry is the median of five generation draws from the same trained model, with only the sampling seed varied. The default’s own draws span to in MSE; a median within this range is counted as a tie. Best per column within each group in bold.
The stride sets the number of training samples through Eq. (27). Overlapping windows carry no additional information about the process, but they are not redundant for the model. The networks are not invariant to time shifts, so a window displaced by a single point is a distinct training example. Overlap also supplies the number of examples that a network of parameters (Table 5) requires, and exposes it to the stationarity of the process. Strides of 10 and 20 are indistinguishable, while denser overlap (, 5) is measurably worse.
| Method | # params | train (s) | generate (s) |
| Diffusion (6 layers) | 22,941,233 | 210 | 34.51 |
| Diffusion (5 layers) | 5,788,209 | 163 | 23.09 |
| Diffusion (4 layers) | 1,471,537 | 137 | 16.52 |
| VAE | 1,672,449 | 40 | 0.01 |
| CNN | 4,279,169 | 35 | 2.43 |
| Transformer | 463,105 | 440 | 250.10 |
| ETG(MD) (real)† | — | — | |
| OU (real)† | — | — |
Table 5. Computational cost for ETG (best configuration per model, plus the five- and four-layer diffusion variants of § 9; generation of 1000 trajectories (1 ns)). †MD times are rough, machine-dependent estimates on CPU, and not directly comparable with the GPU times of the models.
Depth shows the same plateau: five and six layers are indistinguishable, while a four-layer network is measurably worse. Input length matters more. The default outperforms all other lengths over the full frequency band and on the amplitude distribution, although longer inputs reproduce parts of the spectrum better (Figure 5). The cross-model comparison was thus carried out near the optimum, and its conclusions do not depend on tuning.

Figure 5. Generated PSD for ETG as a function of input length (top) and U-Net depth (bottom). Black: real reference. Each input-length panel is compared with a reference computed at the same length, because the periodogram itself depends on window length: leakage from the strong low-frequency peak dominates the high-frequency tail and decreases roughly as , so offsets between input-length panels reflect the estimator, not model error. Spectra at different lengths also lie on different frequency grids (256 bins at to 2048 at ). Over the band , where , length 2048 gives the best match (MSE ); in the high-frequency tail, length 4096 does (). Results at fixed length, including all cross-model comparisons, are unaffected. One representative draw is shown per configuration; Table 3 reports medians over five.
Robustness across peptoid conformations
All ETG results above use a single conformation of the peptoid scaffold (conformation 15). Our earlier rate study required for 15 conformations (§ 6.2), so we ask whether the default diffusion model, configured on conformation 15 alone, performs equally well on the other 14 without retuning. The model is trained independently on each conformation under the protocol of § 7.1, and each is scored against its own 100-trajectory reference (Table 4, Figure 6).
| Conf. | (kJ/mol) | KS | NMSE | NMSE | MSE logPSD |
| 1 | 16.8 | ||||
| 2 | 16.3 | ||||
| 3 | 16.1 | ||||
| 4 | 16.5 | ||||
| 5 | 16.2 | ||||
| 6 | 15.9 | ||||
| 7 | 16.4 | ||||
| 8 | 16.6 | ||||
| 9 | 15.7 | ||||
| 10 | 18.6 | ||||
| 11 | 18.0 | ||||
| 12 | 17.8 | ||||
| 13 | 18.0 | ||||
| 14 | 16.8 | ||||
| 15* | 15.8 | ||||
| median | 16.5 |
Table 4. Default diffusion model across the 15 peptoid conformations. Each entry is the median of five generation draws, scored against the conformation’s own reference (100 trajectories, 10 ns). : trajectory standard deviation. NMSE: error in and normalized by the reference’s mean square, since both scale as . *Conformation 15, used elsewhere in the paper, ranks 11th, 10th, 9th, and 6th of 15 on KS, NMSE , NMSE , and MSE logPSD.

Figure 6. Generated and real PSD for the default diffusion model, trained and evaluated independently on each of the 15 peptoid conformations (one representative draw; real curve from the 100-trajectory reference). Orange: conformation 15, used throughout the rest of the paper.
Accuracy is uniform across conformations. The spread of each metric across the 15 conformations is comparable to or smaller than the sampling scatter of a single conformation (§ 9), and the peak structure of the PSD is reproduced equally well throughout. Conformation 15 ranks in the lower half on three of the four metrics, so the results reported elsewhere are not a favorable special case.

Figure 3. Generated PSD for the OU process across correlation times (rows, to ) for the four models (columns). Black: real; red: generated.
| Method | MSE logPSD | ||||
| Diffusion | |||||
| VAE | |||||
| CNN | |||||
| Transformer |
Table 2. Error metrics for ETG (Eqs. (28)–(29); best configuration per model). Each entry is the median of five generation draws from the same trained model, with only the sampling seed varied (seeds as in Table 3), so that the diffusion row coincides with the default of Table 3. Best per column in bold.
Since each conformation was simulated independently, these results also show that the architecture and hyperparameters chosen on one conformation transfer to the others without retuning.
Convergence with sample size
This subsection addresses the third question: how much synthetic data can improve an estimate, and what limits the improvement. Figure 7 shows the error of each statistic as a function of the amount of data used to estimate it, expressed as equivalent simulation time, for synthetic trajectories from the diffusion model and for real MD trajectories. Both are scored against the converged reference, and the real trajectories are disjoint from those that define it, so the two curves are directly comparable. The grey band marks the error of the estimate from the training data alone.

Figure 7. Error of the estimated statistics with respect to the converged reference (100 trajectories, 10 ns) versus equivalent simulation time ps, for ETG conformation 15. Columns: , , and . Top row: linear axes with error bars, ns; bottom row: log–log axes without error bars, extended to 41 ns. Points and error bars are defined in Supporting Information, Section 4. Blue: synthetic data from the default diffusion configuration. Red: real data. Grey band: real-data MSE at the training-set size (0.1 ns). Dashed blue line: converged synthetic MSE.
Two features answer the question. First, the synthetic estimate falls well below the grey band: once converged, it is several times closer to the reference than the training data it was learned from. Generative augmentation therefore improves the statistics rather than merely reproducing them. Second, the improvement is bounded. Beyond about 4 ns of synthetic data the error stops decreasing, whereas the error of real data keeps falling and reaches the converged synthetic level at a crossover time . The crossover measures the value of the generator in units of simulation time. Across four models trained on the same 0.1 ns trajectory and differing only in their random initialization (training seed), a generator trained on 0.1 ns of MD gives estimates as accurate as 0.25–0.50 ns of MD, 2.5 to 5 times its training data. The spread comes mainly from the PSD, whose converged level varies between models through a small offset in the high-frequency tail.
Computational cost and model capacity
A difference in performance between models of different size could reflect capacity rather than model class, since performance generally improves with model size when data are plentiful.32,33 Here the training data are fixed and limited, so model size must be matched to them: too small a network cannot represent the statistics, and too large a network overfits the single training trajectory. The size of each model was therefore optimized for the present training set (Supporting Information; parameter counts in Table 5), and each is compared at its optimum. The differences between classes are not a matter of capacity. Within the diffusion model, a sixteenfold reduction in parameter count changes the error by only a factor of a few (§ 9), far less than the differences between classes.
Table 5 lists the wall-clock cost of training each model and generating 1000 trajectories, together with the five- and four-layer diffusion variants of § 9. Once trained, the simultaneous models generate quickly, the VAE in a single forward pass, whereas the Transformer is by far the most expensive, because its rollout is strictly sequential. Among the diffusion variants, five layers matches the accuracy of the default at lower cost, while four layers is cheaper still but less accurate. The MD cost is an order-of-magnitude estimate, included only for scale: trajectories that take many CPU-hours to simulate take seconds to generate. The pertrajectory comparison overstates the saving, however. Because synthetic data stop improving the estimate beyond the plateau of § 9.2, the relevant comparison is the cost of training and generating up to that plateau against the cost of the additional MD that reaches the same accuracy.

Figure 4. Generated statistics for ETG (one generation draw per model). Layout, colours, and ensemble sizes as in Figure 2.

Figure 2. Generated statistics for the OU process (, ). Columns: models. Rows: a representative trajectory, , , and the PSD. Black: real reference (100 trajectories); red: generated (1000 trajectories, a single generation draw). Error bars as defined in § 7.1.
The approach also parallelizes in a way MD does not. For a fixed trained generator, synthetic trajectories are conditionally independent draws and can be generated in a single batched pass; unlike MD, simultaneous generation is also parallel along time within each trajectory, whereas both MD and autoregressive rollout must advance one step at a time.
Summary
In this section we conclude by revisiting the three questions posed in the Introduction. First, the statistics of equilibrium fluctuations can be learned from a sample too small to converge them: the diffusion model, trained on one hundredth of the reference data, reproduces the amplitude distribution, correlation function, and spectrum of both data sources (§ 8), with a single configuration across 15 independently simulated conformations (§ 9.1). Second, the choice of model matters, and along a structural line. The diffusion model, which generates whole trajectories, is accurate at every correlation time; the sequential models are competitive only when the signal is strongly correlated and otherwise regress to the conditional mean; and the VAE reproduces the distribution of values but not their temporal correlations. These differences reflect neither tuning nor capacity (§ 9 and § 9.3). Third, the improvement is real but bounded. The synthetic estimate is closer to the converged reference than the training data alone, but it levels off at a quality floor, so augmentation is worth a fixed multiple of the training data rather than an unlimited amount of it (§ 9.2).
Discussion
The Results section answers the three questions posed in the Introduction. In this section we examine why the answers take the form they do: the mechanism behind the ordering of the models, the relation of the present problem to machine-learned MD, the limits of augmentation, and the directions in which the approach can be extended.
The deterministic–stochastic asymmetry
The ordering of the models follows from what each is trained to estimate. A sequential model trained on the squared error of the next value learns the conditional mean . When the next value is nearly determined by the past, as for the OU process at long , the conditional mean is an adequate generator. When it is not, the rollout returns the mean instead of a sample and the generated ensemble collapses, as observed at short and in the under-dispersed ETG amplitudes. No increase in capacity repairs this, because the failure lies in the estimand rather than in its approximation. A simultaneous model instead learns the joint distribution of the whole trajectory, and its error enters once, integrated over the diffusion process, rather than compounding along the trajectory (Appendix § 13). The collapse to the mean is specific to the point-prediction outputs used here: a sequential model with a probabilistic output would sample rather than average, but it would remain subject to the compounding of per-step error along the trajectory. The same boundary appears in machine-learned MD. Deterministic propagators, which regress the next configura-
tion, reach strides of only one to two orders of magnitude beyond the MD timestep and typically require a thermostat during generation, which supplies the stochasticity their deterministic map cannot. Transition-density models, which learn a conditional distribution, reach strides several orders of magnitude larger. That a separate community, working with atomistic configurations rather than scalar observables, meets the same boundary indicates that it is structural rather than specific to our test systems.
Relation to machine-learned molecular dynamics
The present problem is nevertheless not a special case of trajectory surrogacy. Learned propagators are judged on pathwise fidelity — whether a generated trajectory is a trajectory of the system — hence their emphasis on conservation laws, time-reversal structure, and Chapman–Kolmogorov consistency. For a stochastic observable such as , no single realization carries physical meaning. The physics resides in the ensemble, and two ensembles with identical statistics are equivalent for every purpose the observable serves. Pathwise fidelity is therefore sufficient but not necessary, and relaxing it removes the constraints that make trajectory surrogacy difficult: there is no conservation law to impose and no rollout to stabilize, and whole trajectories can be generated at once. The price is a narrower scope. The approach produces no configurations and cannot answer the structural or mechanistic questions that trajectory surrogates address.
The two approaches also differ in their data. Learned propagators are trained on large corpora assembled in advance and amortize that cost across the many systems to which they transfer. The generator used here is fitted only to the trajectories of the system under study, with no pre-training, and must repay its cost within that system. Which approach is appropriate is decided by the estimand: a configuration or mechanism calls for a trajectory surrogate, a statistical property of a stochastic observable for a generator of the kind studied here.
Limits of augmentation
Because the generator is trained on the same trajectories used for estimation, the data processing inequality applies in its tightest form, Eq. (34) with : synthetic trajectories carry no information about the system beyond that of the real sample. The benefit of augmentation therefore cannot be an information gain; it arises because the trained generator acts as a regularized estimator of the real data, trading variance for bias. The error of an estimate from a trained generator separates into a sampling part, which additional synthetic samples remove, and a part fixed by the generator itself — its bias and the uncertainty it inherits from a finite training set — which they cannot (Eq. (36)). The plateau of § 9.2 is this floor observed directly. A quantitative theory of the floor — its dependence on the size of the training set and on the fidelity of the generator, and
hence the number of synthetic samples worth drawing — requires generators trained on independent training sets, and is left to future work.
Further directions: beyond augmentation
The preceding sections have treated the trained generator as a means of augmenting data, and have shown that in this role its value is bounded by the information in the training trajectories. Augmentation is, however, the simplest use of such a model rather than its only one. What has been trained is a model of the law of a stochastic observable, which can be sampled cheaply and conditioned on partial information, and these capabilities support applications that a larger sample alone cannot.
One potential application is a learned bath for quantum dynamics and spectroscopy. Several methods for condensed-phase quantum dynamics and spectroscopy treat the environment as a classical stochastic process, in which fluctuating energies drawn from MD enter the quantum propagation directly; examples are the numerical integration of the Schrödinger equation for excitonic and two-dimensional spectra and stochastic Liouville approaches. These methods average an exponential of a time-integrated fluctuation over many trajectories, converge slowly, and draw their input from expensive simulation. A generator trained on MD can supply such trajectories cheaply and can in principle retain statistical structure that a Gaussian harmonic-bath model discards, provided the relevant observables are validated. Two extensions are required: joint generation of several correlated observables, such as the site energies of a multimicromorphore system, and a correction for the detailed balance that a classical bath lacks.
The second powerful direction is to generate statistics of systems not yet simulated. A generator conditioned on a descriptor of the system — a conformation, a donor-acceptor distance, a temperature, or a solvent — and trained across several systems could produce the statistics of conditions it has never seen. This is the regime of Remark 3: the model carries information external to the system under study, and the benefit is no longer bounded by Eq. (34). For the peptoid system, it would replace the simulation of a handful of representative conformations with a screen of the conformational space. The risk is extrapolation to systems unlike those in the training family, where the model can be confidently wrong. Conditioning on absolute time instead of a system descriptor extends the same idea to non-equilibrium dynamics, such as solvent relaxation after a change in donor charge state, where the relevant correlation functions depend on two times.
A third direction is conditional generation from partial information. A diffusion model can also generate conditioned on part of a trajectory. Generating each new window conditioned on its overlap with the previous one produces trajectories longer than the training window, relaxing the resolution limit of § 10.3, although correlations longer than one window remain beyond what the model can learn. The same mechanism fills gaps in incomplete or noisy trajectories, such as experimental single-molecule traces. Guiding generation toward rare regions, such as the gap crossings that dominate inverted-region rates, and reweighting by the model likelihood would give access to tail estimands, provided the model’s tail is accurate — the caveat raised in § 10.3.
Conclusions
We have asked whether a generative model trained on a portion of MD trajectories too small to converge can supply the missing statistical sampling, using an analytically tractable Ornstein–Uhlenbeck process and donor–acceptor energy-gap trajectories from all-atom MD as test cases. The results reduce to three messages.
First, the statistics of stochastic but correlated data can be learned from limited data and used to extend the sampling, within a limit set by the data themselves. A diffusion model trained on a single 0.1 ns trajectory reproduces the amplitude distribution, correlation function, and spectrum of the converged reference, with one configuration across 15 independently simulated conformations, and its estimates are as accurate as those obtained from 2.5 to 5 times as much MD. The gain is bounded. Synthetic samples carry no Fisher information about the system beyond that of the real data — the Fisher information being the quantity that bounds, through the Cramér–Rao inequality, the precision of any estimate (Appendix § 12) — so the improvement is a reduction of variance paid for in bias. It levels off at a floor set by the bias of the generator together with the uncertainty it inherits from the finite training data, neither of which additional synthetic sampling can remove. How that floor depends on the size of the training set and on the fidelity of the generator is left to future work.
Second, the choice of generative model is decisive, and it follows a structural line rather than a ranking by capacity. The diffusion model, which generates whole trajectories at once, is accurate at every correlation time. Sequential models trained to predict the next value are competitive only when the signal is strongly correlated and otherwise regress
to the conditional mean, while the VAE reproduces the distribution of values but not their temporal correlations.
Third, generative augmentation is an extension of sampling, not a replacement for dynamics. The equations of motion are unchanged, and the approach produces neither configurations nor mechanisms. What it offers is additional statistical sampling of the correlation functions and spectral densities on which rate theory depends, drawn from the trajectories one can afford to propagate. This distinguishes it from machine-learned MD, which must reproduce trajectories pathwise and relies on large pre-training corpora, whereas the present generator is trained only on the data at hand.
Beyond augmentation, the same learned model can serve as a bath for quantum dynamics and nonlinear spectroscopy, supplying realistic non-Gaussian fluctuations where harmonic models are now used. Conditioned on the system or on time, it can produce the statistics of conformations and state points not yet simulated, and of non-equilibrium processes. And conditioned on partial data, it can extend trajectories beyond the training window and fill gaps in incomplete ones. A generative model of a stochastic observable is in this sense more than a device for augmenting data: it is a learned, cheaply sampled representation of the process itself.
Acknowledgement This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences. BDD and EG were supported under Award No. DE-SC0025404. MSC and BSH acknowledge support from FWP 83482 for implementing the molecular dynamics workflow and for generating and analyzing simulation data. MDB acknowledges support from FWP 77876 for parameterizing the porphyrins and analyzing the molecular dynamics data. This research used resources of the National Energy Research Scientific Computing Center (NERSC), a DOE Office of Science User Facility, using NERSC award BES-ERCAP0023738.
Supporting Information Available
Model architectures and hyperparameters for the convolutional network, transformer, variational autoencoder, and denoising diffusion probabilistic model; training protocol, optimizer settings, and data preprocessing; and additional numerical details supporting the results reported in Section 5.
Information Bound and Error Decomposition
This appendix states the two results on which the main text relies: synthetic samples carry no information about the system beyond that contained in the data used to train the generator, and the error of an estimate computed from a trained generator separates into a part that additional synthetic samples remove and a part they cannot. A quantitative theory of the latter — its dependence on the training-set size and on the fidelity of the generator, and hence the number of synthetic samples worth drawing — is left to future work.
work.
Setup and notation
We write for the true law of the data, indexed by the parameter to be estimated, and for the law realized by the trained generator. The generator is trained on real samples, and synthetic samples are drawn from it. The score of the parametric family is
and is the Fisher information of a single real sample. We assume the standard regularity conditions under which the Fisher information is well defined: the support of does not depend on , is twice continuously differentiable in , and differentiation and integration may be exchanged.
Synthetic samples information
Once trained, the generator is a fixed object: a function of the trajectories used to fit it, plus its own sampling noise. Drawing from it does not consult the physical system again, much as enlarging a photograph of a spectrum yields more pixels but no more resolution than the original exposure contained. Formally, generation forms a Markov chain , since the synthetic samples are a randomized function of the training data with generator noise independent of . The data processing inequality for Fisher information1 therefore bounds what the synthetic samples can convey by what the training set contained,
for any . When the generator is trained on the same trajectories used for estimation, as in this work, (34) holds with and the Cramér–Rao theorem35,36 gives:
Lemma 1 (Unbiased estimation is not improved by augmentation). Any estimator built from the real data and any number of synthetic samples that is unbiased for satisfies
independently of .
Any benefit of augmentation therefore cannot be an information gain. It must come from bias: the trained generator acts as a regularized estimator of the real data, of the same kind as shrinkage estimators and smoothing fits, to which Lemma 1 does not apply.
Error decomposition for a generator
Let be an estimate computed from samples of a generator , which is itself random through its training data and its training procedure. The law of total variance gives, without approximation,
Conditionally on the synthetic samples are independent draws, so the sampling term vanishes as (as for a regular estimator).
The remaining two terms reflect the variability of the fitted generator across training data and training procedure, together with its systematic bias. In the large- limit they define a floor that additional synthetic sampling cannot remove. Because is a function of the training data alone, Lemma 1 bounds the training term below by whenever is unbiased; a floor below the error of the real data alone is possible only for a biased, regularizing generator.
Remark 1 (The empirical distribution as a generator). If is the empirical distribution of the real data, synthetic sampling is resampling, is the plug-in estimate from the real data, and as the synthetic estimate converges to that plug-in estimate, so the floor is the error of the real data alone. Finite only adds resampling noise. Any improvement below this floor must come from the smoothing introduced by the fitted generator.
Remark 2 (Reading Figure 7). For a single trained generator, increasing the number of synthetic samples removes the sampling term, and the plateau of the synthetic curve is the floor of (36) for that generator. The four training seeds of § 9.2 share one training trajectory, so their spread samples the part of the training term due to the training procedure, not the part due to the finite training data. Separating the two requires generators trained on independent training sets.
Remark 3 (A replica must use external information). If a generator is fitted to the same samples used for estimation, then by (34) it adds no information, as in the parametric bootstrap.37 A generator improves on the information in the real data only when built from information beyond them: external training data () or physical constraints on the form of the dynamics. This is the regime occupied by transferable models pretrained on large external corpora (§ 10).
Sequential and Simultaneous Generation on Stochastic Data
This appendix makes precise the two mechanisms invoked in the main text: the failure of point-prediction autoregressive models on stochastic data, and the absence of error compounding along the trajectory in score-based generation. It also states what the comparison in this work does and does not test.
Deterministic and stochastic conditional laws
For a ph deterministic process the next value is fixed by the history,
and generative modeling reduces to learning the map . For a stochastic process the conditional law is a non-degenerate density: the next value is distributed around its conditional mean with an innovation variance that no amount of history removes. The energy gap is of this kind, since it is driven by a bath of degrees of freedom that are not part of the observed history.
Point-prediction autoregressive models
The autoregressive models of this work output a single value and are trained on its squared error, Eq. (30). The minimizer of the squared error is the conditional mean,
so even a network of unlimited capacity learns the conditional mean and nothing else. A rollout that feeds its own predictions back as input therefore contains no innovation: the generated trajectory is a deterministic function of its initial context. For deterministic data this is exact, since the conditional mean is the map of (37). For stochastic data it removes the fluctuations the model was meant to reproduce.
The OU process makes the consequence explicit. Its discretization, with and independent of the past, has conditional mean , so the optimal point-prediction rollout is
The generated trajectory relaxes to zero on the correlation time, and the variance of the generated ensemble decays as . When is comparable to the collapse is complete within a few steps; when is comparable to the -point window it is only partial within the window. This is the pattern of Table 1, and it arises from the training objective, not from limited capacity.
| KS amplitude | ||||
| Method | ||||
| Diffusion | ||||
| VAE | ||||
| CNN | ||||
| Transformer | ||||
| MSE logPSD | ||||
| Method | ||||
| Diffusion | ||||
| VAE | ||||
| CNN | ||||
| Transformer |
Table 1. OU process (): KS and MSE PSD (Eqs. (28)–(29)) versus . Each entry is the median of five generation draws from the same trained model, with only the sampling seed varied (seeds as in Table 3). Best per column in bold.
Probabilistic autoregressive models
A sequential model that outputs the conditional distribution and samples from it at each step does not suffer this collapse. For the OU process such a model is exact: a first-order autoregressive model with Gaussian innovations reproduces the discretization above. Trained by teacher forcing, with the history drawn from the data, its objective is by the chain rule of the Kullback–Leibler divergence
which is exact and additive over the horizon . At generation time, however, the history comes from the model’s own output rather than from . A per-step error can then move the rollout into histories not seen in training, and in the worst case the error grows as for a per-step error.2 Whether this compounding limits probabilistic autoregressive models on the systems studied here is not tested in this work, which compares point-prediction models only.
Score-based models
A score-based model does not factorize along the trajectory. It learns the score of noise-perturbed versions of the joint distribution of a window, indexed by a diffusion time , and generates by integrating a reverse-time stochastic differential equation. With the weighting , its error obeys3
where is the diffusion coefficient of the forward noising process, is the learned score, is the total diffusion time, and the last term is the mismatch between the fully noised distribution and the Gaussian prior from which generation starts, which decays exponentially in . The learning error enters once, integrated over diffusion time. There is no rollout along the trajectory and hence no analogue of the horizon dependence of (40).
The bound requires a smooth density with a well-defined score. Stochastic data provide one, because the innovation spreads the data over a full-dimensional region. For deterministic data the distribution concentrates on a lower-dimensional set, the score diverges near it, and training requires substantial noise regularization.4 This is why the score-based model avoids the conditional-mean collapse of Section B.2. It does not establish a general ordering between simultaneous and probabilistic sequential generation; as noted in Section B.3, a probabilistic first-order autoregressive model represents the discretized OU process exactly. The fidelity of the trained generator enters the bias term of the error decomposition in Eq. (36).
Remark 4 (Scope of the architectural comparison). The failure of the sequential models reported in § 8 is the collapse of Section B.2, a property of point prediction under a squared-error objective. It establishes that such models are unsuitable for stochastic data, not that sequential generation is. A comparison with probabilistic sequential models, beginning with the exact first-order autoregressive model of the OU process, is left to future work.
References
si.pdf
Model Architectures
Complete architectural specifications are given in Table S1, Table S2, Table S3, and Table S4. All models were implemented in PyTorch and trained on an NVIDIA RTX 5090 GPU. Every model takes windows of points as input (§ 7.1 of the main text); the autoregressive models (CNN and Transformer) map such a window to the next point, and the simultaneous models (VAE and DDPM) generate whole 1024-point windows. The parameter totals are those reported in Table 5 of the main text.
| Layer | Input Shape | Output Shape | Parameters |
| Conv1D + ReLU | (1, 1024) | (32, 1024) | 192 |
| MaxPool1D (size 2) | (32, 1024) | (32, 512) | 0 |
| Conv1D + ReLU | (32, 512) | (64, 512) | 10,304 |
| MaxPool1D (size 2) | (64, 512) | (64, 256) | 0 |
| Conv1D + ReLU | (64, 256) | (128, 256) | 41,088 |
| MaxPool1D (size 2) | (128, 256) | (128, 128) | 0 |
| Flatten | (128, 128) | 16,384 | 0 |
| Dense 1 + ReLU | 16,384 | 256 | 4,194,560 |
| Dense 2 + ReLU | 256 | 128 | 32,896 |
| Output | 128 | 1 | 129 |
| Total | 4,279,169 |
Table S1. CNN architecture (autoregressive one-step predictor). Shapes are (channels, length), with the batch dimension omitted. All convolutions use kernel size 5 and padding 2; dropout after the flatten layer was set to zero in the reported configuration.
| Layer | Input Shape | Output Shape | Parameters |
| Input projection | (1024, 1) | (1024, 128) | 256 |
| LayerNorm | (1024, 128) | (1024, 128) | 256 |
| Sinusoidal positional encoding | (1024, 128) | (1024, 128) | 0 |
| Decoder block 1 | |||
| Masked self-attention | (1024, 128) | (1024, 128) | 66,048 |
| Add & LayerNorm | (1024, 128) | (1024, 128) | 256 |
| FFN 1 + GELU | (1024, 128) | (1024, 512) | 66,048 |
| FFN 2 | (1024, 512) | (1024, 128) | 65,664 |
| Add & LayerNorm | (1024, 128) | (1024, 128) | 256 |
| Decoder block 2 (identical) | |||
| Block total | (1024, 128) | (1024, 128) | 198,272 |
| Last-position readout | (1024, 128) | (1, 128) | 0 |
| Output linear 1 + GELU | (1, 128) | (1, 256) | 33,024 |
| Output linear 2 + GELU | (1, 256) | (1, 128) | 32,896 |
| Output linear 3 | (1, 128) | (1, 1) | 129 |
| Total | 463,105 |
Table S2. Decoder-only Transformer architecture (autoregressive one-step predictor; model dimension 128, 4 attention heads, causal mask, post-layer normalization). Shapes are (sequence length, features), with the batch dimension omitted.
| Component | Specification | Activation | Output Shape |
| Encoder | |||
| Conv1D | In: 1, Out: 32, : 4, : 2, : 1 | BatchNorm+LeakyReLU | (, 32, 512) |
| Conv1D | In: 32, Out: 64, : 4, : 2, : 1 | BatchNorm+LeakyReLU | (, 64, 256) |
| Conv1D | In: 64, Out: 128, : 4, : 2, : 1 | BatchNorm+LeakyReLU | (, 128, 128) |
| Flatten | - | - | (, 16384) |
| Linear () | In: 16384, Out: 32 | - | (, 32) |
| Linear () | In: 16384, Out: 32 | - | (, 32) |
| Latent Space | |||
| Reparameterize | - | (, 32) | |
| Decoder | |||
| Linear | In: 32, Out: 16384 | - | (, 16384) |
| Reshape | - | - | (, 128, 128) |
| ConvTranspose1D | In: 128, Out: 64, : 4, : 2, : 1 | BatchNorm+LeakyReLU | (, 64, 256) |
| ConvTranspose1D | In: 64, Out: 32, : 4, : 2, : 1 | BatchNorm+LeakyReLU | (, 32, 512) |
| ConvTranspose1D | In: 32, Out: 1, : 4, : 2, : 1 | - | (, 1, 1024) |
| Total | 1,672,449 |
Table S3.
| Stage | Block | Specification |
| Input | Time series | Length: 1024, Channels: 1 |
| Encoder (down-sampling) | ||
| Block 1 | Conv1D | Channels: 1 32, Length: 1024 512 |
| Block 2 | Conv1D | Channels: 32 64, Length: 512 256 |
| Block 3 | Conv1D | Channels: 64 128, Length: 256 128 |
| Block 4 | Conv1D | Channels: 128 256, Length: 128 64 |
| Block 5 | Conv1D | Channels: 256 512, Length: 64 32 |
| Block 6 | Conv1D | Channels: 512 1024, Length: 32 16 |
| Bottleneck | ||
| Attention | Self-attention | 4 heads, Length: 16, Channels: 1024 |
| Decoder (up-sampling) | ||
| Block 1 | ConvTranspose1D + Skip | Channels: 1024 512, Length: 16 32 |
| Block 2 | ConvTranspose1D + Skip | Channels: 512 256, Length: 32 64 |
| Block 3 | ConvTranspose1D + Skip | Channels: 256 128, Length: 64 128 |
| Block 4 | ConvTranspose1D + Skip | Channels: 128 64, Length: 128 256 |
| Block 5 | ConvTranspose1D + Skip | Channels: 64 32, Length: 256 512 |
| Block 6 | ConvTranspose1D + Skip | Channels: 32 16, Length: 512 1024 |
| Output | Conv1D | Channels: 16 1, Length: 1024 |
| Diffusion | Timesteps | , linear schedule: , |
| Total (6 layers) | 22,941,233 parameters |
Table S4. DDPM 1D U-Net architecture (default configuration: 6 down/up blocks, input length 1024; § 9 of the main text varies the input length and depth).
Convolutional neural network
Transformer
Variational autoencoder
Table S3: VAE architecture (input length 1024, latent dimension 32; batch dimension shown as ).
Denoising diffusion probabilistic model
The noise predictor is a one-dimensional U-Net (Table S4). Each block applies two convolutions of kernel size 3, each followed by ReLU and batch normalization, adds a learned projection of the timestep embedding between them, and ends with a stride-2 convolution (encoder) or transposed convolution (decoder) that halves or doubles the length. Decoder blocks take the concatenation of the previous output and the skip connection from the encoder block at the same resolution. The timestep is encoded by a 64-dimensional sinusoidal embedding followed by a linear layer and ReLU. The five- and four-layer variants of § 9 of the main text keep the first five or four channel widths (32 to 512 or 32 to 256) and have 5,788,209 and 1,471,537 parameters, respectively.
Training Protocol
Training data. All four architectures are trained on a single trajectory of points (for ETG, 0.1 ns sampled every 1 fs). A second trajectory is not used for training: it supplies the initial windows of the autoregressive rollouts, and for the CNN and the Transformer a loss on it is recorded during training for monitoring only. It plays no role in model selection, early stopping, or the learning-rate schedule, and the VAE and the DDPM, which generate unconditionally, do not use it at all; no validation set is used for any model. The training trajectory is normalized to zero mean and unit variance and cut into 1024-point windows with stride 10, giving 9,898 training windows (Eq. (27) of the main text); for the autoregressive models the point following each window is the prediction target.
Reference data. The converged real-data reference used throughout the main text is built from 100 statistically independent trajectories per system (0.1 ns each, 10 ns in total), drawn from the same source as the training data: for OU, realizations generated with the same integration algorithm and parameters; for ETG, MD trajectories from the same simulation campaign as the training trajectory, with 100 trajectories available for each of the 15 conformations, so that each conformation in § 9.1 of the main text is scored against its own 100-trajectory reference. The training trajectory and the second trajectory described above are among these 100, so the training data make up 1% of the reference data. The real-data curve of the convergence study (§ 9.2 of the main text) uses a further 96 MD trajectories of conformation 15, disjoint from both the training and the reference data.
Optimization. Training hyperparameters are listed in Table S5. The VAE and the DDPM use the Adam optimizer, S1 and the CNN and the Transformer its weight-decay variant AdamW. All four models clip gradients to a norm of 1.0. The CNN and Transformer minimize the squared one-step prediction error and use a one-cycle learning-rate schedule (cosine annealing, 30% warm-up). The VAE minimizes the summed squared reconstruction error plus the Kullback–Leibler term weighted by . The DDPM minimizes the noise-prediction error of Eq. (32) of the main text, with noising steps drawn uniformly from the steps of the linear noise schedule ( from to 0.02). For the VAE and the DDPM the learning rate is halved whenever the epoch-averaged training loss has not improved for 5 epochs.
| Model | Optimizer | Learning rate | Schedule | Batch | Epochs |
| CNN | AdamW () | one-cycle | 32 | 50 | |
| Transformer | AdamW () | one-cycle | 32 | 50 | |
| VAE | Adam | plateau | 64 | 100 | |
| DDPM | Adam | plateau | 64 | 100 |
Table S5. Training hyperparameters of the reported configurations. : weight decay. One-cycle: cosine one-cycle schedule with 30% warm-up, peak learning rate listed. Plateau: learning rate halved after 5 epochs without improvement of the training loss. Dropout is 0 for the CNN and the Transformer; the VAE latent dimension is 32.
Generation. The autoregressive models generate each trajectory by a 1024-step rollout from a window drawn at random from the second trajectory, feeding each prediction back as input; rollouts whose matched true continuation would run past the end of that trajectory (about 1%) are discarded. The VAE decodes latent vectors drawn from the standard normal prior, and each decoded window is rescaled to zero mean and unit variance before denormalization, because the decoder output is under-dispersed. The DDPM runs the reverse diffusion process from Gaussian noise (Section 3.1). All generated trajectories are denormalized with the mean and standard deviation of the training trajectory (for the autoregressive models, of the trajectory that supplies the initial windows).
Hyperparameter selection. For each model a set of configurations was trained on the same data and the reported one was retained. For the CNN and the Transformer, the architecture and network size were tuned in preliminary runs on the same training data; among the final configurations, batch sizes of 32 and 64, 50 and 100 epochs, and dropout of 0.1 and 0 were compared. A window stride of 1 was also tested for both; the stride was nevertheless kept at 10 for all four models, so that every model sees the same training windows. For the VAE, batch sizes of 32 and 64 and latent dimensions of 32, 64, 128, and 256 were compared (1.7 to 1.3 parameters). For the DDPM, batch sizes of 32 and 64 were compared, and the input length, window stride, and U-Net depth were varied about the default as reported in § 9 of the main text.
Sampling Stability and Reproducibility
Rare divergent draws
Individual draws occasionally diverge during sampling even though training converges normally (final loss ). The cause is the U-Net’s batch-normalization layers, whose running variance reaches –, so that evaluation-mode sampling has a small probability per draw of entering a runaway feedback loop that grows by per denoising step until it overflows. This is a known fragility of batch normalization in diffusion U-Nets that would be removed by switching to group normalization. Divergent draws are rare: most runs produce none, and no run used in this work produced more than 5 in 1000. Divergent draws, identified as non-finite or as having a standard deviation more than ten times the ensemble median, are discarded and redrawn from the same sampler, and the count is recorded for every run. The remaining samples show no systematic difference from those of runs that produce no divergent draw. Because the failure is a numerical divergence of the reverse process rather than a property of the learned distribution, and because a single such draw would otherwise corrupt every ensemble average, this is a sampling-time safeguard rather than a change of model: on runs that produce no divergent draw, it leaves the output bit-for-bit identical.
Sampling noise and the median over generation draws
The diffusion hyperparameter sweep and the conformation study (Sections 5.3 and 5.4 of the main text) report, for each configuration, the median over five independent generation draws. Each draw is a fresh ensemble of 1000 trajectories sampled from the same trained network with a different sampling seed; the network is not retrained. This section documents the scatter that motivates this choice.
For a fixed trained network the draw-to-draw scatter is large. For the default configuration, the five draws give MSE between and , a 4.6-fold spread, and three further independent trainings of the same configuration give spreads of 2.4, 9.0, and 5.3-fold. Across the configurations of the hyperparameter sweep, the spread ranges from 1.3-fold (stride 2) to 31-fold (stride 5, due to a single outlying draw).
Training-to-training variance is smaller. The default configuration was retrained from scratch three times on the same training trajectory with different seeds (training on the GPU is not bit-reproducible, so each training is an independent realization). Summarized by the median of its five draws, each of the four trainings gives MSE between and , a 1.8-fold spread, smaller than the draw-to-draw spread of a single network. Generation noise, rather than training variance, is therefore the dominant source of run-to-run scatter. Because it is generation noise, it can be averaged cheaply: no retraining is required, only repeated sampling from an unchanged network, which is why the median of five draws is reported for every configuration.
Error Bars in the Convergence Study
This section defines the points and error bars of Figure 7 of the main text (§ 9.2). For each sample size , 400 random subsets of windows are drawn without replacement from a pool. For synthetic data the pool is samples generated by the default diffusion configuration (training seed 3 of four, the middle of the range; seed 0 is used elsewhere in the paper). For real data it is the non-overlapping windows of 96 MD trajectories disjoint from the training and reference data, which limits the real series to ( ns). At the subset is the whole synthetic pool, so a single evaluation is used.
Each subset is split into ten groups of windows, and each statistic is averaged within each group; is computed from each group’s mean . The point is the MSE of the mean over the ten groups with respect to the converged reference, averaged over the lag or frequency grid. The error bar is the squared standard deviation of the ten group averages, averaged over the same grid; for the standard deviation is first propagated to as , with the mean PSD. Both the point and the error bar are the medians of these quantities over the 400 subsets, so the error bar has the units of the MSE it accompanies. It measures the scatter of a statistic between groups of windows, not the uncertainty of the plotted median. The median is used because a single subset is unrepresentative: for real data at the training-set size, the central 68% of single-subset values of MSE PSD spans a factor of about 20.
References
- [1](S1) Kingma, D. P.; Ba, J. Adam: A method for stochastic optimization. International Conference on Learning Representations. 2015.