potentialpaper

Neural Statistical Functions

Daniel Xu, Yuxin Xie, Minghao Guo, Haixu Wu, Wojciech Matusik

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. This paper presents neural statistical functions, a new family of neural networks that directly estimate essential statistics without sampling.

Abstract. Neural networks typically predict responses at individual operating conditions, whereas many real-world tasks involving uncertainty or extreme-value analysis require statistics over a range of possible conditions. Estimating these quantities through repeated inference can incur substantial latency. We introduce neural statistical functions, a new family of models that directly infer statistics over continuous operating condition ranges without sampling at inference. By introducing the notion of prefix statistics, we transform and unify diverse statistical functions (e.g., integrals, quantiles, and maxima) into an interval-conditional framework. An identity connecting prefix statistics to individual-case responses yields a learning objective that enables training from pretrained predictors and scattered observations without requiring statistical labels for entire intervals. Neural statistical functions achieve strong performance in estimating essential statistics of complex physical processes, including mean energy in dynamical systems, quantiles of aerodynamic responses, and maximum stress in crash processes, while achieving up to a 200$\times$ reduction in inference latency.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
2 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The authors propose a unified approach for estimating a range of statistical quantities, including interval estimates.

In the initial round of reviews, the reviewers identified several concerns, including:

1: The numerical experiments could be strengthened by (i) including stronger baseline methods, such as those with functional outputs, and (ii) providing an example with more than one conditioning variable.

2: The reviewers questioned how the proposed method would perform in the absence of data supervision and whether its effectiveness would be maintained in such settings.

3: Since the proposed method requires a pre-training stage, the reviewers asked that the pre-training cost be included when assessing the overall computational savings relative to existing methods. A more comprehensive comparison of computational complexity, such as execution time and the number of evaluations required, would also be informative.

4: The performance of the proposed method appears to depend substantially on the quality of the pre-trained single-condition surrogate. The reviewers therefore requested additional analysis of the method’s sensitivity to this component.

5: The proposed method requires tailored approximations to compute various statistical quantities. The reviewers questioned whether reliance on these approximations limits the methodology.

The authors provided a rebuttal, and the reviewers largely agreed that the response satisfactorily addressed the main concerns raised. One remaining issue is the scalability of the proposed approach to higher-dimensional settings. Nevertheless, following the rebuttal and discussion, all reviewers ultimately provided positive recommendations.

I agree that scalability to higher dimensions is a meaningful limitation that should be acknowledged. However, after considering the reviewers’ assessments, the authors’ rebuttal, and the work’s overall strengths and contributions, I believe the submission’s merits outweigh this limitation. I therefore recommend acceptance.

Final justification

Please see meta-review.

Area Chair iZqY · Meta-reviewOpenReview ↗
Final justification
Please see meta-review.
Read meta-review
Meta-review

The authors propose a unified approach for estimating a range of statistical quantities, including interval estimates.

In the initial round of reviews, the reviewers identified several concerns, including:

1: The numerical experiments could be strengthened by (i) including stronger baseline methods, such as those with functional outputs, and (ii) providing an example with more than one conditioning variable.

2: The reviewers questioned how the proposed method would perform in the absence of data supervision and whether its effectiveness would be maintained in such settings.

3: Since the proposed method requires a pre-training stage, the reviewers asked that the pre-training cost be included when assessing the overall computational savings relative to existing methods. A more comprehensive comparison of computational complexity, such as execution time and the number of evaluations required, would also be informative.

4: The performance of the proposed method appears to depend substantially on the quality of the pre-trained single-condition surrogate. The reviewers therefore requested additional analysis of the method’s sensitivity to this component.

5: The proposed method requires tailored approximations to compute various statistical quantities. The reviewers questioned whether reliance on these approximations limits the methodology.

The authors provided a rebuttal, and the reviewers largely agreed that the response satisfactorily addressed the main concerns raised. One remaining issue is the scalability of the proposed approach to higher-dimensional settings. Nevertheless, following the rebuttal and discussion, all reviewers ultimately provided positive recommendations.

I agree that scalability to higher dimensions is a meaningful limitation that should be acknowledged. However, after considering the reviewers’ assessments, the authors’ rebuttal, and the work’s overall strengths and contributions, I believe the submission’s merits outweigh this limitation. I therefore recommend acceptance.

1 comment
Authors · CommentOpenReview ↗

Summary of discussion

Dear AC,

We thank you for overseeing the review process, and we thank all reviewers for their detailed and constructive feedback. We conducted substantial new experiments and analyses during the discussion period. Below, we summarize how each question in the meta-review has been addressed.

(1) Stronger baselines and multidimensional conditions (Reviewer d4MV W1/Q1 and W3; Reviewer NQS4 W1/Q1).

We compared NSF with functional-output Transolvers predicting 10, 20, 50, 100, and 1,000 condition channels. Direct-residual NSF outperforms every tested resolution, while stop-gradient NSF outperforms functional output through 50 channels. NSF also reduces per-query output storage by 25×–500×, requiring 0.24 MiB rather than 122.07 MiB for the 1,000-channel baseline.

We further compared against midpoint, trapezoidal, Gauss--Legendre, scrambled Sobol, stratified sampling, and adaptive Gauss--Kronrod. On the high-frequency, localized-response benchmark, two-evaluation NSF outperforms every tested 40-evaluation baseline.

For multidimensional conditions, we extended NSF to joint AoA--Mach queries on NASA. Four-corner 2D NSF reduces matched-budget error by approximately 80% relative to MC-4 and remains approximately 23% more accurate than MC-64 while using 16× fewer evaluations.

