arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.05899cs.LG
收藏

流式贝叶斯GFlowNets

Streaming Bayes GFlowNets

Getulio Vargas Foundation(热图利奥·瓦加斯基金会);University College London(伦敦大学学院)

Tiago da Silva, Daniel Augusto de Souza, Diego Mesquita

AI总结:

本文提出SB-GFlowNets,一种利用GFlowNets在离散参数空间上实现流式贝叶斯推断的方法,通过仅用新数据更新后验,避免了从头重算,在偏好学习和系统发育推断中展现了高效性和速度优势。

摘要:

贝叶斯规则自然地允许以流式方式进行推断细化,而无需在每次新数据到达时从头重新计算后验。原则上,贝叶斯流式处理非常直接:我们用可用数据更新先验,并在处理下一个数据块时将所得的后验作为先验。然而在实践中,这一方案需要:i) 在每个时间步近似一个难以处理的后验;以及 ii) 适当地封装结果以允许后验传播。对于连续状态空间,变分推断(VI)因其可扩展性和变分后验的易处理性而特别方便。然而,对于离散状态空间,最先进的VI会导致解析上难以处理的近似,不适合流式设置。为了在离散参数空间上实现流式贝叶斯推断,我们提出了流式贝叶斯GFlowNets(缩写为SB-GFlowNets),利用了最近提出的GFlowNets——一种用于离散组合对象的强大摊销采样器。值得注意的是,SB-GFlowNet使用标准GFlowNet近似初始后验,随后使用一种仅需新观测数据的定制过程来更新它。我们在线性偏好学习和系统发育推断中的案例研究展示了SB-GFlowNets在流式设置中从未归一化后验中采样的有效性。正如预期的那样,我们还观察到SB-GFlowNets比从头重复训练GFlowNet以从完整后验中采样要快得多。

英文摘要:

Bayes' rule naturally allows for inference refinement in a streaming fashion, without the need to recompute posteriors from scratch whenever new data arrives. In principle, Bayesian streaming is straightforward: we update our prior with the available data and use the resulting posterior as a prior when processing the next data chunk. In practice, however, this recipe entails i) approximating an intractable posterior at each time step; and ii) encapsulating results appropriately to allow for posterior propagation. For continuous state spaces, variational inference (VI) is particularly convenient due to its scalability and the tractability of variational posteriors. For discrete state spaces, however, state-of-the-art VI results in analytically intractable approximations that are ill-suited for streaming settings. To enable streaming Bayesian inference over discrete parameter spaces, we propose streaming Bayes GFlowNets (abbreviated as SB-GFlowNets) by leveraging the recently proposed GFlowNets -- a powerful class of amortized samplers for discrete compositional objects. Notably, SB-GFlowNet approximates the initial posterior using a standard GFlowNet and subsequently updates it using a tailored procedure that requires only the newly observed data. Our case studies in linear preference learning and phylogenetic inference showcase the effectiveness of SB-GFlowNets in sampling from an unnormalized posterior in a streaming setting. As expected, we also observe that SB-GFlowNets is significantly faster than repeatedly training a GFlowNet from scratch to sample from the full posterior.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