arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2505.19982cs.LG
收藏

重新思考概率电路参数学习

Rethinking Probabilistic Circuit Parameter Learning

School of Computing, National University of Singapore(新加坡国立大学计算机学院);University of California, Los Angeles(加州大学洛杉矶分校)

Anji Liu, Zilei Shao, Guy Van den Broeck

AI总结:

针对概率电路现有小批量参数优化算法最终似然表现不佳的问题,本研究通过理论分析发现过拟合根源,提出带隐式自适应学习率的anemone算法,在多数据集上实现收敛速度和性能的双重提升。

摘要:

概率电路(Probabilistic Circuits, PCs)为生成式建模提供了一种计算可扩展的框架,支持对各类概率查询进行精确且高效的推理。尽管近期进展显著提升了PCs的表达能力与可扩展性,但有效训练其参数仍是一项挑战。具体而言,一种被广泛使用的优化方法——全批量期望最大化(Expectation-Maximization, EM),在执行单次更新前需要处理整个数据集,这使其在大数据集上效率低下。虽然针对小批量场景的经验性扩展,以及基于梯度的小批量算法,收敛速度比全批量EM更快,但它们的最终似然表现通常不佳。我们通过建立这些实用算法与通用EM目标之间的全新理论关联,探究了这一差距。分析揭示了一个根本问题:现有小批量EM和基于梯度的方法未能对分布变化进行恰当正则化,导致每次更新实际上都对当前小批量“过拟合”。受这一洞见启发,我们提出了anemone——一种用于PCs的新型小批量EM算法。Anemone为每个参数施加隐式自适应学习率,其缩放系数取决于该参数对当前批次似然的贡献程度。在语言、图像和DNA数据集上开展的大量实验表明,anemone在收敛速度和最终性能上始终优于现有优化器。

英文摘要:

Probabilistic Circuits (PCs) offer a computationally scalable framework for generative modeling, supporting exact and efficient inference of a wide range of probabilistic queries. While recent advances have significantly improved the expressiveness and scalability of PCs, effectively training their parameters remains a challenge. In particular, a widely used optimization method, full-batch Expectation-Maximization (EM), requires processing the entire dataset before performing a single update, making it ineffective for large datasets. Although empirical extensions to the mini-batch setting, as well as gradient-based mini-batch algorithms, converge faster than full-batch EM, they generally underperform in terms of final likelihood. We investigate this gap by establishing a novel theoretical connection between these practical algorithms and the general EM objective. Our analysis reveals a fundamental issue that existing mini-batch EM and gradient-based methods fail to properly regularize distribution changes, causing each update to effectively ``overfit'' the current mini-batch. Motivated by this insight, we introduce anemone, a new mini-batch EM algorithm for PCs. Anemone applies an implicit adaptive learning rate to each parameter, scaled by how much it contributes to the likelihood of the current batch. Across extensive experiments on language, image, and DNA datasets, anemone consistently outperforms existing optimizers in both convergence speed and final performance.

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

↑