Symmetry-Aware GFlowNets
Hohyun Kim, Seunggeun Lee, Min-hwan Oh
TL;DR
This work identifies a fundamental bias in generative flow networks (GFlowNets) arising from graph symmetries, where equivalent actions due to automorphisms lead to systematic mis-sampling. It introduces Symmetry-Aware GFlowNets (SA-GFN), a principled framework that incorporates symmetry corrections by scaling rewards with the automorphism-group order $|Aut(G)|$, enabling unbiased sampling without explicit one-step transition computations. The theory shows that orbit-equivalence suffices to correct action biases, and the approach extends to both node-by-node and fragment-based graph generation, including an unbiased model-likelihood estimator and considerations for GNN expressiveness. Empirically, SA-GFN removes symmetry-induced biases, improves diversity and high-reward molecule generation, and offers computational advantages over per-transition equivalence corrections, with exact and approximate variants demonstrated across illustrative, synthetic, and molecular tasks.
Abstract
Generative Flow Networks (GFlowNets) offer a powerful framework for sampling graphs in proportion to their rewards. However, existing approaches suffer from systematic biases due to inaccuracies in state transition probability computations. These biases, rooted in the inherent symmetries of graphs, impact both atom-based and fragment-based generation schemes. To address this challenge, we introduce Symmetry-Aware GFlowNets (SA-GFN), a method that incorporates symmetry corrections into the learning process through reward scaling. By integrating bias correction directly into the reward structure, SA-GFN eliminates the need for explicit state transition computations. Empirical results show that SA-GFN enables unbiased sampling while enhancing diversity and consistently generating high-reward graphs that closely match the target distribution.