(2) Training without direct data supervision remains stable (Reviewer YLVv W3; Reviewer d4MV W2):

Training NSF only from the frozen single-condition surrogate performs slightly worse than hybrid supervision but remains stable and competitive with sampling baselines. Thus, direct simulation supervision is helpful but not necessary for stable NSF training.

(3) Online latency, offline training cost, and matched-compute comparisons (Reviewer YLVv W1/W2; Reviewer NQS4 W2/Q2 and W3/Q4).

Measured wall-clock results show that NSF is 3.0×, 6.0×, and 11.9× faster than sequential MC-5, MC-10, and MC-20 for mean inference, and 1.27× and 2.54× faster than MC-10 and MC-20 for quantile inference. We also report matched-evaluation and matched-wall-clock comparisons.

We separately account for the one-time NSF training cost and provide amortization points under the measured deployment setup. We will revise the paper to distinguish online latency and offline training cost. We will also clarify that NSF is intended for repeated-query regimes in which its additional training cost can be amortized.

(4) Sensitivity to the pretrained surrogate (Reviewer YLVv W3; Reviewer d4MV W2/Q2/Q3).

We retrained the single-condition teacher under fixed 5% label noise and persistent 15% missing spatial labels, then trained NSF from each corrupted teacher. NSF training remains stable and, with two evaluations, still outperforms MC-100 using the same corrupted teacher.

The analysis also separates NSF approximation error from teacher error. NSF continues to approximate each corrupted teacher accurately, but its predictions shift when the teacher's interval statistics shift. We will therefore state explicitly that NSF can inherit systematic teacher bias, while direct simulation supervision can help mitigate this dependence.

(5) Statistic-specific approximations (Reviewer YLVv W4).

NSF unifies prefix representation and interval reconstruction, rather than using an identical local transformation for every statistic. Maxima use continuous log-sum-exp controlled by β, while quantiles use logistic smoothing of the CDF indicator controlled by ε.

These are standard approximations with predictable and interpretable behavior: increasing β sharpens the maximum approximation, while decreasing ε sharpens the CDF transition. Under the usual regularity conditions, they approach their corresponding target quantities, and both parameters are easy to select through a one-dimensional validation sweep. We will also clarify that finite β and ε introduce statistic-specific smoothing error and should be regarded as a limitation.

We will incorporate these new experiments, analyses, and clarifications into the revision.

Sincerely,

Authors

Reviewer d4MVOpenReview ↗
Rating
5/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors consider responses h(x,c)h(x,c), where xx is a set of features and cc is a univariate continuous condition. Their aim is to estimate a derived quantity hstat(x,[c0,c1])h_{\mathrm{stat}}(x,[c_0,c_1]), defined as a statistic of the response h(x,c)h(x,c) when the condition cc is restricted to the interval [c0,c1][c_0,c_1]. Instead of repeatedly evaluating a single-condition predictor h(x,c)h(x,c) at many values of cc, the authors propose to learn a prefix-statistic function h~(x,s)\tilde h(x,s), where ss is a quantile-transformed version of the condition variable. Interval statistics hstat(x,[c0,c1])h_{\mathrm{stat}}(x,[c_0,c_1]) can then be recovered from a small number of evaluations of h~\tilde h, typically at the corresponding interval endpoints in quantile space. The framework is applied to means/integrals, smoothed maxima, and quantiles through different transformations ψ\psi of the local response. The method is trained using the identity s∂sh~(x,s)+h~(x,s)=ψ(x,s)s\partial_s \tilde h(x,s)+\tilde h(x,s)=\psi(x,s), which relates the prefix statistic to the pointwise response. The method is evaluated on synthetic and simulation-based physics benchmarks, where it reduces the number of model evaluations compared with Monte Carlo sampling of a single-condition predictor.

Strengths and weaknesses

Strengths

The paper addresses an interesting computational problem. Namely, estimating statistics of a response over a range of operating conditions can require many evaluations of an expensive simulator or neural surrogate. The proposed prefix-statistic formulation is an interesting way to amortize such interval queries and reduce repeated inference, especially when the output is a large physical field. The paper provides a unified framework for several useful statistics, including means/integrals, smoothed maxima, and quantiles.

A second strength is that the paper provides a unified framework for several useful statistics, including means/integrals, smoothed maxima, and quantiles.

The experiments cover multiple physics-inspired settings—dynamical systems, aerodynamics, and crash simulation. They show consistent reductions in the number of model evaluations relative to Monte Carlo sampling of a single-condition predictor.

Weaknesses

In the one-dimensional condition settings considered in the paper, a natural baseline would be to learn the whole response curve as a discretized function of the condition variable. Specifically, one could sample the condition cc on a fixed grid cmin⁡=c0<c1<⋯<cK=cmax⁡c_{\min}=c_0<c_1<\cdots<c_K=c_{\max} and train a model of the form Hθ(x)=(h(x,c0),h(x,c1),…,h(x,cK))H_\theta(x)=\big(h(x,c_0),h(x,c_1),\ldots,h(x,c_K)\big). Once this discretized curve is predicted, integrals, maxima, quantiles, exceedance probabilities, and other interval statistics could be computed post hoc from the output vector. This seems like a natural supervised functional-output baseline for the settings considered in the paper.

The paper compares mainly against repeated inference of a single-condition predictor, but it does not compare against this functional-output baseline. Since the experiments already involve pointwise or dense evaluations over one-dimensional condition variables, such a baseline appears feasible and would help clarify whether the proposed prefix-statistic parameterization provides an advantage beyond standard supervised function approximation. This comparison would directly test whether learning the prefix statistic is better than learning the whole response curve once and then computing the desired statistics from it.

