arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.16204cs.LGcs.SDeess.AS
收藏

重新审视微批次裁剪:通过梯度操作进行自适应数据剪枝

Revisit Micro-batch Clipping: Adaptive Data Pruning via Gradient Manipulation

Google(谷歌公司)

Lun Wang

AI总结:

本文首次从数据剪枝视角解释微批次裁剪提升模型收敛率的机制,证明特定微批次大小可最小化不随迭代消失的常数偏差,并验证其在视觉和语言模型上的有效性及多领域数据的局限性。

摘要:

微批次裁剪作为一种梯度裁剪方法,近期在提升自动语音识别(ASR)模型性能方面展现出潜力。然而,这种改进背后的潜在机制仍不明确,特别是观察到仅特定微批次大小有益的现象。本文首次尝试解释这一现象。受近期数据剪枝研究的启发,我们假设特定训练样本在某些训练阶段可能会阻碍模型收敛。在此假设下,收敛分析表明,微批次裁剪能以不随训练迭代次数增加而消失的额外常数偏差为代价,渐近地提高收敛率。该偏差取决于若干因素,并在特定微批次大小下可被最小化,从而阐明了先前观察到的最佳微批次大小存在的原因。我们还在视觉和语言模型上验证了微批次裁剪在语音模型之外的有效性,并展示了在这些领域的良好性能提升。对潜在局限性的探讨表明,当训练数据来自多个不同领域时,微批次裁剪效果较差。

英文摘要:

Micro-batch clipping, a gradient clipping method, has recently shown potential in enhancing auto-speech recognition (ASR) model performance. However, the underlying mechanism behind this improvement remains mysterious, particularly the observation that only certain micro-batch sizes are beneficial. In this paper, we make the first attempt to explain this phenomenon. Inspired by recent data pruning research, we assume that specific training samples may impede model convergence during certain training phases. Under this assumption, the convergence analysis shows that micro-batch clipping can improve the convergence rate asymptotically at the cost of an additional constant bias that does not diminish with more training iterations. The bias is dependent on a few factors and can be minimized at specific micro-batch size, thereby elucidating the existence of the sweet-spot micro-batch size observed previously. We also verify the effectiveness of micro-batch clipping beyond speech models on vision and language models, and show promising performance gains in these domains. An exploration of potential limitations shows that micro-batch clipping is less effective when training data originates from multiple distinct domains.

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

↑