Generating graph-structured data is crucial in applications such as molecular generation, knowledge graphs, and network analysis. However, their discrete, unordered nature makes them difficult for traditional generative models, leading to the rise of discrete diffusion and flow matching models. In this work, we introduce GraphBSI, a novel one-shot graph generative model based on Bayesian Sample Inference (BSI). Instead of evolving samples directly, GraphBSI iteratively refines a belief over graphs in the continuous space of distribution parameters, naturally handling discrete structures. Further, we state BSI as a stochastic differential equation (SDE) and derive a noise-controlled family of SDEs that preserves the marginal distributions via an approximation of the score function. Our theoretical analysis further reveals the connection to Bayesian Flow Networks and Diffusion models. Finally, in our empirical evaluation, we demonstrate state-of-the-art performance on molecular and synthetic graph generation, outperforming existing one-shot graph generative models on the standard benchmarks Moses and GuacaMol.
翻译:生成图结构数据在分子生成、知识图谱和网络分析等应用中至关重要。然而,其离散且无序的特性使得传统生成模型难以处理,从而催生了离散扩散模型与流匹配模型的发展。本文提出GraphBSI,一种基于贝叶斯样本推断的新型单步图生成模型。GraphBSI不直接演化样本,而是在分布参数的连续空间中迭代优化对图结构的信念分布,从而自然地处理离散结构。进一步,我们将BSI表述为随机微分方程,并通过分数函数的近似推导出一类保持边缘分布的噪声可控SDE族。理论分析揭示了该方法与贝叶斯流网络及扩散模型的关联。最终,在分子图与合成图生成任务的实证评估中,我们的模型在Moses和GuacaMol标准基准上取得了最先进的性能,超越了现有单步图生成模型。