acceptodds
Published as a conference paper at NeurIPS 2026

Neural Statistical Functions

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

Abstract

Classical deep learning typically operates on individual cases. Despite its success, real-world usage often requires repeated inference to estimate statistical quantities for complex decision-making tasks involving uncertainty or extreme-value analysis, resulting in substantial latency. We introduce neural statistical functions, a new family of models learned from pre-trained single-sample predictors and scattered data samples, which can directly infer statistics over continuous operating condition ranges without explicit sampling. 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, in which a principled identity between the prefix statistics and the individual-case regression serves as the learning objective. Neural statistical functions achieve strong performance in estimating essential statistics of complex physical processes, including accumulated energy in dynamical systems, quantiles of aerodynamic responses, and maximum stress in crash processes, while achieving up to a 100 reduction in model evaluations.

Keywords:
Atlanta, Main Track

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_d4MVOpenReview ↗
Rating
5
Clarity
3
Confidence
2
Originality
2
Quality
3
Significance
2
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.

Paper formatting concerns

No paper formatting concerns

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.

Reviewer_YLVvOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
4
Quality
3
Significance
4
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.

Paper formatting concerns

NA

Reviewer_NQS4OpenReview ↗
Rating
5
Clarity
3
Confidence
2
Originality
3
Quality
3
Significance
3
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.

Paper formatting concerns

no concerns

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.

Comments on the paper

1 comment
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.

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

Related papers

Loading the map…

Discussion (0)

Sign in to comment.