Neural Galerkin Normalizing Flows for Bayesian Inference of Diffusions with Inaccessible Boundaries
Riccardo Saporiti, Fabio Nobile
NeurIPS 2026
Abstract. One of the primary challenges in Bayesian inference on the parameters of a diffusion model from discrete observations is the unavailability of an analytical expression for the transition density function between consecutive observation times, which is needed to derive the likelihood function. We tackle this problem by extending previous studies that solve Fokker-Planck (FP) type partial differential equations with Normalizing Flows, and propose a new Normalizing Flow architecture to learn the transition density function of the diffusion process between two observation times. We do so by solving in a Neural Galerkin framework the associated FP equation with a Dirac mass as initial condition, over a specified training distribution of the initial datum and the coefficients of the diffusion. The product of the obtained transition densities evaluated along the observed trajectory approximates the likelihood function, thereby enabling cheap posterior sampling via Markov chain Monte Carlo (MCMC). After the offline training phase, inference becomes significantly more efficient, as it avoids the need to solve the FP equation in real time for each parameter proposed by the MCMC sampler or to rely on other likelihood-free methods for Bayesian inference that involve repeated simulation of diffusion bridges. We specifically focus on processes whose diffusion matrix vanishes in certain inaccessible boundary regions, such as Stochastic Volatility models that satisfy a Feller condition. Numerical experiments on the Heston and SVCEV models show accurate posterior approximations and notable reductions in online computational cost.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper proposes a surrogate model for Bayesian inference in discretely observed diffusion processes. It constructed a new normalziing flow architecture that solve Fokker-Planck type PDEs that govern the transition density function diffusion process between observation times. The learned density approximates the likelihood function to enable more efficient likelihood evaluation and posterior MCMC sampling.
All three reviewers recommended (borderline) acceptance. Two reviewers found the problem well motivated and the paper well written. The other reviewer commented that the paper's clarity needs to be improved for non-expert in the area, and ensure that the high-level motivation and significance of the work should be accessible to a broad audience. The reservations between the borderline scores include the conceptual novelty and experimental support to claims, e.g. regarding high-dimensional posterior inference. All the concerns raised are reasonable to me and should be largely addressable in the discussion period.
Final justification
All reviewers are satisfied that the rebuttal addressed their main concerns. All reviewers recommend Accept (5) after the rebuttal. My recommendation is Accept.
Read meta-review
Meta-review
The paper proposes a surrogate model for Bayesian inference in discretely observed diffusion processes. It constructed a new normalziing flow architecture that solve Fokker-Planck type PDEs that govern the transition density function diffusion process between observation times. The learned density approximates the likelihood function to enable more efficient likelihood evaluation and posterior MCMC sampling.
All three reviewers recommended (borderline) acceptance. Two reviewers found the problem well motivated and the paper well written. The other reviewer commented that the paper's clarity needs to be improved for non-expert in the area, and ensure that the high-level motivation and significance of the work should be accessible to a broad audience. The reservations between the borderline scores include the conceptual novelty and experimental support to claims, e.g. regarding high-dimensional posterior inference. All the concerns raised are reasonable to me and should be largely addressable in the discussion period.
Final justification
All reviewers are satisfied that the rebuttal addressed their main concerns. All reviewers recommend Accept (5) after the rebuttal. My recommendation is Accept.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper concerns Bayesian parameter estimation for perfectly but only occasionally observed paths of a diffusion process. This is a classical and important problem. The specific approach involves offline learning of p(x(t+1)|x(t), \mu) where x is the state of the process (or observation since the system is observed perfectly) and mu is the vector of parameters (e.g. appearing in the drift function of the diffusion). They use a normalizing flow architecture trained using neural-Galerkin to approximate p(x(t+1)|x(t),\mu), the key point being that path likelihood can be explicitly evaluated during the inference procedure for mu. Their architecture includes modifications designed to deal with cases in which the path measure vanishes near domain boundaries.
Strengths and weaknesses
Strengths: The paper is well written, though at times favors technicalities (and symbols) that obscure the main ideas. The approach is very natural. Though they do not address noisy or partial data, I agree that the basic approach would still be useful in that context in conjunction with, e.g. path MCMC.
Weaknesses: My main concern is that the conceptual novelty may not be significant enough for NeurIPS. It is a natural, but not terribly surprising generalization of ref 21. This concern might be allayed somewhat with a blockbuster application. But the numerical experiments also seem a little below the bar for NeurIPS. The numerical experiments use model generated test data, so they can't show us what happens when the observations are nearly OOD (if they are fully OOD I assume the method will fail, but that is an unfair standard).
Questions
Instead of neural galerkin, could you learn a conditional normalizing flow for p(x(t+1)|x(t),mu) directly? What do you see as the disadvantages of that approach. An advantage is that you have a loss function that directly targets the task.
Limitations
yes
Final justification
My only remaining concern, which I don't think is easily addressed, is that the conceptual contribution itself is, perhaps, slightly on the technical/narrow side. But this is a very subjective judgement and I'm sure others would see it very differently. The work is clearly very high quality and, I think, will be a useful contribution.
Formatting concerns
none
1 comment
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
In this paper, the authors present a novel Normalizing Flow architecture for learning the transition probability density function of a diffusion process between two observation times. To achieve this, they leverage the Neural Galerkin framework to solve the associated Fokker–Planck equation. My understanding is that, in contrast to existing approaches, the proposed method is designed to handle inaccessible boundaries. The learned transition densities are then used to enable more efficient posterior sampling via MCMC.
In my view, the main contribution is the extension of Neural Galerkin Normalizing Flows to solve parametric Fokker–Planck equations with vanishing diffusion at inaccessible boundaries, ultimately accelerating Bayesian inference..
Strengths and weaknesses
Strengths:
- Bayesian inference is a fundamental problem in many engineering and scientific disciplines. Developing methods that enable more efficient posterior sampling is therefore of broad interest to the community.
- The paper clearly and precisely describes the mathematical problem setting and the proposed methodology.
Weaknesses
-
As a non-expert in this area (which may also be the case for many readers), I found it difficult to understand the high-level motivation behind the work. It would strengthen the paper if the authors provided additional intuition on why inaccessible boundaries are important in practice and why stochastic volatility (SV) models constitute a relevant application.
-
The proposed framework assumes that "the target TPDF decays at infinity more rapidly than any polynomial." However, the paper does not discuss the practical implications of this assumption or the classes of problems for which it is satisfied. Such a discussion would help readers better understand the scope and limitations of the method.
These comments should be interpreted with the understanding that I am not an expert in this field but rather approached the paper from the perspective of a general reader. Nevertheless, I believe that the high-level motivation and significance of the work should be accessible to a broad audience, and the paper would benefit from additional discussion.
Questions
-
Could the authors provide a clearer motivation for the practical relevance of the problem they address, particularly the role of inaccessible boundaries and the choice of the stochastic volatility example?
-
Could the authors discuss in more detail the assumption that the target TPDF decays at infinity more rapidly than any polynomial, including examples of settings where this assumption is or is not satisfied?
Limitations
Yes
Final justification
I think that the authors sufficiently addressed the concerns raised by me and the other reviewers. I updated my score to 5 (accept).
Formatting concerns
None
1 comment
Rebuttal
We thank the reviewer for their time and for reviewing our work. Below, we address the main concerns raised.
(Question) Could you provide a clearer motivation for the practical relevance of the problem they address, particularly the role of inaccessible boundaries and the choice of the stochastic volatility example?
Thank you for the suggestion; we will revise the introduction to highlight better the significance of inaccessible boundaries and stochastic volatility (SV) models. We will also mention other applications of inaccessible boundaries.
SV models, along with processes with inaccessible boundaries, that is, physical state constraints that the diffusion cannot reach from the interior, are prevalent in many financial applications. For instance, the volatility of log-asset prices is often described by processes such as Cox-Ingersoll-Ross (CIR)-type processes. In these models, the variance process is nonnegative, and under the Feller condition, the zero boundary remains inaccessible. SV models are widely used in option pricing because they capture time-varying volatility and patterns that constant-volatility models cannot [1], [2].
SDEs with inaccessible boundaries are relevant in many other areas of science and engineering as well. We mention a few of them hereafter. SDEs with positivity constraints and possibly time-dependent upper bounds have been used in the context of wind and solar power production, as done in [3, 4]. Once the parameters of the SDE are inferred, either through Bayesian methods or frequentist approaches, the model can be used to generate probabilistic forecasts of the discrepancy between future actual wind/solar power values and the forecasts provided by external sources. This procedure allows for rating the provided forecast and for uncertainty quantification. The Jacobi-type SDE proposed in [3] can be viewed as an extension of an ECIR [5] Stochastic Volatility diffusion model, for which we expect our methodology to generalize well. Similar models can also be used to forecast electricity consumption or electricity prices.
Diffusions with inaccessible boundaries have also been applied in [6] to model wireless fading channels in cellular networks.
Lastly, we mention the Wright-Fisher process, which is widely used in population genetics to describe how allele frequencies evolve within a gene population [7]. Wright–Fisher diffusions with sufficiently strong mutation have inaccessible boundaries.
Among these applications, we focused on SV models because they serve as a nontrivial and well-established benchmark for likelihood-based inference. In Section 6.1 of our manuscript, we present the Heston model, which offers a closed-form expression for its characteristic function, providing an accurate reference to validate our surrogate model. We then consider the nonlinear, non-affine SVCEV model to validate our methodology beyond the affine setting. Another motivation for focusing on SV models is that several transition-density expansions are available, allowing us to make direct comparisons and assess the performance of our surrogate.
(Question) Could the authors discuss in more detail the assumption that the target TPDF decays at infinity more rapidly than any polynomial, including examples of settings where this assumption is or is not satisfied?
In our work, the decay assumption is used to justify approximating a probability density function with unbounded support by a Normalizing Flow with bounded support. The domain of the NF must be chosen so that the probability mass of the target TPDF outside is negligible. Formally, we assume that, for every ,
$\rho(\boldsymbol{x}\mid t,\boldsymbol{x}_0,\boldsymbol{\mu}) \leq C_m\left(1+|\boldsymbol{x}|\right)^{-m} $ for large .
A consequence of this assumption is that the transition law has finite moments of every order. Indeed, for any , choosing gives
For the purpose of selecting big enough, the latter condition is actually enough. Indeed, by Markov's inequality, for and
A sufficient assumption for the desired moment condition (1), supposing that the SDE admits a weak or strong solution, is that the drift and diffusion coefficients grow at most linearly. If the initial condition has bounded moments of every order, then so does the solution on every bounded time interval, see Theorem 9.1 of [9]. This moment condition is satisfied by the log-Heston model considered in our numerical experiments. The CIR process possesses finite moments of every order on every bounded time interval [8], from which it can be shown that this property also holds for the log-asset price .
By contrast, this property generally fails when the Heston model is formulated in terms of the asset price . For each fixed maturity, the Heston asset-price process generally has a finite critical moment , above which . It therefore does not possess moments of every order [10]. Generally, the moment condition may hold only for for SDEs with superlinearly growing diffusion coefficients. This does not mean that our approach cannot be applied under this condition; however, it may require some extensions. For instance, one could integrate information about the tail behavior of the TPDF into the NF architecture and utilize an adaptive support for the normalizing flow.
The log-SVCEV model considered in our numerical experiments also satisfies condition (1). Indeed, the drift coefficients are affine in , the diffusion coefficient of the log-asset price grows as , and, for , the diffusion coefficient of the volatility grows at most linearly.
Since proving that the target TPDF decays at infinity more rapidly than any polynomial is more challenging than demonstrating uniformly bounded moments of every order, we consider adopting this latter assumption in the final version of our manuscript.
[1] G. Bakshi, C. Cao, and Z. Chen. Empirical Performance of Alternative Option Pricing Models. The Journal of Finance, 52(5):2003–2049, 1997.
[2] Peter Christoffersen, Kris Jacobs, Karim Mimouni, Volatility Dynamics for the S&P500: Evidence from Realized Volatility, Daily Returns, and Option Prices, The Review of Financial Studies, Volume 23, Issue 8, August 2010, Pages 3141–3189
[3] R. Caballero, A. Kebaier, M. Scavino, and R. Tempone, Quantifying uncertainty with a derivative tracking SDE model and application to wind power forecast data, Statistics and Computing, 31 (2021), p. 64.
[4] Ben Chaabane, K., Kebaier, A., Scavino, M. et al. Data-driven uncertainty quantification for constrained stochastic differential equations and application to solar photovoltaic power forecast data. Stat Comput 35, 163 (2025).
[5] Maghsoodi, Y. (1996). Solution of the extended CIR term structure and bond option valuation. Mathematical Finance, 6(1), 89–109.
[6] N. Ben Rached, S. M. Subbiah Pillai, and R. Tempone, Optimal Power Procurement for Green Cellular Wireless Networks Under Uncertainty and Chance Constraints, Entropy, 27 (2025).
[7] T. Huillet, On the Wright-Fisher diffusion and its relatives, J. Stat. Mech.: Theory Exp. 2007 (11) (2007) P11006.
[8] S. Rujivan, A closed-form formula for the conditional moments of the extended CIR process, Journal of Computational and Applied Mathematics, 297 (2016), 75–84.
[9] P. Baldi, Stochastic Calculus: An Introduction Through Theory and Exercises, Springer, 2017.
[10] M. Keller-Ressel, Moment explosions and long-term behavior of affine stochastic volatility models, Mathematical Finance, 21 (2011), 73-98.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes an amortized likelihood surrogate for Bayesian inference in discretely observed diffusion processes with inaccessible boundaries. The method represents the transition density as the solution of a Fokker--Planck equation, parameterizes this density with a bounded normalizing flow, and evolves the flow parameters using a Neural Galerkin scheme. Once trained offline over initial states and SDE parameters, the learned transition density can be used inside MCMC for faster likelihood evaluation. The paper evaluates the method on Heston, SVCEV, and a three-factor short-rate model, showing good agreement with reference likelihood/posterior estimates and substantial online speedups.
Strengths and weaknesses
strengths:
- The problem is well motivated. Transition densities are the real computational bottleneck in likelihood-based inference for discretely observed SDEs, and the paper attacks this bottleneck directly rather than relying on repeated bridge simulation.
- The method is conceptually reasonable. Using a normalizing flow to represent the Fokker--Planck solution is a good fit because it preserves non-negativity and normalization of the density by construction.
- The Heston experiment is fairly convincing because Fourier inversion gives a strong reference. The SVCEV experiment is also useful because it tests a non-affine case where closed-form characteristic functions are not available.
- The paper gives a decent amount of experimental detail in the appendix, including training distributions, architecture sizes, compute, confidence intervals across Heston datasets, and validation of the data-augmentation reference.
weaknesses:
- The paper has no formal error analysis. That is not fatal for this contribution type, but the method relies on several numerical choices, so the empirical evidence has to carry most of the weight.
- A minor clarity issue is notation. In the examples, symbols such as and are used both for general objects and for specific scalar parameters, which slows down reading of the formulas. The paper would also benefit from a clearer separation between the original diffusion domain and the truncated NF support , especially in the discussion of boundary conditions.
- The main claims are mostly supported for the tested models, but some wording about high-dimensional posterior inference feels a bit stronger than the evidence. The largest state dimension tested is still modest, and the BDFS posterior experiment has no full reference posterior.
- A minor presentation issue is that the abstract is broken into several short paragraphs. I think it would read more smoothly as a single paragraph that briefly covers the problem, the proposed method, and the main empirical findings.
Questions
- Can the authors clarify how much of the gain comes specifically from the bounded truncated-Gaussian flow? A small ablation against a less boundary-aware flow on Heston near would be very helpful.
- The online MCMC speedups are promising, but the offline training cost is also substantial. Could the authors add a simple break-even discussion: for example, roughly how many trajectories, posterior runs, or MCMC samples are needed before the offline training cost becomes worthwhile?
Limitations
yes
Final justification
I recommend Accept. The rebuttal addressed my main concerns: the added unbounded Real NVP ablation supports the need for the bounded flow near the low-volatility boundary, and the authors agreed to clarify notation/domain issues and soften the dimensionality claim. The break-even discussion also helps justify the offline cost.
Formatting concerns
no
2 comments
Rebuttal
We thank the reviewer for their time and for reviewing our work. We address the points raised and perform the requested ablation study.
(Weakness) The paper has no formal error analysis. That is not fatal for this contribution type, but the method relies on several numerical choices, so the empirical evidence has to carry most of the weight.
We acknowledge that the manuscript does not provide a general error analysis, and we will explicitly state this limitation in the final section of the paper. The sources of error arise from these factors: limited expressivity of the NF, truncation of the true domain , approximation of the Dirac initial datum, finite sampling error in the estimation of the Neural Galerkin residual, and errors arising from the Least-Squares solver and time integration in the dynamics of the NF parameters. Analyzing how each of these factors influences the performance of the method demands considerable effort. It is beyond the scope of this manuscript, which is more focused on practical applications than on theoretical considerations.
(Weakness) A minor clarity issue is notation. In the examples, symbols such as and are used both for general objects and for specific scalar parameters, which slows down reading of the formulas.
Thanks for the suggestion. In section 6, we will replace the parameter with and the correlation parameter with .
(Weakness) The paper would also benefit from a clearer separation between the original diffusion domain and the truncated NF support, especially in the discussion of boundary conditions.
On page 4, section 4.1, we will expand the discussion on the boundary conditions and use a basic 2D example to explain more clearly the distinction between and . We propose to add this example: 'A motivating example is when . In this case, we define . To match the behavior of the true solution, we impose homogeneous Dirichlet data on and zero-flux conditions on .' Moreover, we will modify the domains in equation (8) and in section B.2 of the appendix to clarify the distinction between and .
(Weakness) The main claims are mostly supported for the tested models, but some wording about high-dimensional posterior inference feels a bit stronger than the evidence. The largest state dimension tested is still modest, and the BDFS posterior experiment has no full reference posterior.
We agree that the claim was not totally clear and may have sounded too strong. We did not mean that our experiments indicate that the model shows promising performance in high-dimensional state spaces, but rather in a modestly high-dimensional parameter space. We will soften the claim in the final version of the paper by replacing 'high-dimensional posterior inference' with 'inference in a moderate-dimensional parameter space.'
(Weakness) A minor presentation issue is that the abstract is broken into several short paragraphs. I think it would read more smoothly as a single paragraph that briefly covers the problem, the proposed method, and the main empirical findings.
We accept the suggestion and commit to modifying the final version of the abstract.
(Question) Can the authors clarify how much of the gain comes specifically from the bounded truncated-Gaussian flow? A small ablation against a less boundary-aware flow on Heston near would be very helpful.
Thanks for the question, which allows us to illustrate the advantages of using our bounded truncated-Gaussian flow with respect to an unbounded normalizing flow. As suggested, we consider the Heston model, which has a tractable reference solution. For our comparison, we implement and train the NF of [21], which is based on Real NVP transformations, and compare its performance against our NF. To stay consistent with the work [21], which did not design the NF parametrically with respect to the SDE parameters, we train the Real NVP architecture for the fixed parameter that generated the data used in Section 6.1. Real NVP is parametric with respect to the initial condition only. The training distribution for the initial condition is the same as that used for our bounded normalizing flow (Section 6.1). We also try to maintain approximately the same number of 'trainable' parameters in both architectures.
To avoid introducing any bias towards our model, all subsequent comparisons condition the models on the parameter . We consider a training horizon . Since the Real NVP NF is not aware of the volatility boundary, when we sample from the flow to evaluate the Fokker-Planck residual, we take the maximum between a volatility sample and . If we did not do this, evaluating the Fokker-Planck residual with negative samples could result in an ill-posed PDE, since the sign of the diffusion coefficient can become negative. In Table R.1, we report our findings. First, we show the relative error of the log-likelihood at , computed over a trajectory of observations generated with . This is the same trajectory used in the experiments of section 6.1 of the paper. The results indicate that this error is relatively low, even for the unbounded architecture. However, our model demonstrates an advantage of approximately one order of magnitude.
Next, we focus on low-volatility scenarios. Specifically, we consider various values for the initial variance and, for each value, we compute the error at time between the reference TPDF and the NF surrogates. The SDE parameter is fixed at and . We observe that the error for the unbounded NF increases as approaches 0. In contrast, our model maintains stable results. This indicates that an explicit treatment of the volatility boundary, along with a strong imposition of the associated Dirichlet data, provides significant advantages in low-volatility scenarios.
To further validate this conclusion, we generate one trajectory from the Heston model with observations, setting and . By exploiting the diffusion bridge of the CIR process, we force the volatility at the 75th observation to hit the point . The final line of the table presents the relative error of the log-likelihood at . Our approach demonstrates a significant advantage over the unbounded NF, which turns out unreliable in a low-volatility regime.
Table R.1. Comparison between bounded Neural Galerkin Normalizing flow and unbounded Neural Galerkin Normalizing flow.
| Metric | truncated-Gaussian NF | Unbounded Real NVP NF |
|---|---|---|
| Relative error of the log-likelihood at | 0.0003 | 0.0022 |
| Relative error for , with | 0.0598 | 0.3242 |
| Relative error for , with | 0.0621 | 21.6984 |
| Relative error for , with | 0.0621 | 27.1022 |
| Relative error of the log-likelihood at , with minimum observed volatility | 0.0295 | 1.8872 |
We thank the reviewer for this comment and stay open to providing additional explanatory experiments.
(Question) The online MCMC speedups are promising, but the offline training cost is also substantial. Could the authors add a simple break-even discussion: for example, roughly how many trajectories, posterior runs, or MCMC samples are needed before the offline training cost becomes worthwhile?
We conduct a break-even analysis for the SVCEV experiment (cf. Table 5, Table 11 of the manuscript). Training the NGNF took approximately 48 hours, while generating posterior samples required 1389 seconds, or about 0.39 hours. In contrast, the data augmentation reference required approximately 63452 seconds, equivalent to 17.63 hours, to generate the same posterior samples. By using NGNF, each posterior run saves roughly 17 hours. Therefore, the training cost is amortized after about 2.8 posterior runs, or approximately MCMC samples. We envisage our model to be advantageous for applications that require daily recalibration as new data becomes available. In such cases, the surrogate model becomes computationally advantageous after approximately three days. To summarize, if the trained NF is used for sampling times from the posterior distribution, drawing samples each time, its average cost is hours. The model remains cheaper than the data-augmentation reference when is sufficiently large between training phases; our experiments indicate that is adequate, which is reasonable in applications where model parameters are updated daily. Since the generalization capabilities of the NF are limited by the training distribution of parameters and initial conditions, we anticipate that the offline training phase should be repeated in response to severe seasonal or distributional changes in the data.
We note that in certain contexts, such as biomedical applications, the offline training cost may be deemed secondary if the surrogate allows for accurate and rapid inference. In these instances, the Normalizing Flow can be valuable even before achieving a break-even point based on the computational time.
[21] Saporiti R. and Nobile F. Neural Galerkin Normalizing Flow for Transition Probability Density Functions of Diffusion Models. arXiv preprint arXiv:2603.18907, 2026
Thank you for the response. The rebuttal addresses my main concerns well. In particular, the added ablation against an unbounded Real NVP-based NGNF is helpful and gives convincing evidence that the bounded flow and boundary treatment matter in the low-volatility regime. I also appreciate the planned notation/domain clarifications, the softened claim about dimensionality, and the break-even discussion.
The lack of formal error analysis and the fully observed synthetic setting remain limitations, but I no longer see these as outweighing the contribution. I am updating my overall score from 4 to 5.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Rebuttal
We thank the reviewer for their time in reviewing our work. Below, we address the main concerns raised and present additional numerical results to support our methodology.
We have extended [21] in significant ways:
a)Our approach learns the TPDF associated with FP equations with inaccessible boundaries, whereas [21] assumed uniform ellipticity of the diffusion coefficient of the equation. To do this, we introduced a new class of bounded normalizing flows that are particularly suited to represent smooth densities on bounded domains.
b)We trained the NF parametrically w.r.t. the SDE parameters, while [21] parametrized it only w.r.t. the initial condition.
c)We have practically performed Bayesian inference with our surrogate model, quantifying its computational advantages.
We have elaborated more on point a) in the response to the first Question of Reviewer 96k8, where we reported an ablation study meant to stress the importance of modeling the volatility with a bounded NF rather than with the approach of [21].
A promising future application involves inference for the Rough-Heston model, which is used to model historical and implied volatilities [2]. In this application, many SDEs have inaccessible boundaries, threatening the applicability of [21]. Another relevant application could be the Wright-Fisher process, which is widely used in genetics to describe how allele frequencies evolve within a population of genes [3]. The use two boundaries associated with each component of the Wright-Fisher SDE further motivate using our truncated-Gaussian NF rather than the approach [21]. We leave these extensions to future work, as they may involve multiple unobserved components of the diffusion process, higher computational cost, and the lack of a tractable reference solution, which would be required to validate our method in high-dimensional settings.
We acknowledge that accuracy on OOD data is not guaranteed. However, in Appendix C.1.1 of our manuscript, we have shown the model's sensitivity to each parameter across various datasets and two observation time gaps: Δ=0.5,1. We expect these experiments to support a certain degree of robustness of the model. On the other hand, as mentioned in the limitations section of the paper, the performance of our model is not assured for extremely unlikely observations, especially those falling in the tail of the true distribution. The generalization capacity of the NF outside the training range, like that of many machine learning models, is limited. Nonetheless, the end user of the model, after analyzing the data, object of Bayesian inference, can decide whether to retrain the model or not.
We have not assessed the performance of the model on datasets that are not synthetic. However, in such cases, even having access to the true TPDF of the synthetic model would not necessarily improve the situation. One should statistically test whether there is evidence that the data used for inference aligns with the specified model. More considerations on OOD observations are presented in the next answer.
We thank the Referee for this question. We report hereafter a comparison between our approach (NGNF) and a data-driven conditional NF. We consider the Heston model (Section 6.1), and train the data-driven NF by generating, for various SDE parameters μ∼π~0 and initial data x0∼η, observations of the SDE. The SDE is discretized with the Euler-Maruyama (EM) scheme using a sufficiently small time step, retaining only the final value x at the time instant Δ. The NF is trained to minimize the negative log-likelihood. This approach is fully data-driven and not informed by the physics. For this reason, we expect that learning the causal dependency between the initial datum x0, the SDE parameter μ, and the TPDF evaluated at the point x would be more challenging than with Neural Galerkin schemes. We set up the data-driven conditional NF with the same training distributions, number of parameters, and neural network architecture as the NF trained with Neural Galerkin schemes. We train the data-driven NF with Adam and stop when its performance stabilizes. A disadvantage of the data-driven approach is that the optimization does not have a clear stopping rule, and one cannot always assess convergence confidently. To ensure a fair comparison with NGNF, we sequentially train the data-driven NF. We begin with a pretraining phase, using observations generated with Δ/(2p) for p=6,5,...,1. Once the last model is trained, we proceed to the training phase with observations recorded at time lag Δ. We expect this approach to help enforce causality between the initial datum and the resulting solution, ultimately resembling a Neural Galerkin scheme as n→∞. However, this sequential training incurs a significantly higher cost compared to direct training of the flow on observations spaced at a time gap of Δ. For our experiments, we set the target time lag as Δ=0.5. First, we generate 500 datasets with time-lag Δ=0.5, n+1=350, and parameter μ⋆ and report the mean and standard error of the relative error between the reference log-likelihood and the NF-based log-likelihood at μ⋆. Second, We draw a batch of 100 conditioning pairs x0∼η^, μ∼π^. For each pair, we compute the relative L2(Ω) error at time Δ between the reference TPDF and the NFs. In this test, we set η^ and π^ as
π^ is further restricted to the support of the parameters. We report our findings in Table R.2. The performance of NGNF and data-driven NF are statistically comparable when evaluated on trajectories generated by the true parameter μ⋆, with intersection between the 95% confidence intervals. However, when conditioning on parameters and initial data sampled from π^ and η^, the L2 error of data-driven NF is noticeably higher. This suggests that NGNF may perform better under OOD parameters and initial data. To support this, we perform two complementary experiments. First, we fix the parameter to μ⋆ and generate datasets with observations lying outside η. Second, we consider a parameter in a low density region of the training distribution and generate datasets in η. Specifically, we fix the parameter to μ⋆ and generate observation datasets from the Heston model, ensuring that the maximum of the observed log-asset falls outside the support of the log-asset component of the training distribution η. We consider three intervals for the maximum observed log-asset value and, for each interval, generate 500 trajectory datasets with maximum falling in that interval. Then, we consider the parameter μ⋆,⋆=[0.04,2.20,0.15,0.14,−0.36], which lies in a low-density region of the training distribution. Relative to the mean μ~0 and standard deviation σ~0 of the Gaussian training distribution π~0, the components of μ⋆,⋆ are given by
where ⊙ denotes componentwise multiplication. We use μ⋆,⋆ to generate 500 trajectories. For each batch of 500 trajectories we compute the mean and bootstrap standard error of the relative error between the reference log-likelihood and the NF-based log-likelihood. Table R.3 presents our findings. Although both methods degrade on OOD samples, the results indicate that NGNF performs better on the reported test. Another disadvantage of the data-driven method is that EM simulation may produce few samples in low-probability regions. In contrast, in principle, by choosing the sampling measure ν appropriately, Neural Galerkin schemes can prioritize training in difficult regions.
Table R.2.
Table R.3. Mean rel. log-likelihood err., with bootstrap std. err.
[21] Saporiti R. and Nobile F. Neural Galerkin Normalizing Flow for Transition Probability Density Functions of Diffusion Models. arXiv preprint arXiv:2603.18907, 2026
[2] Abi Jaber E., and El Euch O. (2019). Multifactor Approximation of Rough Volatility Models. SIAM Journal on Financial Mathematics, 10(2), 309-349.
[3] T. Huillet, On the Wright-Fisher diffusion and its relatives, J. Stat. Mech.: Theory Exp. 2007 (11) (2007) P11006.