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

关于 Selective Backprop 中梯度匹配的一个负面结果

A Negative Result on Gradient Matching for Selective Backprop

Amazon Web Services(亚马逊云科技);Helsing(赫尔辛)

Lukas Balles, Cedric Archambeau, Giovanni Zappella

AI总结:

本文针对 Selective Backprop 提出用最后一层梯度匹配小批量平均梯度来选择反向传播子集,并加入随机基线;实验表明该方法和基于损失的选择均未稳定胜出。

摘要:

随着模型和数据集规模不断扩大,深度神经网络的训练成为一项沉重的计算负担。加速训练过程的一种方法是 Selective Backprop。对于该方法,我们执行前向传播,以获得小批量中每个数据点的损失值。随后,反向传播被限制在该小批量的一个子集上,并优先处理高损失样本。我们以该方法为基础,但试图通过选择最能匹配整个小批量平均梯度的(加权)子集来改进子集选择机制。我们使用相对于模型最后一层的梯度作为低成本代理,因此除前向传播外几乎不会产生额外开销。同时,在实验中,我们加入了以往工作中缺失的简单随机选择基线。令人惊讶的是,我们发现基于损失的策略和梯度匹配策略都未能持续优于随机基线。

英文摘要:

With increasing scale in model and dataset size, the training of deep neural networks becomes a massive computational burden. One approach to speed up the training process is Selective Backprop. For this approach, we perform a forward pass to obtain a loss value for each data point in a minibatch. The backward pass is then restricted to a subset of that minibatch, prioritizing high-loss examples. We build on this approach, but seek to improve the subset selection mechanism by choosing the (weighted) subset which best matches the mean gradient over the entire minibatch. We use the gradients w.r.t. the model's last layer as a cheap proxy, resulting in virtually no overhead in addition to the forward pass. At the same time, for our experiments we add a simple random selection baseline which has been absent from prior work. Surprisingly, we find that both the loss-based as well as the gradient-matching strategy fail to consistently outperform the random baseline.

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

↑