Skip to main content
QUICK REVIEW

[论文解读] Efficient Randomized Algorithms for the Fixed-Precision Low-Rank Matrix Approximation

Wenjian Yu, Yu Gu|arXiv (Cornell University)|Jun 30, 2016
Sparse and Compressive Sensing TechniquesEngineering被引用 4
一句话总结

本文提出了两种高效的随机化算法 randQB_EI 和 randQB_FP,用于固定精度的低秩矩阵近似,支持自适应秩选择与遍历效率,且无需维护残差矩阵。通过引入一种新型的Frobenius范数误差指示器并优化数据访问模式,该方法在现有分块算法基础上实现了最高22倍的加速和3倍的内存节省,同时显著提升了单遍算法的精度。

ABSTRACT

Randomized algorithms for low-rank matrix approximation are investigated, with the emphasis on the fixed-precision problem and computational efficiency for handling large matrices. The algorithms are based on the so-called QB factorization, where Q is an orthonormal matrix. Firstly, a mechanism for calculating the approximation error in Frobenius norm is proposed, which enables efficient adaptive rank determination for large and/or sparse matrix. It can be combined with any QB-form factorization algorithm in which B's rows are incrementally generated. Based on the blocked randQB algorithm by P.-G. Martinsson and S. Voronin, this results in an algorithm called randQB EI. Then, we further revise the algorithm to obtain a pass-efficient algorithm, randQB FP, which is mathematically equivalent to the existing randQB algorithms and also suitable for the fixed-precision problem. Especially, randQB FP can serve as a single-pass algorithm for calculating leading singular values, under certain condition. With large and/or sparse test matrices, we have empirically validated the merits of the proposed techniques, which exhibit remarkable speedup and memory saving over the blocked randQB algorithm. We have also demonstrated that the single-pass algorithm derived by randQB FP is much more accurate than an existing single-pass algorithm. And with data from a scenic image and an information retrieval application, we have shown the advantages of the proposed algorithms over the adaptive range finder algorithm for solving the fixed-precision problem.

研究动机与目标

  • 解决现有分块随机化算法在处理大规模或稀疏矩阵时计算效率低下的问题。
  • 消除在迭代分解过程中维护昂贵残差矩阵的需求,降低内存占用,并避免稀疏场景下的填充现象。
  • 开发一种遍历效率高的算法,最小化对输入矩阵的数据访问次数,尤其在I/O开销较高时具有显著优势。
  • 在不牺牲计算效率或精度的前提下,实现在Frobenius范数下准确且自适应的秩确定。
  • 在满足用户指定误差容限的前提下,超越现有单遍法和自适应范围查找方法,在精度和因子矩阵大小方面表现更优。

提出的方法

  • 通过投影矩阵与矩阵乘积的迹推导出一种新型Frobenius范数误差指示器,实现实时误差估计而无需存储残差矩阵。
  • 将该误差指示器集成到分块 randQB 算法中,形成支持增量分解过程中自适应秩选择的 randQB_EI 算法。
  • 进一步将算法优化为 randQB_FP,通过重用中间计算结果减少对输入矩阵的遍历次数,同时保持与分块版本的数学等价性。
  • 在特定条件下,从 randQB_FP 衍生出单遍变体,实现对主导奇异值的高效且高精度计算。
  • 通过避免显式残差更新,该方法支持稠密和稀疏矩阵,从而保持稀疏性并降低内存开销。
  • 该方法与其它增量 QB 形式分解方案(如 trQRCP)兼容,增强了其广泛适用性。

实验结果

研究问题

  • RQ1能否在不维护残差矩阵的前提下,为 QB 分解中的自适应秩确定开发一种计算高效且内存节省的误差指示器?
  • RQ2在固定精度低秩近似中,如何在保持精度的前提下最小化对大规模或稀疏矩阵的遍历次数?
  • RQ3能否从分块随机化算法中推导出一种单遍算法,保持数学等价性并优于现有单遍方法的精度?
  • RQ4与固定精度问题中的自适应范围查找算法相比,所提出的误差指示器在精度和效率方面表现如何?
  • RQ5与最先进的随机化及基于经典 SVD 的方法相比,所提出的算法在因子矩阵大小和计算成本方面减少了多少?

主要发现

  • 所提出的误差指示器在稀疏矩阵上相比分块 randQB 算法实现了最高22倍加速和3倍内存减少,且精度无损失。
  • 在稠密矩阵上,randQB_EI 算法相比分块 randQB 算法实现了最高3倍加速和3倍内存节省,原因在于消除了残差矩阵的维护。
  • 从 randQB_FP 衍生出的单遍算法显著优于现有单遍方法,尤其在估计主导奇异值方面表现更优。
  • 对于真实世界数据(如风景图像和信息检索矩阵),所提算法生成的因子矩阵远小于自适应范围查找方法生成的矩阵,同时满足相同的误差容限。
  • 在 AMiner 稀疏矩阵(非零元素占比0.2%)上,所提算法仅使用约3 GB内存,而标准 SVD 需要超过20 GB,svds 计算1,000个分量耗时2,281秒。
  • 在相对误差容限为0.1时,图像压缩实现了约7倍的大小缩减,且视觉和定量评估均证实感知质量损失极小。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。