arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2408.16429cs.LGcs.AIstat.ML

基于条件混合网络的无梯度变分学习

Gradient-free variational learning with conditional mixture networks

VERSES AI Research Lab(VERSES AI研究实验室);Max Planck Institute of Animal Behavior(马克斯·普朗克动物行为研究所);Technische Universität Dresden(德累斯顿工业大学);University of Sussex(萨塞克斯大学);Duke University(杜克大学)

Conor Heins, Hao Wu, Dimitrije Markovic, Alexander Tschantz, Jeff Beck, Christopher Buckley

AI总结:

本文提出CAVI-CMN方法,利用条件共轭性和Pólya-Gamma增广,以无梯度的坐标上升变分推断训练条件混合网络,在UCI分类基准上达到与反向传播MLE相当或更优的精度,并保持竞争性运行时间和完整后验分布。

摘要:

在监督学习中,平衡计算效率与稳健的预测性能至关重要,尤其是在关键应用中。标准的深度学习模型虽然准确且可扩展,但往往缺乏概率特性,例如校准预测和不确定性量化。贝叶斯方法能够解决这些问题,但随着模型和数据复杂度的增加,其计算成本可能很高。先前的研究表明,快速变分方法可以通过消除梯度计算或采样的需求来降低贝叶斯方法的计算要求,但通常仅限于简单模型。我们提出了CAVI-CMN,这是一种快速、无梯度的变分方法,用于训练条件混合网络(CMNs),即专家混合(MoE)模型的概率变体。CMNs由线性专家和一个softmax门控网络组成。通过利用条件共轭性和Pólya-Gamma增广,我们为线性层和门控网络的权重提供了高斯似然。这使得能够使用坐标上升变分推断(CAVI)进行高效的变分更新,从而避免了传统的基于梯度的优化。我们通过在UCI库中的标准分类基准上训练两层CMNs来验证该方法。与使用反向传播的最大似然估计(MLE)相比,CAVI-CMN取得了具有竞争力且通常更优的预测精度,同时保持了具有竞争力的运行时间,并获得了所有模型参数的完整后验分布。此外,随着输入规模或专家数量的增加,计算时间与MLE以及其他基于梯度的解决方案(如黑盒变分推断(BBVI))相比具有竞争力,这使得CAVI-CMN成为构建深度、快速且无梯度的贝叶斯网络的有前景的工具。

英文摘要:

Balancing computational efficiency with robust predictive performance is crucial in supervised learning, especially for critical applications. Standard deep learning models, while accurate and scalable, often lack probabilistic features like calibrated predictions and uncertainty quantification. Bayesian methods address these issues but can be computationally expensive as model and data complexity increase. Previous work shows that fast variational methods can reduce the compute requirements of Bayesian methods by eliminating the need for gradient computation or sampling, but are often limited to simple models. We introduce CAVI-CMN, a fast, gradient-free variational method for training conditional mixture networks (CMNs), a probabilistic variant of the mixture-of-experts (MoE) model. CMNs are composed of linear experts and a softmax gating network. By exploiting conditional conjugacy and Pólya-Gamma augmentation, we furnish Gaussian likelihoods for the weights of both the linear layers and the gating network. This enables efficient variational updates using coordinate ascent variational inference (CAVI), avoiding traditional gradient-based optimization. We validate this approach by training two-layer CMNs on standard classification benchmarks from the UCI repository. CAVI-CMN achieves competitive and often superior predictive accuracy compared to maximum likelihood estimation (MLE) with backpropagation, while maintaining competitive runtime and full posterior distributions over all model parameters. Moreover, as input size or the number of experts increases, computation time scales competitively with MLE and other gradient-based solutions like black-box variational inference (BBVI), making CAVI-CMN a promising tool for deep, fast, and gradient-free Bayesian networks.

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

↑