Abstract
Systems of interacting continuous-time Markov chains are a powerful model class, but inference is typically intractable in high-dimensional settings. Auxiliary information, such as noisy observations, is typically only available at discrete times, and incorporating it via a Doob’s -transform gives rise to an intractable posterior process that requires approximation. We introduce Latent Interacting Particle Systems, a model class parameterizing the generator of each Markov chain in the system. Our inference method involves estimating look-ahead functions (twist potentials) that anticipate future information, for which we introduce an efficient parameterization. We incorporate this approximation in a twisted Sequential Monte Carlo sampling scheme. We demonstrate the effectiveness of our approach on a challenging posterior inference task for a latent SIRS model on a graph, and on a neural model for wildfire spread dynamics trained on real data.
1. INTRODUCTION
Many real-world phenomena, from epidemics to wildfires, can be modeled as systems of interacting components evolving in continuous time, where the underlying dynamics are governed by discrete latent states (Lanchier, 2024). This modeling approach builds upon concepts from continuous-time hidden Markov models (Baum and Petrie, 1966; Kouemou, 2011) and extends them to spatially-structured, high-dimensional processes. Interacting particle systems (IPSs) (Liggett, 1985; Lanchier, 2024) provide a powerful mathematical framework for describing local propagation dynamics in discrete state spaces and continuous time, and are an important subset of the broader class of continuous-time Markov chains (CTMCs). We formulate our goal as performing probabilistic inference on systems whose latent dynamics follow an IPS, given only incomplete or indirect information.
We aim to endow the IPS with a flexible parameterization (e.g., a neural network), yielding a discrete analog of latent/neural stochastic differential equations (Movellan et al., 2002; Tzen and Raginsky, 2019; Liu et al., 2020; Li et al., 2020; Bartosh et al., 2025). While neural-based inference methods for continuous-time discrete-state processes have been explored (Seifner and Sánchez, 2023; Berghaus et al., 2024), they have primarily demonstrated efficacy in low-dimensional settings.
The core technical challenge for inference with latent IPSs lies in sampling from a smoothed path measure over latent trajectories. To address this problem, we make the following contributions:
We propose a twisted sequential Monte Carlo (tSMC) scheme (Guarniero et al., 2017; Heng et al., 2020) tailored to latent IPSs. We learn a twist function that can approximate the likelihood of future observations, and directly incorporate it into the rate matrix of an approximate posterior process, lifting the need to learn a separate proposal distribution (Lawson et al., 2018, 2022, 2023).
We learn the twist function using a mass-covering Kullback-Leibler divergence loss in an amortized fashion (Zhao et al., 2024). Moreover, we design an efficient parameterization with favorable inductive biases.
We demonstrate this on (i) a spatial susceptible–infected–recovered–susceptible (SIRS) model on graphs with up to 256 nodes, and (ii) a neural wildfire-spread model on 64×64 grids using the WildFireSpreadTS dataset (Gerard et al., 2023).
2. BACKGROUND
2.1. Continuous-time Markov chains
Consider a Markov process taking values in a discrete state space over a finite time horizon . This system, known as a CTMC, is characterized by an initial distribution and a measurable family of rate matrices , where each entry satisfies
for , and on the diagonal. Assuming (non-explosion), sample paths are càdlàg, piecewise-constant, with finitely many jumps on .
We refer to the induced distribution on the Skorokhod space as the path measure. Writing for the jump times and for the state at a time , the density of this measure with respect to counting measure on states and Lebesgue measure on jump times is
A detailed introduction can be found in Norris (1998); Del Moral and Penev (2017). We provide an overview of inference with CTMCs in Appendix A.
2.2. Interacting particle systems
While CTMCs can be extended to high-dimensional systems, the size of the associated rate matrix increases exponentially with the number of dimensions, making exact inference intractable. We restrict attention to state spaces of the form , where is a fixed vocabulary. We assume that transitions affect only a single coordinate (i.e., dimension) at a time, and that the rate for updating a coordinate may depend on the current global state . The dependence of the rate on is often specified through a graph , where indexes coordinates and encodes neighborhood structure (e.g., spatial dependence) (Liggett, 1985).
To describe local updates, we use the shorthand
for the configuration obtained from by replacing the -th coordinate with . The local rate is defined as the instantaneous intensity of transitioning from to , i.e.
Under these assumptions, the global generator decomposes as a sum of local generators:
| (1) |
reflecting the assumption that only one coordinate may change at a time. Typically the local rates depend only on the neighborhood of in the graph . CTMCs with generators of this form are known as interacting particle systems (IPS) on a finite state space and finite graph (Liggett, 1985; Lanchier, 2017, 2024). We are interested in system that may exhibit time dependence, i.e. non-homogeneous processes (Norris, 1998).
Example (SIR model):
In an SIR model on a network of nodes, the state space is and the rate of infection of each node can be a function of the states of its neighbors. For an illustration, see the process in Figure 1.
Figure 1:

