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

Corgi^2:一种面向SGD的存储感知数据混洗的离线-在线混合方法

Corgi^2: A Hybrid Offline-Online Approach To Storage-Aware Data Shuffling For SGD

Mobileye;Harvard University(哈佛大学);Hebrew University(希伯来大学)

Etay Livne, Gal Kaplun, Eran Malach, Shai Shalev-Schwatz

AI总结:

针对SGD在大型云存储数据集上随机访问效率低的问题,提出Corgi^2混合离线-在线数据混洗策略,兼顾随机访问性能与CorgiPile的数据访问效率,并给出理论收敛性分析与实验验证。

摘要:

在使用随机梯度下降(SGD)训练机器学习模型时,通常关键的是向模型提供从数据集中随机采样的样本。然而,对于存储在云中的大型数据集,随机访问单个样本往往成本高昂且效率低下。近期的一项工作\cite{corgi}提出了一种名为CorgiPile的在线混洗算法,该算法极大地提高了数据访问效率,但代价是牺牲了一些性能,这种性能损失在存储在同类分片(例如视频数据集)中的大型数据集上尤为明显。在本文中,我们提出了一种新颖的两步部分数据混洗策略用于SGD,该策略将CorgiPile方法的离线迭代与随后的在线迭代相结合。我们的方法兼具两者优势:其性能与采用随机访问的SGD相当(即使对于同类数据也是如此),同时又不损害CorgiPile的数据访问效率。我们对所提方法的收敛性质进行了全面的理论分析,并通过实验结果展示了其实际优势。

英文摘要:

When using Stochastic Gradient Descent (SGD) for training machine learning models, it is often crucial to provide the model with examples sampled at random from the dataset. However, for large datasets stored in the cloud, random access to individual examples is often costly and inefficient. A recent work \cite{corgi}, proposed an online shuffling algorithm called CorgiPile, which greatly improves efficiency of data access, at the cost some performance loss, which is particularly apparent for large datasets stored in homogeneous shards (e.g., video datasets). In this paper, we introduce a novel two-step partial data shuffling strategy for SGD which combines an offline iteration of the CorgiPile method with a subsequent online iteration. Our approach enjoys the best of both worlds: it performs similarly to SGD with random access (even for homogenous data) without compromising the data access efficiency of CorgiPile. We provide a comprehensive theoretical analysis of the convergence properties of our method and demonstrate its practical advantages through experimental results.

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

↑