arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2002.08709cs.LGstat.ML
收藏

在实现零训练错误后,我们需要零训练损失吗?

Do We Need Zero Training Loss After Achieving Zero Training Error?

The University of Tokyo(东京大学);RIKEN(理化学研究所);NEC Corporation(日本电气株式会社)

Takashi Ishida, Ikko Yamane, Tomoya Sakai, Gang Niu, Masashi Sugiyama

摘要:

过度参数化的深度网络有能力记住\emph{training error}为零的训练数据。即使在记忆之后,\emph{training loss}继续接近零,使得模型过度自信,测试性能下降。由于现有的正则化器并不直接以避免零训练损失为目标,因此很难调整它们的超参数以保持固定/预设的训练损失水平。我们提出了一种称为\emph{flooding}的直接解决方案,当训练损失达到一个合理的小值时,它会故意阻止进一步减少训练损失,我们称之为\emph{flood level}。我们的方法通过像往常一样进行小批量梯度下降,但如果训练损失低于洪水位,则进行梯度上升,从而使损失在洪水位周围浮动。这可以用一行代码实现,并且与任何随机优化器和其他正则化器兼容。在洪水中,模型将继续以相同的非零训练损失进行“随机行走”,我们预计它将漂移到一个具有平坦损失景观的区域,从而实现更好的泛化。我们的实验表明,泛洪提高性能,并作为副产品,诱导测试损失的双下降曲线。

英文摘要:

Overparameterized deep networks have the capacity to memorize training data with zero \emph{training error}. Even after memorization, the \emph{training loss} continues to approach zero, making the model overconfident and the test performance degraded. Since existing regularizers do not directly aim to avoid zero training loss, it is hard to tune their hyperparameters in order to maintain a fixed/preset level of training loss. We propose a direct solution called \emph{flooding} that intentionally prevents further reduction of the training loss when it reaches a reasonably small value, which we call the \emph{flood level}. Our approach makes the loss float around the flood level by doing mini-batched gradient descent as usual but gradient ascent if the training loss is below the flood level. This can be implemented with one line of code and is compatible with any stochastic optimizer and other regularizers. With flooding, the model will continue to "random walk" with the same non-zero training loss, and we expect it to drift into an area with a flat loss landscape that leads to better generalization. We experimentally show that flooding improves performance and, as a byproduct, induces a double descent curve of the test loss.

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

↑