BLOKS:基于草图块预处理的核求解器扩展方案
BLOKS: Scaling Kernel Solvers with Sketched Block Preconditioning
AI总结:
针对核岭回归精确求解器难以扩展至大规模数据的问题,提出结合块雅可比近似与草图技术的BLOKS预处理子,实现了内存高效的GPU加速求解器,在标准大规模数据集上性能优于或相当于现有最先进方法。
摘要:
核岭回归(KRR)是一种理论完备的非参数学习算法,也常被用于研究深度学习的特性。然而,精确的KRR公式会产生时间和内存开销,使其难以应用于大规模数据集,这推动了近似求解器的开发。这些算法依赖于:(i)迭代方法,以避免直接求解的计算负担;(ii)草图或批处理,以减小问题规模;(iii)预处理,以加速收敛。预处理对快速收敛至关重要,但会产生内存开销,可通过降低模型自由参数数量来控制,这可能会牺牲表达能力,进而影响精度。为应对这一挑战,我们提出BLOKS,一种基于共轭梯度的Nyström草图KRR求解器,其核心是一种新型预处理子,结合了块雅可比近似与草图技术。BLOKS预处理子的内存开销与数据集规模和参数数量均无关,可扩展至大型模型。我们提供了一种内存高效的GPU加速实现,结果表明BLOKS在保持优异时间/内存复杂度的同时,实现了出色的精度。实际上,在用于基准测试核求解器的标准大规模数据集上,BLOKS的性能与最先进方法相当或更优。
英文摘要:
Kernel Ridge Regression (KRR) is a theoretically sound algorithm for nonparametric learning, which is also often used to investigate properties of deep learning. However, the exact KRR formulation incurs time and memory costs preventing applicability to large datasets, motivating the development of approximate solvers. These algorithms rely on (i) iterative methods, to avoid the computational burden of direct solutions; (ii) sketching or batching, to reduce the problem size; and (iii) preconditioning, to accelerate convergence. While crucial for fast convergence, preconditioning incurs memory costs that can be managed by lowering the number of free parameters of the model, potentially at the expense of expressivity and hence accuracy. To address this challenge, we propose BLOKS, a Conjugate Gradient-based solver for Nyström-sketched KRR built around a novel preconditioner that combines a block Jacobi approximation with sketching. The BLOKS preconditioner has memory cost independent of both the dataset size and the number of parameters, allowing scaling to large models. We provide a memory-efficient, GPU-accelerated implementation and show that BLOKS achieves excellent accuracy while retaining favorable time/memory complexity. Indeed, on standard large-scale datasets used to benchmark kernel solvers, BLOKS achieves comparable or better performances than state-of-the-art methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。