From Mice to Trains: Amortized Bayesian Inference on Graph Data
Svenja Jedhoff, Elizaveta Semenova, Aura Raulo, Anne Meyer, Paul-Christian Bürkner
TL;DR
The paper extends Amortized Bayesian Inference (ABI) to graph-structured data by pairing permutation-invariant graph encoders with flexible neural posterior estimators, enabling fast, likelihood-free posterior inference on graph parameters. It systematically evaluates multiple graph-aware summary networks—notably the Set Transformer—against alternatives like Graph Convolutional Networks and Graph Transformers, using simulation-based calibration, posterior contraction, and recovery as quality metrics. Across toy, biological (mice interaction), and logistics (train scheduling) case studies, the Set Transformer with attention pooling consistently delivers strong parameter recovery and sharp posteriors, though calibration can be challenging for some parameters and architectures. The work highlights practical ABI for graphs, identifies a strong default architecture, and discusses limitations and avenues for extending ABI to more complex graph types and dynamics.
Abstract
Graphs arise across diverse domains, from biology and chemistry to social and information networks, as well as in transportation and logistics. Inference on graph-structured data requires methods that are permutation-invariant, scalable across varying sizes and sparsities, and capable of capturing complex long-range dependencies, making posterior estimation on graph parameters particularly challenging. Amortized Bayesian Inference (ABI) is a simulation-based framework that employs generative neural networks to enable fast, likelihood-free posterior inference. We adapt ABI to graph data to address these challenges to perform inference on node-, edge-, and graph-level parameters. Our approach couples permutation-invariant graph encoders with flexible neural posterior estimators in a two-module pipeline: a summary network maps attributed graphs to fixed-length representations, and an inference network approximates the posterior over parameters. In this setting, several neural architectures can serve as the summary network. In this work we evaluate multiple architectures and assess their performance on controlled synthetic settings and two real-world domains - biology and logistics - in terms of recovery and calibration.