Example of a latent IPS as a state space model. Here, the latent trajectory is sampled from a continuous-time SIR model, and potentials are emission distributions of partially masked observations.
Simulation.
Exact simulation from IPSs is feasible for models like the contact process and the voting process (Lanchier, 2017), leveraging a construction from independent Poisson processes (Lanchier, 2017). However, simulation can be challenging for non-homogeneous processes. For this reason, in this work we employ a simple first-order Euler discretization (Sun et al., 2023). We assume conditional independence among coordinates in intervals of width , and let the transition probability be:
| (2) |
where . Note that may assign mass to multi-site flips for any finite step size. Despite its simplicity, this simulation scheme has shown good performance in generative modeling applications, such as simulating the reverse process of discrete diffusion and discrete flow matching models (Campbell et al., 2024; Gat et al., 2024).
In the following Proposition, we show that the error of this kernel can be bounded in total variation. Let . We assume that the following properties hold for each :
-
(A1)
Bounded total rate: .
-
(A2)
Small time interval: we bound the step size as .
-
(A3)
Local Lipschitz in time: for all .
Since is finite, we identify the transition kernel of an IPS with its pmf .
Proposition 1. Under (A1)–(A3), there exists such that
uniformly in and .
A proof is provided in Appendix B.1.
2.3. Sequential Monte Carlo
In our approximate posterior inference scheme for IPSs, we employ sequential Monte Carlo (SMC) methods. SMC approximates a terminal target by evolving a population of weighted samples through a sequence of intermediate targets (Doucet and Johansen, 2009; Naesseth et al., 2019; Chopin and Papaspiliopoulos, 2020). We assume is easy to sample from, and that we can evaluate unnormalized densities with . In our setting, it is natural to let be a distribution on path prefixes . Given particles targeting and a proposal kernel that advances each trajectory by , we draw a segment and update unnormalized incremental weights as
| (3) |
A distinctive feature of SMC is resampling, where samples are selected and propagated based on their importance weights. This is implemented by drawing ancestry indices according to , adaptively when the effective sample size falls below a threshold (Naesseth et al., 2019). Two design choices are central to performance: (i) intermediate targets , which can be crafted to reduce variance of incremental weights; and (ii) the proposal distribution , which should ensure proposed segments land in high-probability regions of . Poor choices of either can trigger rapid weight collapse, especially in high-dimensional, sparse-observation regimes (Naesseth et al., 2019; Chopin et al., 2023).
3. EFFICIENT INFERENCE FOR LATENT INTERACTING PARTICLE SYSTEMS
3.1. Posterior path measure for an IPS
Let be an Interacting Particle System (IPS) with path measure , initial distribution , and local transition rates . We are interested in conditioning this process on auxiliary information available at discrete times . We represent this information by nonnegative potential functions that can be evaluated pointwise. The resulting posterior path measure is
| (4) |
a special case of a Feynman–Kac (FK) path measure (Chopin and Papaspiliopoulos, 2020; Lu and Wang, 2024; Park et al., 2025). A key property is that the process governed by is itself an IPS.
This follows from Doob’s -transform applied to the original dynamics (Del Moral and Penev, 2017; Corstanje et al., 2023; Corstanje and Meulen, 2025). Define the look-ahead function
| (5) |
which is right-continuous with left limits (càdlàg) with reset conditions at potential times (Eich et al., 2025):
| (6) |
Note that we can marginalize equation 4 to any time , and get
| (7) |
The initial distribution and local rates of the posterior IPS are characterized in the following Proposition.
Proposition 2 (Doob’s -transform for IPS). Under , the process is an IPS with initial distribution
and off-diagonal local transition rates
| (8) |
where . Diagonal terms are defined as usual by .
Note that this proposition follows from standard arguments on the conditioning of CTMCs, see (Huang et al., 2016; Corstanje et al., 2023; Corstanje and Meulen, 2025). We provide a complete proof of Proposition 2 in Appendix B.2. This formulation generalizes the posterior distribution used in reward-guided fine-tuning for discrete diffusion models (Li et al., 2025; Wang et al., 2025; Cheuk-Kit et al., 2025) to multiple potential times. Simulating directly from these transformed rates is generally intractable because computing the look-ahead function requires solving a high-dimensional integral over future trajectories under .
3.2. Latent IPS
Let denote a family of prior path measures on , where each corresponds to an IPS with initial distribution and local transition rates .
Auxiliary information about the latent trajectory is available in the form of discrete-time observations
Here and throughout, we use to denote the parameters of the full generative model, including both the prior IPS dynamics and the observation model. For an observed trajectory , potential functions in equation 4 correspond to emission distributions
where we omit to simplify the notation. We denote the corresponding posterior path measure by , which, by Proposition 2, is again an IPS. We refer to this model as a Latent Interacting Particle System (Latent IPS). Figure 1 illustrates this construction for a latent susceptible-infected-recovered (SIR) model on a graph.
Maximum likelihood.
The logarithm of the marginal likelihood of the observations is
| (9) |
This objective can be optimized via gradient steps using Fisher’s identity (see Appendix B.3), rewriting as
| (10) |
These updates are not directly tractable, as they require samples from . Viable options include optimizing an evidence lower bound (Hinton et al., 1995), importance sampling (Bornschein and Bengio, 2015), and SMC (Lawson et al., 2023; McNamara et al., 2024). Due to the sequential nature of latent IPSs, we opt for an SMC approach.
3.3. Twisted SMC for posterior inference in latent IPS
Classic design choices for SMC algorithms, such as the bootstrap particle filter (BPF) (Doucet and Johansen, 2009), notoriously display poor performance in continuous-time problems with sparse potentials, as weights are uniform in between potential times, leading to particle degeneracy (Chopin et al., 2023).
Twisted targets.
Twisted SMC (tSMC) addresses this limitation by specifying a favorable choice for the intermediate target distributions of SMC (Guarniero et al., 2017; Heng et al., 2020). The core idea is to introduce a learnable function , the twist function, approximating the look-ahead function from equation 5. The tSMC algorithm targets a sequence of twisted distributions
| (11) |
for . Note that can be a function of future observations , and we omit this dependence for notational simplicity.
Twist-induced proposal.
We can approximately sample from this IPS using an approximation of a first-order Euler discretization as in 2.2, resulting in the twist-induced proposal distribution
| (12) |
| (13) |
where is the concrete score (Meng et al., 2022). Note that the twist function might not satisfy the reset conditions in equation 6. We can quantify the extent to which it is violated by introducing the reset residual
Let the incremental effective sample size (ESS) with respect to the target posterior be defined as
| (14) |
where
In the following Theorem, we show that the incremental ESS at each step can be lower bounded by composing terms depending on the approximation error of the twist function, the reset residual, and the discretization error.
Theorem 3. For , bound the twist error and the reset residual by
Under (A1)-(A3) for the prior dynamics and assuming to be Lipschitz continuous between observation times, there exists a such that the incremental ESS in equation 14 satisfies, uniformly in ,
For a proof, see Appendix B.4.
3.4. Efficient twist parameterization.
Parameterizing the twist–induced proposal in equation 12 is challenging because, at each step and for a given state , we need all ratios
that is, the twist evaluated at every single–site modification of . A naïve implementation would call separately on each configuration , requiring forward passes per time step. To make this structure explicit, define for each configuration the matrix
In particular, for all . By construction, replacing the -th coordinate of by any label leaves the row unchanged:
| (15) |
This is the functional identity we would like the learned mapping to satisfy: each entry should depend on only through the context provided by the other coordinates and the choice of index–value pair , not on the current value itself.
A direct implementation of by explicitly forming all would be prohibitively expensive. Instead, we directly exploit the product structure of the state space to build an efficient alternative. We first use a context encoder that can depend on any contextual information we wish to make available for the model at time , except for the state itself:
| (16) |
where can include, for instance, future observations and observation times , covariates, and positional information if available. We highlight that the encoder in equation 16 is independent of the current state , and produces a tensor of embeddings associated with setting each coordinate to a state . Based on these embeddings, we can compose the output by aggregating the representations at the positions indexed by our target state, via a map
| (17) |
where can be a learned map (e.g., a small MLP), a construction mirroring the DeepSets model (Zaheer et al., 2017). Let denote the pooled representation of the current configuration. For each single–site update , we can reuse and adjust only the contribution of coordinate :
| (18) |
an operation trivial to parallelize. Moreover, the identity in equation 15 holds exactly for this parameterization: replacing by any changes both and the subtraction in a way that cancels out, leaving the argument of (and thus ) invariant for every .
We refer to this architecture, which (i) amortizes the cost of encoding contextual information across all pairs and (ii) enforces the desired invariance of equation 15, as TwistNet. Figure 2 illustrates this construction: the context encoder computes once, the current state selects one embedding per coordinate to form , and each single-site modification is evaluated by replacing only the -th contribution in the pooled representation.
Figure 2:

