HollowFlow: Efficient Sample Likelihood Evaluation using Hollow Message Passing
Paper in proceeding, 2025

Flow and diffusion-based models have emerged as powerful tools for scientific applications, particularly for sampling non-normalized probability distributions, as exemplified by Boltzmann Generators (BGs). A critical challenge in deploying these models is their reliance on sample likelihood computations, which scale prohibitively with system size n, often rendering them infeasible for large-scale problems. To address this, we introduce HollowFlow, a flow-based generative model leveraging a novel non-backtracking graph neural network (NoBGNN). By enforcing a block-diagonal Jacobian structure, HollowFlow likelihoods are evaluated with a constant number of backward passes in n, yielding speed-ups of up to O(n2): a significant step towards scaling BGs to larger systems. Crucially, our framework generalizes: any equivariant GNN or attention-based architecture can be adapted into a NoBGNN. We validate HollowFlow by training BGs on two different systems of increasing size. For both systems, the sampling and likelihood evaluation time decreases dramatically, following our theoretical scaling laws. For the larger system we obtain a 102-times speed-up, clearly illustrating the potential of HollowFlow-based approaches for high-dimensional scientific problems previously hindered by computational bottlenecks.

generative models

Boltzmann Generators

Machine Learning

Author

Johann Flemming Gloy

University of Gothenburg

Chalmers, Computer Science and Engineering (Chalmers), Data Science and AI

Simon Olsson

Chalmers, Computer Science and Engineering (Chalmers), Data Science and AI

University of Gothenburg

Advances in Neural Information Processing Systems

10495258 (ISSN)

Vol. 38 35416-35447

Advances in Neural Information Processing Systems 38 (NeurIPS 2025)
San Diego, USA,

Subject Categories (SSIF 2025)

Artificial Intelligence

Infrastructure

Chalmers e-Commons (incl. C3SE, 2020-)

More information

Latest update

5/18/2026