arXiv:2610.12850stat.MLOct 2026

Manuscript Offprint

arXiv:2610.12850

Two-way Guidance: Simultaneous Learning of Summary Statistics for Generative Bayes

Percy S. Zhai, Max Pachman, Peverel D. Shipley, Jungeum Kim

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Bayesian simulation-based inference (SBI) can struggle to recover increasingly concentrated posteriors as observation size grows. We consider learning sufficient summary statistics jointly with the posterior as a general principle for scalable inference in various SBI methods. A common measure taken in SBI is dimension reduction through predetermined summaries, which may partially discard posterior information. Our approach instead imposes structure on how the posterior learner depends on a learned summary (e.g., affinity), and learns the summary simultaneously with the posterior. We identify an important mechanism named two-way guidance: under a structural restriction on the summary, the posterior sufficiency of the learned summary simplifies posterior learning, whereas a suitable posterior objective guides the learned summary towards posterior sufficiency. This mechanism explains a counterintuitive finding that the structural restriction on the summary statistics improves posterior learning, rather than limit its performance. We establish theoretical guarantees on both posterior estimation error and the learned summary's departure from sufficiency, thus identifying conditions on the simulation budget for recovering increasingly concentrated posteriors as observation size grows.

1 Introduction

Bayesian simulation-based inference (SBI) aims to recover the posterior distribution π(θ∣X)\pi(\theta \mid X) when data can be simulated from a parameter θ\theta, but the likelihood is unavailable for evaluation. A challenging setting arises when the observation X is high-dimensional and only a handful of parameters govern its distribution. Such problems arise in dynamical systems and population models (Cranmer et al., 2020; Gloeckler et al., 2025). For instance, observing a time series for longer should improve inference about its governing parameters. In models where information accumulates, the posterior becomes increasingly concentrated as the observation size n grows. The goal is a posterior learner that recovers this improved precision and correctly describes the remaining uncertainty.

We consider learning summaries that retain posterior information simultaneously with the posterior. Our approach imposes structure on how the posterior learner depends on a summary S=f(X)S = f(X), while allowing the summary itself to be learned. Affinity assumption is one example: the posterior-learning function is linear in the learned summary coordinates; see Kim et al. (2025). The summary statistics organize posterior learning, and the posterior objective guides the learned summary not to lose the information needed for inference. This two-way guidance is the mainline of this paper, and we study when this principle supports posterior accuracy even with a growing n.

Neural likelihood estimation, quantile learning, adversarial inference, and flow matching provide different ways to perform posterior inference from simulated data (Papamakarios et al., 2019; Kim et al., 2025; Wang and Ročková, 2026; Zhai et al., 2026). In these methods, an increasing observation dimension remains a challenge. Compositional methods address it by exploiting independence or Markov structure to combine local inference problems (Geffner et al., 2023; Gloeckler et al., 2025). On the theoretical side, Frazier et al. (2024) characterize simulation requirements for posterior accuracy with a specified summary statistic as the observation size grows. When the summary is learned, its information loss and learning cost must also enter this analysis.

The value of learning informative summaries has been discussed in the literature. In approximate Bayesian computation (ABC), prefixed summaries facilitate data comparisons, but require model knowledge and can discard posterior information (Hoffmann and Onnela, 2026). Automatic approaches instead learn summaries for an inferential objective. Semi-automatic ABC targets posterior means (Fearnhead and Prangle, 2012). BayesFlow jointly trains summary and posterior networks (Radev et al., 2022). Information-based methods learn representations that can be used in ABC and neural likelihood inference (Chen et al., 2021). BayesFlow also establishes an ideal-convergence result connecting joint learning to correct posterior sampling, while Hoffmann and Onnela (2026) organize summary selection through expected posterior entropy.

A particularly useful example is quantile learning. Building on affine dependence in learned coordinates (Rosenberg et al., 2023), Kim et al. (2025) jointly learn a summary and posterior quantiles under an affinity assumption, i.e., the true quantile map being linear to the summary statistic. A meaningful follow-up question is why an apparent restriction on the class of summary statistics can improve posterior learning compared with using the raw data. This question motivates a broader study of structured summary learning across SBI methods, an understudied topic in the literature. Our central contribution is to establish a connection between structured summary learning and SBI scalability. We explain when imposing a simple dependence on a learned summary can make posterior learning more efficient, and how the imposed structure can be automatically learned.

Throughout this paper, the notion posterior sufficiency of summary f means preservation of the posterior,

π(⋅∣X)=π(⋅∣f(X))almostsurely.(1)\pi(\cdot\mid X)=\pi(\cdot\mid f(X))\quad almost surely. \tag{1}

Note that classical definition of sufficiency is characterized by Neyman-Fisher factorization theorem. The definition in (1) is under one specified prior, whereas classical sufficiency implies posterior sufficiency for every prior. In this paper, an important property of such sufficient summary is what we call two-way guidance. On the one direction, sufficient summary simplifies posterior learning by preserving the information needed for inference and organizing it into low-dimensional coordinates in which the posterior-learning function has a simpler structure. A less intuitive finding is that the posterior objective, in turn, guides the summary towards sufficiency. To see this, note that simultaneous learning of summary and posterior incurs two extra components in posterior error: loss of information from replacing raw X by summary f(X)f(X), and a posterior learning gap based on f(X)f(X). We shall verify that the first gap vanishes exactly when (1) holds under mild conditions. Therefore, an insufficient summary incurs a penalty that cannot be removed by improving the posterior network alone. Joint learning can reduce that penalty by guiding the summary toward losing less information. We shall see that this two-way guidance intuition applies to multiple SBI methods.

At first sight, imposing a structural constraint (like aforementioned affinity assumption) appears to cause an additional limitation on summary learning. Note, however, that a sufficient summary is not unique. Sufficiency concerns the posterior information retained by the summary’s σ\sigma-algebra. Posterior learning also depends on how that information is represented. An invertible change of summary coordinates preserves the information but can change the difficulty of how it guides posterior learning. When the coordinates are learned jointly, nonlinear features of X can be absorbed into f, allowing a simpler dependence on observation via summary. We would like to point out that we do not need to recover a specific predetermined sufficient statistic, but rather any informative representation in which the posterior-learning function is simple with respect to the summary. This is exactly what explains the counterintuitive benefit of a structural restriction. The benefit of saving simulation budget can outweigh the cost of learning the summary and its structural error. We shall quantify these requirements relative to posterior uncertainty as n grows.

Our main contributions are as follows.

  • We establish a theoretical connection between structured summary learning and SBI scalability. We explain how the two-way guidance work, i.e., how the sufficiency of summary statistic and the accuracy of posterior learning reinforce each other. We also explain how jointly learned coordinates counterintuitively make structural restrictions such as affinity beneficial for posterior learning.

  • For Bayesian SBI objectives whose excess loss controls posterior error, we establish finite-simulation guarantees for both full-posterior accuracy and the learned summary’s departure from sufficiency. The bounds account for joint approximation, estimation, and optimization errors, quantifying how approximate sufficiency emerges under explicit conditions.

  • We identify sufficient simulation budgets for recovering increasingly concentrated posteriors. Comparing raw conditioning with our proposed method, we count the cost of summary learning and give sufficient conditions on the simulation budget N(n)N(n) needed to correctly recover the shrinking posterior, which exhibits the benefit of summary learning.

References (100)

Couldn't load all references. Reload the page to try again.