The empirical evaluation is entirely based on synthetic or simulation-generated data. Although the engineering benchmarks are relevant, they do not show that the proposed interval-conditioned query model arises naturally in real measured datasets, nor do they test the method under practical complications such as noise, irregular sampling, missingness, and distribution shift. This makes the task appear somewhat tailored to the constructed simulation setting and limits the strength of the paper’s claims about real-world deployment. The paper would be more convincing if it included a real-world dataset or provided stronger evidence that this query model is common in practical applications.

Another limitation is that the method is demonstrated only for one-dimensional condition variables. The authors briefly discuss a possible multidimensional extension using multidimensional prefix integrals and inclusion–exclusion over box queries, but this extension is not evaluated empirically and does not seem straightforward. The number of required prefix evaluations grows as 2dcond2^{d_{\mathrm{cond}}}, and it is unclear how the approach would handle dependent condition variables, non-rectangular query regions, or high-dimensional uncertainty spaces. Since many real stochastic-analysis problems involve multiple operating conditions, the paper should more clearly delimit the current contribution as a one-dimensional method or provide evidence that the proposed extension is practical beyond very low-dimensional settings.

Questions
  1. How does the proposed method compare with a functional-output baseline that predicts a discretized response curve c↦h(x,c)c \mapsto h(x,c), from which interval statistics can be computed post hoc?

  2. Can the authors clarify why the interval-conditioned query model is a common practical need, rather than a task mainly tailored to the simulation settings considered in the paper?

  3. Can the method be evaluated on real measured data, or at least under more realistic conditions involving noise, irregular sampling, missingness, or distribution shift?

  4. How practical is the proposed extension to multivariate condition variables? In particular, how would the method handle dependent conditions, non-rectangular query regions, or more than a few condition dimensions?

Limitations

The authors acknowledge the limitation to one-dimensional condition variables and briefly discuss a possible multidimensional extension. However, the limitations section omits several important issues. The paper does not discuss the lack of comparison with a functional-output baseline, the reliance on synthetic or simulation-generated data, or the possibility that the proposed interval-conditioned query model may be tailored to the benchmark settings rather than broadly arising in real applications. A clearer discussion of these points would help delimit the practical scope and appropriate use cases of the method.

Final justification

The authors have addressed the main concerns underlying my original borderline-reject assessment. Please see my detailed response to the rebuttal in the discussion. After considering the rebuttal and the additional evidence provided, I have updated my recommendation from 3: Borderline Reject to 5: Accept.

Formatting concerns

No paper formatting concerns

3 comments
Authors · CommentOpenReview ↗

Rebuttal Part 1 (4828 characters)

We thank Reviewer d4MV for suggesting a functional-output baseline.

W1 & Q1: Comparison with a functional-output baseline

(1) NSF achieves better accuracy with only two output fields.

We implement the functional-output baseline using the same Transolver backbone as the single-condition predictor for NASA interval mean prediction, jointly predicting the response fields at MM uniformly spaced AoA values. For off-grid interval endpoints, we use linear interpolation and exactly integrate the resulting piecewise-linear response curve.

We evaluate all methods over five AoA interval widths. The original stop-gradient NSF outperforms functional output up to M=50M=50, while the direct-residual variant (suggested by reviewer 1, which uses the same architecture but allows gradients to flow through the identity residual) outperforms every tested resolution, including M=1000M=1000.

Method Fields Mean relative L2 Values produced FP32 output storage
Functional output (M=10M=10) 10 0.08851 10N10N 1.22 MiB
Functional output (M=20M=20) 20 0.06985 20N20N 2.44 MiB
Functional output (M=50M=50) 50 0.05929 50N50N 6.10 MiB
Functional output (M=100M=100) 100 0.05592 100N100N 12.21 MiB
Functional output (M=1000M=1000) 1000 0.05455 1000N1000N 122.07 MiB
NSF, stop-gradient 2 0.05738 2N2N 0.24 MiB
NSF, direct residual 2 0.04083 2N2N 0.24 MiB

(2) NSF directly supports arbitrary continuous intervals.

Functional output predicts responses only on a fixed condition grid. An arbitrary query interval must therefore be reconstructed through interpolation, and its accuracy depends on both learned-field error and grid discretization. NSF instead represents the condition domain continuously and evaluates the prefix function at the exact two queried endpoints, without condition-grid interpolation.

(3) NSF reduces output storage by 25×25\times--500×500\times.

For N=32,000N=32{,}000 nodes in FP32, NSF produces 2N2N values requiring only 0.240.24 MiB per interval query. In comparison, functional output requires 6.106.10 MiB at M=50M=50 (25×25\times larger) and 122.07122.07 MiB at M=1000M=1000 (500×500\times larger).

W2, Q2 & Q3: Practical relevance and robustness to imperfect observations

(1) Simulation-based stochastic analysis is already a practical industrial-design workflow.

Physical measurements in aerodynamics and structural engineering are often prohibitively expensive and time-consuming. Engineering design therefore commonly relies on high-fidelity simulation and stochastic finite-element analysis. Stefanou [1] describes stochastic FEM for systems with uncertain mechanical, geometric, and loading properties, while Langlois et al. [2] use physics simulation and stochastic structural analysis to estimate failure probabilities and optimize fabricated objects. NSF targets this established workflow by answering repeated statistical queries for new designs and operating ranges without repeatedly sweeping the simulator or single-condition surrogate.