TwistNet uses a context encoder to produce a table of embeddings for every coordinate and every possible state value, independently of the current state . The state then selects one embedding per coordinate, and the selected embeddings are pooled into a single representation of the full state. To evaluate the twist at any single-site modification of , TwistNet reuses this pooled representation and updates only the contribution of the modified coordinate, enabling parallel evaluation of all single-site neighboring states.
Twist learning.
Multiple objective functions have been proposed to learn the twist, from approaches based on consistency inspired by reinforcement learning (Heng et al., 2020; Lawson et al., 2018), to density ratio estimation (Lawson et al., 2022, 2023). Recently, Zhao et al. (2024) proposed to minimize the mass-covering forward KL divergence with respect to the true posterior in the context of autoregressive language models. Forward KL objectives had previously been proposed for learning the proposal distribution in SMC by Gu et al. (2015); Lawson et al. (2023). We adapt this approach to our setting, and learn an amortized twist function by optimizing , which is proportional to
| (19) |
where is the concrete score, and may depend on future observations .
Wake-sleep.
In order to compute a tractable approximation to equation 19, we employ the strategy proposed in Zhao et al. (2024) and in wake-sleep algorithms (Hinton et al., 1995; Bornschein and Bengio, 2015; Le et al., 2020; McNamara et al., 2024), and perform ancestral sampling of the trajectory from the prior, and of the observations from the emission distribution. We obtain the time-discretized sleep objective
| (20, 21) |
where is a time grid containing with , and is an approximate posterior initial distribution. Note that, although omitted for notational simplicity, is conditioned on future observations . We optimize this objective with respect to the parameters , while holding fixed. Note that optimizing equation 20 does not require backpropagating through the sampled trajectories, avoiding the need to use reparameterization (Jang et al., 2017) or REINFORCE (Williams, 1992).
We alternate –updates on the objective in equation 20 with –updates approximating equation 10 based on trajectories sampled using tSMC, similarly to Lawson et al. (2023) and McNamara et al. (2024). For the -updates, we use the discretized log path density of the prior
| (22) |
to form the wake gradient estimator
| (23) |
| (24) |
where are SMC weights as in equation 3. We note that the estimator in equation 23 is asymptotically consistent for the gradient of the maximum likelihood objective (Lawson et al., 2023). Simplified pseudocode is presented in Algorithm 1, and the detailed training algorithm and its complexity are reported in Appendix C.
Algorithm 1.
Wake–sleep with tSMC for latent IPS
| 1: | Inputs: Dataset ; time grid ; particles ; batch size |
| 2: | Initialize |
| 3: | repeat |
| 4: | Sleep phase: # update , hold fixed |
| 5: | for do |
| 6: | Simulate via Euler steps |
| 7: | Simulate , |
| 8: | Compute via equation 20 |
| 9: | end for |
| 10: | |
| 11: | Wake phase: # update , hold fixed |
| 12: | for do |
| 13: | Sample |
| 14: | Run |
| 15: | Compute via equation 23 |
| 16: | end for |
| 17: | |
| 18: | until convergence |
4. EXPERIMENTS
4.1. Latent SIRS model
We study inference in a latent spatial SIRS IPS on graphs with state space (Lanchier, 2024). We simulate a dataset of trajectories using Gillespie’s algorithm (Gillespie, 1977; Wilkinson, 2018) with the following local rates:
| (25) |
where is an adjacency matrix sampled from a graph with fixed expected degree, are normalized features acting as edge weights, and is a logistic function ensuring non-negativity. We let observation times be sampled uniformly in at irregular snapshots , and we sample observations from an emission distribution masking each node (denoted ) independently with probability .
Task.
We conduct two experiments. First, we perform latent trajectory inference (Eich et al., 2025): given observations and parameters at their true values, we measure how accurately our approximate posterior samples match the ground truth trajectory. We focus on scalability with respect to graph dimensionality, quantifying performance via categorical cross-entropy loss averaged over a discretized time grid. Second, we estimate parameters from an arbitrary initialization using only 50 training trajectories. Following Section 3.4, we employ a wake-sleep algorithm and evaluate accuracy via individual parameter estimates and total relative parameter error over the four parameters in equation 25.
Methods.
For our TwistNet parameterization, we experiment learning the twist using both our forward KL loss from equation 20 and the DRE loss introduced by (Lawson et al., 2022), using a graph transformer as context encoder and a two-layer MLP as in equation 17. We consider NASMC (Gu et al., 2015) and NAS-X (Lawson et al., 2023), and parameterize the proposal distribution with a graph transformer as the context encoder used in TwistNet, taking the current state as input and predicting a concrete score field. The twist for NAS-X follows the same parameterization, with output pooled to a scalar. We experiment using TAG (Nisonoff et al., 2025) with DRE loss, and a regular BPF (Doucet and Johansen, 2009). We discuss further details in Appendix D.1 and D.2.
Results.
As illustrated in Figure 3, we find the combination of TwistNet and the forward KL loss in equation 19 to scale the best with respect to dimensions for latent trajectory inference. We report results on parameter estimation on a graph with 32 nodes in Table 1, and display convergence through wake steps in Figure 4. Additional results are reported in Appendix E.1.
Figure 3:

