4. Summary Networks#

Disclaimer: This guide is in an early stage. We welcome contributions to the guide in form of issues and pull requests.

Learnable summary statistics provide several advantages for amortized Bayesian inference. By reducing the dimensionality of the data, they enable more efficient processing by the inference network. Additionally, they can encode knowledge about the data (e.g., that different observations are exchangeable) directly into the network architecture. Finally, the resulting summary space can serve as a diagnostic tool. In some cases, we also require a summary network to convert observations of variable size into a fixed-size representation.

You can find the summary networks in the networks module. You can identify them by the “Bases: SummaryNetwork” label.