We will replace broad "real-world data" wording with the more precise "simulation-based industrial workflow" and clarify that validation on physical measurements remains future work.

[1] Stefanou, Stochastic finite-element method.

[2] Langlois et al., Stochastic structural analysis.

(2) With 5% label noise or 15% missing spatial labels, NSF still outperforms MC-100.

We evaluate two persistent training-data corruptions: (i) each pressure label receives one fixed, independently drawn zero-mean Gaussian perturbation whose standard deviation is 5% of the training-response standard deviation; and (ii) a fixed, configuration-specific mask removes 15% of spatial pressure labels throughout training. For each corruption, we first retrain the single-condition Transolver, freeze it, and then train NSF from the corrupted-data surrogate. MC uses the same corrupted Transolver.

Training observations NSF (2) MC (5) MC (10) MC (20) MC (50) MC (100)
Clean 0.04083 0.23989 0.17145 0.11618 0.07515 0.05352
Fixed 5% Gaussian noise 0.07238 0.25558 0.19213 0.14341 0.11051 0.09503
Persistent 15% missing labels 0.07198 0.25630 0.19236 0.14290 0.10964 0.09432

Imperfect supervision increases the error of every method because all methods rely on a less accurate single-condition surrogate. But under both corruptions, two-evaluation NSF still trains stably and achieves approximately 24% lower error than MC using 100 evaluations. Thus, NSF's accuracy evaluation advantage is retained under moderate label noise and spatial missingness.

Authors · CommentOpenReview ↗

Rebuttal Part 2 (1531 characters)

W3: Multidimensional conditions

(1) We extend to two condition variables. Four-evaluation 2D NSF outperforms MC with up to 64 evaluations.

We normalize AoA and Mach to two condition coordinates and train the model to represent the cumulative response over the rectangle from the lower boundary to the queried condition pair. This uses the natural two-dimensional extension of the one-dimensional prefix identity.

For a query rectangle R=[a1,b1]×[a2,b2]R=[a1,b1]\times[a2,b2], let G(x,s1,s2)G(x,s1,s2) denote the learned cumulative response evaluated at one corner. The interval mean is recovered as

hR(x)=G(x,b1,b2)−G(x,a1,b2)−G(x,b1,a2)+G(x,a1,a2)(b1−a1)(b2−a2).hR(x)=\frac{G(x,b1,b2)-G(x,a1,b2)-G(x,b1,a2)+G(x,a1,a2)}{(b1-a1)(b2-a2)}.

This is the standard inclusion--exclusion rule and requires exactly four NSF evaluations, one at each corner.

We evaluate with an AoA width of 9.5∘9.5^\circ and a Mach width of 0.350.35. MC samples AoA--Mach pairs uniformly from the same rectangle.

Method Model calls Mean relative L2 error
2D NSF 4 0.05519
MC 4 0.27790
MC 16 0.14406
MC 32 0.10300
MC 64 0.07203

With the same four-call budget, 2D NSF reduces error by approximately 80% relative to MC. It also remains 23% more accurate than MC-64 while using 16×16\times fewer evaluations. This result supports the practicality of NSF for low-dimensional, axis-aligned box queries. We will clarify that the 2d2^d corner cost, non-rectangular regions, and dependent condition distributions remain limitations of the current formulation.

Authors · CommentOpenReview ↗

Summary of our rebuttal and new experiments

Dear Reviewer d4MV,

Thank you again for your thoughtful questions and suggestions. We wanted to kindly remind you that the discussion period is ending soon and provide a concise summary of the new evidence in our rebuttal for your convenience:

(1) Functional-output baseline. We implemented functional-output Transolvers with 10, 20, 50, 100, and 1,000 condition channels. The submitted stop-gradient NSF outperforms this baseline through 50 channels, while direct-residual NSF outperforms every tested resolution through 1,000 channels. NSF also reduces per-query output storage by 25×–500× and directly supports arbitrary continuous intervals without interpolation from a fixed condition grid.

(2) NSF supports practical simulation-based engineering workflows and remains robust to noisy or incomplete supervision. We clarified that NSF supports simulation-based industrial stochastic-analysis workflows, where physical measurements are often expensive and repeated simulator sweeps are common. Following your suggestion, we also evaluated fixed 5% label noise and persistent 15% spatial missingness. For each corruption, we retrained the single-condition teacher and then trained NSF from that corrupted teacher. NSF remained stable and, with two evaluations, still outperformed MC-100 using the same corrupted teacher.

(3) Multiple condition variables. Following your request, we extended NSF to joint AoA–Mach conditions on NASA-CRM. Four-call 2D NSF achieves approximately 80% lower error than MC-4 and 23% lower error than MC-64 while using 16× fewer evaluations. We also explicitly acknowledge the remaining limitations for higher-dimensional, dependent, and non-rectangular condition domains.

We hope these experiments and clarifications address your questions. If any concern remains, we would be grateful for your guidance. We look forward to hearing your thoughts.

Sincerely,

Authors

Reviewer YLVvOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes a prefix view instead of the conventional single-condition view. The conventional approach predicts the value (h(x,c)) under a specific condition/ In contrast, the prefix view learns a cumulative statistic from the smallest condition (c_{\min}) up to the current condition (c): [ \tilde{h}(x,c)=\int_{c_{\min}}^{c} h(x,u),du. ] Once the cumulative function (\tilde{h}(x,c)) has been learned, when a new interval ([c_0,c_1]) is given, the statistic over the interval can be computed simply by evaluating the prefix values at the two endpoints, without sampling inside the interval: [ h_{\mathrm{integral}}(x,[c_0,c_1])=\tilde{h}(x,c_1)-\tilde{h}(x,c_0). ] In other words, instead of invoking the model multiple times, the interval statistic can be computed with only two model evaluations.

