Periodic Bayesian Flow Networks with Additive Accuracy
Abstract
Generating periodic data---such as fractional atomic coordinates in crystal structures and phase patterns in compressive light-field (CLF) displays---is challenging because wrap-around boundaries complicate probabilistic modeling and learning. While Bayesian Flow Networks (BFNs) offer a powerful generative framework with strictly additive accuracy in Euclidean space, existing periodic adaptations typically sacrifice additivity and become sensitive to schedule heuristics. We introduce \emph{PeriodicBFN}, which embeds each periodic scalar into a two-dimensional unit-circle representation and performs Gaussian Bayesian updates in the resulting Cartesian space, thereby restoring strictly additive accuracy. To address invariance in periodic generative modeling, we further derive a Rao--Blackwellized objective that analytically marginalizes global periodic translations, producing a translation-invariant target with reduced gradient variance. Experiments on crystal structure prediction and multi-layer phase synthesis for CLF displays demonstrate improved training stability and strong performance. To our knowledge, this is the first work to extend periodic-data generative modeling to phase synthesis for modern glasses-free 3D display systems.
Lay Summary
Many scientific and display-design problems involve quantities that “wrap around.” For example, positions inside a crystal repeat from one unit cell to the next, and phase patterns used in glasses-free 3D displays repeat after a full cycle. Standard generative AI methods can struggle with this kind of data because values that are physically close may look far apart numerically. This paper introduces PeriodicBFN, a generative model designed for such wrap-around data. We test the method on two applications: predicting crystal structures for materials discovery, and generating phase patterns for modern glasses-free 3D displays. The results show improved stability and strong performance in both settings, suggesting that the same periodic modeling idea can be useful across different scientific and engineering domains.