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

交叉熵与期望损失项的混合

Mixing between the Cross Entropy and the Expectation Loss Terms

Tel-Aviv University(特拉维夫大学);Technion(以色列理工学院)

Barak Battash, Lior Wolf, Tamir Hazan

摘要:

交叉熵损失因其有效性和坚实的理论基础而被广泛应用。然而,随着训练的进行,损失往往集中在难以分类的样本上,这可能会阻止网络获得性能上的增益。虽然该领域的大多数工作都提出了对硬否定进行分类的方法,但我们建议策略性地将硬否定留在后面,以便专注于具有更高概率的错误分类样本。我们表明,添加到优化目标的期望损失,这是一个更好的近似的0 - 1损失,帮助网络实现更好的准确性。因此,我们建议在训练过程中在这两种损失之间转换,在训练的后期阶段逐渐更多地关注期望损失。我们的实验表明,新的训练协议提高了不同分类领域的性能,包括计算机视觉,自然语言处理,表格数据和序列。我们的代码和脚本可在补充。

英文摘要:

The cross entropy loss is widely used due to its effectiveness and solid theoretical grounding. However, as training progresses, the loss tends to focus on hard to classify samples, which may prevent the network from obtaining gains in performance. While most work in the field suggest ways to classify hard negatives, we suggest to strategically leave hard negatives behind, in order to focus on misclassified samples with higher probabilities. We show that adding to the optimization goal the expectation loss, which is a better approximation of the zero-one loss, helps the network to achieve better accuracy. We, therefore, propose to shift between the two losses during training, focusing more on the expectation loss gradually during the later stages of training. Our experiments show that the new training protocol improves performance across a diverse set of classification domains, including computer vision, natural language processing, tabular data, and sequences. Our code and scripts are available at supplementary.

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

↑