Strengths and weaknesses

Strengths

This paper proposes Neural Statistical Functions, a framework designed to address the substantial computational cost that arises when estimating statistical quantities, such as the mean, maximum, and quantiles, over specific condition intervals in complex physical systems and simulation environments. Rather than relying on a Monte Carlo (MC) approach that repeatedly invokes a conventional single-condition view model, the paper introduces a prefix view, through which interval statistics can be obtained with only two model inferences. This is an interesting approach in that it establishes both a mathematical framework and a learning pipeline for efficient interval-level statistical estimation.

Weaknesses

  • The paper strongly claims that the proposed model reduces the number of evaluations required at inference time by up to 100 times compared to existing methods. However, it largely overlooks the fact that constructing this statistical function model requires a substantial pre-training process of up to 2,000 epochs.

  • If one is willing to incur the computational cost of training the statistical function for 2,000 epochs, it may be more intuitive and potentially more efficient from a system engineering perspective to precompute a large number of (h(x,c)) samples using a pre-trained model, store them in a database, and retrieve or aggregate them according to each query.

  • Experimental results show that predictive performance and consistency improve significantly when data supervision using actual simulation data is included. However, this also suggests that, without data supervision, the underlying neural predictor alone may not deliver reliable performance. Given the effect of bias in the base surrogate model on the final statistical function, the pipeline should more transparently analyze the extent to which it depends on ground-truth data.

  • To force non-additive statistics such as maxima and quantiles into the cumulative framework, the paper introduces various numerical approximations, including the log-sum-exp formula with a smoothing temperature (\beta) and smoothed indicator functions with width (\epsilon).

Questions

NA

Limitations
  • To demonstrate true overall computational efficiency, the comparison must include not only inference time but also the total time and resources required for model training. The paper should quantitatively report the break-even point between the total cost of performing MC sampling with the existing single-condition model as needed and the total cost of conducting inference after the additional 2,000-epoch training required by the proposed method.

  • In particular, advanced numerical sampling methods such as importance sampling can substantially reduce variance with only a small number of samples. The paper should therefore provide a stronger argument for what practical advantages, such as memory efficiency, runtime, or accuracy, its neural cumulative approach offers over these conventional yet sophisticated sampling- or storage-based pipelines.

Formatting concerns

NA

2 comments
Authors · CommentOpenReview ↗

Rebuttal Part 1 (3996 characters)

We thank Reviewer YLVv for the thorough points.

W1 & W2, L1 & L2: Total computation and precomputation alternatives

(1) NSF trades one-time training cost for lower repeated-query latency.

We will replace "up to 100×100\times faster" with "up to 100×100\times fewer model evaluations" and report online and offline costs separately. On NASA interval-mean prediction, NSF has a median latency of 22.1422.14 ms, while sequential MC with K=5,10,K=5,10, and 2020 requires 66.3066.30, 132.02132.02, and 263.60263.60 ms.

Method NSF MC-5 MC-10 MC-20
Median latency (ms) 22.14 66.30 132.02 263.60
Relative latency 1.00×1.00\times 3.00×3.00\times 5.96×5.96\times 11.91×11.91\times

Training NSF for 2,0002{,}000 epochs takes 5.465.46 hours on four GPUs, or approximately 21.821.8 GPU-hours. The pretrained single-condition Transolver is shared by NSF and MC and is therefore not an additional NSF-only cost.

Using the measured wall-clock savings, the NSF training cost is amortized after approximately 445,000445{,}000, 179,000179{,}000, or 81,00081{,}000 mean queries relative to MC-5, MC-10, or MC-20, respectively. These estimates exclude the shared Transolver training cost and are intended only as deployment-scale reference points. NSF is therefore most appropriate when many interval queries are expected.

(2) Dense caching is competitive for a fixed small catalog, but scales with both geometries and condition resolution.

Caching 1,0001{,}000 FP32 pressure fields for NASA requires approximately 1.691.69 GiB per geometry, 74.574.5 GiB for 4444 geometries, and 1.651.65 TiB for 1,0001{,}000 geometries. By comparison, the deployed NSF checkpoint is 18.318.3 MB and its persistent storage does not grow with the number of future geometries or condition samples.

A cache must also be populated separately for every new geometry before it can answer queries. NSF instead generalizes across geometries and immediately supports arbitrary continuous intervals. We will clarify that caching may be preferable for a small, fixed set of repeatedly queried geometries, whereas NSF is intended for continually arriving geometries, fine condition resolution, or constrained storage.

We agree that importance sampling is another relevant alternative. Its performance depends on constructing a suitable proposal for the target response and statistic, which may itself vary across geometries and query intervals. We will add importance sampling to the discussion of future comparisons.

W3: Data supervision and teacher bias

In crash prediction, the neural branch trains NSF from a frozen single-condition surrogate, while the data branch directly uses available simulation labels. As shown in Figure 8, neural-only supervision performs slightly worse than hybrid supervision but remains stable and competitive.

(1) NSF faithfully approximates its teacher but can inherit systematic teacher error.

We further retrain the NASA teacher under fixed 55\\% label noise and persistent 1515\\% missing spatial labels, then train NSF using each corrupted teacher.

Training pipeline Teacher curve vs. clean Teacher mean vs. clean NSF vs. own teacher NSF vs. clean NSF shift
Clean 0 0 0.04083 0.04083 0
Fixed 55\\% label noise 0.12975 0.07327 0.04898 0.07238 0.06700
Persistent 1515\\% missing labels 0.12592 0.07216 0.04739 0.07198 0.06791

