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

基于梯度的混合因子分析器大规模训练

Large-scale gradient-based training of Mixtures of Factor Analyzers

Fulda University of Applied Sciences(富尔达应用科学大学)

Alexander Gepperth

AI总结:

针对高维数据下GMM协方差矩阵的规模与限制问题,提出基于随机梯度下降的MFA高效训练方法,结合精度矩阵优化求逆开销,在图像数据集上验证了生成与异常检测能力。

摘要:

高斯混合模型(Gaussian Mixture Models, GMMs)是数据分析中的标准工具。然而,当应用于高维数据(例如图像)时,由于所需的全协方差矩阵(covariance matrices, CMs)规模过大,这类模型会面临诸多问题;而使用对角或球形协方差矩阵通常又会施加过于严格的限制。混合因子分析器(Mixture of Factor analyzers, MFA)模型是GMM的重要扩展,它能够基于因子载荷(factor loadings)的数量$l$,在对角协方差矩阵和全协方差矩阵之间实现平滑插值。MFA已成功应用于高维图像数据建模。本文既提供了理论分析,又提出了一种从随机质心初始化出发、通过随机梯度下降高效训练高维MFA的新方法。该方法极大简化了训练和初始化流程,避免了批量类算法(如期望最大化算法(Expectation-Maximization, EM))在处理海量数据训练时存在的问题。此外,通过利用矩阵行列式引理的性质,我们证明MFA的训练以及推理/采样可以基于精度矩阵完成,训练结束后无需进行矩阵求逆运算。在训练阶段,该方法仅需对$l\times l$矩阵进行求逆。除了理论分析与证明之外,我们将MFA应用于SVHN、MNIST等典型图像数据集,验证了其具备样本生成和异常值检测的能力。

英文摘要:

Gaussian Mixture Models (GMMs) are a standard tool in data analysis. However, they face problems when applied to high-dimensional data (e.g., images) due to the size of the required full covariance matrices (CMs), whereas the use of diagonal or spherical CMs often imposes restrictions that are too severe. The Mixture of Factor analyzers (MFA) model is an important extension of GMMs, which allows to smoothly interpolate between diagonal and full CMs based on the number of \textit{factor loadings} $l$. MFA has successfully been applied for modeling high-dimensional image data. This article contributes both a theoretical analysis as well as a new method for efficient high-dimensional MFA training by stochastic gradient descent, starting from random centroid initializations. This greatly simplifies the training and initialization process, and avoids problems of batch-type algorithms such Expectation-Maximization (EM) when training with huge amounts of data. In addition, by exploiting the properties of the matrix determinant lemma, we prove that MFA training and inference/sampling can be performed based on precision matrices, which does not require matrix inversions after training is completed. At training time, the methods requires the inversion of $l\times l$ matrices only. Besides the theoretical analysis and proofs, we apply MFA to typical image datasets such as SVHN and MNIST, and demonstrate the ability to perform sample generation and outlier detection.

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

↑