Latent trajectory reconstruction, measured by cross-entropy loss on the test set of ground truth trajectories with respect to the posterior approximations. Error bars correspond to two standard errors computed across trajectories.
Table 1:
Parameter estimates and relative parameter error (RPE) for the SIRS model with 32 nodes, mean ± 2 standard deviations across 10 random seeds.
| RPE | |||||
|---|---|---|---|---|---|
| Ground truth | 0.1 | 1.0 | 0.4 | 0.05 | – |
| TwistNet - KL | 0.113 ± 0.03 | 0.922 ± 0.08 | 0.393 ± 0.03 | 0.046 ± 0.01 | 0.330 ± 0.35 |
| TwistNet - DRE | 0.115 ± 0.03 | 0.957 ± 0.15 | 0.384 ± 0.03 | 0.048 ± 0.01 | 0.360 ± 0.34 |
| TAG - DRE | 0.124 ± 0.05 | 0.673 ± 0.43 | 0.377 ± 0.14 | 0.055 ± 0.02 | 0.982 ± 0.68 |
| NAS-X | 0.136 ± 0.04 | 0.880 ± 0.10 | 0.405 ± 0.04 | 0.058 ± 0.01 | 0.673 ± 0.39 |
| NASMC | 0.076 ± 0.09 | 0.936 ± 0.26 | 0.444 ± 0.11 | 0.061 ± 0.04 | 0.962 ± 0.56 |
| BPF | 0.791 ± 1.90 | 1.354 ± 2.05 | 0.618 ± 0.24 | 0.001 ± 0.00 | 9.461 ± 17.88 |
Figure 4:

Evolution of the parameters and log relative parameter error (log RPE) through wake steps updating the parameters , for a SIRS model on a graph with 32 nodes.
4.2. Wildfire trajectories
Forecasting wildfire spread is a problem of critical importance, given the impacts of wildfires and their increasing severity globally in recent years (Abatzoglou and Williams, 2016; Walker et al., 2019). Physics-based models have long existed (Rothermel, 1972) but are difficult to calibrate given real-world constraints, limiting forecasting utility. With the increasing availability of satellite data, ML approaches for spatio-temporal prediction have emerged (e.g., Coffield et al. (2019); Prapas et al. (2021); Apostolakis et al. (2022); Gerard et al. (2023)), yet they can lack physical insight (e.g., local propagation constraints) and have not yet seen widespread application in real-world scenarios. A third class of model in this context is based on the notion of local spreading of fire (across pixels) via stochastic cellular automata (SCAs), closely related to our latent IPS framework. Prior work in developing SCAs for wildfires has largely focused on relatively simple discrete-time models (Grieshop and Wikle, 2024), often hand-tuned (Clarke et al., 1994; Hargrove et al., 2000).
We model wildfires as latent IPSs, and consider a state space where each pixel in a 64×64 grid can be unburned , active , or burned , i.e. . We let the graph be a lattice with Moore neighborhood. We parameterize outgoing, off-diagonal local rates by a single neural network mapping to , using the UTAE architecture (Garnot and Landrieu, 2021). We constrain the dynamics by zeroing out the rate of flipping to whenever no neighbors are ignited, and do not allow transitions from to and vice versa.
Task.
Using the WildFireSpreadTS dataset (Gerard et al., 2023), we extract 156 week-long trajectories on 64 × 64 grids where at least one pixel is initially active with two subsequent days of activity, split 130-26 into a train and test set. We evaluate reconstruction of active fire maps at observation times (i.e., conditioning on the whole sequence) and prediction (initialized by encoding only the first observation), both measured via binary cross-entropy from the empirical distribution given by 16 particles per datapoint, averaged across time. We report results in two regimes: conditioning on VIIRS reflectance channels for the full week, and conditioning only on channels observed up to each timepoint.
Methods.
We use the UTAE architecture for the context encoder in TwistNet, and for proposal and twist in NAS-X and NASMC. We train initial distributions – both posterior and prior – using a smaller model with the same architecture. We let our emission distribution be factorized, and let , where is a scalar logit and the logistic function. Due to their poor performance, we do not compare with TAG and BPF. For each method we also train an encoder for the first observation, used in the prediction task, by minimizing a forward KL loss in the sleep phase. We report experimental details in Appendix D.3.
Results.
Table 2 reports results both with full-week covariates and with covariates restricted to those available up to each timepoint. TwistNet with the KL loss achieves the lowest average error in both regimes.
Table 2:
Binary cross-entropy loss for reconstruction and prediction of active fire maps, mean ± 2 standard errors across test trajectories.
| Full-week covariates | Past covariates only | |||
|---|---|---|---|---|
| Reconstruction | Prediction | Reconstruction | Prediction | |
| TwistNet - KL | 0.877 ± 0.36 | 1.149 ± 0.41 | 1.046 ± 0.389 | 1.424 ± 0.499 |
| TwistNet - DRE | 1.985 ± 0.59 | 1.541 ± 0.52 | 1.702 ± 0.532 | 1.649 ± 0.536 |
| NAS-X | 2.392 ± 0.72 | 1.755 ± 0.53 | 1.787 ± 0.531 | 1.576 ± 0.523 |
| NASMC | 2.008 ± 0.60 | 1.759 ± 0.57 | 3.350 ± 0.897 | 1.992 ± 0.563 |
By examining trajectories from the second best model (TwistNet with a DRE loss) in the full-week regime in Figure 5, we see a large gap in terms of how natural the trajectories look, and especially in how well the approximate posterior can bridge between observed states. Additional results are reported in Appendix E.2.
Figure 5:

