arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.12299stat.MLcs.CVcs.LG
收藏

亚线性变分优化高斯混合模型:从数百万到数十亿参数

Sublinear Variational Optimization of Gaussian Mixture Models with Millions to Billions of Parameters

Faculty VI Carl von Ossietzky University Oldenburg(卡尔·奥西埃茨基大学第六学院);Artificial Intelligence Lab, Department of Computer Science, Faculty of Mathematics, Computer Science and Physics University of Innsbruck(人工智能实验室,计算机科学系,数学、计算机科学与物理学学院因斯布鲁克大学);Data Analytics and AI, Faculty 3 Frankfurt University of Applied Sciences(数据分析与人工智能,第三学院法兰克福应用科学大学)

Sebastian Salwig, Till Kahlke, Florian Hirschberger, Dennis Forster, Jörg Lücke

AI总结:

本文提出亚线性变分优化方法,有效降低大规模高斯混合模型的训练复杂度,实验证明其在去噪任务中性能优越。

摘要:

高斯混合模型(GMMs)是机器学习中最常用的模型之一。然而,训练大型通用GMMs在数据点数量N和高维数D的datasets上变得计算上不可行。对于具有任意协方差的GMMs,我们推导出一个高效的变分近似方法,并将其与因子分析混合(MFAs)结合。对于具有C个组件的GMMs,我们提出的算法将每轮迭代的运行时间复杂度从O(NCD²)降低到与D线性相关且与NC亚线性相关的复杂度。在数值实验中,我们首先验证复杂度降低导致整个GMM优化过程的亚线性标度。其次,我们在大规模基准上展示亚线性算法相比最先进的方法有数量级的加速。第三,作为概念验证,我们最终在约1亿张图像上训练具有超过100亿参数的GMMs,观察到在单个最先进的CPU上训练时间少于九小时。最后,我们展示了大规模GMMs在零样本图像去噪任务中的有效性,其中亚线性训练结果在去噪时间上达到最先进的水平,同时保持了具有竞争力的去噪性能。

英文摘要:

Gaussian Mixture Models (GMMs) range among the most frequently used models in machine learning. However, training large, general GMMs becomes computationally prohibitive for data sets that have many data points $N$ of high-dimensionality $D$. For GMMs with arbitrary covariances, we here derive a highly efficient variational approximation, which is then integrated with mixtures of factor analyzers (MFAs). For GMMs with $C$ components, our proposed algorithm substantially reduces runtime complexity from $\mathcal{O}(NCD^2)$ per iteration to a complexity scaling linearly with $D$ and sublinearly with $NC$. In numerical experiments, we first validate that the complexity reduction results in a sublinear scaling for the entire GMM optimization process. Second, we show on large-scale benchmarks that the sublinear algorithm results in speed-ups of an order-of-magnitude compared to the state-of-the-art. Third, as a proof of concept, we finally train GMMs with over 10 billion parameters on about 100 million images, observing training times of less than nine hours on a single state-of-the-art CPU. Finally, and fourth, we demonstrate the effectiveness of large-scale GMMs on the task of zero-shot image denoising, where sublinear training results in state-of-the-art denoising times while competitive denoising performance is maintained.

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

↑