arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.05958cs.CVcs.LG
收藏

您只需要针对长尾识别的端到端培训

You Only Need End-to-End Training for Long-Tailed Recognition

Zhiwei Zhang

摘要:

长尾数据集的泛化差距主要是由于大多数类别只占用少数训练样本。解耦训练通过分别训练骨干和分类器来实现更好的性能。是什么导致端到端模型训练的性能较差(例如,logits基于边际的方法)?在这项工作中,我们确定了影响分类器学习的一个关键因素:在输入分类器之前具有低熵的通道相关特征。从信息论的角度,我们分析了为什么交叉熵损失往往会产生高度相关的特征上的不平衡数据。此外,我们还从理论上分析和证明了它对分类器权重梯度、Hessian的条件数和基于logits边缘的方法的影响。因此,我们首先提出使用通道白化去相关(“分散”)分类器的输入解耦的权重更新和重塑倾斜的决策边界,这取得了令人满意的结果结合基于logits边缘的方法。然而,当小班人数较多时,批次不平衡和参与培训的人数过多会导致大班的过度拟合。我们还提出了两个新的模块,基于块的相对平衡批量采样器(B3 RS)和批量嵌入式训练(BET),以解决上述问题,这使得端到端的训练实现甚至比解耦训练更好的性能。在CIFAR-LT和ImageNet-LT两个长尾分类基准上的实验结果表明了该方法的有效性。

英文摘要:

The generalization gap on the long-tailed data sets is largely owing to most categories only occupying a few training samples. Decoupled training achieves better performance by training backbone and classifier separately. What causes the poorer performance of end-to-end model training (e.g., logits margin-based methods)? In this work, we identify a key factor that affects the learning of the classifier: the channel-correlated features with low entropy before inputting into the classifier. From the perspective of information theory, we analyze why cross-entropy loss tends to produce highly correlated features on the imbalanced data. In addition, we theoretically analyze and prove its impacts on the gradients of classifier weights, the condition number of Hessian, and logits margin-based approach. Therefore, we firstly propose to use Channel Whitening to decorrelate ("scatter") the classifier's inputs for decoupling the weight update and reshaping the skewed decision boundary, which achieves satisfactory results combined with logits margin-based method. However, when the number of minor classes are large, batch imbalance and more participation in training cause over-fitting of the major classes. We also propose two novel modules, Block-based Relatively Balanced Batch Sampler (B3RS) and Batch Embedded Training (BET) to solve the above problems, which makes the end-to-end training achieve even better performance than decoupled training. Experimental results on the long-tailed classification benchmarks, CIFAR-LT and ImageNet-LT, demonstrate the effectiveness of our method.

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

↑