arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2202.01838cs.LG
收藏

序列梯度法快速收敛的数据序刻画与寻找

Characterizing & Finding Good Data Orderings for Fast Convergence of Sequential Gradient Methods

EPFL(洛桑联邦理工学院);CISPA(亥姆霍兹信息安全研究中心)

Amirkeivan Mohtashami, Sebastian Stich, Martin Jaggi

摘要:

虽然SGD从具有替换的数据中采样在理论上被广泛研究,但一种称为随机重排(RR)的变体在实践中更常见。RR通过数据集的随机排列进行迭代,并且已被证明比SGD收敛得更快。当确定性地选择阶数时,称为增量梯度下降(IG)的变体,现有的收敛界显示出比SGD的改进,但比RR差。然而,这些界限并不区分好的和坏的排序,并且适用于最差的排序选择。同时,在某些情况下,使用IG时选择正确的顺序可以导致比RR更快的收敛。在这项工作中,我们量化了顺序对收敛速度的影响,根据所选择的排列序列获得收敛范围,同时也恢复了以前的RR结果。此外,我们展示了使用结构化洗牌的好处时,各种层次的抽象(例如,任务,类,增强等)。在理论上和实践中都存在于数据集中。最后,依靠我们的测量,我们开发了一个贪心算法,用于在训练过程中选择好的订单,实现了优于RR的性能(准确率超过14%)。

英文摘要:

While SGD, which samples from the data with replacement is widely studied in theory, a variant called Random Reshuffling (RR) is more common in practice. RR iterates through random permutations of the dataset and has been shown to converge faster than SGD. When the order is chosen deterministically, a variant called incremental gradient descent (IG), the existing convergence bounds show improvement over SGD but are worse than RR. However, these bounds do not differentiate between a good and a bad ordering and hold for the worst choice of order. Meanwhile, in some cases, choosing the right order when using IG can lead to convergence faster than RR. In this work, we quantify the effect of order on convergence speed, obtaining convergence bounds based on the chosen sequence of permutations while also recovering previous results for RR. In addition, we show benefits of using structured shuffling when various levels of abstractions (e.g. tasks, classes, augmentations, etc.) exists in the dataset in theory and in practice. Finally, relying on our measure, we develop a greedy algorithm for choosing good orders during training, achieving superior performance (by more than 14 percent in accuracy) over RR.

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

↑