arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.14092cs.LGmath.OCstat.ML
收藏

通过块对角化实现高效稀疏PCA

Efficient Sparse PCA via Block-Diagonalization

University of Wisconsin-Madison(威斯康星大学麦迪逊分校);University of California, Riverside(加州大学河滨分校)

Alberto Del Pia, Dekun Zhou, Yinglun Zhu

AI总结:

提出一种通过块对角化近似协方差矩阵来高效求解Sparse PCA的框架,可集成任意现有算法,在保证极小误差的前提下实现显著甚至指数级加速。

摘要:

稀疏主成分分析(Sparse PCA)是数据分析和降维中的关键工具。然而,Sparse PCA在理论和实践中都是一个具有挑战性的问题:它已知是NP-hard的,且当前的精确方法通常需要指数级运行时间。在本文中,我们提出了一种新框架来高效近似Sparse PCA,方法是:将一般输入协方差矩阵近似为重新排序的块对角矩阵;在每个块中求解Sparse PCA子问题;重构原问题的解。我们的框架简单而强大:它可以利用任何现成的Sparse PCA算法并实现显著的计算加速,其附加误差与块对角矩阵的近似误差呈线性关系。假设$g(k, d)$是某算法在维度$d$且稀疏常数$k$下(近似)求解Sparse PCA的运行时间。我们的框架与该算法集成后,将运行时间降至$\mathcal{O}\left(\frac{d}{d^\star} \cdot g(k, d^\star) + d^2\right)$,其中$d^\star \leq d$是块对角矩阵的最大块大小。例如,将我们的框架与Branch-and-Bound算法集成,可将复杂度从$g(k, d) = \mathcal{O}(k^3\cdot d^k)$降至$\mathcal{O}(k^3\cdot d \cdot (d^\star)^{k-1})$,若$d^\star$较小则可实现指数级加速。我们在许多真实数据集上进行了大规模评估:对于精确Sparse PCA算法,我们的方法实现了100.50的平均加速比,同时保持0.61%的平均近似误差;对于近似Sparse PCA算法,我们的方法实现了6.00的平均加速比和-0.91%的平均近似误差,这意味着我们的方法常常能找到更好的解。

英文摘要:

Sparse Principal Component Analysis (Sparse PCA) is a pivotal tool in data analysis and dimensionality reduction. However, Sparse PCA is a challenging problem in both theory and practice: it is known to be NP-hard and current exact methods generally require exponential runtime. In this paper, we propose a novel framework to efficiently approximate Sparse PCA by (i) approximating the general input covariance matrix with a re-sorted block-diagonal matrix, (ii) solving the Sparse PCA sub-problem in each block, and (iii) reconstructing the solution to the original problem. Our framework is simple and powerful: it can leverage any off-the-shelf Sparse PCA algorithm and achieve significant computational speedups, with a minor additive error that is linear in the approximation error of the block-diagonal matrix. Suppose $g(k, d)$ is the runtime of an algorithm (approximately) solving Sparse PCA in dimension $d$ and with sparsity constant $k$. Our framework, when integrated with this algorithm, reduces the runtime to $\mathcal{O}\left(\frac{d}{d^\star} \cdot g(k, d^\star) + d^2\right)$, where $d^\star \leq d$ is the largest block size of the block-diagonal matrix. For instance, integrating our framework with the Branch-and-Bound algorithm reduces the complexity from $g(k, d) = \mathcal{O}(k^3\cdot d^k)$ to $\mathcal{O}(k^3\cdot d \cdot (d^\star)^{k-1})$, demonstrating exponential speedups if $d^\star$ is small. We perform large-scale evaluations on many real-world datasets: for exact Sparse PCA algorithm, our method achieves an average speedup factor of 100.50, while maintaining an average approximation error of 0.61%; for approximate Sparse PCA algorithm, our method achieves an average speedup factor of 6.00 and an average approximation error of -0.91%, meaning that our method oftentimes finds better solutions.

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

↑