CONGA:为结构化贝叶斯推断编译高斯纤维几何

·

研究论文 · 2026/11/19

在结构化贝叶斯模型中,大潜变量块常以较小参数集为条件呈高斯分布,但通用推断方法在预热阶段重新学习这一几何结构。本文研究如何利用该结构构建后验推断的传输映射。条件均值和精度确定精确的仿射映射,包括对称Brenier映射和三角Knothe-Rosenblatt映射,将标准正态块与剩余非高斯核心分离。KL和相对Fisher目标随后简化为该核心上的目标。我们提出CONGA,一个编译器,它识别候选高斯块,并根据其结构和计算成本选择时间、谱或稀疏实现。边缘化需要从模型建立恒等式;仅数值证据只允许保持目标的变化变量,检查失败则模型不变。在Stock-Watson通胀模型上,CONGA使NUTS的每秒最小ESS提高12.5倍。它还恢复了原始目标失败的收敛:同一模型上的WALNUTS,以及将6760维电力负荷模型降至34个核心坐标的NUTS。图索引场实验展示了着色和填充如何影响映射选择,包括保留原始目标更优的情况。代码见https://github.com/vicgalle/conga。

该论文提出了一种利用条件高斯结构加速贝叶斯推断的编译器方法,在多个模型上显著提升采样效率并恢复收敛,对结构化贝叶斯推断有重要实用价值。

In structured Bayesian models, a large latent block is often Gaussian conditional on a smaller set of parameters, yet generic inference methods relearn this geometry during warmup. We study how this structure can be used to construct transports for posterior inference. The conditional mean and precision determine exact affine maps, including symmetric Brenier and triangular Knothe-Rosenblatt maps, that separate a standard normal block from the remaining non-Gaussian core. KL and relative Fisher objectives then reduce to objectives on this core. We introduce CONGA, a compiler that identifies candidate Gaussian blocks and selects a temporal, spectral, or sparse implementation according to their structure and computational cost. Marginalization requires an identity established from the model; numerical evidence alone permits only a target-preserving change of variables, and a failed check leaves the model unchanged. On the Stock-Watson inflation model, CONGA improves minimum ESS per second by 12.5x for NUTS. It also restores convergence where the raw target fails: for WALNUTS on the same model, and for NUTS on a 6760-dimensional electricity load model reduced to 34 core coordinates. Experiments on graph-indexed fields show how coloring and fill affect the choice of map, including cases where retaining the original target is preferable. Code at https://github.com/vicgalle/conga

阅读原文

参与讨论