arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.16917cs.LGcs.AIcs.CV
收藏

Grad Queue:一种强化稀疏梯度的概率框架

Grad Queue : A probabilistic framework to reinforce sparse gradients

Irfan Mohammad Al Hasib

AI总结:

提出Grad Queue概率框架,通过在线梯度队列度量并强化稀疏梯度,结合特征聚类减少大mini-batch冲突,恢复批次多样性并拓宽最优边界,在多个数据集上优于传统梯度下降。

摘要:

信息丰富的梯度通常会在大批量更新中丢失。我们提出了一种鲁棒的机制来强化随机数据批次中的稀疏成分。使用有限长度的在线梯度队列来确定其期望的瞬时统计量。我们提出一个函数,利用这些统计量来度量输入梯度的稀缺性,并建立了该机制的理论基础。为最小化大 mini-batch 中的冲突成分,通过基于内在特征空间进行聚类,将样本按对齐目标进行分组。对每个聚类中心测量稀疏性并据此加权。从每个聚类中挤出冗余信息的强直观准则是该系统的核心。它使稀有信息不受激进动量影响,同时在更大的 mini-batch 范围下也展现出卓越性能。队列的有效长度保持可变,以跟随局部损失模式。我们方法的贡献在于恢复 mini-batch 内的多样性,同时拓宽最优批次边界。这两者共同驱动其更深入地趋向极小值。与 mini-batch 梯度下降相比,我们的方法在 CIFAR10、MNIST 和 Reuters News 类别数据集上展现出卓越性能。

英文摘要:

Informative gradients are often lost in large batch updates. We propose a robust mechanism to reinforce the sparse components within a random batch of data points. A finite queue of online gradients is used to determine their expected instantaneous statistics. We propose a function to measure the scarcity of incoming gradients using these statistics and establish the theoretical ground of this mechanism. To minimize conflicting components within large mini-batches, samples are grouped with aligned objectives by clustering based on inherent feature space. Sparsity is measured for each centroid and weighted accordingly. A strong intuitive criterion to squeeze out redundant information from each cluster is the backbone of the system. It makes rare information indifferent to aggressive momentum also exhibits superior performance with larger mini-batch horizon. The effective length of the queue kept variable to follow the local loss pattern. The contribution of our method is to restore intra-mini-batch diversity at the same time widening the optimal batch boundary. Both of these collectively drive it deeper towards the minima. Our method has shown superior performance for CIFAR10, MNIST, and Reuters News category dataset compared to mini-batch gradient descent.

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

↑