Despite substantial changes to the pointwise teacher curves, NSF continues to approximate each corrupted teacher with error 0.0470.047--0.0490.049, close to the clean result of 0.04080.0408. However, its error relative to the clean reference follows the shift in the teacher's interval means. Thus, teacher corruption does not destabilize NSF training, but systematic teacher bias is transferred to the learned statistics. We will state this limitation explicitly and clarify that direct simulation supervision can mitigate, but not automatically eliminate, teacher bias.

Authors · CommentOpenReview ↗

Rebuttal Part 2 (2241 characters)

W4: Statistic-specific approximations

NSF unifies interval reconstruction, not the local transformation used for every statistic. Once a transformed signal ψ\psi is specified, its interval aggregate is recovered through the same prefix mechanism.

For maxima, we use continuous log-sum-exp, a standard smooth approximation to the maximum [1]. As β\beta increases, the weighting becomes increasingly concentrated on the largest responses and converges to the interval supremum under standard regularity conditions. For finite β\beta, the approximation remains smooth and stable to small perturbations in the response. It can also be evaluated with the standard shifted log-sum-exp form, avoiding numerical overflow [2].

For quantiles, the conditional CDF with a hard indicator is exact. During training, we replace the discontinuous indicator with a logistic transition of width ϵ\epsilon, following standard smoothing constructions for quantile estimation [3, 4]. The smoothed signal remains bounded in [0,1][0,1], varies smoothly with the candidate threshold, is monotone in that threshold, and approaches the hard indicator as ϵ\epsilon decreases. At continuity points of the response distribution, the corresponding smoothed CDF approaches the exact CDF.

These approximations therefore have predictable and well-understood behavior. Increasing β\beta sharpens the maximum approximation, while decreasing ϵ\epsilon sharpens the CDF transition. Both are one-dimensional parameters and are easy to select using a validation sweep. We will clarify that finite β\beta and ϵ\epsilon introduce statistic-specific smoothing error, but that the transformations themselves are standard, stable, and interpretable.

[1] Y. Nesterov, "Smooth Minimization of Non-Smooth Functions," Mathematical Programming, 2005.

[2] P. Blanchard, D. J. Higham, and N. J. Higham, "Accurately Computing the Log-Sum-Exp and Softmax Functions," IMA Journal of Numerical Analysis, 2021.

[3] D. M. Kaplan and Y. Sun, "Smoothed Estimating Equations for Instrumental Variables Quantile Regression," Econometric Theory, 2017.

[4] L. de Castro, A. F. Galvao, D. M. Kaplan, and X. Liu, "Smoothed GMM for Quantile Models," Journal of Econometrics, 2019.

Reviewer NQS4OpenReview ↗
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

This paper introduces Neural Statistical Functions, a framework for estimating statistics of a model response over continuous ranges of operating conditions with substantially fewer inference calls than standard sampling-based approaches. The key idea is to replace the conventional single-condition prediction view with a prefix-statistics representation, where interval-conditioned statistics can be recovered from endpoint evaluations of a learned prefix function.

The authors show that several common statistics, including means, smoothed maxima, and quantiles, can be expressed within a unified prefix-statistics framework through suitable transformations of the underlying response function. They further derive a training objective based on a first-order identity relating the prefix statistic to the local response, allowing the model to be trained using both observed simulation data and predictions from a pre-trained single-condition surrogate.

The approach is evaluated on three physics-related applications: accumulated energy estimation in a dynamical system, conditional pressure quantile estimation in an aerodynamic benchmark, and maximum stress estimation in a crash simulation benchmark. Across these tasks, the method achieves competitive or improved accuracy relative to Monte Carlo baselines while requiring substantially fewer model evaluations at inference time. The results suggest that prefix-statistic models can provide an efficient alternative to repeated sampling for interval-conditioned statistical estimation, especially in low-dimensional condition spaces.

Strengths and weaknesses

The main strength of the paper is its clean and useful prefix-statistics formulation. Instead of repeatedly evaluating a single-condition surrogate over an interval of operating conditions, the paper proposes to learn a prefix function whose endpoint evaluations can recover interval statistics. This gives a simple abstraction for amortizing statistical queries and is especially appealing in settings where many different intervals must be queried repeatedly. The first-order identity used for training is also a nice technical contribution, since it avoids the need to construct expensive interval-level supervision directly.

The framework is presented in a reasonably unified way. Means, smoothed maxima, and CDF/quantile-based statistics are all handled through transformations of a local response signal, followed by interval reconstruction from the learned prefix function. This makes the paper more than an application-specific acceleration method: it proposes a general interface for learning statistical queries over operating conditions.

The empirical evaluation is relevant and well motivated. The three tasks cover different physical settings and different target statistics: accumulated energy in a dynamical system, pressure quantiles in aerodynamics, and maximum stress in crash simulation. The reported results show that the proposed method can achieve competitive or improved accuracy compared with Monte Carlo baselines while using substantially fewer model evaluations. I also appreciate the inclusion of additional diagnostics and ablations, such as the analysis of data co-supervision and the per-trajectory diagnostic plots for the dynamical-system setting.

The main weakness is that the empirical comparison is somewhat narrow. The primary baseline is plain Monte Carlo sampling, which is an important baseline but not necessarily the strongest or most natural competitor for the interval queries considered in the paper. Comparisons to deterministic quadrature, adaptive quadrature, quasi-Monte Carlo, sparse/adaptive sampling, learned antiderivative baselines, or direct interval-conditioned predictors would make the empirical claims more convincing. Without such comparisons, it is difficult to determine how much of the gain comes specifically from the proposed prefix-statistics formulation, rather than from replacing a high-variance estimator with a smoother learned approximation.

