Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data and How to Mitigate the Problem
Paper · 2019 · Matthias Hein, Maksym Andriushchenko and Julian Bitterwolf
Summary
A digit recognizer can give a decisive answer when the input contains no digit to recognize. Its confidence says how strongly it favors a particular label among the labels available to it. In applications where confidence determines whether to rely on a prediction, ask a person, or consult another sensor, that distinction matters. The authors investigate why classifiers built with rectified linear units, or ReLUs, can become so certain about unfamiliar inputs and how training can make them more cautious on images.
The explanation comes from the way these networks extend their class scores across input space. The space splits into finitely many convex regions, each with its own rule for computing the scores. Within a region, every score is a linear function of the input plus a constant. If an input moves outward along a ray in an unbounded space, it eventually stays in one region. Under the theorem’s assumption about the score functions, nearly every ray has a class whose score gains steadily on all the others. Softmax, the operation that converts the scores into probabilities, then assigns that class a probability approaching certainty. Dividing the scores by a fixed positive temperature can soften finite predictions but leaves this limit in place.
A second theorem gives a different outcome for a radial basis function network. Its scores are built from contributions centered on the training examples. Each contribution fades with distance, and the authors give a distance condition under which every class probability is close to an equal share. The comparison shows how a classifier’s construction can govern whether it becomes decisive or indecisive in places where it has seen no data.
For images, the authors propose adversarial confidence enhancing training, or ACET. Pixel values have a finite allowed range, so the training method addresses a different question from the unbounded theorem. It pairs ordinary labeled learning with a search around generated noise images. The search finds nearby inputs on which the classifier is especially sure of itself, and training pushes down confidence on those inputs. A simpler method, confidence enhancing data augmentation, applies the same pressure directly to the sampled noise.
The authors report that classification errors were similar across training conditions for MNIST, SVHN, CIFAR-10, and CIFAR-100. Adding noise helps on fresh samples from the noise generator, while ACET is more consistent when the noise has been deliberately altered to elicit confidence. It also improves confidence-based separation of clean images and adversarial examples made from genuine test images, even though its training search starts from noise. Some unfamiliar images still receive strong predictions, and freely scaling inputs beyond the image domain still produces near certainty. The experiments establish a practical mitigation within the tested settings.
Deep dive: Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data and How to Mitigate the Problem
Why ReLU classifiers become highly confident on unfamiliar inputs, and how ACET reduces that confidence while preserving image classification accuracy. · about 39 minutes to read
The problem and its context
When a classifier should hesitate
A classifier trained on labeled images ordinarily has a fixed set of possible answers. If it receives a recognizable image from the task, assigning high probability to the best-supported class can be useful. If it receives an image to which the task’s labels scarcely apply, the same computation still produces a decision. A class can prevail simply because the other scores are even less favorable. Confidence then reflects the competition among labels, while the question of whether the image belongs in that competition remains unresolved.
The paper calls inputs from the intended source in-distribution and uses out-of-distribution for inputs from other sources. The distinction depends on the task. An image may be entirely ordinary in its own collection and still be unfamiliar to a digit classifier. The paper also considers images generated by a noise process, which offer clearer examples of inputs for which a strong task prediction would ordinarily be inappropriate. This range of cases matters because a shift from one source to another can be obvious in the image itself or detectable only from information about where it came from.
The authors motivate the problem with decisions that have a fallback. A vehicle could consult a redundant sensor when a visual prediction is doubtful. A medical system could refer a case for a clinician’s judgment. In both examples, confidence has a role beyond ranking labels. It can affect whether the system seeks the evidence it lacks. Familiar-image classification error gives no direct measure of how frequently the classifier will ask for help under unfamiliar conditions.
Earlier work had already found several ways to elicit unwarranted confidence. The paper describes unrecognizable images constructed to fool classifiers, evaluations on out-of-distribution image collections, and an example from medical diagnosis. It also cites evidence that neural networks can report more confidence than their correctness warrants on the very task they were trained to perform. These observations lead to different questions. One concerns whether a classifier’s reported probabilities agree with its record of correctness on task data. Another concerns whether an input should receive a task label with high confidence in the first place.
Calibration, detection, and the option to abstain
Calibration concerns the interpretation of a probability on the intended distribution. Suppose many predictions have similar confidence. Their observed correctness can be compared with the probability that the classifier usually assigns to its chosen label. The paper describes earlier efforts to improve this relationship through softmax temperature adjustment, ensembles, and uncertainty estimates based on dropout. These methods provide ways to revise or estimate confidence under the conditions in which the classifier is expected to operate.
Out-of-distribution detection uses confidence for a different decision. Here the desired distinction is between inputs that come from the task and inputs drawn from elsewhere. A detector can take the highest class probability as its score and accept an input whenever that value exceeds a threshold. Its success depends on whether familiar inputs tend to receive higher scores than unfamiliar ones. A good match between confidence and correctness on the intended task places little constraint by itself on this ordering. The authors cite prior evidence that methods useful for calibration can be inadequate for detection.
The paper situates its work alongside detection methods that modify softmax outputs, including approaches based on temperature adjustment. It also discusses training approaches that use a generative system to obtain examples near the boundary of the intended distribution. These examples give a classifier an opportunity to learn where it should become less decisive. The authors point to contemporary findings that generative systems can themselves assign high estimated density to unfamiliar inputs. That makes the choice of a second system to characterize familiarity a substantive part of the problem.
A rejection option addresses what to do when the available evidence is inadequate. The paper mentions work that incorporates rejection into classification, including Classification with a Reject Option using a Hinge Loss. A rejection rule driven by a low-confidence threshold is only as informative as the score it receives. When the classifier gives an unfamiliar input a very high probability, the threshold can treat it like a particularly clear familiar example. The existence of a way to abstain and the availability of evidence for abstaining are distinct parts of the decision.
Adversarial examples and the architecture question
The authors also distinguish unfamiliar-input confidence from a failure that can begin with an entirely ordinary input. A small change to a correctly recognizable image can alter the predicted class. The paper discusses this problem through earlier work including Explaining and Harnessing Adversarial Examples. In the setting studied here, an adversarial example made from a genuine test image is a separate evaluation from noise. Its proximity to a task example is precisely what makes it an informative challenge.
The introduction describes formal robustness methods whose practical guarantees, in the work it discusses, were limited to small networks. The authors draw instead on adversarial training with robust optimization. That approach uses a search for a troublesome nearby input as part of training itself. In the original classification setting, the troublesome input challenges the correct label. For the authors’ new objective, the troublesome input is a modification of noise on which the classifier expresses a strong preference for any label. The optimization machinery is similar, and the behavior being taught is different.
This leads to two questions with different scopes. The first is whether an architectural property can explain persistent reports of extreme confidence. The relevant family includes networks with dense, convolutional, and residual layers, including the kind of residual architecture described in Deep Residual Learning for Image Recognition. The common feature is that their class scores are continuous and piecewise affine. The paper follows the implications of that structure out to arbitrary distances in the mathematical input space.
The second question is how much uncertainty can be taught inside the allowed image domain. For this purpose, the authors need a supply of plausible negative examples for the original task. They choose generated noise and its local modifications, leaving unfamiliar image collections available for evaluation. This lets the experiment ask whether the confidence behavior learned on the artificial inputs also appears on inputs with a different origin.
The method, step by step
From class scores to confidence
An image can be represented as a vector whose coordinates are its pixel values. A classifier computes a score for each class. These scores, often called logits, are free to take real values. The largest score gives the predicted class. Softmax converts the scores into positive numbers that sum to unity, making it possible to express the classifier’s preference on a probability scale.
Pₖ(x) = exp(fₖ(x)) / ∑[r=1,…,K] exp(fᵣ(x))
Here x is an input vector, fₖ(x) is the score for class k, and Pₖ(x) is its softmax probability. The index r runs over the K classes. The function exp raises the base of the natural logarithm to its argument, and ∑ adds the corresponding terms.
The denominator compares each class with the entire set of classes. Adding the same constant to every score multiplies the numerator and denominator by the same factor, leaving their ratio as it was. A common shift of the score vector therefore has no effect on confidence. What the proof needs to explain is how the separation between one score and all the others grows. For that purpose, the authors examine the functions that produce the scores before applying softmax.
How layers produce affine regions
The paper works through fully connected layers to expose the structure. A layer first computes a weighted combination of its input coordinates and adds an offset for each unit. A hidden layer then applies an activation function separately to each component. The ReLU activation keeps a positive value and maps values on the other side of the threshold to zero.
σ(s) = max{0,s}
The symbol σ denotes the activation and s is a unit’s scalar input before activation. The operation max selects the larger of zero and s. At zero the two branches agree, which makes the function continuous.
For the first layer, the vector entering the weighted calculation is the original input. For later layers it is the vector of activations produced by the preceding layer. The same expressions describe each hidden layer.
f⁽ᵏ⁾(x) = W⁽ᵏ⁾g⁽ᵏ⁻¹⁾(x) + b⁽ᵏ⁾
The superscript in parentheses is a layer index, with k denoting the layer being computed. W⁽ᵏ⁾ is its weight matrix and b⁽ᵏ⁾ its offset vector. g⁽ᵏ⁻¹⁾(x) is the preceding representation, with g⁽⁰⁾(x) equal to the input x. The vector f⁽ᵏ⁾(x) contains the values before activation. These layer outputs carry a superscript, whereas fₖ(x) in the softmax expression is a component of the final score vector.
g⁽ᵏ⁾(x) = σ(f⁽ᵏ⁾(x))
Here g⁽ᵏ⁾(x) is the activated vector at hidden layer k. Applying σ to f⁽ᵏ⁾(x) means applying it coordinate by coordinate. In the paper’s notation, there are L hidden layers, where L is the index of the last hidden layer.
f(x) = W⁽ᴸ⁺¹⁾g⁽ᴸ⁾(x) + b⁽ᴸ⁺¹⁾
The final vector f(x) contains the class scores. The superscript L+1 designates the output layer, W⁽ᴸ⁺¹⁾ and b⁽ᴸ⁺¹⁾ are its weights and offsets, and g⁽ᴸ⁾(x) is the final hidden representation. The output layer itself has an affine rule.
An affine rule consists of a linear transformation and an offset. Across the entire input space, the hidden activations change which part of their rule is used. Within a region where those choices are fixed, each hidden ReLU acts as a fixed multiplier. A unit that is on passes its input through. A unit that is off contributes zero. Leaky ReLU also has two fixed multipliers, with a non-zero branch coefficient on the negative side. With the choices held fixed, the whole sequence of operations reduces to an affine rule.
The paper encodes the choices in diagonal matrices. Entries off the diagonal are zero because an activation applies to a single coordinate at a time. A separate sign matrix describes which side of each activation boundary the input lies on.
Σ⁽ˡ⁾(x)[i,i] = 1 if fᵢ⁽ˡ⁾(x) > 0, and 0 otherwise
The matrix Σ⁽ˡ⁾(x) holds the ReLU multipliers for layer l at x. The indices [i,i] select the diagonal entry for unit i, and fᵢ⁽ˡ⁾(x) is that unit’s pre-activation value. The entries 1 and 0 specify whether the unit passes its input through or suppresses it.
Δ⁽ˡ⁾(x)[i,i] = sign(fᵢ⁽ˡ⁾(x))
The matrix Δ⁽ˡ⁾(x) records the signs for the same layer and units. sign reports whether its argument is positive, negative, or zero. The choice matrix Σ is used to calculate the regional affine function, and Δ supplies the signs used to describe the associated half-space constraints.
For a fixed choice of the matrices, the authors collect the layer operations into an effective matrix and an effective offset. The matrix is an ordered product because the input flows through a weight transformation, then an activation, then the next weight transformation. The offset includes contributions inserted at every layer. An offset inserted early passes through more of the subsequent operations than an offset inserted late.
V⁽ᵏ⁾ = W⁽ᵏ⁾ ∏[l=1,…,k−1] (Σ⁽ᵏ⁻ˡ⁾(x) W⁽ᵏ⁻ˡ⁾)
The matrix V⁽ᵏ⁾ is the effective linear map from the original input to the pre-activation output of layer k. ∏ is the ordered matrix product, with l indexing the earlier layers in descending order of k−l. Each factor combines the weight matrix W with the activation multipliers Σ for that layer. The point x tells the matrices which multipliers to use.
a⁽ᵏ⁾ = b⁽ᵏ⁾ + ∑[l=1,…,k−1] (∏[m=1,…,k−l] W⁽ᵏ⁺¹⁻ᵐ⁾ Σ⁽ᵏ⁻ᵐ⁾(x)) b⁽ˡ⁾
Here a⁽ᵏ⁾ is the effective offset at layer k. The term b⁽ᵏ⁾ is added directly. For each earlier layer l, the sum also includes its offset b⁽ˡ⁾ after the transformations between that layer and layer k. The product index m traverses those transformations in their matrix multiplication order. As with the effective linear map, the multipliers are fixed by the region containing x.
To see how a region forms, take a unit whose pre-activation is positive at x. Under the current affine calculation for that unit, the inputs that keep the pre-activation on its positive side form a half-space. A unit on the negative side imposes the opposite inequality. Where the pre-activation vanishes, the neighboring ReLU formulas agree at the boundary. The argument about rays uses a finite covering by convex affine regions and allows a boundary point to belong to more than one.
Γₗ,ᵢ = {z ∈ ℝᵈ : Δ⁽ˡ⁾(x)[i,i] (Vᵢ⁽ˡ⁾z + aᵢ⁽ˡ⁾) ≥ 0}
The set Γₗ,ᵢ expresses the sign constraint for unit i of layer l. The vector z is a candidate input in ℝᵈ, the real vector space with d input coordinates. Vᵢ⁽ˡ⁾ is the row of the effective matrix for the unit, and aᵢ⁽ˡ⁾ is its effective offset component. The diagonal entry of Δ⁽ˡ⁾(x) orients the inequality according to the pre-activation sign at the reference input x. The inequality includes the boundary where the affine pre-activation is zero.
Q(x) = ⋂[l=1,…,L] ⋂[i=1,…,nₗ] Γₗ,ᵢ
The notation Q(x) designates the region associated with the choices at x. The symbol ⋂ takes the intersection of the constraints, and nₗ gives the number of hidden units in layer l. The first index runs over hidden layers and the second over the units within each layer. Taken together, the constraints determine where the same affine description can be used.
There are finitely many hidden units and finitely many branch choices. Each intersection of half-spaces is convex, meaning that the line segment joining any pair of points in it lies entirely in it. The resulting regions can be unbounded. For the theorem it is enough that they cover the space, that there are finitely many of them, and that each has a common affine score vector.
f(z) = Vᵗz + aᵗ for z ∈ Qₜ
The label t identifies one of the regions Qₜ. The matrix Vᵗ and offset aᵗ describe the final output in that region, and f(z) is the vector of scores at z. Every class uses the same region so its score can be compared directly with the other scores there.
Convolutions are included because their weighted operations can be written as linear maps. The paper also includes residual and skip connections, which combine representations without introducing another kind of nonlinearity. Average pooling is linear. Max pooling makes a finite selection among its inputs and is affine where that selection is fixed. These properties let the argument apply to the networks in the experiments as well as to the fully connected presentation used to derive the formulas.
Why following a ray leads to certainty
Take a direction x and multiply it by an increasing positive scalar. This traces a ray outward from the origin. A convex region intersects that ray in an interval, possibly extending indefinitely. If two points of the ray lie in a region, every point between them also lies there. Because finitely many such intersections cover the ray, at least one contains an entire tail. This is the geometrical step that makes it possible to reason about distances far beyond any particular example.
βx ∈ Qₜ for every β ≥ α
The direction is x, the variable β is the current distance multiplier, and α is some positive starting multiplier for the tail. The set Qₜ is a region that contains all of those points. This statement concerns region membership. It holds before the theorem makes any assumption about the relative class scores.
Within that terminal region, each class score depends affinely on the multiplier. Its slope is the inner product of the class’s row of the effective matrix and the direction x. Its intercept is the corresponding component of the effective offset. At finite distances an intercept can make one class lead even when another class has a steeper slope. With continued scaling, the class with the greatest slope eventually takes the lead, provided its slope is strictly greater than all the others.
k* = argmax[k=1,…,K] ⟨vₖᵗ,x⟩
Here vₖᵗ is row k of the matrix Vᵗ in the terminal region. The brackets ⟨ , ⟩ denote the inner product, which gives the class’s slope in direction x. The operation argmax returns the class index k* where the largest slope is attained, and K is the number of classes.
The theorem assumes distinct rows within each regional score matrix. Even with distinct rows, two of them can have equal inner products with a particular direction. Such directions are perpendicular to the difference between the rows, so they lie in a hyperplane through the origin. Each hyperplane has measure zero in the full input space. The union over finitely many classes and regions still has measure zero, which accounts for the theorem’s qualification that it holds for nearly every direction. For a direction outside this exceptional set, the terminal affine rule has a unique largest slope.
Softmax reveals the effect of this lead when its numerator and denominator are divided by the exponential of the winning score. The probability then depends on the differences between the other scores and the winner.
Pₖ*(αx) = 1 / [1 + ∑[l ≠ k*] exp(α⟨vₗᵗ − vₖ*ᵗ,x⟩ + aₗᵗ − aₖ*ᵗ)]
The positive multiplier α now varies along the ray after it reaches Qₜ. The index l runs over classes other than k*. The vectors vₗᵗ and vₖ*ᵗ are their respective effective rows, and aₗᵗ and aₖ*ᵗ are the corresponding offsets. The 1 in the denominator is the winning class’s own contribution after division. Pₖ*(αx) is the winning probability at the scaled input.
Every slope difference in the sum is negative. The offsets are fixed, so the exponents tend to negative infinity as the multiplier grows. Their exponentials tend to zero. This argument also covers a ray along which every raw score decreases. A class can dominate because its score decreases more slowly than those of its competitors. The direction of change in the absolute score is secondary to the growing lead.
lim[α → ∞] Pₖ*(αx) = 1
The limit describes the probability of the eventually dominant class k* as α increases without bound. The value 1 means that the softmax probability approaches certainty. For a non-zero direction in the theorem, this scaling also takes the input arbitrarily far from any finite training set.
Pₖ*(αx) ≥ 1 − ε
Here ε is any positive tolerance for the gap from certainty. The theorem guarantees that a sufficiently large α reaches this bound for an eligible direction x. It gives an eventual result and leaves the required scale dependent on the direction and the learned score function.
What changes the limit
Temperature rescaling divides the logits by a common positive constant before applying softmax. It can change the probabilities substantially at a fixed input. Along the rays in the theorem, however, the same transformation divides each growing score separation by that constant.
Pₖ,ₜₑₘₚ(x) = exp(fₖ(x)/T) / ∑[r=1,…,K] exp(fᵣ(x)/T)
Here Pₖ,ₜₑₘₚ(x) is the rescaled probability for class k at input x. T is the fixed positive temperature, fₖ and fᵣ are class scores, and the index r runs over all K classes. Holding T finite and positive preserves the sign of each directional slope difference, so the competitors’ relative contributions still decay on the ray. A rejection rule based on low maximum confidence will consequently accept sufficiently distant inputs of this kind.
The paper gives a constructive comparison using a radial basis function network, abbreviated RBF. Each training input is the center of a Gaussian term. The contribution at a query point depends on distance from that center and decays as the distance grows. Each class has its own coefficients for the same set of contributions.
fₖ(x) = ∑[l=1,…,N] αₖₗ exp(−γ‖x − xₗ‖₂²)
Here fₖ(x) is the RBF score for class k, and xₗ is the training input at index l among N centers. αₖₗ is its coefficient for class k. The positive parameter γ controls the rate of decay. The notation ‖x − xₗ‖₂ denotes Euclidean distance, which the exponent uses in squared form.
The theorem quantifies distance using the nearest training center. It also measures how different the class coefficients can be. If even the closest contribution is small, every other Gaussian can be bounded by that same small value. The magnitude of the remaining score separation then depends on how large the coefficient differences are.
rₘᵢₙ = min[l=1,…,N] ‖x − xₗ‖₂
The quantity rₘᵢₙ is the nearest-center distance for x. The operation min takes the smallest distance over every center xₗ. When this distance is large, all centers are far away.
A = max[r,k] ∑[l=1,…,N] |αᵣₗ − αₖₗ|
The symbol A denotes the coefficient bound, written as α in the paper’s RBF theorem. The indices r and k range over pairs of classes, and l ranges over the N centers. The vertical bars take the absolute value of each coefficient difference. The maximum selects the largest total discrepancy between a pair of class coefficient lists.
|fᵣ(x) − fₖ(x)| ≤ A exp(−γrₘᵢₙ²)
The left side is the absolute separation of the scores for classes r and k. The right side bounds it by the coefficient discrepancy A multiplied by the largest possible Gaussian contribution at that nearest-center distance. The inequality follows by bounding each contribution to the difference and adding those bounds.
rₘᵢₙ² ≥ (1/γ) log[A / log(1 + Kε)]
The squared nearest-center distance is rₘᵢₙ², γ is the Gaussian decay parameter, and A is the coefficient bound. The notation log denotes the natural logarithm. The class count is K, and ε is the positive tolerance for deviation from uniform probability. This is the sufficient distance condition when the coefficient bound is positive. If all class coefficient lists agree, the scores already coincide everywhere.
1/K − ε ≤ Pₖ(x) ≤ 1/K + ε
Here Pₖ(x) is the RBF softmax probability for class k, 1/K is the probability of an equal share among the K classes, and ε is the permitted deviation on either side. To obtain these bounds, the proof writes softmax using score differences, then bounds each exponential in its denominator above and below. As the query moves away from the training centers, the score differences become small enough to yield the stated interval for every class.
The comparison makes the role of the scoring function explicit. Softmax turns indefinitely growing separations into certainty in the ReLU theorem. The same normalization turns converging scores into near-equal probabilities in the RBF theorem. The authors then turn to training because the indefinite scaling used in the ReLU proof exceeds the allowed range of a normalized image.
How ACET trains on difficult noise
Adversarial confidence enhancing training starts with an assumption about the intended data and a source of artificial inputs. The authors write pᵢₙ for the intended distribution and pₒᵤₜ for the distribution used to supply noise. They expect the noise source to assign negligible probability to images that belong to the intended task. An image drawn from it can therefore teach the network to spread probability over the classes. The labeled examples continue to teach the network which class to prefer when a task image is present.
How ACET combines labeled images and noise
The steps in order.
For the labeled examples, the authors use cross-entropy, which penalizes low probability for the known class.
L꜀ₑ(yᵢ,f(xᵢ)) = −log Pᵧᵢ(xᵢ)
The input xᵢ and label yᵢ form the ith labeled training pair. f(xᵢ) is its score vector and Pᵧᵢ(xᵢ) is the probability for its correct label. L꜀ₑ denotes the cross-entropy loss, and the negative natural logarithm decreases as the correct-label probability increases.
The noise term takes its value from the most confident prediction for an artificial input. There is no task label for the image. Which class currently leads matters only because its probability determines the loss.
Lₒᵤₜ(f,z) = max[l=1,…,K] log Pₗ(z)
The function Lₒᵤₜ is the loss on an artificial input z for the scoring function f. The index l ranges over the K classes. Pₗ(z) is the corresponding softmax probability and log is the natural logarithm. The logarithm is increasing, so the class with the greatest probability also gives the greatest log probability. Minimizing this maximum favors an equal allocation because the probabilities already have a fixed total.
The simpler training scheme, confidence enhancing data augmentation, or CEDA, applies that loss directly to the generated images. It combines the average labeled loss with an expectation over the noise generator.
J꜀ₑᴅₐ(f) = (1/N) ∑[i=1,…,N] L꜀ₑ(yᵢ,f(xᵢ)) + λ E[Lₒᵤₜ(f,Z)]
The quantity J꜀ₑᴅₐ(f) is the combined training objective. The sum averages cross-entropy over N independently drawn labeled pairs, indexed by i. The random variable Z follows pₒᵤₜ, and E means the expectation over those noise draws. The weight λ controls the contribution of the noise term.
In practice, the expectation is estimated from sampled images in a batch. For a batch of B task examples, the paper describes adding a noise count equal to λB rounded up to an integer. Repeated sampling gives the training process many points at which to discourage high confidence. At any particular update, CEDA gets information about the sampled points themselves. A neighboring point can still produce a much stronger class preference, which motivates the change in ACET.
Jₐ꜀ₑₜ(f) = (1/N) ∑[i=1,…,N] L꜀ₑ(yᵢ,f(xᵢ)) + λ E[max[‖u−Z‖ₚ ≤ ε] Lₒᵤₜ(f,u)]
The objective Jₐ꜀ₑₜ(f) retains the same cross-entropy average and noise weight λ. The new candidate u lies within distance ε of the sampled image Z, and ‖ · ‖ₚ is the norm used to define that distance. The maximum is over all candidates satisfying the constraint. The expectation E averages the resulting worst-case losses over draws of Z.
For a particular sampled image, the inner problem is solved with the current network parameters held fixed.
max[‖u−z‖ₚ ≤ ε] Lₒᵤₜ(f,u)
Here z is the realized noise image, u is a candidate modification, and ε is the allowed radius. In the experiments p=∞, so the norm is the largest absolute coordinate change. The constraint thus applies separately to the magnitude of the change in each pixel coordinate.
The authors approximate the maximum using projected gradient descent, abbreviated PGD, adapted to seek higher values of the loss on the input. The gradient proposes a move in the direction of greater confidence. Projection brings the candidate back to the permitted neighborhood when needed. After the search, the selected candidate supplies the noise loss for the parameter update. The two operations have opposite effects on that loss. The first looks for an input where the current network is unusually confident, and the second changes the network to discourage that confidence.
The artificial images and the training settings
The noise mixture begins with two sources. Half of the images come from random pixel permutations of training examples. The permutation disorganizes their spatial content. The other half begin as uniformly random images. The authors smooth both kinds with a Gaussian low-pass filter, using a standard deviation in [1.0,2.5]. This makes the images vary more smoothly across space. They then restore contrast with a global rescaling so that the range is again [0,1].
The resulting samples are more varied than independent pixel noise alone. The examples illustrated for MNIST and CIFAR-10 let the reader see what the search does to that starting material. The paper describes the generated and modified examples as visually distinct from their respective task images. This inspection illustrates why the targeted confidence can be objectionable. It leaves the assumption about how often arbitrary searched neighborhoods intersect the task distribution as an assumption.
MNIST uses a LeNet architecture. SVHN, CIFAR-10, and CIFAR-100 use a residual network. The ordinary image augmentation includes random crops on all datasets and random mirroring on CIFAR-10 and CIFAR-100. All training conditions use weight decay, a regularization term that discourages large weights, with coefficient 5 · 10⁻⁴. The authors include it in the plain baseline because it can already reduce excessive confidence.
Both uncertainty-training conditions set λ=1. The batches contain 50% labeled training images and 50% generated images. For ACET, the search uses radius 0.3, with 40 iterations and step size 0.0075. These settings are shared across the datasets. Thus, the defining difference between CEDA and ACET is whether the negative loss is evaluated at the generated sample or at a deliberately chosen nearby candidate.
Training runs for 100 epochs. On MNIST the authors use Adam, while on the other tasks they use stochastic gradient descent with momentum. The paper gives an initial learning rate of 10⁻³ for MNIST and 0.1 for SVHN and CIFAR-10. It describes reducing the learning rate by a factor of 10 at epochs 50, 75, and 90. The authors released their implementation in the relu_networks_overconfident repository.
Experiments and results
What counts as a test input
The three training conditions are plain training, CEDA, and ACET. Each is evaluated on the test data of the original classification problem and on several types of unfamiliar input. The original task checks whether reducing confidence elsewhere comes at a cost in classification error. The unfamiliar inputs test different explanations for a reduction in confidence, from recognition of the specific noise process to transfer to visual material with a different source.
For the classifiers trained on MNIST, the other image collections are EMNIST, Fashion MNIST, and a grayscale version of CIFAR-10. The letter images in EMNIST are particularly instructive because handwriting styles and shapes can resemble those of handwritten digits. A collection of grayscale natural images presents a different kind of mismatch. It can include visually structured content even when that content gives little reason to choose a digit.
In the color-image experiments, comparisons draw on the applicable collections among SVHN, CIFAR-10, and CIFAR-100, as well as ImageNet- and the LSUN classroom subset. ImageNet- is the paper’s name for an ImageNet subset from which classes judged similar to CIFAR-10 have been removed. The collection used for training is excluded as an unfamiliar source in its own comparison. The authors reuse the training configuration when changing the unfamiliar evaluation collection. None of those alternative test collections supplies the uncertainty examples used during training.
The paper also evaluates ordinary noise and adversarial noise. Ordinary noise is generated with the same procedure used during training. It measures how the learned confidence behavior generalizes to other draws from that process. Adversarial noise starts with the same kind of image, then uses a search to increase its largest softmax probability. This directly challenges the quantity the uncertainty objective is meant to suppress.
At test time the adversarial-noise search uses 200 iterations, with step size 0.0075 inside an infinity-norm neighborhood of radius 0.3. These are the training step size and radius, with a larger iteration budget than the 40 iterations used to select training examples. The comparison therefore asks whether confidence stays low when the evaluation has more opportunity to find a difficult neighbor.
The other adversarial evaluation starts from genuine test images. The paper uses 80 PGD iterations, with radius 0.3 and step size 0.0075 for MNIST, and radius 0.1 and step size 0.0025 for the remaining tasks. The evaluated changes are close to images of the intended classes. This gives a test of whether learning uncertainty near artificial images affects confidence around genuine inputs that have been adversarially modified.
Error, average confidence, and detection
Test error counts classification failures on the intended test split. It establishes how much ordinary classification performance accompanies the new confidence behavior. Mean maximum confidence, or MMC, is a different statistic. For each image the authors take the highest class probability and then average those values across the relevant split or unfamiliar-input collection.
MMC = mean[x in evaluation set] max[k=1,…,K] Pₖ(x)
The outer mean averages over inputs x in the set being evaluated. The inner max chooses the largest probability Pₖ(x) over the K task classes. MMC records typical decisiveness whether the class selected for an image was appropriate or inappropriate.
For the detection experiments, the classification problem becomes binary. Familiar test images are treated as positives, and the unfamiliar collection being evaluated supplies the negatives. The detector accepts an image when its maximum confidence clears a threshold. Moving the threshold changes the share of familiar images accepted and the share of unfamiliar images accepted. Plotting the former against the latter gives the receiver operating characteristic, or ROC, curve.
The area under that curve, reported as AUROC, summarizes the ordering induced by confidence across thresholds. The paper explains that an AUROC of 1 corresponds to perfect separation, while values below 0.5 indicate that the confidence ordering tends in the opposite direction. At the extreme of zero, every out-of-distribution image is scored above every in-distribution image. Such a reversal can occur when the unfamiliar examples have been deliberately selected for maximum confidence.
The false-positive rate at 95% true-positive rate gives the detector a specific operating point. The threshold is chosen to accept 95% of the familiar test images. The resulting false-positive rate is the share of the particular unfamiliar set that also passes. The rate is evaluated separately for each comparison. It asks a concrete question about using confidence as a filter while keeping a specified fraction of task inputs.
These metrics can change independently. A reduction in unfamiliar-image MMC describes a change in the actual probability values. An increase in AUROC describes an improvement in the ordering of familiar and unfamiliar inputs. A change at the specified ROC operating point describes what happens near one threshold. The paper’s histograms add another view by showing whether a test set is spread across the confidence scale or concentrated near a few values.
The main comparison across training conditions
The paper reports little difference in original-task test error among plain training, CEDA, and ACET. The labeled component of the objective evidently continued to support ordinary classification in the experiments. The authors also describe the confidence distribution on clean MNIST images as mostly stable across the training conditions. The changes on unfamiliar inputs are therefore interpretable alongside evidence that task confidence was preserved in that setting.
The pattern on generated inputs depends on whether the test is ordinary noise or searched noise. Plain training often gives noise a substantial class probability. Under the confidence-maximizing search, the inadequacy of plain training is more pronounced. On plain MNIST, for instance, the appendix describes the adversarial-noise ROC curve as falling below the diagonal. The unfamiliar examples can rank ahead of familiar test digits precisely because they were selected to produce that score.
CEDA gives a large reduction in confidence on ordinary noise. Some of the searched inputs nevertheless find regions where the network is confident. The weakness is especially apparent in the color-image experiments. MNIST is an important exception to the general comparison, as CEDA already produces low confidence for many of its adversarial-noise examples. ACET is the most consistent condition across the datasets in the authors’ account, with low adversarial-noise confidence and favorable AUROC even under the longer search.
The unfamiliar image collections give more varied results. Both uncertainty-training methods improve MMC and AUROC in many of the comparisons. The paper highlights Fashion MNIST under MNIST training and LSUN classrooms under SVHN training as cases of substantial improvement. Under CIFAR-10 training, LSUN is a harder comparison, and the appendix describes plain training as slightly better in its ROC analysis. Success on one pairing of familiar and unfamiliar collections therefore gives limited grounds for predicting the result on another pairing.
A numerical example comes from the appendix’s inspection of MNIST-trained classifiers evaluated on grayscale CIFAR-10. The authors describe ACET’s mean maximum confidence on these unfamiliar images as close to 10%. They also give the highest individual confidence values in their comparison. These measure the extreme of the evaluation, where a strong digit prediction is particularly easy to inspect.
Highest reported individual confidence on grayscale CIFAR-10 with MNIST training
The strongest reported digit prediction is less confident after ACET.
The numbers
| System or setting | maximum class confidence % |
|---|---|
| Plain training | 99.60 |
| ACET (this paper) | 40.41 |
The plain classifier’s highest reported confidence is 99.60%, and the ACET classifier’s is 40.41%, each on an individual grayscale CIFAR-10 evaluation image. The latter is appreciably above the near-10% mean the authors describe for ACET. This is a case where the average and the upper end of the range tell different parts of the story. The main comparison establishes broad patterns in error and detection, while this inspection gives a specific magnitude for one independently chosen test collection.
Adversarial examples from genuine images
ACET also improves reported AUROC on every training dataset when the separation problem is clean test inputs versus adversarial examples derived from those inputs. The result is a transfer from a distinct training condition. ACET sought confident modifications of noise, and the evaluation starts close to original task data. The authors suggest the connection may arise because adversarial examples can move off the set occupied by typical data even when the numerical perturbation is small.
For MNIST, the appendix reports ACET’s average maximum confidence on adversarial test examples as 85.4%. This is compatible with the visible increase in low-confidence predictions because many other examples still receive strong predictions. The histogram shows why a useful change in detection can coexist with a high mean. Moving part of the attacked set below many clean test inputs improves its ordering even when the remaining part continues to look highly convincing to the network.
The same distinction applies across tasks. The reported gain concerns confidence as a signal for flagging the generated examples. Classification accuracy on these adversarial inputs is a separate outcome. The paper’s ordinary test error comparison is for the original test data, and the adversarial-example AUROC uses confidence to distinguish clean and modified inputs.
What happens when inputs are scaled
The authors also test the ray argument directly. They draw uniform random inputs, then increase the scale along each sampled direction and look for the smallest multiplier that reaches 99.9% confidence. They report the median required scale over 10,000 trials. This protocol targets the behavior of the score functions as the input moves outward, and the scaled inputs generally cease to be valid images.
High confidence is reachable by scaling under all the training conditions in this experiment. The paper reports that the required scale is substantially higher for ACET than for plain training. The endpoint remains reachable, while its location along the sampled rays changes. The larger multiplier is evidence that confidence-enhancing training affects the scores outside the first portion of a ray. It supplies no cutoff beyond which the network will become uniformly uncertain.
The appendix pairs that experiment with a bounded version. The authors project the rescaled noise back into the allowed image domain and count the share of predictions above 95% confidence. Plain training can still generate highly confident predictions under this construction. ACET gives a smaller fraction of these predictions across the datasets. Projection changes the actual path in input space, so this is a separate empirical result about valid pixel values. The two experiments together show why the distance regime matters when interpreting improvement.
What the ablations show
What the neighborhood search adds
The training comparison isolates a particular choice within the method. The baseline uses the common classification setup and its regularization. CEDA adds the generated images and the objective that discourages a strong label preference. ACET keeps that objective and uses the search to choose where to apply it. Because the two uncertainty-training conditions share the noise recipe and weighting, their comparison shows what happens when the negative example is selected based on the classifier’s current behavior.
On unmodified noise, CEDA already accomplishes much of the intended shift. The network has learned from the artificial images to hesitate on another draw from the same generator. The searched-noise evaluation changes which locations are inspected. It uses the noise sample as an anchor but seeks an input that receives a stronger prediction. This makes the comparison sensitive to confidence variation near the anchor, which an average over unmodified samples can leave unseen.
The CIFAR-10 results show the distinction clearly. Both confidence-training procedures reduce confidence on ordinary noise. Yet after the confidence-maximizing search, the plain and CEDA classifiers often yield the very behavior the training was meant to prevent. ACET shows an advantage under that test. The classification comparison stays within a common task, so the result ties the advantage to searching neighborhoods during training rather than to a different choice of original labels or test collection.
The MNIST results qualify the scope of that explanation. On this task, the appendix describes most adversarial-noise predictions under both CEDA and ACET as being around 10% confidence. Low confidence in the sampled examples therefore extends to many of the searched examples even under CEDA. The search is most clearly valuable for achieving consistency across tasks. Its incremental benefit varies with the classifier and the data on which it is trained.
The training comparison changes one substantive mechanism, but several design choices are used jointly. The authors mix permuted training images and uniform noise, smooth both, and rescale contrast. There is no separate experimental arm for each ingredient. The comparison supports the full noise procedure, with and without the neighborhood search, while leaving the individual contributions of the noise sources or transformations unresolved.
What the distributions reveal about remaining failures
The appendix presents distributions of maximum confidence to make differences visible that a dataset average obscures. A low MMC can come from almost all inputs receiving similar low probabilities. It can also come from a collection dominated by low probabilities that contains a smaller group of very confident cases. A detector based on a high threshold will be particularly sensitive to that second group.
For CIFAR-100 adversarial noise, the authors describe a sharp split in what their search achieves. It either reaches 100% confidence or leaves confidence essentially unimproved. The former outcome is common for CEDA and rare for ACET in their account. This is evidence about the outcomes of a specific search. It reveals a difference in the frequency of extreme confidences, even when both training procedures are intended to favor an even probability allocation.
For clean MNIST, the confidence distributions look similar with and without uncertainty training. On Fashion MNIST and grayscale CIFAR-10, the distributions shift towards lower values, with the stronger shift generally associated with ACET. On EMNIST the shift is weaker. Taken together, these comparisons indicate that the confidence changes depend on the input source. If the intervention merely moved all predicted probabilities toward uniformity to the same degree, such differences across familiar and unfamiliar sets would be harder to explain.
The ROC curves add another dimension. For SVHN training, CEDA and ACET are described as performing similarly on several unfamiliar collections and on ordinary noise. Their performance diverges more clearly on adversarial noise and adversarial examples. For CIFAR-100, confidence generally provides a weaker separation between familiar and unfamiliar inputs than in the other settings. The authors suggest that the larger label set and higher task error contribute to overlap in confidence. The training tasks also differ in their images and labels, so the comparison leaves the individual contribution of class count open.
Which confident predictions have visible support
The appendix inspects images at the ends of the confidence ranking for plain and ACET training on MNIST. For genuine test digits, the authors look at the least confident outputs. Examples include broken strokes, rotations, and ambiguous shapes. Both classifiers tend to hesitate on difficult handwriting. This provides a concrete check on what the lower end of their confidence scales means after ACET has also been trained to hesitate on noise.
For high-confidence test images from EMNIST, source and appearance can point in different directions. The authors note the resemblance of handwritten o and i to the digits 0 and 1. For their illustrated comparison, they examine a, b, c, and d, which in their usual forms are less direct matches for digits. The cases receiving the strongest probabilities still often resemble digits in the actual handwriting. Strong confidence can have visible support even when the collection labels the object as a letter.
This matters for interpreting a detector’s false positives. A confident digit response on an EMNIST sample counts as an unfamiliar input passing the detector. When the shape is genuinely digit-like, the image itself may leave little basis for inferring which collection supplied it. The comparison with grayscale CIFAR-10 makes the source of the concern clearer. There, the plain classifier can show comparable decisiveness on images with little visible resemblance to a digit. The two inspections put the detection metrics in context by showing what evidence the high-scoring cases contain.
These are selected examples from the confidence rankings. They show that a mechanism exists for some of the EMNIST overlap and help explain why blanket uniformity on all letters would be a demanding criterion. They leave the overall share of letter images with recognizable digit-like evidence undetermined. The aggregate curves describe separation by data source, while the inspected examples show why such separation can be difficult to equate with warranted confidence.
What the scaling comparison says about the mechanism
The unrestricted and projected scaling tests control the input construction in a different way. The unrestricted test uses the ray as the theory defines it. The projected test maps the distant point back into the image box. Both start with noise and scale it, but only the unrestricted one can continue through the terminal affine region without the bounded image representation changing its course.
ACET delays the point where randomly chosen rays reach the target confidence. This is consistent with changes to the regional offsets, to the score slopes, or to which regions the ray crosses. The experiment measures the resulting scale and leaves those individual geometric explanations unresolved. The theorem supplies the reason eventual certainty can still occur once a fixed region and a unique largest slope govern the tail.
The bounded result shows that improvement also appears after bringing the altered inputs back to the image domain. The effect there could matter to an image classifier that never receives pixels outside their permitted range. Together with the adversarial-noise experiment, it tests confidence under transformations that seek or expose failures more deliberately than a fresh noise draw. Each test still measures the behavior of the evaluated transformation and the resulting inputs.
Limitations
Limits the authors identify
The ReLU theorem has two central qualifications. The input space is unbounded, and the effective score matrix in each region must have distinct rows. The probability limit holds for nearly every ray because some directions can yield equal slopes even from distinct rows. The authors consider the row assumption mild in ordinarily trained networks, while acknowledging that identical rows in a relevant region can put it outside the theorem’s conditions. They leave open how training might impose an appropriate condition across the unbounded regions.
Images lie inside [0,1]ᵈ, where d is the input dimension. A ray with a scale that grows indefinitely generally leaves this box. The authors explicitly distinguish the asymptotic result from their studies of valid images. The bounded tests can reveal high confidence, and ACET can reduce it under those tests. A theorem asserting eventual certainty over the extended real input space gives no required confidence for a particular bounded image.
The paper’s conclusion treats a provable tendency toward uniform confidence as an architectural objective. The RBF theorem achieves that property for the specified distance-decaying score function. It gives a sufficient distance in terms of the learned coefficients and training centers. The image experiments use LeNet and residual ReLU architectures, so the RBF result supplies a mathematical contrast while leaving its comparative practical performance on those tasks open.
The training proposal also depends on the choice of artificial inputs. The authors acknowledge that the neighborhood around a noise sample can intersect the support of the real distribution. If the search selects a legitimate task image, the loss asks for uncertainty at a location where the classification objective may favor a clear label. The authors argue that such events have negligible probability for their generic noise. Their visual examples illustrate the assumption for some generated images and their modifications.
Finally, the authors point out that related collections can contain genuinely ambiguous boundary cases. A handwritten letter and a handwritten digit can share the same visible shape. The confidence objective works most straightforwardly when the negative examples lack relevant evidence for the task labels. A comparison defined by dataset provenance can include cases where a classifier has good visual grounds for its preference, whatever the source of the image.
Limits visible in the experimental setup
ACET’s inner objective is a maximum over a neighborhood, while the implementation approximates that maximum by a finite gradient search. The stronger evaluation search offers more chances to find confident inputs with the specified radius and step size. A search result remains evidence about the inputs it reached. The experiment provides no certified upper bound on the confidence of every point within a neighborhood, and its outcomes cannot resolve how another search procedure would perform.
The neighborhood itself is defined by a bound on pixel-coordinate changes. This is a precise numerical criterion for an experiment on images. A pixel bound does not on its own determine whether the content of every candidate is relevant to the task. Conversely, inputs from unrelated collections can differ from task images in ways the neighborhoods around the sampled noise never cover. The transfer shown on the tested collections gives empirical support beyond the generator and leaves the breadth of that transfer open.
The comparison uses several image tasks, two architectural choices, and a shared set of uncertainty-training settings. It provides limited evidence about how to choose the strength of the noise term, the perturbation radius, or the noise composition for a new task. The study also leaves those choices largely coupled. The strong plain baseline helps identify the benefit of adding uncertainty training in this setup, while the results do not estimate the separate effects of smoothing, contrast rescaling, and each noise source.
A stable aggregate test error allows changes in which examples are classified correctly. Similarly, a largely stable confidence histogram on clean MNIST leaves open whether individual predictions became more or less calibrated. The experiments emphasize confidence magnitudes and their ordering on selected tests. A calibration study would need to associate reported probabilities with observed correctness on the intended task.
The detection metrics also have different limits. AUROC measures overall separation for an evaluated pair of sources. The false-positive rate at the specified true-positive rate gives information about one operating condition for that pair. The results leave the threshold for an actual application dependent on its own inputs and the consequences of accepting an unfamiliar case or deferring a familiar one. In particular, near-uniform task probabilities express indecision among the task labels. They supply no description of the unfamiliar input or of what another sensor or a human reviewer would conclude.
The adversarial-example evaluation supports a narrower claim than adversarial robustness. Improved separation means that the maximum confidence ranks more clean inputs favorably against the modified test inputs. Some modified inputs still receive strong predictions, and recovering the correct class would require a separate measurement. The observed transfer is interesting precisely because the uncertainty training uses artificial noise. Its scope is the attack construction and confidence-based detection considered in the experiments.
What came after
Shortcut Learning in Deep Neural Networks cites the paper. Its title places the connection in the broader study of how deep networks arrive at their predictions. The ReLU result gives a specific reason to scrutinize a high score when a network leaves familiar territory. An input can favor a class because its direction creates a widening score gap. The citation establishes a connection between the papers. How the later work uses the theorem or the ACET experiments is unspecified.
Detecting Early Onset of Depression from Social Media Text using Learned Confidence Scores also cites the paper. Its title identifies an application of learned confidence scores to a detection problem involving social media text. The question this shares with the image study is what a confidence score can establish beyond the identity of the leading class. The documented connection leaves open which part of the image study informed the later work and how the text confidence scores were learned.
The two citations connect the paper to different questions about the use of confidence. Its most specific contribution to those questions remains the distinction established by its own analyses. A confidence score can be understood as the consequence of a scoring function’s geometry, and it can be tested as a signal for deciding when to trust a classifier. The ray theorem addresses the former. The noise, unfamiliar-image, and adversarial-example experiments show how much the latter can improve under a particular training procedure.
Cite
Cite as Matthias Hein, Maksym Andriushchenko and Julian Bitterwolf. 2019. Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data and How to Mitigate the Problem. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.
@inproceedings{hein2019why,
title = {{Why ReLU Networks Yield High-Confidence Predictions Far Away From the Training Data and How to Mitigate the Problem}},
author = {Matthias Hein, Maksym Andriushchenko and Julian Bitterwolf},
booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
year = {2019},
doi = {10.1109/cvpr.2019.00013},
eprint = {1812.05720},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/cvpr.2019.00013}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/hein-2019-why-relu-networks-yield-high/
References
- R. Arora, A. Basuy, P. Mianjyz, and A. Mukherjee. Understanding deep neural networks with rectified linear unit. In ICLR, 2018. OpenAlex ↗ · Scholar ↗
- A. Athalye, N. Carlini, and D. Wagner. Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples. In ICML, 2018. OpenAlex ↗ · Scholar ↗
- P. Bartlett and M. H. Wegkamp. Classification with a reject option using a hinge loss. JMLR, 9:1823–1840, 2008. our card
- A. Bendale and T. Boult. Towards open set deep networks. In CVPR, 2016. OpenAlex ↗ · Scholar ↗
- N. Carlini and D. Wagner. Adversarial examples are not easily detected: Bypassing ten detection methods. In ACM Workshop on Artificial Intelligence and Security, 2017. OpenAlex ↗ · Scholar ↗
- N. Carlini and D. Wagner. Towards evaluating the robustness of neural networks. In IEEE Symposium on Security and Privacy, 2017. our card
- G. Cohen, S. Afshar, J. Tapson, and A. van Schaik. Emnist: an extension of mnist to handwritten letters. preprint, arXiv:1702.05373v2, 2017. OpenAlex ↗ · Scholar ↗
- F. Croce and M. Hein. A randomized gradient-free attack on relu networks. In GCPR, 2018. OpenAlex ↗ · Scholar ↗
- T. DeVries and G. W. Taylor. Learning confidence for out-of-distribution detection in neural networks. preprint, arXiv:1802.04865v1, 2018. OpenAlex ↗ · Scholar ↗
- Y. Gal and Z. Ghahramani. Dropout as a bayesian approximation: Representing model uncertainty in deep learning. In ICML, 2016. OpenAlex ↗ · Scholar ↗
- I. J. Goodfellow, J. Shlens, and C. Szegedy. Explaining and harnessing adversarial examples. In ICLR, 2015. our card
- C. Guo, G. Pleiss, Y. Sun, and K. Weinberger. On calibration of modern neural networks. In ICML, 2017. OpenAlex ↗ · Scholar ↗
- K. He, X. Zhang, , S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, pages 770–778, 2016. our card
- M. Hein and M. Andriushchenko. Formal guarantees on the robustness of a classifier against adversarial manipulation. In NIPS, 2017. OpenAlex ↗ · Scholar ↗
- D. Hendrycks and K. Gimpel. A baseline for detecting misclassified and out-of-distribution examples in neural networks. In ICLR, 2017. OpenAlex ↗ · Scholar ↗
- D. Hendrycks, M. Mazeika, and T. Dietterich. Deep anomaly detection with outlier exposure. In ICLR, 2019. OpenAlex ↗ · Scholar ↗
- M. Jordan, U. Lewis, and A. G. Dimakis. Provable certificates for adversarial examples: Fitting a ball in the union of polytopes. arXiv preprint, arXiv:1903.08778, 2019. OpenAlex ↗ · Scholar ↗
- D. P. Kingma and J. Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- A. Krizhevsky. Learning multiple layers of features from tiny images. technical report, 2009. OpenAlex ↗ · Scholar ↗
- B. Lakshminarayanan, A. Pritzel, and C. Blundell. Simple and scalable predictive uncertainty estimation using deep ensembles. In NIPS, 2017. our card
- M. Lapin, M. Hein, and B. Schiele. Loss functions for top-k error: Analysis and insights. In CVPR, 2016. OpenAlex ↗ · Scholar ↗
- K. Lee, H. Lee, K. Lee, and J. Shin. Training confidence-calibrated classifiers for detecting out-of-distribution samples. In ICLR, 2018. OpenAlex ↗ · Scholar ↗
- C. Leibig, V. Allken, M. S. Ayhan, P. Berens, and S. Wahl. Leveraging uncertainty information from deep neural networks for disease detection. Scientific Reports, 7, 2017. OpenAlex ↗ · Scholar ↗
- S. Liang, Y. Li, and R. Srikant. Enhancing the reliability of out-of-distribution image detection in neural networks. In ICLR, 2018. OpenAlex ↗ · Scholar ↗
- A. Madry, A. Makelov, L. Schmidt, D. Tsipras, and A. Valdu. Towards deep learning models resistant to adversarial attacks. In ICLR, 2018. our card
- M. Mirman, T. Gehr, and M. Vechev. Differentiable abstract interpretation for provably robust neural networks. In ICML, 2018. OpenAlex ↗ · Scholar ↗
- G. Montufar, R. Pascanu, K. Cho, and Y. Bengio. On the number of linear regions of deep neural networks. In NIPS, 2014. our card
- S.-M. Moosavi-Dezfooli, A. Fawzi, and P. Frossard. Deepfool: a simple and accurate method to fool deep neural networks. In CVPR, pages 2574–2582, 2016. our card
- E. Nalisnick, A. Matsukawa, Y. Whye Teh, D. Gorur, and B. Lakshminarayanan. Do deep generative models know what they don't know? preprint, arXiv:1810.09136v1, 2018. OpenAlex ↗ · Scholar ↗
- Y. Netzer, T. Wang, A. Coates, A. Bissacco, B. Wu, and A. Y. Ng. Reading digits in natural images with unsupervised feature learning. In NIPS Workshop on Deep Learning and Unsupervised Feature Learning, 2011. OpenAlex ↗ · Scholar ↗
- A. Nguyen, J. Yosinski, and J. Clune. Deep neural networks are easily fooled: High confidence predictions for unrecognizable images. In CVPR, 2015. OpenAlex ↗ · Scholar ↗
- A. Raghunathan, J. Steinhardt, and P. Liang. Certified defenses against adversarial examples. In ICLR, 2018. our card
- D. Stutz, M. Hein, and B. Schiele. Disentangling adversarial robustness and generalization. In CVPR, 2019. our card
- C. Szegedy, W. Zaremba, I. Sutskever, J. Bruna, D. Erhan, I. Goodfellow, and R. Fergus. Intriguing properties of neural networks. In ICLR, pages 2503–2511, 2014. our card
- A. Tewari and P. Bartlett. On the consistency of multiclass classification methods. Journal of Machine Learning Research, 8:1007–1025, 2007. OpenAlex ↗ · Scholar ↗
- W. Wang, A. Wang, A. Tamar, X. Chen, and P. Abbeel. Safer classification by synthesis. preprint, arXiv:1711.08534v2, 2018. OpenAlex ↗ · Scholar ↗
- E. Wong and J. Z. Kolter. Provable defenses against adversarial examples via the convex outer adversarial polytope. In ICML, 2018. OpenAlex ↗ · Scholar ↗
- H. Xiao, K. Rasul, and R. Vollgraf. Fashion-MNIST: a novel image dataset for benchmarking machine learning algorithms. preprint, arXiv:1708.07747, 2017. OpenAlex ↗ · Scholar ↗
- F. Yu, A. Seff, Y. Zhang, S. Song, T. Funkhouser, and J. Xiao. Lsun: Construction of a large-scale image dataset using deep learning with humans in the loop. preprint, arXiv:1506.03365v3, 2015. OpenAlex ↗ · Scholar ↗