arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01985cs.LGcs.DC
收藏

Ilargi:一个GPU兼容的因子化机器学习模型训练框架

Ilargi: a GPU Compatible Factorized ML Model Training Framework

Delft University of Technology(代尔夫特理工大学)

Wenbo Sun, Rihan Hai

AI总结:

本文提出GPU兼容的因子化学习框架Ilargi,利用矩阵表示的数据集成元数据和基于ML的成本估计器自动选择因子化或物化,在GPU上实现最高8.9倍加速及批量训练超20%加速。

摘要:

在异构数据源上进行机器学习(ML)训练传统上涉及物化,由于数据移动和复制,这会带来显著的时间和空间开销。因子化学习通过线性代数(LA)重写利用对异构数据源的直接计算,已成为提高计算效率的可行替代方案。然而,将因子化学习适配到充分利用现代对LA友好的硬件(如GPU)的能力方面仍然有限,通常需要人工干预以保证算法兼容性。本文介绍了Ilargi,一种新颖的因子化学习框架,它利用矩阵表示的数据集成(DI)元数据,在CPU和GPU环境中促进自动因子化,而无需昂贵的关联连接。Ilargi结合了一个基于ML的成本估计器,根据数据属性、算法复杂度、硬件环境及其相互作用,智能地在因子化和物化之间进行选择。该策略在GPU上确保高达8.9倍的加速,并在批量ML训练工作负载中实现超过20%的加速,从而增强了跨不同数据集成场景和硬件平台的ML训练的实用性。据我们所知,这项工作是GPU兼容因子化学习方面的首次努力。

英文摘要:

The machine learning (ML) training over disparate data sources traditionally involves materialization, which can impose substantial time and space overhead due to data movement and replication. Factorized learning, which leverages direct computation on disparate sources through linear algebra (LA) rewriting, has emerged as a viable alternative to improve computational efficiency. However, the adaptation of factorized learning to leverage the full capabilities of modern LA-friendly hardware like GPUs has been limited, often requiring manual intervention for algorithm compatibility. This paper introduces Ilargi, a novel factorized learning framework that utilizes matrix-represented data integration (DI) metadata to facilitate automatic factorization across CPU and GPU environments without the need for costly relational joins. Ilargi incorporates an ML-based cost estimator to intelligently selects between factorization and materialization based on data properties, algorithm complexity, hardware environments, and their interactions. This strategy ensures up to 8.9x speedups on GPUs and achieves over 20% acceleration in batch ML training workloads, thereby enhancing the practicability of ML training across diverse data integration scenarios and hardware platforms. To our knowledge, this work is the very first effort in GPU-compatible factorized learning.

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

↑