Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data and How to Mitigate the Problem

Matthias Hein, Maksym Andriushchenko, Julian Bitterwolf; Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), 2019, pp. 41-50

Abstract


Classifiers used in the wild, in particular for safety-critical systems, should not only have good generalization properties but also should know when they don't know, in particular make low confidence predictions far away from the training data. We show that ReLU type neural networks which yield a piecewise linear classifier function fail in this regard as they produce almost always high confidence predictions far away from the training data. For bounded domains like images we propose a new robust optimization technique similar to adversarial training which enforces low confidence predictions far away from the training data. We show that this technique is surprisingly effective in reducing the confidence of predictions far away from the training data while maintaining high confidence predictions and test error on the original classification task compared to standard training.

Related Material


[pdf] [supp] [video]
[bibtex]
@InProceedings{Hein_2019_CVPR,
author = {Hein, Matthias and Andriushchenko, Maksym and Bitterwolf, Julian},
title = {Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data and How to Mitigate the Problem},
booktitle = {Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2019}
}