A related point is that the paper reports efficiency mainly in terms of the number of model evaluations. This is useful, but actual runtime or latency measurements would make the acceleration claims easier to assess. This is particularly relevant for quantile estimation, where inference requires multiple evaluations through binary search rather than only two endpoint evaluations. A matched-compute comparison would help clarify the practical advantage of the method.

There are also some technical aspects that would benefit from further justification. The stop-gradient objective is motivated mainly as a way to avoid backpropagating through a derivative-dependent target, but the paper does not compare it against direct residual minimization or other ways of enforcing the differential identity. For quantile estimation, the learned CDF is not guaranteed to be monotone by construction, and the implementation uses a monotone envelope during bisection to improve robustness. This suggests that monotonicity issues can arise in practice and deserve more discussion.

Finally, the paper discusses a possible multidimensional extension, but all experiments use one-dimensional condition variables. Since many uncertainty quantification and stochastic analysis problems involve multiple uncertain parameters, even a small-scale multidimensional experiment would help clarify the practical regime where Neural Statistical Functions are most useful.

Questions
  1. Can the authors compare against stronger inference-time baselines, such as deterministic quadrature, adaptive quadrature, quasi-Monte Carlo, sparse/adaptive sampling, learned antiderivative baselines, or direct interval-conditioned predictors? This would clarify whether the proposed method improves over strong alternatives, not only over plain Monte Carlo sampling.

  2. Can the authors provide wall-clock runtime or latency comparisons, in addition to reporting the number of model evaluations? This would help substantiate the claimed computational gains, especially for quantile estimation where inference requires multiple evaluations through binary search.

  3. Can the authors compare methods under matched computational budgets? For example, the proposed quantile estimator uses multiple model evaluations, so it would be useful to compare against Monte Carlo or quasi-Monte Carlo estimators using a similar number of evaluations.

  4. Can the authors provide an ablation comparing the stop-gradient objective with direct residual minimization of the first-order identity? Since the target depends on the current model derivative, it would be useful to understand whether stop-gradient is mainly an efficiency trick, a stability trick, or important for final accuracy.

  5. For quantile estimation, how often is the learned CDF non-monotone before applying the monotone envelope? Would a monotonic architecture, monotonicity regularization, or post-hoc calibration improve reliability?

  6. How sensitive is the method to errors in the pre-trained single-condition surrogate? In some experiments, dense surrogate inference is used as the reference, so it would be helpful to separate the error of approximating the surrogate from the error of approximating the true simulator.

  7. Could the authors include at least one small-scale experiment with more than one condition variable? This would help support the discussion of multidimensional extensions and clarify the practical scope of the framework.

Limitations

The authors acknowledge that the current experiments are restricted to one-dimensional condition variables and discuss a possible multidimensional extension. This is an important limitation, since many practical uncertainty quantification and stochastic analysis problems involve multiple uncertain parameters. The paper would benefit from either empirical validation in a small multidimensional setting or a more detailed discussion of the expected regimes where the proposed method is preferable to sampling-based alternatives.

The paper should also more explicitly acknowledge that plain Monte Carlo is not the only relevant baseline for interval statistics. Stronger numerical integration and learned interval-prediction baselines are needed to fully assess the benefit of the proposed method. In addition, the authors should discuss the practical consequences of relying on a pre-trained single-condition surrogate, especially when this surrogate may be biased relative to the true simulator. For quantile estimation, the lack of monotonicity guarantees for the learned CDF is another important limitation, since non-monotone CDF predictions can affect the reliability of the binary-search procedure.

Final justification

Thanks for the rebuttal. After reading that, my concerns about extension to higher dimensionality of data increased. I wondered whether to reduce the score, but decided to keep it as it is, for the overall judgment on the idea.

Formatting concerns

no concerns

2 comments
Authors · CommentOpenReview ↗

Rebuttal Part 1 (4873 characters)

We thank Reviewer NQS4 for the detailed feedback. We address each point below:

W1/Q1: Stronger inference-time baselines

(1) On spiky spiral dataset, two-evaluation NSF outperforms every tested 40-evaluation baseline.

Consider a high-frequency, localized-response spiral system that introduces a 40-cycle angular component and two narrow, randomly located Gaussian transients.

Method Evaluations Relative L2 error
NSF, direct residual 2 0.01190
NSF, stop-gradient 2 0.02050
Midpoint 2 0.23023
Gauss--Legendre 2 0.21778
Midpoint 40 0.02450
Trapezoidal 40 0.05537
Gauss--Legendre 40 0.02871
Scrambled Sobol 40 0.03421
Stratified sampling 40 0.03119
Midpoint 80 0.00279
Trapezoidal 80 0.00323
Gauss--Legendre 80 0.01192
Scrambled Sobol 80 0.01758
Stratified sampling 80 0.01450
IID Monte Carlo 160 0.04189
Adaptive Gauss--Kronrod 617.8 avg. 0.00376

With only two endpoint evaluations, both NSF variants outperform all tested 40-evaluation baselines. Direct-residual NSF is also comparable to 80-point Gauss--Legendre. Learning the unnormalized antiderivative produces nearly the same accuracy as the corresponding normalized NSF. Thus, the result is not sensitive to the choice between these two equivalent prefix parameterizations.

