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

减少深度神经网络中的翻转错误

Reducing Flipping Errors in Deep Neural Networks

Xiang Deng, Yun Xiao, Bo Long, Zhongfei Zhang

摘要:

深度神经网络(DNN)已经广泛应用于人工智能的各个领域,包括计算机视觉和自然语言处理。DNN通常经过多个epoch的训练,然后使用验证数据集来选择一个epoch中的DNN(我们简单地称这个epoch为“最后一个epoch”)作为对未知样本进行预测的最终模型,而它通常无法在未知样本上实现完美的准确性。一个有趣的问题是“有多少DNN在最后一个纪元中错误分类的测试(看不见的)样本在最后一个纪元之前被DNN正确分类?".在本文中,我们对这个问题进行了实证研究,并在几个基准数据集上发现,上一个时期的绝大多数错误分类样本在上一个时期之前都被正确分类,这意味着这些样本的预测从“正确”翻转到“错误”。基于这一观察结果,我们建议限制DNN在正确分类的样本上的行为变化,以便保持正确的局部边界,并大大减少未见过样本的翻转错误。在具有不同现代网络架构的不同基准数据集上进行的大量实验表明,所提出的翻转误差减少(FER)方法可以在不引入任何额外网络参数或推理成本的情况下,大大提高DNN的泛化性,鲁棒性和可移植性,仅具有可忽略不计的训练开销。

英文摘要:

Deep neural networks (DNNs) have been widely applied in various domains in artificial intelligence including computer vision and natural language processing. A DNN is typically trained for many epochs and then a validation dataset is used to select the DNN in an epoch (we simply call this epoch "the last epoch") as the final model for making predictions on unseen samples, while it usually cannot achieve a perfect accuracy on unseen samples. An interesting question is "how many test (unseen) samples that a DNN misclassifies in the last epoch were ever correctly classified by the DNN before the last epoch?". In this paper, we empirically study this question and find on several benchmark datasets that the vast majority of the misclassified samples in the last epoch were ever classified correctly before the last epoch, which means that the predictions for these samples were flipped from "correct" to "wrong". Motivated by this observation, we propose to restrict the behavior changes of a DNN on the correctly-classified samples so that the correct local boundaries can be maintained and the flipping error on unseen samples can be largely reduced. Extensive experiments on different benchmark datasets with different modern network architectures demonstrate that the proposed flipping error reduction (FER) approach can substantially improve the generalization, the robustness, and the transferability of DNNs without introducing any additional network parameters or inference cost, only with a negligible training overhead.

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

↑