Macrocanonical Generator Networks: data-efficient neural surrogates for amortized physics simulation
Niall Jeffrey, Benjamin Dan Wandelt
Sim2Sci @ NeurIPS 2026
TL;DR. Macrocanonical generator networks learn amortized surrogate simulators by matching multiscale statistics in expectation, enabling data-efficient downstream scientific simulation tasks from extremely small training sets.
Abstract. Many scientific simulations are computationally expensive, limiting their use in simulation-based inference, uncertainty quantification, and decision making. We introduce macrocanonical generator networks, a framework for learning fast, data-efficient neural surrogates for amortized simulation of stationary physical processes by matching multiscale statistics of a target process. Inspired by microcanonical maximum-entropy synthesis, which matches feature statistics per sample by inner-loop optimization, our approach instead trains a neural generator to satisfy the same constraints in expectation, preserving physically realistic sample-to-sample fluctuations. We prove that gradient-descent training induces preconditioned gradient-descent dynamics in sample space that inherit the symmetry-preservation properties of the microcanonical gradient descent of Bruna and Mallat, amortizing its per-sample inner-loop optimization into a single training run after which every sample is generated in one forward pass. We further show that residual generator parameterizations initialized near the identity, trained with a small learning rate, preserve entropy locally during early optimization and mitigate mode collapse. Experiments on cosmology and fluid simulations show that macrocanonical generators recover realistic samples from extremely small training sets, in some cases a single training example, while generating new realizations more than times faster per sample than the reference simulator and more than times faster than microcanonical gradient descent. The trained generators can be reused for downstream pretraining, including simulation-based inference, providing a data-efficient route to multi-fidelity scientific machine learning workflows.
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:44 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper presents a generative modeling approach as a PDE surrogate. Instead of more widely used generative approaches such as score-based formulations, the paper argues for a statistical "canonical" viewpoint. Specifically, it argues for a macro-canonical one that focuses on mean estimates, and uses a UNet under the hood for producing the samples.
The paper claims that this approach can represent complex distributions, and that it can learn with view examples. This is achieved by performing the training with data augmentation, a common approach in machine learning. The approach is demonstrated as a statistical surrogate for a specific and rather narrow set of applications: namely, sampling snapshots with the right statistics but without a temporal evolution. Both are clearly two non-trivial, and involve non-standard SBI cases, but show gains for the proposed method.
The reviews acknowledge interesting aspects of the work: the targeted small data regime, the statistical viewpoint and convincing motivation, and the supporting experiments.
At the same time, the final evaluations are mixed, and identify several issues with the paper:
- missing argumentation regarding the central claim for requiring fewer samples
- a clear lack of baselines from learned and classic alternatives (GAN, DDPM/FM, etc.)
- a lack of variations in terms of training scenarios
- missing ablations to evaluate robustness
- plus inherent limitations in the scenario (periodic & stationary)
Rebuttal summary: Overall, the numeric averagae for this paper is positive, but I would agree that in its current form the evaluation in terms of baselines is not on a level expected for NeurIPS papers. However, I think there is potential for addressing these concerns during the rebuttal phase.
Final justification
During the rebuttal, the authors have clarified several of the open points, and, importantly, expanded their comparisons to established, learned baselines. The resulting evaluations for varying data scarcity regimes are interesting to see, and confirm that the method fares well for scarce data. A remaining issue that remains is the (partially) unclear/colloquial and non-trivial theory, as remarked and criticized by the most knowledgeable reviewer in the team.
Thus overall, the authors have largely addressed the raised concerns and demonstrated their ability to clarify the theory. Contingent on including these results in the final paper and on extending their effort to formulate the theoretical clarifications less colloquially, I recommend this submission for acceptance.
Read meta-review
Meta-review
This paper presents a generative modeling approach as a PDE surrogate. Instead of more widely used generative approaches such as score-based formulations, the paper argues for a statistical "canonical" viewpoint. Specifically, it argues for a macro-canonical one that focuses on mean estimates, and uses a UNet under the hood for producing the samples.
The paper claims that this approach can represent complex distributions, and that it can learn with view examples. This is achieved by performing the training with data augmentation, a common approach in machine learning. The approach is demonstrated as a statistical surrogate for a specific and rather narrow set of applications: namely, sampling snapshots with the right statistics but without a temporal evolution. Both are clearly two non-trivial, and involve non-standard SBI cases, but show gains for the proposed method.
The reviews acknowledge interesting aspects of the work: the targeted small data regime, the statistical viewpoint and convincing motivation, and the supporting experiments.
At the same time, the final evaluations are mixed, and identify several issues with the paper:
- missing argumentation regarding the central claim for requiring fewer samples
- a clear lack of baselines from learned and classic alternatives (GAN, DDPM/FM, etc.)
- a lack of variations in terms of training scenarios
- missing ablations to evaluate robustness
- plus inherent limitations in the scenario (periodic & stationary)
Rebuttal summary: Overall, the numeric averagae for this paper is positive, but I would agree that in its current form the evaluation in terms of baselines is not on a level expected for NeurIPS papers. However, I think there is potential for addressing these concerns during the rebuttal phase.
Final justification
During the rebuttal, the authors have clarified several of the open points, and, importantly, expanded their comparisons to established, learned baselines. The resulting evaluations for varying data scarcity regimes are interesting to see, and confirm that the method fares well for scarce data. A remaining issue that remains is the (partially) unclear/colloquial and non-trivial theory, as remarked and criticized by the most knowledgeable reviewer in the team.
Thus overall, the authors have largely addressed the raised concerns and demonstrated their ability to clarify the theory. Contingent on including these results in the final paper and on extending their effort to formulate the theoretical clarifications less colloquially, I recommend this submission for acceptance.
1 comment
- Rating
- 3/6
- Confidence
- 3/5
- Quality
- 2/4
- Clarity
- 1/4
- Significance
- 2/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The authors propose to learn models that cannot directly predict quantities of interests but match quantities of interest in expectation. The authors claim that in this formulation one can naturally use symmetries to learn from few data points only.
Strengths and weaknesses
The paper addresses an important bottleneck of neural surrogate models, namely learning in case of very few data points. Focusing on statistics rather than point-wise fits in turbulence (MHD equation considered in the paper) is reasonable and well motivated.
I have several concerns with this work: First, it remains unclear why this approach would require fewer training samples. The authors state symmetry in several places but there is no clear statement in the main text of the paper that makes this precise. Since this is stated as a main contribution of this work, this needs to be addressed clearly.
Second, the training setup is prone to collapsing to a point because a solution of the training loss (7) would be a constant F(x) = \phi^*. The authors discuss in Section 4 that the initialization is not collapsed but it is not discussed that during training no collapse can happen.
Third, the numerical experiments are limited. There is no comparison to standard baselines (diffusion models, GANs, conditional flow matching, neural operators) even though the authors mention some of them in Table 1 as possible competitors.
I am also concerned that the theorems and corollaries are fuzzy explanations rather than rigorous statements. They mostly use words instead of mathematical definitions and mathematical statements. Corollary 2 includes the argument in the Corollary formulation itself and is imprecise ("mirroring the symmetry-preservation property" - what does "mirroring" mean mathematically?). Minor: Objective \tilde{L} in Theorem 1 is undefined
Questions
- How is this work related to moment matching, of which there is a big literature in both machine learning and computational fluid dynamics?
- In Theorem 1, what does it mean to consider the case "for a fixed input sample x"? The paper is about taking the expectation over x rather than point-wise training, so looking at this loss for a fixed x seems to contract the main message of the paper
- Regarding Section 4, why would the network not collapse in this case? The Jacobian being close to the identity comes from the fact that the initial network is the identity map, but the optimization clearly needs to deviate from the identity map and on the way can collapse the generator. There is no mechanism in the training that prevents this.
Limitations
Some limitations are discussed in Section 6.
Final justification
The authors addressed my concerns about the baselines and training dynamics.
Formatting concerns
None
4 comments
Rebuttal
Thank you very much for the time and effort you put into this detailed review. We respond to each point below. The new results will be included in the revised version.
it remains unclear why this approach would require fewer training samples. The authors state symmetry in several places but there is no clear statement in the main text of the paper that makes this precise.
We agree that this needs to be a precise, self-contained statement rather than one sentence of motivation. The argument is already stated in the Introduction. A stationary field with d pixels provides O(d) translated copies of local structure, which is why shift-invariant statistics such as WPH moments are estimable from one large field (Bruna and Mallat [1]). We will add a short proposition to Section 2. For a stationary process and a shift-invariant feature computed by spatial averaging, the single-realization estimator of phi* averages O(d) translated patches. Its variance is controlled by the spatial decorrelation of the features. This is the concentration property Bruna and Mallat prove. We will state and cite it rather than re-prove it.
the training setup is prone to collapsing to a point because a solution of the training loss (7) would be a constant F(x) = phi* [...] why would the network not collapse in this case? [...] There is no mechanism in the training that prevents this.
The reviewer is correct that collapsed solutions exist. We should be more precise here. Whenever phi(y*) = phi*, the mapping F_theta(x) = y* for all x attains exactly zero training loss. This failure mode is therefore a genuine global minimizer of the objective, not merely a local trap. We will add that precise statement to Section 4. Collapse to a near-constant mapping F(x) ~ c for every input is also the main risk identified in Section 4. Preventing it is one of our stated contributions and the subject of the ablation in Fig. 3.
Our claim is necessarily dynamical. It is not a claim that the loss landscape has no bad minima. Theorem 1 shows that, at a small learning rate, gradient descent on our loss induces a preconditioned version of the sample-space descent used in microcanonical synthesis, in which each sample is transported from its own noise draw -- the mechanism that protects microcanonical synthesis from collapse. The residual architecture and identity initialization are designed to keep training in that regime instead of jumping to the collapsed solution, and empirically the paper's configuration preserves diversity through the end of training. A learning-rate sweep matches this prediction. At the paper's eta = 10^-4, diversity is preserved and the constraints are reached. At eta = 10^-2, the map leaves the neighbourhood of the identity within about 20 iterations, and the constraint error is 1.7x worse. At the paper's full setting, the generator matches held-out per-coefficient variance (Fig. 4, mean KS p = 0.52). A run at the paper's 128x128 Quijote resolution, trained on a single field, also reproduces the held-out per-coefficient scatter (ratio 1.14, against 1.05 for held-out fields scored against themselves).
There is no comparison to standard baselines (diffusion models, GANs, conditional flow matching, neural operators)
We have now run this comparison on identical training sets. Our method uses no augmentation at N = 1. Augmentation below is applied only to the baselines, to give them the best chance we could. At N = 1, both learned baselines strongly memorize the available field. This is consistent with fitting the empirical data distribution, which for a single training field concentrates on that field; translation augmentation only spreads it over the orbit of its shifts. Our method matches a moment vector that one stationary field already determines [1].
All methods are trained on one 64x64 MHD field and scored against 100 held-out fields. The paper uses 128x128 fields. We reduced the resolution so that this many methods and settings could be run within the response period. NN ratio is the distance of a sample to the training field relative to the same quantity for held-out simulations. Values much less than 1 mean memorization. WPH distance alone is not a good check because a memorized copy of a real field scores well on it.
| method (N = 1) | NN ratio | ms/sample | outcome |
|---|---|---|---|
| ours | 0.89 | 0.9 | new fields |
| microcanonical synthesis | 0.87 | 9200 | statistics pinned (no fluctuations) |
| WGAN-GP | 0.010 | 0.09 | memorizes training field |
| WGAN-GP + translation aug | 0.24 | 0.10 | memorizes shifts of it |
| flow matching | 0.054 | 36 | memorizes training field |
WGAN-GP and flow-matching samples are 20-100x closer to the training image than genuine new realizations. Ours produces non-memorized fields at 0.9 ms/sample, consistent with the transport picture of Theorem 1. The table does not yet include a DDPM. We could not tune a diffusion baseline we trust within the response period, and prefer not to present an untuned run as a comparison; we are finalizing one and will post it during the discussion period. Diffusion models generalize only above a threshold dataset size, below which they reproduce their training data [2]; on that basis we expect memorization at N = 1 and 10, the regime where our method produces new fields, and we will report the result either way.
At N = 10 and 100, our KS mean-p (0.27, 0.31, with held-out values of 0.47, 0.50) and NN ratio (0.98, 0.99, with held-out values of 0.96, 1.01) both approach the held-out level. The full sweep is in our response to Xbuw. The baselines improve as more independent fields become available. WGAN-GP's NN ratio is 0.010, 0.33, and 0.84 across N = 1, 10, and 100. Flow matching's is 0.054, 0.24, and 0.66. By N = 100, WGAN-GP also matches our mean-feature error (0.058 against our 0.086, with a held-out value of 0.037). This is the expected signature of data efficiency: the advantage appears where fields are scarce, the case that matters when each field is expensive to generate.
On neural operators: they emulate the dynamics of a system, mapping initial or boundary conditions to the PDE solution. We target no time evolution here; we generate new equal-time snapshots with the right statistics. A head-to-head comparison would say little about either method. We will state this in the introduction rather than listing them as competitors.
the theorems and corollaries are fuzzy explanations rather than rigorous statements. [...] Corollary 2 [...] is imprecise ("mirroring the symmetry-preservation property" - what does "mirroring" mean mathematically?) Minor: Objective \tilde{L} in Theorem 1 is undefined
We will revise both to make them clearer. The objective will be defined explicitly in the statement of Theorem 1 as tilde-L_x'(y) = <phi(y), m(theta) - phi*>, with m(theta) the mean feature vector. This simply names the gradient already given in the submitted theorem. Corollary 2 will be restated as three properties already proved in Appendix B. First, the per-sample gradient is equivariant. Second, the kernel intertwines translations, K(gx, gx') = g K(x, x') g^{-1}. Third, the one-step update map commutes with translations. The marginal law of y^(t) is stationary for every t. "Mirroring" will be replaced by the third property. This is the guarantee Bruna and Mallat prove for microcanonical descent (Theorem 3.4 of [1]), transferred to the generator.
How is this work related to moment matching, of which there is a big literature in both machine learning and computational fluid dynamics?
We agree that the related-work picture should be broader. The introduction already relates our approach to Generative Moment Matching Networks (GMMN), the closest prior moment-matching method. We will expand it to include MMD-GAN, the method of simulated moments in econometrics, and turbulence closures. The latter constrain low-order ensemble statistics in a related but distinct way. GMMN and MMD-GAN match mean embeddings of the data distribution from many observations, as does the method of simulated moments for parametric models. We instead match a fixed, physically motivated multiscale moment vector estimable from a single stationary realization. We also learn a one-pass amortized sampler rather than fitting an implicit density.
In Theorem 1, what does it mean to consider the case "for a fixed input sample x"? [...] looking at this loss for a fixed x seems to contract the main message of the paper
The theorem does not train on a single input. The parameter update uses the full macrocanonical objective, with the expectation over x' inside the update. It describes the motion of the output y(x) at an arbitrary probe x. Because all outputs share the parameters, one update moves every sample, and K(x, x') says how the constraint residual at other inputs drives y(x). We will add a remark to this effect immediately after the theorem.
On originality: to our knowledge, this is the first amortization of microcanonical synthesis into a one-pass generator that inherits its symmetry-preservation guarantee. It is also the first demonstration that moment-matched generators preserve per-realization fluctuations rather than pinning them. This property is needed for SBI (Section 5).
We will post the DDPM results during the discussion period, together with the full table of metrics for all methods if that would be useful.
Thank you again for the detailed and careful review. We hope these clarifications and new results address the concerns, and we are glad to discuss any remaining points.
References:
[1] Bruna and Mallat, "Multiscale sparse microcanonical models," Mathematical Statistics and Learning, 2018.
[2] Favero et al., "How compositional generalization and creativity improve as diffusion models are trained," ICML 2025.
Completing the baselines table: DDPM results
As promised, we have now run the DDPM baseline. It is trained and scored in exactly the same way as the other methods: the same training fields at each N, the same 64x64 resolution, and the same 100 held-out fields for scoring. The model is a standard diffusion U-Net (5.3M parameters) with the same periodic padding as every other method, trained for 20,000 iterations. One detail matters for reproducibility: during sampling we keep the model's intermediate estimates of the field within the range of the training data. Without this common safeguard the sampler is numerically unstable on these fields. We are happy to post the full configuration if useful.
NN ratio and mean-feature error are as defined in our rebuttal above. KS mean-p measures whether the sample-to-sample spread of each statistic matches the held-out simulations: near 0.5 when it does, near 0 when it does not (full definition in our response to Reviewer Xbuw). Held-out simulations scored against themselves are in parentheses, as before.
| N | NN ratio | mean-feature error | KS mean-p | ms/sample |
|---|---|---|---|---|
| 1 | 0.32 (1.00) | 0.16 (0.053) | 0.015 (0.54) | 107 |
| 10 | 0.58 (0.96) | 0.16 (0.056) | 0.007 (0.47) | 94 |
| 100 | 0.86 (1.01) | 0.14 (0.037) | 0.007 (0.50) | 94 |
The result is clear: the DDPM memorizes when training data are scarce. At N = 1 its samples sit three times closer to the single training field than genuine new realizations do (NN ratio 0.32; ours is 0.89). Memorization is still evident at N = 10 (0.58) and fades only by N = 100 (0.86). This is the pattern expected from the dataset-size threshold in [2], and it appears exactly in the regime that motivates the paper: where simulations are scarce, the DDPM reproduces its training data and our method produces new realizations.
Even at N = 100, the DDPM does not match the simulations. Its mean-feature error is four times the held-out level (0.14 against 0.037), its samples vary too little from one another (spread about 0.3 of the held-out level, against 0.5-0.75 for ours), and the sample-to-sample distribution of its statistics does not match (KS mean-p 0.007 against 0.50). It is also a hundred times slower to sample (about 100 ms against 0.9 ms per field).
This completes the baseline comparison requested in the meta-review: WGAN-GP, flow matching, DDPM, and microcanonical synthesis, all on identical training data. At N = 1, ours remains the only learned method that produces non-memorized fields. The DDPM numbers come from a single training run; we are glad to add repeat runs, the full table of metrics for all methods, or any further detail before the discussion closes.
I want to thank the authors for the rebuttal and for providing new experiments as well as the explanation about the possible collapse of the training procedure.
The other concern was mostly about the theory, which is presented in a rather colloquial manner in the submitted version. But I want to note that it seems the other reviewers did not have issues with this. The authors discussed several modifications in their comments, even though it is not clear during a rebuttal period how the exact theorems and statements will look like in a final version of the paper. Still, I will raise my score to 3.
Final statements of Theorem 1, Corollary 2, and the collapse discussion
Thank you for the reply and for updating your score. Your remaining concern was that the exact final statements cannot be inspected during the rebuttal period, so we quote them here. What has and has not changed: the update equation, the kernel, and the gradient are unchanged from the submission; the revisions define each object in the statement and make the first-order approximation explicit.
Theorem 1 (Generator training induces preconditioned gradient descent). Assume (i) the generator is twice continuously differentiable with respect to its parameters , (ii) the feature map is differentiable with respect to its input, (iii) the learning rate is sufficiently small that the second-order remainder below is negligible relative to the first-order term, and (iv) the required expectations and derivatives exist and differentiation may be interchanged with expectation.
Let denote the macrocanonical objective, and write for the mean feature vector, so that . For each input , define the per-sample objective
.
Then, for a fixed input sample , the corresponding change in the generated sample satisfies, to first order in the parameter update,
,
where , the omitted remainder is by assumption (i), with , and .
Thus generator training induces a preconditioned gradient descent in sample space, governed by the kernel .
A remark after the theorem answers the fixed- question: the parameter update uses the full macrocanonical objective, with the expectation over inside; the theorem then gives the change in at any input . Because outputs share , one step changes at every input.
Corollary 2 (Symmetry inheritance and amortization of microcanonical synthesis). Assume the conditions of Theorem 1, let be the group of periodic grid translations acting by permutation matrices , and assume is shift-invariant, is translation-equivariant, and is stationary. Then for every and all inputs : (i) ; (ii) ; (iii) the one-step update map of Theorem 1 commutes with translations, and the marginal law of is stationary for every . These are the properties proved in Appendix B of the submission, now stated directly; stationarity holds exactly for every parameter value by Corollary 1, and the trained generator inherits the stationarity-preservation guarantee of property (iii).
Collapsed minimizers (Section 4). Avoiding collapse to a constant mapping is one of our stated contributions (Section 4; Fig. 3 shows the collapse when each inductive bias is removed). The final text adds the sentence the submission left implicit: "If the fixed output satisfies the constraints, , that is, is a microcanonical solution, the constant mapping attains zero training loss, so the global minimizers of the objective include Dirac push-forwards." The anti-collapse claim is therefore dynamical, as in our rebuttal, and the learning-rate experiments confirm it at the paper's setting.
Data efficiency (Proposition 1, Section 2). The proposition makes precise the concentration argument of Bruna and Mallat, cited in our Introduction: for spatially averaged shift-invariant features of a stationary field with sites, the single-realization estimator of has variance under summable feature correlations, and independent realizations give , weakest at the coarsest wavelet scales. The results at behave as the proposition predicts.
The final version also states what we do not claim: no general no-collapse guarantee, and no convergence guarantee to the maximum-entropy distribution. What training does induce is a kernel-preconditioned form of the per-sample gradient descent used in microcanonical synthesis (Theorem 1); at a low learning rate this transport preserves the variability of the samples, and the guarantee that transfers exactly is the symmetry preservation of Corollary 2. Thank you again for the careful review.
- Rating
- 5/6
- Confidence
- 2/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work introduces macrocanonical generator networks, a method for obtaining fast neural surrogate simulators for stationary physical processes by matching statistics in expectation rather than per sample. The paper presents theoretical contributions that validate the choice of the network to start as a near-identity transformation and gradually learn, which prevents it from collapsing to a single repetitive output during training. Together, these two design choices allow the (amortized) generator to produce diverse, physically realistic samples from very little data. The method is tested on real-world datasets: MHD turbulence and Quijote cosmological field.
Strengths and weaknesses
Strengths
The core idea is simple, principled, and well-motivated. The paper is nicely written, and it can be easily understood. I am personally not very familiar with the field, but I could follow easily. Theorem 1 connecting generator training to preconditioned gradient descent in sample space is complete, and allows to understand the strength of the method in comparison with microcanonical synthesis. The entropy analysis, showing why identity-initialized residual generators with low learning rates resist mode collapse, directly motivates the architectural choices. Overall, theory and practical choices are well-coupled here.
The experiment supports the arguments. All four main claims are well supported. The extreme data limit claim holds because the generator can be trained on a low number of snapshots. Per-realization variability is supported quantitatively by Figure 4. Wall-clock feasibility is backed by concrete numbers in Appendix D. The cold-start inference claim is the most compelling and is shown in Figure 2, which shows that a model trained from scratch never beats the empirical prior at any sample size, while the macrocanonical-pretrained model improves when seeing few real images.
Weaknesses
Hard assumptions. The method is explicitly restricted to periodic, stationary fields. This is a significant limitation: most real-world scientific targets (non-periodic atmospheric fields, or irregular-domain fluid simulations) violate it. The proposed mitigation pretraining on stationary processes, then fine-tuning, is speculative and unsupported by experiments (but it could be at least for a small experiment). In would also be interesting to have an analysis of what happens as the process deviates from stationarity. Given that generalizability is one of the implicit selling points, this feels thin.
No convergence guarantee to the maximum-entropy distribution. The authors acknowledge this openly, but the entropy preservation argument in Section 4 is local and early-training only, and it says nothing about the distribution the generator converges to at the end of training.
Questions
-
Theorem 1 relies on a small-learning-rate linearization of the generator. Can the authors provide empirical evidence? For example, tracking the Frobenius norm of the Jacobian during training.
-
The framework is restricted to stationary processes with periodic boundary conditions. Could the circular padding be relaxed to handle non-periodic domains? Does Corollary 1 still hold approximately near boundaries?
-
The macrocanonical loss matches WPH statistics in expectation over the input distribution p0. How sensitive are the results to the choice of p0?
Limitations
yes
Final justification
I am prone to accept the paper. The paper presents a simple and principled method, with a strong connection between its theoretical analysis and practical design choices, and the experiments support its main claims regarding data efficiency, diversity, computational feasibility, and cold-start adaptation (see my review + rebuttal response).
The rebuttal addressed my questions and clarified the scope of the claims. The additional learning-rate diagnostics provide useful, although indirect, empirical evidence for the small-update regime underlying Theorem 1. The prior-distribution ablation, while limited to one reduced-resolution setting, suggests that stability and sample diversity are relatively robust to the tested choice of stationary prior, with spectrum matching appearing beneficial for the highest-order statistic considered. The authors also clarified that equivariance may hold approximately only away from non-periodic boundaries, and they explicitly acknowledged that the entropy-preservation argument is local and does not imply convergence to a maximum-entropy distribution. They claim to make these changes in the paper.
The restrictions to stationary and periodic fields remain important limitations, and the extension to non-stationary settings is not yet demonstrated. However, these limitations define the current scope of the method rather than invalidating its contributions within that scope, in my opinion.
My confidence remains low, since I am not an expert in all aspects of the related works. Given that in mind, I find the authors’ responses convincing anyway and continue to support acceptance, provided the promised experiments and clarifications are included in the revision.
Formatting concerns
No Paper Formatting Concerns
3 comments
Rebuttal
Thank you very much for your time and for the careful reading of the theory.
Theorem 1 relies on a small-learning-rate linearization of the generator. Can the authors provide empirical evidence? For example, tracking the Frobenius norm of the Jacobian during training.
We ran this for eta in {10^-5, 10^-4, 10^-3, 10^-2}, tracking two quantities. The first is the per-step relative output change on a fixed probe, which directly checks the linearization in Theorem 1. The linearization is in the parameters, so its validity means that each update moves the outputs only slightly. The second is how far the input Jacobian is from the identity, which tracks the volume-preservation argument in Section 4. Both grow with eta. At the paper's eta = 10^-4, the median per-step change is 0.085, and the input-Jacobian deviation grows from 0 to 0.63. At eta = 10^-2, training leaves this regime within about 20 iterations (input-Jacobian deviation above 200). That is also the learning rate at which Fig. 3 shows collapse. Intermediate rates lie in between (median per-step change 0.03 / 0.085 / 0.14 / 0.46). These results will go in the revised version. We will also look into tracking the Frobenius norm of the Jacobian itself alongside these measurements, and can post what we find during the discussion period if that would be useful.
Could the circular padding be relaxed to handle non-periodic domains? Does Corollary 1 still hold approximately near boundaries?
Yes, in the interior. We will add this to the limitations section. Training on periodic domains and evaluating interior crops preserves equivariance outside a receptive-field-width band at the boundary. With reflection or zero padding, exact equivariance is lost. The generator remains approximately equivariant away from the boundary, so Corollary 1 holds approximately in the interior. The zero-padding ablation in Fig. 3 shows the cost of losing exact equivariance: Corollary 1 no longer guarantees stationarity, and boundary-correlated structure appears. A full non-periodic extension is future work.
The macrocanonical loss matches WPH statistics in expectation over the input distribution p0. How sensitive are the results to the choice of p0?
In response to this question, we compared the paper's spectrum-matched stationary Gaussian against white noise of the same variance during the rebuttal preparation period (N = 100, at a reduced 64x64 MHD resolution so the comparison could be run in time). We ran the comparison twice, at 1000 and 1200 iterations. Training is stable either way, and sample variability is unaffected. Per-pixel diversity is 1.02 against 1.06 for the simulator, mean pairwise sample distance is 0.99 against 1.02, and per-coefficient scatter is 0.66 against 0.67 and equal scale by scale.
The one consistent penalty is in the highest-order statistic we measure. Held-out peak-count error is 1.84 and 3.56 with white noise, against 0.43 in both matched runs. Most other held-out statistics are insensitive to p0. White noise is slightly better on the power spectrum (relative error 0.12 vs 0.19) and the pixel marginal (KS distance 0.12 vs 0.13). The mean-feature error is within run-to-run variation. It is 0.18 for white against 0.13 for matched in one run, and 0.13 against 0.17 in the other.
Stationarity of p0 is what Corollary 1 requires, and in this test stability and diversity hold either way. We would not conclude from one system at one resolution that the choice of p0 is unimportant. Matching the second-order structure lets the generator put its capacity into higher-order structure instead of building the correlations itself, and we expect the gap to widen for steeper spectra, larger fields, or tighter budgets. The paper's spectrum-matched prior remains our recommendation.
The method is explicitly restricted to periodic, stationary fields. [...] The proposed mitigation pretraining on stationary processes, then fine-tuning, is speculative and unsupported by experiments [...] It would also be interesting to have an analysis of what happens as the process deviates from stationarity.
We agree that the pretrain-then-finetune suggestion in the submission was speculative. We will mark it as untested in the revised version. On the assumption itself: stationarity is the condition that defines where the method applies, and we will state it as such. It covers a large class of scientific targets, including homogeneous turbulence, cosmological fields, materials microstructure, and atmospheric and oceanic fields within homogeneous layers. Within that class, the method needs one field where a distribution-fitting model needs many. A graded test away from stationarity is a good suggestion. If the reviewer thinks it would settle the point, we will run a small version during the discussion period using fields modulated by a smooth envelope of growing amplitude.
the entropy preservation argument in Section 4 is local and early-training only, and it says nothing about the distribution the generator converges to at the end of training.
This is correct, and the revised text will state it clearly. It is the same limit as in microcanonical synthesis: what Bruna and Mallat prove there is symmetry preservation of the descent dynamics, not maximum entropy of the limiting distribution. Theorem 1 and Corollary 2 together transfer exactly that guarantee to the amortized setting. Empirically, at eta = 10^-4, batch diversity stays at the input level through the end of training. On a preliminary third system (2D decaying-turbulence vorticity, N = 1), the end-of-training per-coefficient scatter ratio against held-out simulations is 1.09. At the paper's full setting, the MHD runs match held-out variance (Fig. 4).
Thank you again for the careful reading of the theory and the constructive suggestions. We are glad to provide any further detail during the discussion period.
Response
Thank you for the detailed rebuttal and the additional experiments. The new learning-rate diagnostics, the comparison of priors, and the clarifications regarding boundary effects, stationarity, and the scope of the entropy-preservation argument address my main concerns. I encourage the authors to include these results and limitations clearly in the revision. I maintain my initial recommendation to accept.
Thank you for the reply and for maintaining your recommendation. The revision includes the new results and states the limitations explicitly: the scope of the entropy-preservation argument (local and early-training, with end-of-training diversity supported empirically), the boundary-condition discussion, the stationarity scope, and the comparison. Thank you again for the careful reading of the theory.
- Rating
- 5/6
- Confidence
- 1/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
The manuscript reports the development of macrocanonical generator networks, a new framework for low-cost simulations of stationary physical processes. Inspired by the work of Bruna and Mallat on the microcanonical maximum-entropy sampling, the authors developed this new method in which a neural generator is trained with a small dataset (even a single example) and produces samples whose statistics is compared against the expectation value of the target process, rather than its exact statistics. This has the advantages of taking into account fluctuations (as in real physical processes) and allowing one-pass generation after training. The authors claim that the development of this new framework is suitable especially in the case where a high number of simulations is required and low amount of data is available, sensibly speeding-up simulation of stationary physical processes. In this sense, this work could represent a missing piece in such simulations, lying between microcanonical and neural generators.
Strengths and weaknesses
The paper is well structured, the authors convincingly report the motivations of their work (also in light of the existing methods) and its theoretical basis, with a mathematical analysis that supports it. The idea is convincing, and opens the path to a possible innovative way of simulating stationary physical processes. However, there is some confusion when it comes to the experimental part: first of all, a short intuitive description of the physical systems they use for the simulation and its relevance could be added, to better introduce the reader and let them know about the importance of the system(s) under study (for example, regarding the cosmological dark-energy in Section 5). Relative questions are reported in the "Questions" section. Also, the authors could give more insights on the applicability of the methodology, in order to add appeal for its use as a physical systems simulator in different cases.
Questions
Regarding the experimental part:
- the "single dataset training" idea is interesting, but could also be misleading to some extent. To shed light on this aspect, could the authors show the effect of different size training dataset (including also the single one) on the results?
- extended ablation studies could help in better understanding the potential of the proposed method. For example, could the authors show what the effect of different learning rates (and not only on/off, as currently reported) is? This would be nice to prove that the theoretical statement that "sufficiently low learning rates are needed" is also confirmed by the experiments. This also applies to the residual generators initialization near the identity
- could the authors also report the results with other simulators, if possible? For example, they may think of simulating a system which is also treatable with the microcanonical generator, which should in principle bring to the same results but with difference in the required time. I think this could be a more convincing way of proving the quaity of the proposed method.
Additionally, could the authors explain what they mean by multiscale statistics? In the reported experiments, I don't see a time domain that would let me define the simulation as multiscale. This could be an oversight on my part, but nevertheless, it would be good to better explain this term, which could be ambiguous to some extent.
Limitations
yes
Final justification
The authors performed additional ablation studies and complementary experiments which satisfactorily answer to the raised questions.
Formatting concerns
In the caption of Figure 2 there are references to letters a,b,c, and d, but these are not reported in the Figure itself.
3 comments
Rebuttal
Thank you very much for your time and the constructive review. We answer each question with new experiments, which will be included in the revised version.
could the authors show the effect of different size training dataset (including also the single one) on the results?
During the rebuttal preparation period, we ran our generator at N in {1, 10, 100} on identical 64x64 MHD training sets and scored it against 100 held-out fields. The paper uses 128x128 fields; we reduced the resolution so that all four methods and both sweeps below could be run in the time available. Numbers in parentheses are held-out simulations scored against themselves, which is the level a faithful surrogate should reach. KS mean-p is the mean, over WPH coefficients, of the two-sample Kolmogorov-Smirnov p-value comparing the generated and held-out distributions of that coefficient: near 0.5 when the per-realization distributions match, near 0 when scatter is missing or shifted. An NN ratio much less than 1 would mean memorization.
| N | WPH dist | KS mean-p | NN ratio |
|---|---|---|---|
| 1 | 0.20 (0.053) | 0.08 (0.54) | 0.89 (1.00) |
| 10 | 0.075 (0.056) | 0.27 (0.47) | 0.98 (0.96) |
| 100 | 0.086 (0.037) | 0.31 (0.50) | 0.99 (1.01) |
From N = 1 to N = 10, the mean-feature error falls towards the held-out level, and the KS mean-p rises from 0.08 to 0.27. It then saturates by N = 100. This agrees with the Bruna-Mallat argument we will add to Section 2 (see our response to Reviewer BPzG). Field size and the number of realizations play a similar role. Already at N = 1, the generator produces new fields (NN 0.89). The N = 1 row is limited by field size rather than by the training budget or the method. Increasing the budget from 1500 to 5000 iterations at 64x64 changes nothing (WPH 0.201 vs 0.203, NN 0.89 vs 0.87). In contrast, the same single-field protocol at the paper's 128x128 Quijote resolution gives per-coefficient scatter 1.14 (held-out 1.05), NN ratio 1.00, and pixel-marginal KS distance 0.015 (held-out 0.014). That is the regime Theorem 1 describes. The residual architecture, identity initialization, and small learning rate keep the induced sample-space dynamics close to the per-sample transport of microcanonical descent, which starts each output from an independent input realization. On the same single training field, WGAN-GP and flow matching memorize. The full comparison is in our response to Reviewer BPzG.
could the authors show what the effect of different learning rates (and not only on/off, as currently reported) is? [...] This also applies to the residual generators initialization near the identity
We ran eta in {10^-5, 10^-4, 10^-3, 10^-2} with everything else fixed. We tracked sample diversity, per-step output change, and how far the input Jacobian is from the identity. Median per-step relative change grows as 0.03, 0.085, 0.14, and 0.46. At eta = 10^-2, the map leaves the neighbourhood of the identity within about 20 iterations. It ends with 1.7x worse constraint error than eta = 10^-3. At the paper's 10^-4, diversity stays at the input level.
For the residual initialization, the corresponding control is the standard deviation sigma of the initial weights. The paper uses N(0, 10^-4), and we swept sigma over {10^-5, 10^-4, 10^-3, 10^-2, 3 x 10^-2, 10^-1}. Sigma controls how far the generator starts from the identity. Measured on the training inputs, ||F(x) - x|| / ||x|| at initialization is below 10^-11 at sigma = 10^-5 and 5 x 10^-5 at the paper's setting. The subsequent values are 0.046, 0.44, 1.3, and 4.5. The sweep therefore runs from the identity to a map that is nothing like it.
Training reaches the constraints from all six starting points. The mean loss over the final 50 iterations ranges from 0.36 to 0.85, against batch-to-batch scatter of 0.23-0.38 within each run. The largest sigma is the worst. Sample diversity ends between 0.90 and 0.97 of the input's. What changes is where training ends up. The input-Jacobian deviation grows from 0.6-0.9 for sigma <= 10^-3 to 2.1, 4.9, and 11.1 at sigma = 10^-2, 3 x 10^-2, and 10^-1. A larger initialization therefore leaves the trained map further from a perturbation of the identity. Diversity slips at the top end.
This complements the ablation already in Fig. 3 rather than repeating it. There, we delete the residual shortcut altogether, and the transport collapses. With the shortcut in place, the input still reaches the output even from a poor initialization. This is why the initialization scale has a wide margin around the paper's value. Eta remains the setting that decides whether training stays in the regime Theorem 1 describes. We will state this distinction explicitly in Section 4.
could the authors also report the results with other simulators, if possible? For example, they may think of simulating a system which is also treatable with the microcanonical generator, which should in principle bring to the same results but with difference in the required time.
That comparison, with the same system treated both ways, is what we ran on MHD. Microcanonical synthesis costs 9.2 s/sample. Our trained generator costs 0.9 ms/sample, about 10^4x less. Mean statistics agree. The distributions differ, though. Microcanonical synthesis pins phi = phi* per sample and collapses across-sample spread (scatter ratio 0.09). Ours retains it, matching the paper's full setting in Fig. 4.
We also ran a preliminary test on a third system. It uses 2D decaying-turbulence vorticity from an independent pseudo-spectral solver, distinct from both paper benchmarks. We report it as supporting evidence, not as a new paper benchmark. The model was trained on one realization and scored against 100 held-out solver runs. Some coefficient marginals remain off (KS mean-p 0.20 vs 0.54). With held-out versus held-out values in parentheses, pixel-marginal KS is 0.0066 (0.0075), peak-count error is 0.064 (0.047), nearest-neighbour ratio is 0.99, and the power spectrum is within 19% RMS over the energy-carrying band (4%). The residual spectrum error is in the coarsest bin, where a single-field target is itself noisy.
the authors could give more insights on the applicability of the methodology, in order to add appeal for its use as a physical systems simulator in different cases.
The requirement is stationarity. This includes small-scale turbulence, cosmological fields, materials microstructure, quantum field configurations, atmospheric and ocean properties, and many more. The vorticity test above is a first check of transfer without retuning. Section 5 shows the intended use, which is pretraining for SBI. If a specific further test would be more convincing than the evidence above, we can run it during the discussion period and post the numbers.
could the authors explain what they mean by multiscale statistics? In the reported experiments, I don't see a time domain that would let me define the simulation as multiscale.
Thank you. This was ambiguous. "Multiscale" refers to spatial scales, not temporal ones: the statistics capture structure and correlations across a hierarchy of spatial length scales, which the wavelet transform indexes by octave and orientation. All signals are equal-time snapshots. We will state this in the introduction.
a short intuitive description of the physical systems they use for the simulation and its relevance could be added
We agree and will add this to Section 5. We will explain what MHD turbulence and the cosmic web are, why their simulators are expensive, and what Omega_DE means. It is the dark-energy fraction of the cosmic energy budget, which imprints its effect in the dark matter structures.
In the caption of Figure 2 there are references to letters a,b,c, and d, but these are not reported in the Figure itself.
Thank you for catching this. We have added (a)-(d) labels to the panels to match the caption; the fix will appear in the revised version.
Thank you again for your time and constructive comments. We hope the new experiments answer the questions raised. Please let us know if anything remains unclear.
I thank the authors for their detailed replies, and I appreciate that they took time to run the extended ablation studies and the complementary experiments to strengthen the results of their proposed methodology. I think these changes will add clarity to the paper, and they are also convincing arguments to show its general quality. Accordingly, I'll increase the scores of the paper. I want to thank the authors for their work.
Thank you for the reply and for raising your score. The training-set-size comparison, the learning-rate and initialization results, and the clarifications discussed above will appear in the revised version, with the full tables in an appendix. Thank you again for the constructive suggestions.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Summary of the discussion period
We thank the reviewers and the AC for the constructive discussion. Before the period closes, we summarize the new evidence and the revisions to the paper, following the issues raised in the initial meta-review.
Baselines, the central issue in the meta-review. The comparison is complete and posted under Reviewer BPzG's review: WGAN-GP, flow matching, DDPM, and microcanonical synthesis, all trained on identical data at N∈1,10,100, plus translation-augmented variants at N=1. At N=1, ours is the only learned method that produces new, non-memorized fields (nearest-neighbour ratio 0.89; the baselines lie at 0.010-0.32, meaning they reproduce the training field, and augmentation only produces shifted copies of it). Ours also samples about 104× faster than microcanonical synthesis while keeping the sample-to-sample fluctuations that microcanonical synthesis removes. The baselines improve as more fields become available, and by N=100 WGAN-GP matches us on mean features. This is the expected signature of data efficiency: our method outperforms the baselines where fields are scarce, which is the case that matters when each field is expensive to simulate.
Why fewer training samples suffice. Our method uses no data augmentation at any point. The data efficiency comes from stationarity: one field with d pixels contains O(d) translated copies of local structure, so the shift-invariant WPH statistics we match can be estimated from a single field. The submission already cited Bruna and Mallat [1] for this point, but stated it only in passing; following the reviewers' comments we now make the argument explicit, as a proposition in Section 2: the single-field estimator of ϕ∗ has variance O(1/d), and n fields give O(1/(nd)), with a caveat at the coarsest scales. The results at N=1,10,100 behave as the proposition predicts: the mean-feature error falls towards the held-out level from N=1 to N=10 and then levels off by N=100.
Training variations and robustness. We varied the training-set size, the learning rate (η from 10−5 to 10−2), the scale of the initial residual weights (over four orders of magnitude), and the input distribution p0; we also ran a single-field experiment at the paper's full 128×128 resolution and a preliminary test on a third system (2D decaying-turbulence vorticity from an independent solver). The results confirm the paper's predictions: at the paper's η=10−4, diversity is preserved and the constraints are reached; at η=10−2 the map leaves the neighbourhood of the identity within about 20 iterations, reproducing the collapse that the paper identifies as its central failure mode and shows in Fig. 3; the initialization scale has a wide safe margin. The learning rate is the setting that decides whether training stays in the regime the theory describes.
On "focuses on mean estimates". The loss constrains ensemble means, but the samples keep per-realization fluctuations, which downstream simulation-based inference needs (Fig. 4, mean KS p=0.52). At N=1, ours is the only learned method with both novelty and variability.
Scope. The generator produces equal-time snapshots rather than trajectories, which matches the targeted uses (ensemble statistics and simulation-based inference on equal-time fields). The revision states this in the limitations, together with the stationarity scope (turbulence, cosmological fields, materials microstructure, quantum field configurations, atmospheric and oceanic layers) and the boundary-condition discussion.
The revised paper will contain all of the above: the baseline tables (summary in Section 5, full tables in an appendix), the Section 2 proposition, the statements of Theorem 1 and Corollary 2 quoted under Reviewer BPzG's review, the collapse discussion in Section 4, the moment-matching related work, and the expanded limitations. None of the new experiments required a change to the paper's claims.
We remain available until the discussion closes.
[1] Bruna and Mallat, "Multiscale sparse microcanonical models," Mathematical Statistics and Learning, 2018.