Observed active fire maps from WildFireSpreadTS (Gerard et al., 2023) and snapshots of approximate posterior samples at observation times, for the full-week covariate regime. A pixel can only turn active if another one in its Moore neighborhood is, and transitions from unburned to burned are impossible. Observations are noisy, as satellite imagery for wildfires can be obscured by smoke and clouds (Schroeder et al., 2014).
5. CONCLUSIONS
We introduced an efficient posterior inference framework for systems of latent interacting CTMCs, and empirically demonstrated its effectiveness on challenging tasks on latent state inference and parameter learning for both simulated and real data. Our proposed approach outperforms the baselines, and in our experiments we saw this performance gap increase with the dimensionality of the problem under consideration. A major bottleneck in the training of our method is the cost of simulating trajectories with twisted SMC. Recent advances in latent SDEs have shown that simulation-free algorithms are possible (Bartosh et al., 2025; Kiyohara et al., 2025), and we believe adapting these methods to latent IPSs is an exciting avenue for future work.
Supplementary Material
Acknowledgements
We thank the reviewers for their feedback on improving the paper. This work was supported by the National Science Foundation under awards NSF 2505006 and NSF 2425932, by the National Institutes of Health under awards R01-LM013344 and R01CA297869, by the Hasso Plattner Institute (HPI) Research Center in Machine Learning and Data Science at UCI, and by funding support from Google and from SAP.
Footnotes
Proceedings of the 29th International Conference on Artificial Intelligence and Statistics (AISTATS) 2026, Tangier, Morocco. PMLR: Volume 300. Copyright 2026 by the author(s).
Contributor Information
Giosue Migliorini, Department of Statistics, University of California, Irvine.
Padhraic Smyth, Department of Computer Science, University of California, Irvine.
References
- Abatzoglou John T and Williams A Park. Impact of anthropogenic climate change on wildfire across western us forests. Proceedings of the National Academy of Sciences, 113(42):11770–11775, 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Apostolakis Alexis, Girtsou Stella, Giannopoulos Giorgos, Bartsotas Nikolaos S, and Kontoes Charalampos. Estimating next day’s forest fire risk via a complete machine learning methodology. Remote Sensing, 14 (5):1222, 2022. [Google Scholar]
- Artés Tomàs, Oom Duarte, De Rigo Daniele, Durrant Tracy Houston, Maianti Pieralberto, Libertà Giorgio, and San-Miguel-Ayanz Jesús. A global wildfire dataset for the analysis of fire regimes and fire behaviour. Scientific Data, 6(1):296, 2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Bartosh Grigory, Vetrov Dmitry, and Naesseth Christian A. SDE matching: Scalable and simulation-free training of latent stochastic differential equations. In International Conference on Machine Learning, pages 3054–3070. PMLR, 2025. [Google Scholar]
- Baum Leonard E and Petrie Ted. Statistical inference for probabilistic functions of finite state Markov chains. The Annals of Mathematical Statistics, 37 (6):1554–1563, 1966. [Google Scholar]
- Berghaus David, Cvejoski Kostadin, Seifner Patrick, Ojeda César, and Sanchez Ramses J. Foundation inference models for Markov jump processes. Advances in Neural Information Processing Systems, 37: 129407–129442, 2024. [Google Scholar]
- Bladt Mogens and Sørensen Michael. Statistical inference for discretely observed Markov jump processes. Journal of the Royal Statistical Society Series B: Statistical Methodology, 67(3):395–410, 2005. [Google Scholar]
- Bornschein Jörg and Bengio Yoshua. Reweighted wake-sleep. International Conference on Learning Representations, 2015. [Google Scholar]
- Boys Richard J, Wilkinson Darren J, and Kirkwood Thomas BL. Bayesian inference for a discretely observed stochastic kinetic model. Statistics and Computing, 18:125–135, 2008. [Google Scholar]
- Bureau Alexandre, Shiboski Stephen, and Hughes James P. Applications of continuous time hidden Markov models to the study of misclassified disease outcomes. Statistics in Medicine, 22(3):441–462, 2003. [DOI] [PubMed] [Google Scholar]
- Campbell Andrew, Benton Joe, De Bortoli Valentin, Rainforth Thomas, Deligiannidis George, and Doucet Arnaud. A continuous time framework for discrete denoising models. Advances in Neural Information Processing Systems, 35:28266–28279, 2022. [Google Scholar]
- Campbell Andrew, Yim Jason, Barzilay Regina, Rainforth Tom, and Jaakkola Tommi. Generative flows on discrete state-spaces: Enabling multimodal flows with applications to protein co-design. In Forty-first International Conference on Machine Learning, pages 5453–5512, 2024. [Google Scholar]
- Chen Ricky TQ, Rubanova Yulia, Bettencourt Jesse, and Duvenaud David. Neural ordinary differential equations. In Proceedings of the 32nd International Conference on Neural Information Processing Systems, pages 6572–6583, 2018. [Google Scholar]
- Cheuk-Kit Lee, Jeha Paul, Frellsen Jes, Lio Pietro, Albergo Michael Samuel, and Vargas. Debiasing guidance for discrete diffusion with sequential Monte Carlo, February 2025. arXiv:2502.06079 [cs]. [Google Scholar]
- Chopin Nicolas and Papaspiliopoulos Omiros. An Introduction to Sequential Monte Carlo. Springer Series in Statistics. Springer International Publishing, Cham, 2020. [Google Scholar]
- Chopin Nicolas, Fulop Andras, Heng Jeremy, and Thiery Alexandre H. Computational Doob h-transforms for online filtering of discretely observed diffusions. In International Conference on Machine Learning, pages 5904–5923. PMLR, 2023. [Google Scholar]
- Clarke Keith C, Brass James A, and Riggan Philip J. A cellular automation model of wildfire propagation and extinction. Photogrammetric Engineering and Remote Sensing, 60(11):1355–1367, 1994. [Google Scholar]
- Coffield Shane R., Graff Casey A., Chen Yang, Smyth Padhraic, Foufoula-Georgiou Efi, and Randerson James T.. Machine learning to predict final fire size at the time of ignition. International Journal of Wildland Fire, 28(11):861–873, 2019. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Cohn Ido, El-Hay Tal, Friedman Nir, and Kupferman Raz. Mean field variational approximation for continuous-time Bayesian networks. The Journal of Machine Learning Research, 11:2745–2783, 2010. [Google Scholar]
- Corstanje Marc and van der Meulen Frank. Guided simulation of conditioned chemical reaction networks. Statistical Inference for Stochastic Processes, 28(2): 8, 2025. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Corstanje Marc, van der Meulen Frank, and Schauer Moritz. Conditioning continuous-time Markov processes by guiding. Stochastics, 95(6):963–996, 2023. [Google Scholar]
- Del Moral Pierre and Penev Spiridon. Stochastic Processes: From Applications to Theory. Chapman and Hall/CRC, 2017. [Google Scholar]
- Doucet Arnaud and Johansen Adam M. A tutorial on particle filtering and smoothing: Fifteen years later. The Oxford Handbook of Nonlinear Filtering, 12(656–704):3, 2009. [Google Scholar]
- Eich Yannick, Alt Bastian, and Koeppl Heinz. Entropic matching for expectation propagation of Markov jump processes. In The 28th International Conference on Artificial Intelligence and Statistics, pages 856–864. PMLR, 2025. [Google Scholar]
- Garnot Vivien Sainte Fare and Landrieu Loic. Panoptic segmentation of satellite image time series with convolutional temporal attention networks. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4872–4881, 2021. [Google Scholar]
- Gat Itai, Remez Tal, Shaul Neta, Kreuk Felix, Chen Ricky TQ, Synnaeve Gabriel, Adi Yossi, and Lipman Yaron. Discrete flow matching. Advances in Neural Information Processing Systems, 37:133345–133385, 2024. [Google Scholar]
- Gerard Sebastian, Zhao Yu, and Sullivan Josephine. WildfirespreadTS: A dataset of multi-modal time series for wildfire spread prediction. Advances in Neural Information Processing Systems, 36:74515–74529, 2023. [Google Scholar]
- Gillespie Daniel T. Exact stochastic simulation of coupled chemical reactions. The Journal of Physical Chemistry, 81(25):2340–2361, 1977. [Google Scholar]
- Golightly Andrew and Sherlock Chris. Efficient sampling of conditioned Markov jump processes. Statistics and Computing, 29:1149–1163, 2019. [Google Scholar]
- Grieshop Nicholas and Wikle Christopher K. Data-driven modeling of wildfire spread with stochastic cellular automata and latent spatio-temporal dynamics. Spatial Statistics, 59:100794, 2024. [Google Scholar]
- Gu Shixiang Shane, Ghahramani Zoubin, and Turner Richard E. Neural adaptive sequential Monte Carlo. Advances in Neural Information Processing Systems, 28:2629–2637, 2015. [Google Scholar]
- Guarniero Pieralberto, Johansen Adam M, and Lee Anthony. The iterated auxiliary particle filter. Journal of the American Statistical Association, 112 (520):1636–1647, 2017. [Google Scholar]
- Hagberg Aric A., Schult Daniel A., and Swart Pieter J.. Exploring network structure, dynamics, and function using networkx. In Varoquaux Gaël, Vaught Travis, and Millman Jarrod, editors, Proceedings of the 7th Python in Science Conference, pages 11–15, Pasadena, CA USA, 2008. [Google Scholar]
- Hargrove William W, Gardner RH, Turner MG, Romme WH, and Despain DG. Simulating fire patterns in heterogeneous landscapes. Ecological Modelling, 135(2–3):243–263, 2000. [Google Scholar]
- Heng Jeremy, Bishop Adrian N, Deligiannidis George, and Doucet Arnaud. Controlled sequential Monte Carlo. The Annals of Statistics, 48(5):2904–2929, 2020. [Google Scholar]
- Hinton Geoffrey E, Dayan Peter, Frey Brendan J, and Neal Radford M. The “wake-sleep” algorithm for unsupervised neural networks. Science, 268(5214): 1158–1161, 1995. [DOI] [PubMed] [Google Scholar]
- Hobolth Asger and Stone Eric A. Simulation from endpoint-conditioned, continuous-time Markov chains on a finite state space, with applications to molecular evolution. The Annals of Applied Statistics, 3(3):1204, 2009. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Holderrieth Peter, Albergo Michael Samuel, and Jaakkola Tommi. Leaps: A discrete neural sampler via locally equivariant networks. In International Conference on Machine Learning, pages 23397–23416. PMLR, 2025. [Google Scholar]
- Huang Lirong, Pauleve Loic, Zechner Christoph, Unger Michael, Hansen Anders S, and Koeppl Heinz. Reconstructing dynamic molecular states from single-cell time series. Journal of The Royal Society Interface, 13(122):20160533, 2016. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Igashov Ilia, Schneuing Arne, Segler Marwin, Bronstein Michael, and Correia Bruno. Retrobridge: Modeling retrosynthesis with Markov bridges. arXiv preprint arXiv:2308.16212, 2023. [Google Scholar]
- Jackson Christopher. Multi-state models for panel data: the msm package for R. Journal of Statistical Software, 38:1–28, 2011. [Google Scholar]
- Jang Eric, Gu Shixiang, and Poole Ben. Categorical reparameterization with Gumbel-softmax. In International Conference on Learning Representations, 2017. [Google Scholar]
- Kingma Diederik P and Ba Jimmy. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. [Google Scholar]
- Kiyohara Naoki, Johns Edward, and Li Yingzhen. Neural stochastic flows: Solver-free modelling and inference for SDE solutions. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. [Google Scholar]
- Klenke Achim. Probability Theory: A Comprehensive Course. Springer, 2008. [Google Scholar]
- Köhs Lukas, Alt Bastian, and Koeppl Heinz. Variational inference for continuous-time switching dynamical systems. Advances in Neural Information Processing Systems, 34:20545–20557, 2021. [Google Scholar]
- Kouemou Guy Leonard. History and theoretical basics of hidden Markov models. In Hidden Markov Models, Theory and Applications. IntechOpen, 2011. [Google Scholar]
- Lanchier Nicolas. Stochastic Modeling. Springer, 2017. [Google Scholar]
- Lanchier Nicolas. Stochastic Interacting Systems in Life and Social Sciences, volume 5. Walter de Gruyter GmbH & Co KG, 2024. [Google Scholar]
- Lawson Dieterich, Tucker George, Naesseth Christian A, Maddison Chris, Adams Ryan P, and Teh Yee Whye. Twisted variational sequential Monte Carlo. In Third Workshop on Bayesian Deep Learning (NeurIPS), 2018. [Google Scholar]
- Lawson Dieterich, Raventós Allan, Warrington Andrew, and Linderman Scott. SIXO: Smoothing inference with twisted objectives. Advances in Neural Information Processing Systems, 35:38844–38858, 2022. [Google Scholar]
- Lawson Dieterich, Li Michael, and Linderman Scott. NAS-X: Neural adaptive smoothing via twisting. Advances in Neural Information Processing Systems, 36: 8602–8633, 2023. [Google Scholar]
- Le Tuan Anh, Kosiorek Adam R, Siddharth N, Teh Yee Whye, and Wood Frank. Revisiting reweighted wake-sleep for models with stochastic control flow. In Uncertainty in Artificial Intelligence, pages 1039–1049. PMLR, 2020. [Google Scholar]
- Li Xiner, Zhao Yulai, Wang Chenyu, Scalia Gabriele, Eraslan Gökcen, Nair Surag, Biancalani Tommaso, Ji Shuiwang, Regev Aviv, Levine Sergey, and Uehara Masatoshi. Derivative-free guidance in continuous and discrete diffusion models with soft value-based decoding. In The Thirty-Ninth Annual Conference on Neural Information Processing Systems, 2025. [Google Scholar]
- Li Xuechen, Leonard Wong Ting-Kam, Chen Ricky TQ, and Duvenaud David. Scalable gradients for stochastic differential equations. In International Conference on Artificial Intelligence and Statistics, pages 3870–3882. PMLR, 2020. [Google Scholar]
- Liggett Thomas Milton. Interacting Particle Systems, volume 2. Springer, 1985. [Google Scholar]
- Liu Xuanqing, Xiao Tesi, Si Si, Cao Qin, Kumar Sanjiv, and Hsieh Cho-Jui. How does noise help robustness? explanation and exploration under the neural sde framework. In Proceedings of the IEEE/CVF conference on computer vision and pattern recognition, pages 282–290, 2020. [Google Scholar]
- Liu Yu-Ying, Li Shuang, Li Fuxin, Song Le, and Rehg James M. Efficient learning of continuous-time hidden Markov models for disease progression. Advances in Neural Information Processing Systems, 28:3600–3608, 2015. [PMC free article] [PubMed] [Google Scholar]
- Lou Aaron, Meng Chenlin, and Ermon Stefano. Discrete diffusion language modeling by estimating the ratios of the data distribution. arXiv preprint arXiv:2310.16834, 2023. [Google Scholar]
- Lu Jianfeng and Wang Yuliang. Guidance for twisted particle filter: a continuous-time perspective. arXiv preprint arXiv:2409.02399, 2024. [Google Scholar]
- McGibbon Robert T and Pande Vijay S. Efficient maximum likelihood parameterization of continuous-time Markov processes. The Journal of Chemical Physics, 143(3), 2015. [DOI] [PMC free article] [PubMed] [Google Scholar]
- McNamara Declan, Loper Jackson, and Regier Jeffrey. Sequential Monte Carlo for inclusive KL minimization in amortized variational inference. In International Conference on Artificial Intelligence and Statistics, pages 4312–4320. PMLR, 2024. [Google Scholar]
- Meng Chenlin, Choi Kristy, Song Jiaming, and Ermon Stefano. Concrete score matching: Generalized score matching for discrete data. Advances in Neural Information Processing Systems, 35:34532–34545, 2022. [Google Scholar]
- Movellan Javier R, Mineiro Paul, and Williams Ruth J. A Monte Carlo EM approach for partially observable diffusion processes: theory and applications to neural networks. Neural Computation, 14(7):1507–1544, 2002. [DOI] [PubMed] [Google Scholar]
- Naesseth Christian, Linderman Scott, Ranganath Rajesh, and Blei David. Variational sequential monte carlo. In International conference on artificial intelligence and statistics, pages 968–977. PMLR, 2018. [Google Scholar]
- Naesseth Christian A, Lindsten Fredrik, and Schön Thomas B. Elements of sequential Monte Carlo. Foundations and Trends® in Machine Learning, 12(3): 187–306, 2019. [Google Scholar]
- Nisonoff Hunter, Xiong Junhao, Allenspach Stephan, and Listgarten Jennifer. Unlocking guidance for discrete state-space diffusion and flow models. In The Thirteenth International Conference on Learning Representations, 2025. [Google Scholar]
- Norris James R. Markov Chains. Cambridge University Press, 1998. [Google Scholar]
- Opper Manfred and Sanguinetti Guido. Variational inference for Markov jump processes. Advances in Neural Information Processing Systems, 20:1105–1112, 2007. [Google Scholar]
- Park Byoungwoo, Lee Hyungi, and Lee Juho. Amortized control of continuous state space Feynman-Kac model for irregular time series. In International Conference on Learning Representations (ICLR 2025), 2025. [Google Scholar]
- Peebles William and Xie Saining. Scalable diffusion models with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 4195–4205, 2023. [Google Scholar]
- Perez Ethan, Strub Florian, de Vries Harm, Dumoulin Vincent, and Courville Aaron. Film: visual reasoning with a general conditioning layer. In Proceedings of the Thirty-Second AAAI Conference on Artificial Intelligence and Thirtieth Innovative Applications of Artificial Intelligence Conference and Eighth AAAI Symposium on Educational Advances in Artificial Intelligence, pages 3942–3951, 2018. [Google Scholar]
- Prapas Ioannis, Kondylatos Spyros, Papoutsis Ioannis, Camps-Valls Gustau, Ronco Michele, Fernández-Torres Miguel-Ángel, Guillem Maria Piles, and Carvalhais Nuno. Deep learning methods for daily wildfire danger forecasting. arXiv preprint arXiv:2111.02736, 2021. [Google Scholar]
- Rao Vinayak and Teh Yee Whye. Fast MCMC sampling for Markov jump processes and extensions. Journal of Machine Learning Research, 14:3295–3320, 2013. [Google Scholar]
- Rector-Brooks Jarrid, Hasan Mohsin, Peng Zhangzhi, Liu Cheng-Hao, Mittal Sarthak, Dziri Nouha, Bronstein Michael M, Chatterjee Pranam, Tong Alexander, and Bose Joey. Steering masked discrete diffusion models via discrete denoising posterior prediction. In The Thirteenth International Conference on Learning Representations, 2024. [Google Scholar]
- Rothermel Richard C. A mathematical model for predicting fire spread in wildland fuels, volume 115. Intermountain Forest & Range Experiment Station, Forest Service, 1972. [Google Scholar]
- Schroeder Wilfrid, Oliva Patricia, Giglio Louis, and Csiszar Ivan A. The new VIIRS 375 m active fire detection data product: Algorithm description and initial assessment. Remote Sensing of Environment, 143:85–96, 2014. [Google Scholar]
- Seifner Patrick and Sánchez Ramsés J. Neural Markov jump processes. In International Conference on Machine Learning, pages 30523–30552. PMLR, 2023. [Google Scholar]
- Sun Haoran, Yu Lijun, Dai Bo, Schuurmans Dale, and Dai Hanjun. Score-based continuous-time discrete diffusion models. In The Eleventh International Conference on Learning Representations, 2023. [Google Scholar]
- Tzen Belinda and Raginsky Maxim. Neural stochastic differential equations: Deep latent Gaussian models in the diffusion limit. arXiv:1905.09883, 2019. [Google Scholar]
- Uehara Masatoshi, Zhao Yulai, Wang Chenyu, Li Xiner, Regev Aviv, Levine Sergey, and Biancalani Tommaso. Inference-time alignment in diffusion models with reward-guided generation: Tutorial and review. arXiv preprint arXiv:2501.09685, 2025. [Google Scholar]
- Vignac Clement, Krawczuk Igor, Siraudin Antoine, Wang Bohan, Cevher Volkan, and Frossard Pascal. Digress: Discrete denoising diffusion for graph generation. arXiv preprint arXiv:2209.14734, 2022. [Google Scholar]
- Walker Xanthe J, Baltzer Jennifer L, Cumming Steven G, Day Nicola J, Ebert Christopher, Goetz Scott, Johnstone Jill F, Potter Stefano, Rogers Brendan M, Schuur Edward AG, et al. Increasing wildfires threaten historic carbon sink of boreal forest soils. Nature, 572(7770):520–523, 2019. [DOI] [PubMed] [Google Scholar]
- Wang Chenyu, Uehara Masatoshi, He Yichun, Wang Amy, Lal Avantika, Jaakkola Tommi, Levine Sergey, Regev Aviv, Wang Hangchen, and Biancalani Tommaso. Fine-tuning discrete diffusion models via reward optimization with applications to DNA and protein design. In The Thirteenth International Conference on Learning Representations, 2025. [Google Scholar]
- Wildner Christian and Koeppl Heinz. Moment-based variational inference for Markov jump processes. In International Conference on Machine Learning, pages 6766–6775. PMLR, 2019. [Google Scholar]
- Wilkinson Darren J. Stochastic Modelling for Systems Biology. Chapman and Hall/CRC, 2018. [Google Scholar]
- Williams Ronald J. Simple statistical gradient-following algorithms for connectionist reinforcement learning. Machine Learning, 8(3):229–256, 1992. [Google Scholar]
- Zaheer Manzil, Kottur Satwik, Ravanbhakhsh Siamak, Póczos Barnabás, Salakhutdinov Ruslan, and Smola Alexander J. Deep sets. In Proceedings of the 31st International Conference on Neural Information Processing Systems, pages 3394–3404, 2017. [Google Scholar]
- Zhang Boqian, Pan Jiangwei, and Rao Vinayak A. Collapsed variational Bayes for Markov jump processes. Advances in Neural Information Processing Systems, 30:3752–3760, 2017. [Google Scholar]
- Zhao Stephen, Brekelmans Rob, Makhzani Alireza, and Grosse Roger Baker. Probabilistic inference in language models via twisted sequential Monte Carlo. In International Conference on Machine Learning, pages 60704–60748. PMLR, 2024. [Google Scholar]
- Zhu Yuchen, Guo Wei, Choi Jaemoo, Liu Guan-Horng, Chen Yongxin, and Tao Molei. MDNS: Masked diffusion neural sampler via stochastic optimal control. In The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025. [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