We will clarify in the revision that NSF targets repeated low-budget queries and its advantage becomes biggest when the response contains localized structure that sparse fixed-node rules miss.

(2) A learned antiderivative and direct interval-conditioned predictor requires expensive interval-level supervision.

Learned antiderivative and direct interval-conditioned predictors are relevant baselines, but both require explicit interval-level supervision. The former needs cumulative targets constructed from dense condition sweeps, while the latter needs statistic labels for sampled endpoint pairs, again obtained by dense evaluation within each interval. NSF instead learns from local pointwise responses through the differential identity. Since these methods use a substantially stronger supervision and preprocessing budget, we do not include them in the current comparison, but will clarify this distinction and list them as future work.

W2/Q2: Wall-clock latency

We use batching to evaluate the two NSF interval endpoints together.

(1) Mean inference: NSF is 3.0×3.0\times, 6.0×6.0\times, and 11.9×11.9\times faster than sequential MC-5, MC-10, and MC-20.

For NASA interval-mean prediction, NSF has a median latency of 22.1422.14 ms.

Number of MC samples, KK 2 5 10 20
Sequential forward launches 2 5 10 20
Median latency (ms) 26.97 66.30 132.02 263.60
Maximum observed latency (ms) 53.39 90.53 141.42 276.59
Median latency relative to NSF 1.22×1.22\times 3.00×3.00\times 5.96×5.96\times 11.91×11.91\times

(2) Quantile inference: NSF is 1.27×1.27\times faster than MC-10 and 2.54×2.54\times faster than MC-20.

Quantile inference uses five binary-search steps. At each step, NSF evaluates the two interval endpoints together. Therefore, one requested quantile requires 10 logical endpoint evaluations but only five sequential forward launches.

Method NSF Sampling K=10K=10 Sampling K=20K=20
Logical evaluations 10 10 20
Sequential forward launches 5 10 20
Median latency (ms) 365.85 464.85 928.74
Maximum observed latency (ms) 373.99 477.73 936.40
Median latency relative to NSF 1.00×1.00\times 1.27×1.27\times 2.54×2.54\times

Q3: Matched-evaluation and matched-wall-clock quantile comparison.

NSF performs five bisection steps. At each step, the two interval endpoints are batched into one forward launch; thus, one quantile requires 10 logical endpoint evaluations but only five sequential launches. In the measured quantile workload, NSF requires 365.85365.85 ms, compared with 464.85464.85 ms for sequential sampling with K=10K=10.

(1) At 10 matched logical evaluations

NSF reduces IID-MC error by 54% on the smooth spiral and 47% on the spiky spiral. Compared with scrambled Sobol at K=10K=10, NSF reduces error by 2% on the smooth spiral and 20% on the spiky spiral.

(2) At matched wall-clock time (K=8K=8 for sampling)

NSF reduces IID-MC error by 56% on the smooth spiral and 53% on the spiky spiral. Compared with scrambled Sobol at the same latency budget, NSF reduces error by 35% on the smooth spiral and 37% on the spiky spiral.

Dataset NSF (10) IID MC (10) IID MC (8) Sobol (10) Sobol (8)
Smooth spiral 0.09248 0.20323 0.21197 0.09436 0.14310
Spiky spiral 0.11787 0.22352 0.25118 0.14767 0.18748
Authors · CommentOpenReview ↗

Rebuttal Part 2 (2549 characters)

W3/Q4: Stop-gradient improves training efficiency, while direct-residual minimization improves final accuracy.

The stop-gradient objective is motivated primarily by computational efficiency: it avoids backpropagating through the derivative-dependent target and therefore reduces backward cost and memory, following the construction used in MeanFlow [1].

Dataset Objective Interval relative L2 Training time Peak memory
Spiral mean Stop-gradient 0.02013 47.50 s 26.7 MB
Spiral mean Direct residual 0.00472 69.23 s 33.5 MB
NASA mean Stop-gradient 0.05738 78.08 ms/step 362.6 MiB
NASA mean Direct residual 0.04083 97.39 ms/step 984.6 MiB

On synthetic dynamics, direct-residual minimization is 4.26×4.26\times more accurate, while stop-gradient is 31% faster and uses 20% less memory. On NASA, direct-residual minimization reduces interval error by 28.8%, while stop-gradient is 1.25×1.25\times faster and uses 63% less memory.

These show a computation--accuracy trade-off: stop gradient can reduce backward cost and memory, while direct residual minimization can provide higher final accuracy. We will include this ablation and clarify the trade-off in the revised paper.

Reference

[1] Geng et al., MeanFlow, arXiv:2505.13447.

W3/Q5: The learned CDF is not strictly monotone but remains close to a monotone curve.

The unconstrained CDF can be locally non-monotone, so we enforce monotonicity by applying a running monotone envelope over the thresholds visited during bisection before inversion.

To quantify the size of this correction, we compared the clipped raw CDF to its isotonic projection on a 33-point qq-grid. Although the current architecture does not guarantee strict monotonicity, the raw clipped CDF has a median per-node Pearson correlation of 0.968 with its closest isotonic, nondecreasing curve.

Explicit monotonicity remains an interesting direction for improving reliability. A monotonic architecture could construct the CDF from cumulative nonnegative increments along the response threshold. Alternatively, training could penalize downward steps, while post-hoc calibration could enforce monotonicity without modifying the architecture. We will explore these approaches in future work.

Q6: Sensitivity to teacher error

Please see rebuttals to Reviewer YLVv W3 and Reviewer d4MV W2.

W4/Q7: Multidimensional conditions

Please see rebuttal to Reviewer d4MV W3.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…