Anomalous Example Detection in Deep Learning: A Survey
Paper · 2020 · Saikiran Bulusu, Bhavya Kailkhura, Bo Li et al.
Summary
A classifier can give a confident answer on an input that falls outside the conditions under which it learned to make predictions. An unusual input might arise naturally because the population being observed has changed. It might also have been deliberately altered to induce an error while still looking ordinary. Bulusu and colleagues survey ways to recognize these situations at prediction time. Their main focus is post-hoc detection, in which a detector assesses an input or the response of an already trained neural network and flags predictions that warrant caution. The prediction and the decision to rely on it become separate steps.
The survey distinguishes unexpected inputs that arise without reference to the classifier from adversarial inputs designed to make it fail. For both problems, it organizes methods by the evidence available during development. Supervised detectors learn from examples labeled as normal or anomalous. Semisupervised detectors can use a mixture whose individual examples have unknown status, alongside data known to be normal. Unsupervised detectors build their reference from normal examples alone. Within these groups, some methods use prediction confidence, others measure the fit to a class or the proximity to familiar examples, and still others look for discrepancies when reconstructing an input or comparing responses.
The studies reviewed show why the choice of evidence matters. Using labeled anomalies can improve detection on the anomalies represented in an experiment, while leaving open how the detector will respond to unfamiliar ones. A score based on likelihood can respond strongly to background statistics even when the input belongs to a different category than anything seen during training. And density and uncertainty can carry complementary information. In one study, a detector that combined them achieved adversarial detection accuracy of 85-93% under the conditions evaluated. Other comparisons show that simple confidence scores can improve with changes to how they are measured, while a broader evaluation finds that predictive calibration degrades as distribution shift increases.
The survey's contribution is a framework for interpreting those findings across different setups. The authors identify gaps in detecting adversarial inputs with partially labeled data, in testing on genuinely unfamiliar anomalies, and in extending detection beyond the image classifiers that dominate the literature. They also ask how detectors should handle inputs whose significance depends on context or on other inputs. Those questions matter in applications such as fraud screening, healthcare, and industrial monitoring, where the consequences of accepting a bad prediction or rejecting a good one can differ considerably.
Deep dive: Anomalous Example Detection in Deep Learning: A Survey
This survey explains how deep learning systems flag unfamiliar or adversarial inputs and why detection results depend on the data and the test. · about 37 minutes to read
The problem and its context
Deciding when a prediction deserves trust
Training a deep neural network establishes a relationship between examples and outputs under particular conditions. A network trained to recognize a set of image categories learns from the images and labels it was given. At prediction time, the network still returns scores for its familiar categories when it encounters an image from a different source. The resulting scores answer a question about the available labels. An anomaly detector asks a further question about whether the input is suitable for making that prediction in the first place.
The paper frames this as a reliability problem in settings where errors can be costly. In a scientific workflow, a prediction can determine which observations receive follow-up. An unusual observation might carry information about a rare phenomenon, making the decision to discard it consequential. In health or industrial safety, an incorrect output can influence decisions about a patient or a piece of equipment. Here the detector's job is to identify a reason to withhold confidence before the underlying prediction is acted on.
The reference point is the training distribution, meaning the population of examples from which the training data can be understood to have come. Test examples drawn from that same population are called in-distribution. The authors expect the trained network to work reliably on them in the ordinary sense that its learned behavior applies there. Prediction errors can still occur within that population. Several studies in the survey therefore examine both whether an input belongs to the expected population and whether a particular prediction is correct. The two questions use related evidence and can assign different labels to the same example.
Out-of-distribution, abbreviated OOD, describes examples from a different population. The change can arise from noise or corruption, from when or where the data are collected, or from a change in what the input represents. In the paper's schematic picture, familiar classes occupy regions of a feature space. Examples outside those regions illustrate inputs for which the classifier's existing label set may be inappropriate. The diagram gives a geometric intuition for the problem. In a real network, the feature space consists of learned numerical representations, and the relevant regions have to be inferred from available data.
Novelty, distribution shift, and deliberate interference
The authors initially distinguish novelty from OOD detection by the role the input is expected to play after it is found. A novelty is a previously unobserved or unrecognized pattern within the domain of interest. It may eventually become part of the system's account of normal behavior. An OOD example is ordinarily set aside because it falls outside the task the trained predictor can support. The survey later groups the two problems in its method discussion because a procedure for recognizing one can frequently be used to investigate the other.
That distinction is easier to see when the examples and the decision are considered together. Discovering a new pattern in data from an evolving process may give the operator a reason to revise what the system expects. Finding a wholly unrelated image in a classifier's input stream may give the operator a reason to suppress the output. A detector's score can mark either example as unusual. The task determines what the flag means and what happens after it is raised.
The paper also distinguishes this problem from domain adaptation and transfer learning. In the adaptation setting it describes, a predictor learned on a source distribution is being prepared for use on a related target distribution. The target matters to the task and can inform training. OOD detection starts from a deployed or already trained predictor and asks whether a new input is sufficiently far outside its intended scope to make the output unreliable. A difference in distributions can thus be something the learning procedure is designed to accommodate or something the detection procedure is designed to flag.
Adversarial inputs bring a different reason for concern. They are constructed with the behavior of a predictor in mind. The paper uses image classification to explain the difference. A natural OOD image can present content missing from the classifier's training categories. An adversarial image can retain the visual identity that a person would assign while producing evidence that the classifier associates with another class. In the paper's geometric illustration, the input can cross a learned decision boundary in spite of remaining visually close to a normal example. Early work cited in this discussion includes Intriguing Properties of Neural Networks and Explaining and Harnessing Adversarial Examples.
The distinction has practical consequences for how a detector is tested. A detector for naturally occurring OOD examples can be evaluated by changing where inputs come from. A detector for adversarial inputs has to contend with examples deliberately chosen to make a predictor behave incorrectly. Its apparent success can depend on the predictor being protected and on what information about the defense was available in the evaluation. Both kinds of detector may use confidence or internal activations, but those signals have to be interpreted in the context of how the test examples arose.
Why the boundary is hard to learn
A geometric rule would be straightforward if familiar examples occupied a compact, well-sampled region with a clear edge. The authors describe a harder setting. Deep representations can be complex, and an example can appear ordinary under one representation and unusual under another. A detector based on the output probabilities has access to the network's final decision, while a detector using intermediate features can inspect patterns that disappear when those features are compressed into a class prediction.
The boundary also depends on the application. A small departure from normal observations may have substantial consequences in one setting. In another, ordinary variation might be wide enough that flagging deviations of that size would obstruct useful predictions. This makes the operating threshold part of the task. A method can rank unusual examples plausibly while leaving considerable uncertainty about the cutoff that will serve a particular application.
Labels place another constraint on the boundary. In some applications, the system has many examples of normal operations and little reliable annotation of failures. In others, developers can collect examples of representative anomalies. Even there, the examples used to train and validate a detector cover a finite range. The supervised method can learn an effective distinction within that range, while evidence about anomalies beyond it depends on how the evaluation is constructed.
What earlier work had organized
The survey places these questions in a field with considerable prior work in statistics, signal processing, and machine learning. Earlier reviews discussed methods such as clustering, regression, rule learning, and statistical outlier detection. Those methods supply different descriptions of normality. Clustering organizes examples by similarity, regression can identify departures from an expected response, and rules describe patterns whose violation can trigger a flag. Other surveys arranged the literature by the kinds of data being examined, such as measurements, sequences, and evolving streams.
Work on novelty detection provided another precedent. As the authors describe it, those reviews organized methods around their statistical assumptions and complexity. Research on evolving data addressed environments where the underlying distribution itself changes. That perspective gives drift a role in the account of normal behavior. An observation can be unusual under an older reference distribution and ordinary under a newer one, which makes the age and relevance of the reference data part of the interpretation.
The authors also discuss a prior survey of deep approaches that included hybrid systems and neural networks trained for one-class problems. One-class learning characterizes the data belonging to a designated group, typically the normal group in this setting. The emphasis of Bulusu and colleagues is the reliability of predictions from a deep network already assigned to a task. From that starting point, they can organize naturally occurring shift and deliberate interference in the same framework. They also discuss methods that change the training procedure or architecture, where the distinction between building a predictor and building a detector becomes less clear.
The method, step by step
Start with the predictor and define the detector's decision
The survey describes an architecture shared by many of the methods it reviews. An application already has a neural network trained on examples appropriate to its prediction task. At test time, the network produces a task output, such as scores for the possible image categories. A detector obtains some evidence about the input or the network's response and decides whether the resulting prediction should proceed. Some detectors read only the output scores. Others read internal features, compare the input with training examples, or use a separately trained system to characterize familiar data.
The preparation step is to specify which data represent ordinary use. A detector can learn what those data look like in the input space, in the representations of the predictor, or in the space of prediction scores. The developer then chooses a statistic that responds to a departure from this reference. It might be a confidence score that usually falls on unfamiliar examples, a distance that increases as representations become atypical, or a measure of disagreement between distinct estimates of what class the input resembles.
Finally, a decision rule turns the statistic into a flag. The direction depends on the statistic. A high distance can be a reason to reject, while a high confidence can be a reason to accept. In post-hoc detection, this rule can change whether a prediction is used without changing the predictor's class assignment. The diagram describes the shared procedure instead of the training recipe of a particular study.
How post-hoc anomaly detection screens a prediction
The steps in order.
The survey describes its reviewed statistics mainly in prose. The notation below expresses decision rules and scores that the authors describe, with the details left open where the underlying studies use different implementations.
Decide what anomaly information is available
In the supervised branch, the detection labels identify examples as normal or anomalous. Those labels serve a different purpose from the predictor's original labels. In an image task, the original label says what the image depicts. The detection label says whether an example is appropriate for the predictor or belongs to an anomalous group. A supervised detector can, for example, learn a boundary between responses produced by normal training images and responses produced by known adversarial examples. It can also learn how much weight to give the scores computed at different layers.
In the semisupervised branch, developers have examples known to be in-distribution and additional information from a mixture. They may possess an upper bound on the number of anomalies in the mixture, or they may possess a pool of unlabeled examples containing some OOD inputs. In either case the mixture provides information without assigning anomaly status to each example. The method must use assumptions about the mixture or about how the normal and unfamiliar cases should behave.
In the survey's unsupervised branch, the information used to construct the detector comes from in-distribution data. The term concerns supervision for anomaly detection. The underlying classifier can have been trained on ordinary task labels, and an auxiliary detector can use those labels to estimate what each class looks like. It can also create its own labels by applying a known transformation to a familiar image and using the identity of the transformation as a training target. Both procedures preserve the defining property that the detector learns without labeled anomalous examples.
Calibration can change which category best characterizes an implementation. A score may have been designed from normal data, while an operating threshold is subsequently selected with labeled OOD validation examples. The authors note that the extra validation data can improve the threshold. It also gives the deployed decision rule information about anomalies. For the same reason, a single method may reasonably be discussed in two forms if one uses labeled anomalies and the other relies on normal data alone.
Score the output or look inside the network
The simplest output-based baseline reads the classifier's predicted probabilities. A softmax transforms raw output scores, called logits, into probabilities over the available classes. The detector uses the largest of those probabilities as its confidence score. The idea is that normal inputs tend to elicit a more decisive response under the conditions tested.
S(x) = max_c P(c ∣ x)
Here S(x) is the confidence score for test input x. The class index c ranges over the labels that the predictor can assign, and P(c ∣ x) is its softmax probability for class c given that input. max_c takes the highest such probability. A threshold then identifies inputs with sufficiently low confidence to flag. The probability applies to a class within the predictor's fixed label set, so its usefulness for OOD detection depends on how the score distributions for familiar and unfamiliar inputs separate in practice.
One extension changes the way the confidence measurement is obtained. Temperature scaling adjusts the spread of the class probabilities by rescaling the logits before applying softmax. The method reviewed alongside the baseline also uses a small input adjustment to help separate the resulting confidence distributions. Another approach estimates confidence from the stability of the network's response to natural image transformations. It learns which patterns of variation across transformed views are typical of familiar images and which are associated with OOD training examples.
A related supervised approach reads gradients. A gradient is a collection of derivatives that indicates how a quantity changes with a change in its arguments. In the reviewed study, the quantity being differentiated is the negative log-likelihood evaluated at the predicted class. Gradients from the network's layers are condensed into a scalar using a norm or an extremal operation. The score is intended to reflect uncertainty or likelihood of error. A supervised version retains those measurements and learns the detection rule using anomaly examples in addition to normal responses.
Some methods use gradients for a different purpose. Resampling uncertainty estimation approximates how a prediction might vary across alternative training samples from the same distribution. It uses derivatives of the training loss, including its Hessian, which describes local curvature, to approximate predictions from a bootstrap procedure. A bootstrap uses resampled training data to study how a quantity would vary as the sample changes. The resulting spread across predictions serves as a pointwise reliability measure. In this setting, uncertainty concerns sensitivity to the choice of training examples, while softmax confidence concerns the relative weight assigned to the available labels on the current input.
Compare an input with familiar classes
Class-conditional density methods ask whether an input's internal representation resembles training representations from any familiar class. The surveyed Mahalanobis approach fits a Gaussian distribution for each class in the feature space of a pretrained network. A Gaussian specifies a center and a pattern of variation. The method uses empirical class means as centers and a shared covariance estimate to describe variation. Covariance accounts for the scale of each feature as well as relationships between features. Mahalanobis distance measures departure relative to this variation, so a change along a direction where normal examples vary widely can count differently from an equally large change along a more tightly constrained direction.
At prediction time, the method measures the test representation against the closest fitted class. The survey also describes combining scores from different layers by weighted averaging. A logistic regression detector learns the weights on validation examples that include both normal and OOD inputs. The setup illustrates why the supervision label can apply to a specific stage. Normal examples supply the Gaussian estimates, while anomaly labels help determine which layers' scores matter to the final decision.
The trust score uses another notion of distance. It first identifies a high-density subset of each class, filtering out isolated training points to create a reference for that class. It then compares the distance to the predicted class's reference with the distance to the closest competing class's reference. The survey describes this comparison using Hausdorff distances.
T(x) = d(x, H_alt) / d(x, H_pred)
T(x) is the trust score for test input x. H_pred is the high-density reference set for the predicted class. H_alt is the nearest such set among the competing classes. The function d is the distance from the test example to the indicated class reference as used in the comparison. The slash denotes division. A low ratio indicates that the chosen class lies relatively far away compared with a competitor. The score measures how much the prediction agrees with the geometry of the reference examples. That agreement can help assess correct and incorrect predictions even when both kinds of input come from the same population.
Nearest-neighbor feature methods make a related comparison locally. They retrieve training examples whose internal representations are close to the representation of the test input. In one adversarial detection study, the detector considers the neighbors' support for the class predicted by the neural network. A class with very little support among nearby training examples gives a reason to doubt the prediction. The neighbor search serves as a check on the original classifier and returns a confidence signal about its chosen class.
Local intrinsic dimensionality uses neighbor distances to characterize the neighborhood itself. The underlying observation concerns how quickly the fraction of neighbors within reach grows as the radius increases around an example. A neighborhood that expands rapidly in this sense can have a higher estimated local dimension. The reviewed method uses estimates at different layers as features for a supervised detector. This preserves information that a single distance to a class center would discard. The class-center distance describes where the test representation is, while local intrinsic dimensionality describes how the training examples around it are arranged.
Separate background regularity from evidence about the task
A generative approach can assign a likelihood or density to observations based on patterns learned from training data. The appeal for anomaly detection is that inputs poorly explained by the learned distribution may be unusual. Ren and colleagues identify a complication. Certain regularities in an input make it statistically predictable while revealing little about whether it comes from a familiar class. If those background regularities dominate the score, an example can have a plausible likelihood even though the structure relevant to the task has changed.
The reviewed likelihood-ratio procedure trains one estimator on ordinary inputs and another to characterize background statistics. The second learns from altered examples in which the structure relevant to the task has been disrupted while background information is retained. Comparing the estimates is meant to reduce the influence of whatever both explain well. A threshold on the resulting statistic supplies the decision. The training procedure uses an assumption about which information should survive the alteration, making the background construction an important part of the detector. The survey illustrates the method through recognition of unfamiliar classes in a microbial genome dataset.
Another semisupervised method begins with a scoring rule and concentrates on setting the threshold. It uses the distributions of scores in a clean sample and in a sample that may contain anomalies. A cumulative distribution function gives the share of scores at or below a given value. The procedure uses these functions together with an upper bound on the number of anomalies in the contaminated data. Under its assumptions and with sufficient observations, it supplies a probably approximately correct guarantee for achieving a target anomaly detection rate. The guarantee concerns the thresholding procedure given its information about contamination.
A further method learns from a common feature extractor and separate classifier heads. A head is the portion of a network that turns features into a prediction. The heads learn to agree on classifying known normal inputs while the training procedure encourages disagreement on unfamiliar inputs from the mixed pool. That disagreement becomes evidence for OOD detection. Here a contaminated pool influences how the representations and boundaries are learned, rather than serving only to estimate the final cutoff.
Look for discrepancies in reconstruction or transformation
Reconstruction-based detection asks how well a system fitted on ordinary data can represent a new example and then generate it again. The assumption is that the learned representation preserves the structure of familiar inputs more effectively. One method uses a generative adversarial network, or GAN. In the reviewed setup, the system produces an internal feature representation and a reconstructed image. Encoding the reconstruction yields another feature representation. The detector measures how far apart those two representations lie. The architecture comes from the line of work introduced in Generative Adversarial Nets.
R(x) = ‖z(x) − z(x̂)‖
R(x) is the reconstruction-based anomaly score for input x. x̂ is the reconstructed image. The terms z(x) and z(x̂) denote the bottleneck feature vectors obtained from the original input and from encoding its reconstruction, respectively. A bottleneck is the compressed representation through which the reconstruction is formed. The minus sign indicates vector subtraction, and ‖ · ‖ is the Euclidean norm, which measures the length of the resulting difference. A larger score means the representation has changed more through reconstruction and re-encoding.
A separate reconstruction method combines the loss on the reconstructed input with the Mahalanobis distance from the encoded input to the center of the encoded training examples. The two pieces answer different questions. Reconstruction loss measures how much of the input the system recovers. The latent distance measures whether its compressed representation occupies a familiar part of the feature space. A reconstruction can be usable even when the code representing it lies far from where the training examples gathered. Including the latent distance lets the detector respond to that case.
Transformation-based learning creates a task whose labels are known from data preparation. The study by Golan and El-Yaniv applies geometric transformations to familiar images and trains a classifier to identify which transformation it encountered. At test time, the transformed versions of a new image produce a collection of softmax responses. The detector scores those responses using the patterns established on the transformed training images. Its evidence comes from how the auxiliary recognition task behaves on the image. In the survey the image classifier used for this procedure belongs to the Wide Residual Networks family. The detection procedure is described in Deep Anomaly Detection Using Geometric Transformations.
Model the response of a classifier to adversarial inputs
The adversarial detection studies use many of the same kinds of evidence as the OOD studies. Their test question concerns whether a seemingly ordinary input has induced unusual behavior in the predictor. A supervised study fits a binary detector on intermediate features produced by normal and adversarial examples. A related approach includes an additional class for adversarial inputs, as discussed in On the (Statistical) Detection of Adversarial Examples.
Another supervised study combines a density estimate with uncertainty. The density estimate uses the training representations from the last hidden layer. Kernel density estimation builds such an estimate by letting each training example contribute to the density of points near it. The uncertainty estimate observes variation under dropout, which leaves out portions of the network during repeated evaluations. A logistic regression detector learns from both signals. Density provides evidence about whether the input produced a familiar representation, and uncertainty provides evidence about the stability of the network's response.
Other detectors consider the evolution of the representation across layers. The survey describes one that encodes each layer's activations in terms of their distances relative to normal examples. An LSTM, a recurrent neural network that processes sequences, then learns to distinguish patterns of evolution through the layers. Whereas a detector using the final logits reads the outcome of the computation, this approach reads a sequence of intermediate states. Both can be trained using labeled adversarial examples, with different evidence available to the detection rule.
Methods trained only on normal inputs also examine the internal response. One fits a Gaussian mixture to normal hidden states associated with each class. A mixture uses several Gaussian components to represent a class whose activations can form several groups. The detector compares the likelihood of a new response with a class-specific cutoff. Another approach learns regularities at individual layers from clean examples, covering both activation values and patterns in how activity propagates through the network. Individual checks contribute to a joint decision about whether the computation resembles what the network ordinarily does.
The survey also covers generative density tests in the input space. One assigns density scores to normal training images, then ranks the test image's score among those reference scores. The rank is used to obtain a p-value, a measure of how extreme the test observation is under the reference procedure. In another study, the comparison is between posterior class probabilities from a density estimate and those from the neural classifier. The decision statistic is Kullback–Leibler divergence, which quantifies a discrepancy between probability distributions. Its role is to capture a mismatch between the class assigned by the network and the relative support offered by the density estimate.
Some defenses estimate a manifold, the region of possible representations associated with ordinary inputs, and try to project an image back onto an estimate of that region. The survey describes estimates based on a large collection of natural images and on a generative network trained on benign images. These procedures rely on the premise that an adversarial alteration leaves a detectable departure from the estimated structure of normal data. A nearby-looking image may still create an atypical internal response. The projection and internal-response approaches inspect different spaces for that departure.
Change the training or architecture when the detector needs it
The paper places several related methods outside its main post-hoc architecture. One trains the classifier to give diffuse predictions on auxiliary OOD examples. Terms in the training objective bring its predicted distributions for those inputs closer to a uniform distribution. A uniform distribution gives every available class the same weight, which makes the output less decisive. A GAN supplies the unfamiliar training examples, and optimization alternates between training the classifier and training the generator.
A leave-out ensemble creates OOD surrogates by treating some of the original training categories as unfamiliar to a particular ensemble member. Each member learns to classify the remaining examples while maintaining a margin between the average prediction entropy on its familiar and designated unfamiliar inputs. Entropy measures how spread out a probability distribution is. The paper denotes that margin by m. A measure combining prediction confidence and entropy contributes to the ensemble's final OOD score.
Outlier Exposure also uses auxiliary examples during development. Its premise is that a varied external collection can help a detector learn a broader boundary around familiar data. This approach offers a different source of supervision from leaving out some categories already in the task dataset. In both cases, performance on truly unfamiliar inputs depends on how much the learned distinction generalizes from the examples used during training.
The survey also describes replacing the usual classification logits with scaled cosine similarity. The cosine measures the angular alignment between the feature vector for an example and the weights associated with a class. At test time the detector thresholds the largest class cosine. The detection decision can be obtained from one forward evaluation of the network. This is a change to the predictor's output architecture, so it can affect both ordinary classification and anomaly detection.
Experiments and results
How to read the comparisons
The experiments summarized in the survey come from the studies it reviews. Some ask whether an OOD detector separates familiar images from a different image dataset. Some examine how well a score identifies incorrect predictions. Others evaluate a detector on known adversarial examples or investigate how predictive uncertainty changes under distribution shift. The underlying metric and the population on which it is measured determine what each result means. A proportion of correctly detected anomalies and the average precision of a fraud classifier, for example, concern different decisions.
The survey often reports a direction of improvement along with the setup, without a numerical score for each baseline. Its numerical results should therefore be read with the conditions that accompany them. When the authors cite performance as better than a baseline, that gives evidence about the reviewed comparison. To infer a ranking across approaches would also require common data, anomaly definitions, and evaluation procedures.
Detecting unfamiliar inputs
The gradient-based study trained a convolutional image classifier on Extended MNIST digits. The OOD evaluation used EMNIST letters, CIFAR10 images, and different forms of noise. These choices put different kinds of departure under the same broad OOD label. Written letters share some properties with written digits, while natural images and noise present other changes in the input. The gradient score used alone performed unevenly across these sources. Training a detector with labeled OOD examples and the same kinds of uncertainty measurements substantially improved detection according to the survey. The authors report the direction of improvement without giving separate detection scores for these sources.
The confidence-stability study used STL-10 as the in-distribution data and Street View House Numbers, or SVHN, as the OOD data. It derived training inputs for a binary detector from the classifier's responses to transformations of each image. The survey reports that this detector outperformed the baselines in the study. The result applies to a setting with labeled OOD data for learning how confidence changes across transformations. It is evidence for an additional signal beyond the confidence obtained from a single view of the image.
The softmax baseline was evaluated across vision, speech recognition, and natural language processing. The survey identifies overlap between the maximum probabilities of normal and OOD examples as a failure condition. The extension using temperature scaling and an input adjustment was evaluated with Wide ResNet and DenseNet classifiers trained with CIFAR-10 or CIFAR-100 as the in-distribution data. Tests used natural image datasets and synthetic noise for the OOD inputs. Relative to the original thresholding baseline, the paper reports a substantial improvement in detection. The comparison shows what better separation of that particular score can achieve in those image settings.
For transformation prediction, the study reviewed used CIFAR data in its familiar training setup and CatsvsDogs as OOD data. The survey describes the latter collection as containing 12,500 images per category, with cats and dogs as the categories. The transformation-based approach improved on the cited confidence baseline for the larger images and showed stronger separation between familiar and OOD examples. The number describes the size of a dataset used for the comparison. The reported advantage concerns detection using a classifier trained to recognize geometric changes.
The reconstruction study evaluated the addition of a latent-space distance using MNIST. One digit class supplied in-distribution examples and the remaining digit classes supplied OOD examples. The reconstruction procedure was thus trained to describe a narrowly specified class, while the test included other inputs of the same general form. Adding the distance from the encoded example to the training center improved discrimination over the reconstruction-based signal. This comparison makes the contribution of the extra feature easier to interpret than comparisons that change both the type of detector and the image population.
The likelihood-ratio study used microbial genome data from the National Center for Biotechnology Information. Its split grouped classes according to when they were discovered. Classes discovered before a cutoff supplied the familiar group. Classes discovered after it supplied the OOD group. The comparison therefore concerned unfamiliar classes introduced by a time-based split within a broad data domain. The survey reports better OOD detection accuracy than the earlier methods considered in the study. It gives the rationale for removing background influence and the construction of the split, while leaving the accuracy values unspecified.
The study on resampling uncertainty evaluated a feedforward neural network with one hidden layer on eight regression benchmarks from the UCI repository. Its evaluation concerned whether the uncertainty score could distinguish more reliable predictions from inaccurate ones. The survey reports that the score audited prediction reliability more effectively than the alternatives considered. This is evidence about regression uncertainty under those benchmark conditions. The paper presents OOD detection as another potential use of the uncertainty measure.
Calibration under changing data
The paper discusses an evaluation that examined predictive accuracy and uncertainty under dataset shift. It used measures including negative log-likelihood and the Brier score. Negative log-likelihood penalizes a prediction that puts little probability on the observed outcome. The Brier score measures discrepancies between the predicted probabilities and the observed outcome indicators. Both provide information about the quality of the predicted probabilities beyond whether the most probable class was correct.
In that evaluation, calibration error increased as the distribution shift grew. Calibration concerns whether stated probabilities correspond to the frequencies of the outcomes they describe. The reported deterioration means that confidence adjusted after training became less dependable as test conditions moved farther away. This finding addresses a different property from separation of familiar and unfamiliar cases by maximum softmax score. A score can help order cases for screening on a particular benchmark while its probability values become less reliable as statements about correctness.
The cosine-based approach provides a comparison of detection and classification behavior in the same system. The survey describes experiments with a Wide Residual Network trained using CIFAR data, with tiny ImageNet and SVHN as OOD examples. Thresholding the class cosine achieved competitive anomaly detection without the hyper-parameter tuning the study sought to avoid. The survey also reports a degradation in ordinary classification accuracy. The result puts both outcomes in view because the change replaced part of the original prediction architecture.
Detecting adversarial inputs
CIFAR10 and a subset containing ten ImageNet classes served as evaluation datasets for the supervised detector, which learned from intermediate representations. The survey reports high detection accuracy and transfer from the adversarial examples used in detector training to examples from similar and weaker methods. The stated transfer conditions matter. They describe generalization across the particular adversarial examples considered in that experiment, with similarity to the training cases still part of the evidence.
The study that combined density and dropout uncertainty reports detection accuracy of 85-93% in its adversarial detection evaluation. The survey describes the labeled examples used to train the combined detector as including benign and adversarial inputs, with several adversarial methods represented. It gives the range for the combination and says it did better than either signal alone. The dataset-specific breakdown, separate accuracy values for those baselines, and named test split are left unspecified in the survey's account of that range.
The hidden-state mixture method was evaluated on MNIST, F-MNIST, and CIFAR-10. The results reported in the survey concern robustness in black-box and gray-box evaluations, in which the evaluation assumes limited access to the system or defense. The authors describe the detector as reaching state-of-the-art robustness under the tested conditions. Another study evaluated uncertainty from sampling hidden units on CIFAR10 and a cats-and-dogs dataset. Optimizing the sampling probabilities improved detection in those experiments. These reports concern different detectors and experimental settings, even though both use information from hidden activations.
A separate comparison asked which uncertainty measure provided useful evidence for adversarial detection. Using MNIST and Kaggle dogs vs., the study covered in the survey compared entropy, mutual information, and how much the softmax output varied. cats classification. Mutual information, which expresses how much observing one quantity tells us about another, was the useful measure in that comparison. The survey reports that most of the other uncertainty scores performed worse than random guessing in those settings. This makes the choice of statistic a substantive part of the method instead of a routine detail.
A deployed fraud detector under adversarial conditions
The clearest numerical comparison with both conditions given in the survey comes from a study of a deployed fraud detector for large-scale e-commerce transactions. The metric is average precision, which summarizes precision across recall levels. Precision concerns the share of flagged transactions that are actually fraudulent, while recall concerns the share of fraudulent transactions that are flagged. The cited study reports a fall from 90% before the adversarial changes to as low as 20% under the conditions examined. The survey gives these values for the transaction fraud evaluation without naming a dataset split.
Average precision of a deployed detector on e-commerce transactions
The deployed detector ranked fraudulent transactions less effectively under the tested adversarial conditions.
The numbers
| System or setting | average precision % |
|---|---|
| Before adversarial changes (this paper) | 90 |
| Lowest reported under adversarial changes | 20 |
The starred row is the better-performing condition of the same fraud detector. The experiment measures the application classifier's vulnerability, which is why the survey uses it to motivate reliability screening. It gives no measure of how many altered transactions a separate post-hoc detector would have flagged, or what the resulting average precision would have been. The comparable numerical conditions belong to the original fraud decision.
The paper uses examples from other applications in a similar way. It describes clinical demonstrations involving retinal images, chest X-rays, and dermoscopic photographs, alongside evidence that classifiers of temporal data are susceptible to adversarial inputs. Such observations establish that the reliability problem extends beyond ordinary image benchmarks. The survey's descriptions of network monitoring, industrial diagnostics, and malware detection also explain why a detector's available training evidence may differ from what the benchmark literature assumes.
What the ablations show
The survey contains no original ablation experiments. Its closest evidence comes from controlled comparisons within the studies it reviews and from the authors' analysis of the assumptions that distinguish whole groups of methods.
When signals catch different failures
The density and dropout comparison is a direct example of testing detector components separately and together. A density estimate catches a representation whose position looks unusual relative to normal examples. A point can also occupy a plausible position under that estimate while eliciting an unstable network response. The dropout-based uncertainty measure supplies evidence about that second case. The combined detector's improvement over the separate scores supports the claim that the signals are complementary in the reviewed experiment. The survey uses this kind of result to motivate interest in ensembles of detectors.
The reconstruction comparison on MNIST tests another pairing. A reconstruction error tells the detector that information needed to reproduce the input was lost. Latent distance measures how far the encoded input lies from the representations used as the reference. The study added the latter measurement to the former and found improved OOD detection on its familiar-digit and other-digit setup. The comparison supports the extra feature for that data construction. Its effect can depend on how the encoding organizes the familiar class and where the other digits land.
The gradient study changes the detector's training evidence while preserving its underlying source of measurements. A score based on the network's gradients performed unevenly across unfamiliar inputs. Learning from labeled OOD examples helped the detector interpret the same kinds of measurements. The comparison shows that practical performance depends on the decision rule as well as the raw score. It also makes explicit which advantage came with acquiring labels for examples outside the normal class.
The score and the representation both matter
The reviewed comparison of uncertainty measures tests whether different mathematical summaries can stand in for one another. A large predictive entropy describes a diffuse distribution over the labels. Variation in softmax outputs describes how strongly outputs vary under the procedure used to obtain them. Mutual information captures a dependency. The reviewed experiments found that the measures differed substantially in detection usefulness. A general claim that adversarial examples increase uncertainty leaves open which quantity tracks that change in a particular evaluation.
In the trust-score experiments, dimensionality changes how much distance-based evidence helps. Reported performance in distinguishing correct from incorrect predictions was favorable in low to medium dimensions. In high dimensions, performance was similar to the classifier's own softmax confidence. This supports a conditional reading of the geometric method. Its benefit depends on the geometry of the representation making the reference neighborhoods informative.
The softmax baseline comparison shows that changing score preparation can improve separation while retaining the original notion of confidence. The method evaluated by Liang and colleagues combines temperature scaling with an input adjustment. The improvement reported in the survey concerns the combined procedure. The survey gives no standalone effect sizes for the two adjustments, so it supports an assessment of their combined result under that experimental setup.
The calibration study varies the severity of dataset shift and measures what happens to predictive uncertainty. As the shift increases, calibration worsens. This comparison connects performance with conditions at test time. A calibrated system evaluated under one distribution can face a broader spread of uncertainty behavior as inputs depart from its reference. The result helps explain why calibration on ordinary data and anomaly detection under shift warrant separate evaluation.
What each family asks of the data
The authors' comparison across detector families is qualitative. Distance-based approaches need a representation and a distance for which nearby points have meaningful relationships. Projection and reconstruction approaches need an estimate that preserves the structure of ordinary inputs. Probability-based approaches need enough data to estimate reference densities reliably. Uncertainty-based approaches need a statistic whose variation corresponds to the kinds of errors or anomalies the detector is supposed to flag. Each requirement identifies a way for the measured result to change when a method is moved to another task.
The paper also compares where the computation occurs. It describes probabilistic and uncertainty-based methods as frequently concentrating more cost in fitting or preparation. Searches for nearby reference examples, or projections onto estimated familiar inputs, can require more computation at test time. This distinction follows from what each detector has to do for each new observation. Some retain a fitted summary that can be scored directly. Others must find a suitable reference example or reconstruct a plausible input as part of screening it.
Finally, the survey compares what different sources of supervision allow the detector to learn. Labeled anomalous examples can help fit a more specific boundary. A mixed unlabeled pool can provide information about departures from ordinary data when annotation is scarce. A detector trained on normal examples alone can be applied when developers have no representative collection of anomalies. The authors also associate that flexibility with sensitivity to noise and corruptions. These are comparative judgments from the surveyed literature. Their implications depend on how much data each method receives and how closely its test anomalies resemble the ones anticipated during development.
Limitations
Limits identified by the authors
The authors treat the definition of an anomaly as a continuing problem. Much of the work they review evaluates test examples individually. A contextual anomaly can be ordinary on its own and unusual given the circumstances in which it appears. A collective anomaly can arise from the pattern formed by a group of inputs. These cases pose a different problem to a detector that computes a separate score for every observation. An appropriate reference may have to describe sequences, groups, or relationships in addition to individual examples.
The survey also identifies difficulty evaluating what the authors call unknown unknowns. An evaluation can reserve examples for testing and still use anomalies that closely resemble the ones considered when designing the detector. In that case the test measures generalization within a familiar problem. The authors call for benchmarks capable of assessing unseen and adaptive anomalies, including situations in which anomalous behavior changes in response to the defense. Their argument is that a principled evaluation needs to specify both how the examples were selected and which aspects of their behavior were unavailable during development. This is a central concern for Evaluation & benchmarks.
Coverage across data and tasks is another explicit limit. Image classification accounts for much of the work surveyed, while the authors see unresolved detection problems in text, graphs, trees, and other kinds of data. They also extend the question beyond assigning a class label. Object detection, control, and planning produce outputs with structures and consequences different from a fixed list of categories. A threshold on something like class confidence may therefore have no direct equivalent, and the definition of a consequential anomaly may need to change with the task.
The authors found no semisupervised adversarial detector in the literature they reviewed. In that part of their classification, known normal inputs and a contaminated unlabeled pool define a research question instead of a body of empirical results. The favorable observations about such data in the OOD branch motivate the question. Evidence about how to use the pool for intentional anomalies remains open in the survey.
They also call for stronger theory. Several detectors rest on empirical properties that hold in particular experiments, such as an anomaly having low density, an atypical feature trajectory, or high uncertainty. The paper reviews evidence that defenses based on such heuristics can be fragile when evaluated against new adversarial methods. It asks for a clearer account of when reliable discrimination is possible and how useful regularities, including spatial and temporal consistency, might support it. The promise of combining complementary detectors is presented as a research direction alongside these questions.
Limits visible in the reported setups
The experiments support different claims because they define the positive cases differently. In the single-digit MNIST setup, the other digit classes are deliberately outside a narrow in-distribution category. In the microbial genome comparison, the unfamiliar group is determined by a discovery cutoff. In the fraud experiment, the starting point is a deployed transaction classifier under adversarial conditions. The assumptions needed to call each case anomalous differ, and a performance number from one of these tasks cannot serve as a common yardstick for the others.
The source of training and validation evidence further qualifies comparisons. A fitted score can be constructed from clean inputs, a threshold can be tuned using known OOD examples, and the final experiment can draw from yet another distribution. Each stage can improve performance in its own way. A result reported for the completed system therefore establishes the performance of that combination of score, calibration and test data. The contribution of any component is clearest when a reviewed study changes that component while keeping the other conditions fixed.
Some studies in the survey report accuracy, others study uncertainty and calibration, and still others use an application measure such as average precision. A detector with favorable accuracy on a benchmark can nonetheless have an operating threshold that costs too many usable predictions for the intended application. Accuracy aggregates outcomes across the evaluated test cases. It supplies less information about the cost of the two possible screening errors: keeping a prediction that should have been flagged and flagging a prediction that could have been used safely. The importance of those errors is one reason the authors make the application part of the problem definition.
The studies of limited-access adversarial settings also have a defined scope. Their findings refer to conditions in which information about the classifier or defense was restricted. How performance changes when behavior is adapted to the full detection system is a separate empirical question. The survey's warning about evaluation follows directly from this point. A detector can succeed on varied examples and still rely on a signal whose value changes once the conditions of the evaluation change.
Finally, the underlying evidence permits a flag to be interpreted as a reason for caution. The meaning of acceptance depends on how thoroughly normal behavior and relevant failure cases were characterized. A point close to a training neighborhood can still receive the wrong class. A point far from familiar examples can be the most consequential observation in a stream. By putting the task decision and the detection decision side by side, the survey makes their dependence visible. The economic, scientific, or clinical value of accepting and rejecting predictions remains a property of each application and its evaluation.
What came after
Ren and colleagues' 2022 work connects OOD detection to selective generation for conditional language systems. The connection is visible in the two problems named in the title. The survey asks whether a system should rely on a prediction when the input falls outside the expected distribution. Selective generation carries the decision into a task that produces text in response to an input. This gives a concrete instance of the survey's call to study anomaly detection beyond fixed-label image classification. The shared question is how evidence about the input bears on whether to return the system's ordinary output. Out-of-Distribution Detection and Selective Generation for Conditional Language Models.
Huang and colleagues cite the survey in a 2024 study of trustworthiness in large language systems. The citation places the older account of OOD and adversarial detection within a broader question about when outputs merit reliance. The survey supplies a specific distinction within that question. Some inputs depart from the conditions the system was prepared for, while others are deliberately designed to elicit errors. Reading the works together connects the problem of judging incoming examples to the wider concern of trustworthiness. The citation establishes that connection at the level of subject and lineage. TrustLLM.
Wang and colleagues also cite the paper in their 2024 survey of small language systems. That survey's title places trustworthiness alongside techniques, enhancements, applications, and collaboration with larger systems. Bulusu and colleagues' framework offers a specific way to understand one part of that scope. A system's size and application can change, while the questions of which inputs it was prepared to handle and what evidence is available for screening remain pertinent. The connection is between a taxonomy of anomaly detection and a later, broader review that includes trustworthiness as a topic. A Comprehensive Survey of Small Language Models.
Cite
Cite as Saikiran Bulusu, Bhavya Kailkhura, Bo Li, Pramod K. Varshney and Dawn Xiaodong Song. 2020. Anomalous Example Detection in Deep Learning: A Survey. IEEE Access.
@inproceedings{bulusu2020anomalous,
title = {{Anomalous Example Detection in Deep Learning: A Survey}},
author = {Saikiran Bulusu, Bhavya Kailkhura, Bo Li, Pramod K. Varshney and Dawn Xiaodong Song},
booktitle = {IEEE Access},
year = {2020},
doi = {10.1109/access.2020.3010274},
eprint = {2003.06979},
archivePrefix = {arXiv},
url = {https://doi.org/10.1109/access.2020.3010274}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/bulusu-2020-anomalous-example-detection-deep-learning/
References
- L. Zhang, “Transfer adaptation learning: A decade survey,” arXiv preprint arXiv:1903.04687, 2019. OpenAlex ↗ · Scholar ↗
- V. Chandola, A. Banerjee, and V. Kumar, “Anomaly detection: A survey,” ACM Comput. Surv., vol. 41, no. 3, pp. 15:1–15:58, Jul. 2009. OpenAlex ↗ · Scholar ↗
- M. A. F. Pimentel, D. A. Clifton, L. Clifton, and L. Tarassenko, “Review: A review of novelty detection,” Signal Process., vol. 99, pp. 215–249, Jun. 2014. OpenAlex ↗ · Scholar ↗
- R. Chalapathy and S. Chawla, “Deep learning for anomaly detection: A survey,” CoRR, vol. abs/1901.03407, 2019. OpenAlex ↗ · Scholar ↗
- S. Agrawal and J. Agrawal, “Survey on anomaly detection using data mining techniques,” Procedia Computer Science, vol. 60, pp. 708–713, 2015. OpenAlex ↗ · Scholar ↗
- M. Salehi and L. Rashidi, “A survey on anomaly detection in evolving data: [with application to forest fire risk prediction],” SIGKDD Explor. Newsl., vol. 20, no. 1, pp. 13–23, May 2018. OpenAlex ↗ · Scholar ↗
- L. Kalinichenko, I. Shanin, and I. Taraban, “Methods for anomaly detection: A survey,” in CEUR Workshop Proceedings, 2014. OpenAlex ↗ · Scholar ↗
- A. Patcha and J.-M. Park, “An overview of anomaly detection techniques: Existing solutions and latest technological trends,” Computer networks, vol. 51, no. 12, pp. 3448–3470, 2007. OpenAlex ↗ · Scholar ↗
- V. Hodge and J. Austin, “A survey of outlier detection methodologies,” Artificial intelligence review, vol. 22, no. 2, pp. 85–126, 2004. OpenAlex ↗ · Scholar ↗
- G. Muruti, F. A. Rahim, and Z. bin Ibrahim, “A survey on anomalies detection techniques and measurement methods,” in 2018 IEEE Conference on Application, Information and Network Security (AINS), Nov 2018, pp. 81–86. OpenAlex ↗ · Scholar ↗
- T. Dunning and E. Friedman, Practical Machine Learning: A New Look at Anomaly Detection. 1em plus 0.5em minus 0.4em O'Reilly Media, 2014. OpenAlex ↗ · Scholar ↗
- K. Mehrotra, C. Mohan, and H. Huang, Anomaly Detection Principles and Algorithms. 1em plus 0.5em minus 0.4em Springer International Publishing, 2017. OpenAlex ↗ · Scholar ↗
- C. Aggarwal, Outlier Analysis. 1em plus 0.5em minus 0.4em Springer International Publishing, 2016. OpenAlex ↗ · Scholar ↗
- M. Bhuyan, D. Bhattacharyya, and J. Kalita, Network Traffic Anomaly Detection and Prevention: Concepts, Techniques, and Tools. 1em plus 0.5em minus 0.4em Springer International Publishing, 2017. OpenAlex ↗ · Scholar ↗
- R. Domingues, P. Michiardi, J. Barlet, and M. Filippone, “A comparative evaluation of novelty detection algorithms for discrete sequences,” arXiv preprint arXiv:1902.10940, 2019. OpenAlex ↗ · Scholar ↗
- S. Marsland, “Novelty detection in learning systems,” Neural Comp. Surveys, 2003. OpenAlex ↗ · Scholar ↗
- M.-R. Bouguelia, S. Nowaczyk, and A. H. Payberah, “An adaptive algorithm for anomaly and novelty detection in evolving data streams,” Data mining and knowledge discovery, vol. 32, no. 6, pp. 1597–1633, 2018. OpenAlex ↗ · Scholar ↗
- P. Oberdiek, M. Rottmann, and H. Gottschalk, “Classification uncertainty of deep neural networks based on gradient information,” CoRR, vol. abs/1805.08440, 2018. OpenAlex ↗ · Scholar ↗
- K. Lee, K. Lee, H. Lee, and J. Shin, “A simple unified framework for detecting out-of-distribution samples and adversarial attacks,” in Advances in Neural Information Processing Systems 31, 2018, pp. 7167–7177. OpenAlex ↗ · Scholar ↗
- Y. Bahat and G. Shakhnarovich, “Confidence from invariance to image transformations,” ArXiv, vol. abs/1804.00657, 2018. OpenAlex ↗ · Scholar ↗
- H. Jiang, B. Kim, M. Guan, and M. Gupta, “To trust or not to trust a classifier,” in Advances in Neural Information Processing Systems 31, 2018, pp. 5541–5552. OpenAlex ↗ · Scholar ↗
- S. Liu, R. Garrepalli, T. G. Dietterich, A. Fern, and D. Hendrycks, “Open category detection with PAC guarantees,” CoRR, vol. abs/1808.00529, 2018. OpenAlex ↗ · Scholar ↗
- J. Ren, P. J. Liu, E. Fertig, J. Snoek, R. Poplin, M. A. DePristo, J. V. Dillon, and B. Lakshminarayanan, “Likelihood ratios for out-of-distribution detection,” ArXiv, vol. abs/1906.02845, 2019. OpenAlex ↗ · Scholar ↗
- Q. Yu and K. Aizawa, “Unsupervised out-of-distribution detection by maximum classifier discrepancy,” in Proceedings of the IEEE International Conference on Computer Vision, 2019, pp. 9518–9526. OpenAlex ↗ · Scholar ↗
- D. Hendrycks and K. Gimpel, “A baseline for detecting misclassified and out-of-distribution examples in neural networks,” CoRR, vol. abs/1610.02136, 2016. OpenAlex ↗ · Scholar ↗
- S. Liang, Y. Li, and R. Srikant, “Enhancing the reliability of out-of-distribution image detection in neural networks,” in International Conference on Learning Representations, 2018. OpenAlex ↗ · Scholar ↗
- W. Lawson, E. Bekele, and K. Sullivan, “Finding anomalies with generative adversarial networks for a patrolbot,” in 2017 IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), July 2017, pp. 484–485. OpenAlex ↗ · Scholar ↗
- X. W. Wenhu Chen, Yilin Shen and W. Wang, “Enhancing the robustness of prior network in out-of-distribution detection,” CoRR, vol. abs/1811.07308, 2018. OpenAlex ↗ · Scholar ↗
- I. Golan and R. El-Yaniv, “Deep anomaly detection using geometric transformations,” in Advances in Neural Information Processing Systems, 2018, pp. 9758–9769. our card
- T. Denouden, R. Salay, K. Czarnecki, V. Abdelzad, B. Phan, and S. Vernekar, “Improving reconstruction autoencoder out-of-distribution detection with mahalanobis distance,” ArXiv, vol. abs/1812.02765, 2018. OpenAlex ↗ · Scholar ↗
- P. Schulam and S. Saria, “Can you trust this prediction? auditing pointwise reliability after learning,” in Proceedings of Machine Learning Research, ser. Proceedings of Machine Learning Research, vol. 89. 1em plus 0.5em minus 0.4em PMLR, 16–18 Apr 2019, pp. 1022–1031. OpenAlex ↗ · Scholar ↗
- G. Cohen, S. Afshar, J. Tapson, and A. van Schaik, “Emnist: an extension of mnist to handwritten letters,” arXiv preprint arXiv:1702.05373, 2017. OpenAlex ↗ · Scholar ↗
- A. Krizhevsky et al., “Learning multiple layers of features from tiny images,” Citeseer, Tech. Rep., 2009. OpenAlex ↗ · Scholar ↗
- A. Coates, A. Ng, and H. Lee, “An analysis of single-layer networks in unsupervised feature learning,” in Proceedings of the fourteenth international conference on artificial intelligence and statistics, 2011, pp. 215–223. 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,” 2011. OpenAlex ↗ · Scholar ↗
- S. Zagoruyko and N. Komodakis, “Wide residual networks,” arXiv preprint arXiv:1605.07146, 2016. OpenAlex ↗ · Scholar ↗
- G. Huang, Z. Liu, L. Van Der Maaten, and K. Q. Weinberger, “Densely connected convolutional networks,” in Proceedings of the IEEE conference on computer vision and pattern recognition, 2017, pp. 4700–4708. OpenAlex ↗ · Scholar ↗
- I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio, “Generative adversarial nets,” in Advances in neural information processing systems, 2014, pp. 2672–2680. OpenAlex ↗ · Scholar ↗
- J. Elson, J. J. Douceur, J. Howell, and J. Saul, “Asirra: a captcha that exploits interest-aligned manual image categorization,” 2007. OpenAlex ↗ · Scholar ↗
- Y. LeCun and C. Cortes, “MNIST handwritten digit database,” 2010. OpenAlex ↗ · Scholar ↗
- J. M. Hernández-Lobato and R. Adams, “Probabilistic backpropagation for scalable learning of bayesian neural networks,” in International Conference on Machine Learning, 2015, pp. 1861–1869. OpenAlex ↗ · Scholar ↗
- A. Shilton, S. Rajasegarar, and M. Palaniswami, “Combined multiclass classification and anomaly detection for large-scale wireless sensor networks,” in 2013 IEEE Eighth International Conference on Intelligent Sensors, Sensor Networks and Information Processing, April 2013, pp. 491–496. OpenAlex ↗ · Scholar ↗
- N. Ruchansky, S. Seo, and Y. Liu, “Csi: A hybrid deep model for fake news detection,” in Proceedings of the 2017 ACM on Conference on Information and Knowledge Management. 1em plus 0.5em minus 0.4em ACM, 2017, pp. 797–806. OpenAlex ↗ · Scholar ↗
- P. Filonov, F. Kitashov, and A. Lavrentyev, “Rnn-based early cyber-attack detection for the tennessee eastman process,” arXiv preprint arXiv:1709.02232, 2017. OpenAlex ↗ · Scholar ↗
- E. Techapanurak and T. Okatani, “Hyperparameter-free out-of-distribution detection using softmax of scaled cosine similarity,” CoRR, vol. abs/1905.10628, 2019. OpenAlex ↗ · Scholar ↗
- W. Wang, M. Zhao, and J. Wang, “Effective android malware detection with a hybrid model based on deep autoencoder and convolutional neural network,” Journal of Ambient Intelligence and Humanized Computing, vol. 10, no. 8, pp. 3035–3043, 2019. OpenAlex ↗ · Scholar ↗
- K. Lee, H. Lee, K. Lee, and J. Shin, “Training confidence-calibrated classifiers for detecting out-of-distribution samples,” in International Conference on Learning Representations, 2018. OpenAlex ↗ · Scholar ↗
- A. Vyas, N. Jammalamadaka, X. Zhu, D. Das, B. Kaul, and T. L. Willke, “Out-of-distribution detection using an ensemble of self supervised leave-out classifiers,” CoRR, vol. abs/1809.03576, 2018. OpenAlex ↗ · Scholar ↗
- D. Hendrycks, M. Mazeika, and T. G. Dietterich, “Deep anomaly detection with outlier exposure,” CoRR, vol. abs/1812.04606, 2018. OpenAlex ↗ · Scholar ↗
- H. Choi, E. Jang, and A. A. Alemi, “Waic, but why? generative ensembles for robust anomaly detection,” arXiv preprint arXiv:1810.01392, 2018. OpenAlex ↗ · Scholar ↗
- J. Song, Y. Song, and S. Ermon, “Unsupervised out-of-distribution detection with batch normalization,” arXiv preprint arXiv:1910.09115, 2019. OpenAlex ↗ · Scholar ↗
- J. Snoek, Y. Ovadia, E. Fertig, B. Lakshminarayanan, S. Nowozin, D. Sculley, J. Dillon, J. Ren, and Z. Nado, “Can you trust your model's uncertainty? evaluating predictive uncertainty under dataset shift,” in Advances in Neural Information Processing Systems, 2019, pp. 13 969–13 980. OpenAlex ↗ · Scholar ↗
- C. Szegedy, W. Zaremba, I. Sutskever, J. Bruna, D. Erhan, I. Goodfellow, and R. Fergus, “Intriguing properties of neural networks,” arXiv preprint arXiv:1312.6199, 2013. our card
- I. J. Goodfellow, J. Shlens, and C. Szegedy, “Explaining and harnessing adversarial examples,” arXiv preprint arXiv:1412.6572, 2014. our card
- J. H. Metzen, T. Genewein, V. Fischer, and B. Bischoff, “On detecting adversarial perturbations,” arXiv preprint arXiv:1702.04267, 2017. OpenAlex ↗ · Scholar ↗
- R. Feinman, R. R. Curtin, S. Shintre, and A. B. Gardner, “Detecting adversarial samples from artifacts,” ArXiv, vol. abs/1703.00410, 2017. OpenAlex ↗ · Scholar ↗
- F. Carrara, R. Becarelli, R. Caldelli, F. Falchi, and G. Amato, “Adversarial examples detection in features distance spaces,” in Proceedings of the European Conference on Computer Vision (ECCV), 2018. OpenAlex ↗ · Scholar ↗
- X. Ma, B. Li, Y. Wang, S. M. Erfani, S. Wijewickrema, G. Schoenebeck, D. Song, M. E. Houle, and J. Bailey, “Characterizing adversarial subspaces using local intrinsic dimensionality,” arXiv preprint arXiv:1801.02613, 2018. OpenAlex ↗ · Scholar ↗
- J. Aigrain and M. Detyniecki, “Detecting adversarial examples and other misclassifications in neural networks by introspection,” CoRR, vol. abs/1905.09186, 2019. OpenAlex ↗ · Scholar ↗
- Y. Song, T. Kim, S. Nowozin, S. Ermon, and N. Kushman, “Pixeldefend: Leveraging generative models to understand and defend against adversarial examples,” CoRR, vol. abs/1710.10766, 2017. OpenAlex ↗ · Scholar ↗
- D. Miller, Y. Wang, and G. Kesidis, “When not to classify: Anomaly detection of attacks (ADA) on DNN classifiers at test time,” Neural Computation, 12 2017. OpenAlex ↗ · Scholar ↗
- F. Carrara, F. Falchi, R. Caldelli, G. Amato, R. Fumarola, and R. Becarelli, “Detecting adversarial example attacks to deep neural networks,” in Proceedings of the 15th International Workshop on Content-Based Multimedia Indexing. 1em plus 0.5em minus 0.4em ACM, 2017, p. 38. OpenAlex ↗ · Scholar ↗
- Z. Zheng and P. Hong, “Robust detection of adversarial attacks by modeling the intrinsic properties of deep neural networks,” in Advances in Neural Information Processing Systems 31, 2018, pp. 7913–7922. OpenAlex ↗ · Scholar ↗
- S. Ma, Y. Liu, G. Tao, W.-C. Lee, and X. Zhang, “Nic: Detecting adversarial samples with neural network invariant checking,” in NDSS, 2019. OpenAlex ↗ · Scholar ↗
- F. Sheikholeslami, S. Jain, and G. B. Giannakis, “Minimum uncertainty based detection of adversaries in deep neural networks,” ArXiv, vol. abs/1904.02841, 2019. OpenAlex ↗ · Scholar ↗
- A. Dubey, L. v. d. Maaten, Z. Yalniz, Y. Li, and D. Mahajan, “Defense against adversarial images using web-scale nearest-neighbor search,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2019, pp. 8767–8776. OpenAlex ↗ · Scholar ↗
- R. Anirudh, J. J. Thiagarajan, B. Kailkhura, and T. Bremer, “Mimicgan: Robust projection onto image manifolds with corruption mimicking,” arXiv preprint arXiv:1912.07748, 2019. OpenAlex ↗ · Scholar ↗
- K. Grosse, P. Manoharan, N. Papernot, M. Backes, and P. McDaniel, “On the (statistical) detection of adversarial examples,” arXiv preprint arXiv:1702.06280, 2017. our card
- L. Smith and Y. Gal, “Understanding measures of uncertainty for adversarial example detection,” arXiv preprint arXiv:1803.08533, 2018. OpenAlex ↗ · Scholar ↗
- W. Xu, D. Evans, and Y. Qi, “Feature squeezing: Detecting adversarial examples in deep neural networks,” CoRR, vol. abs/1704.01155, 2017. OpenAlex ↗ · Scholar ↗
- J. Lu, T. Issaranon, and D. A. Forsyth, “Safetynet: Detecting and rejecting adversarial examples robustly,” 2017 IEEE International Conference on Computer Vision (ICCV), pp. 446–454, 2017. OpenAlex ↗ · Scholar ↗
- Y. Li, J. Bradshaw, and Y. Sharma, “Are generative classifiers more robust to adversarial attacks?” arXiv preprint arXiv:1802.06552, 2018. OpenAlex ↗ · Scholar ↗
- N. A. Ahuja, I. Ndiour, T. Kalyanpur, and O. Tickoo, “Probabilistic modeling of deep features for out-of-distribution and adversarial detection,” arXiv preprint arXiv:1909.11786, 2019. OpenAlex ↗ · Scholar ↗
- G. Cohen, G. Sapiro, and R. Giryes, “Detecting adversarial samples using influence functions and nearest neighbors,” arXiv preprint arXiv:1909.06872, 2019. OpenAlex ↗ · Scholar ↗
- C. Sitawarin and D. Wagner, “Defending against adversarial examples with k-nearest neighbor,” arXiv preprint arXiv:1906.09525, 2019. OpenAlex ↗ · Scholar ↗
- J. Monteiro, I. Albuquerque, Z. Akhtar, and T. H. Falk, “Generalizable adversarial examples detection based on bi-model decision mismatch,” in 2019 IEEE International Conference on Systems, Man and Cybernetics (SMC). 1em plus 0.5em minus 0.4em IEEE, 2019, pp. 2839–2844. OpenAlex ↗ · Scholar ↗
- S. Freitas, S.-T. Chen, Z. Wang, and D. H. Chau, “Unmask: Adversarial detection and defense through robust feature alignment,” arXiv preprint arXiv:2002.09576, 2020. OpenAlex ↗ · Scholar ↗
- Q. Wang, W. Guo, K. Zhang, X. Xing, C. L. Giles, and X. Liu, “Random feature nullification for adversary resistant deep architecture,” CoRR, vol. abs/1610.01239, 2016. OpenAlex ↗ · Scholar ↗
- S. Pertigkiozoglou and P. Maragos, “Detecting adversarial examples in convolutional neural networks,” CoRR, vol. abs/1812.03303, 2018. OpenAlex ↗ · Scholar ↗
- D. Li, R. Baral, T. Li, H. Wang, Q. Li, and S. Xu, “Hashtran-dnn: A framework for enhancing robustness of deep neural networks against adversarial malware samples,” CoRR, vol. abs/1809.06498, 2018. OpenAlex ↗ · Scholar ↗
- J. Ryan, M.-J. Lin, and R. Miikkulainen, “Intrusion detection with neural networks,” in Proceedings of the 1997 Conference on Advances in Neural Information Processing Systems 10, ser. NIPS '97, 1998, pp. 943–949. OpenAlex ↗ · Scholar ↗
- N. Gao, L. Gao, Q. Gao, and H. Wang, “An intrusion detection model based on deep belief networks,” in 2014 Second International Conference on Advanced Cloud and Big Data, Nov 2014, pp. 247–252. OpenAlex ↗ · Scholar ↗
- Y. Yu, J. Long, and Z. Cai, “Network intrusion detection through stacking dilated convolutional autoencoders,” Security and Communication Networks, vol. 2017, 2017. OpenAlex ↗ · Scholar ↗
- R. C. Aygun and A. G. Yavuz, “Network anomaly detection with stochastically improved autoencoder based models,” in 2017 IEEE 4th International Conference on Cyber Security and Cloud Computing (CSCloud), June 2017, pp. 193–198. OpenAlex ↗ · Scholar ↗
- Z. Wang, “Deep learning-based intrusion detection with adversaries,” IEEE Access, vol. 6, 2018. OpenAlex ↗ · Scholar ↗
- K. Yang, J. Liu, C. Zhang, and Y. Fang, “Adversarial examples against the deep learning based network intrusion detection systems,” in MILCOM 2018-2018 IEEE Military Communications Conference (MILCOM). 1em plus 0.5em minus 0.4em IEEE, 2018, pp. 559–564. OpenAlex ↗ · Scholar ↗
- O. Ibitoye, O. Shafiq, and A. Matrawy, “Analyzing adversarial attacks against deep learning for intrusion detection in iot networks,” arXiv preprint arXiv:1905.05137, 2019. OpenAlex ↗ · Scholar ↗
- J. Jurgovsky, M. Granitzer, K. Ziegler, S. Calabretto, P.-E. Portier, L. He-Guelton, and O. Caelen, “Sequence classification for credit-card fraud detection,” Expert Syst. Appl., vol. 100, pp. 234–245, 2018. OpenAlex ↗ · Scholar ↗
- Z. Zhang, X. Zhou, X. Zhang, L. Wang, and P. Wang, “A model based on convolutional neural network for online transaction fraud detection,” Security and Communication Networks, vol. 2018, pp. 5 680 264:1–5 680 264:9, 2018. OpenAlex ↗ · Scholar ↗
- Q. Guo, Z. Li, B. An, P. Hui, J. Huang, L. Zhang, and M. Zhao, “Securing the deep fraud detector in large-scale e-commerce platform via adversarial machine learning approach,” in The World Wide Web Conference. 1em plus 0.5em minus 0.4em ACM, 2019, pp. 616–626. OpenAlex ↗ · Scholar ↗
- A. Esteva, A. Robicquet, B. Ramsundar, V. Kuleshov, M. DePristo, K. Chou, C. Cui, G. Corrado, S. Thrun, and J. Dean, “A guide to deep learning in healthcare,” Nature medicine, vol. 25, no. 1, pp. 24–29, 2019. OpenAlex ↗ · Scholar ↗
- W. Nash, T. Drummond, and N. Birbilis, “A review of deep learning in the study of materials degradation,” npj Materials Degradation, vol. 2, no. 1, pp. 1–12, 2018. OpenAlex ↗ · Scholar ↗
- S. G. Finlayson, H. W. Chung, I. S. Kohane, and A. L. Beam, “Adversarial attacks against medical deep learning systems,” arXiv preprint arXiv:1804.05296, 2018. OpenAlex ↗ · Scholar ↗
- H. Rathore, S. Agarwal, S. K. Sahay, and M. Sewak, “Malware detection using machine learning and deep learning,” in International Conference on Big Data Analytics. 1em plus 0.5em minus 0.4em Springer, 2018, pp. 402–411. OpenAlex ↗ · Scholar ↗
- W. Hardy, L. Chen, S. Hou, Y. Ye, and X. Li, “Dl4md: A deep learning framework for intelligent malware detection,” in Proceedings of the International Conference on Data Mining (DMIN). 1em plus 0.5em minus 0.4em The Steering Committee of The World Congress in Computer Science, Computer, 2016, p. 61. OpenAlex ↗ · Scholar ↗
- J.-Y. Kim, S.-J. Bu, and S.-H. Cho, “Zero-day malware detection using transferred generative adversarial networks based on deep autoencoders,” Inf. Sci., vol. 460-461, pp. 83–102, 2018. OpenAlex ↗ · Scholar ↗
- K. Grosse, N. Papernot, P. Manoharan, M. Backes, and P. McDaniel, “Adversarial examples for malware detection,” in European Symposium on Research in Computer Security. 1em plus 0.5em minus 0.4em Springer, 2017, pp. 62–79. OpenAlex ↗ · Scholar ↗
- O. Suciu, S. E. Coull, and J. Johns, “Exploring adversarial examples in malware detection,” in 2019 IEEE Security and Privacy Workshops (SPW). 1em plus 0.5em minus 0.4em IEEE, 2019, pp. 8–14. OpenAlex ↗ · Scholar ↗
- T. S. Buda, B. Caglayan, and H. Assem, “Deepad: A generic framework based on deep learning for time series anomaly detection,” in Advances in Knowledge Discovery and Data Mining, D. Phung, V. S. Tseng, G. I. Webb, B. Ho, M. Ganji, and L. Rashidi, Eds., 2018, pp. 577–588. OpenAlex ↗ · Scholar ↗
- Y. Yuan, G. Xun, F. Ma, Y. Wang, N. Du, K. Jia, L. Su, and A. Zhang, “Muvan: A multi-view attention network for multivariate temporal data,” in 2018 IEEE International Conference on Data Mining (ICDM), Nov 2018, pp. 717–726. OpenAlex ↗ · Scholar ↗
- M. Gutoski, N. M. R. Aquino, M. Ribeiro, A. Lazzaretti, and H. S. Lopes, “Detection of video anomalies using convolutional autoencoders and one-class support vector machines,” 2017. OpenAlex ↗ · Scholar ↗
- I. Ben-Ari and R. Shwartz-Ziv, “Attentioned convolutional LSTM inpaintingnetwork for anomaly detection in videos,” CoRR, vol. abs/1811.10228, 2018. OpenAlex ↗ · Scholar ↗
- G. Tripathi, K. Singh, and D. K. Vishwakarma, “Convolutional neural networks for crowd behaviour analysis: a survey,” The Visual Computer, vol. 35, no. 5, pp. 753–776, May 2019. OpenAlex ↗ · Scholar ↗
- H. I. Fawaz, G. Forestier, J. Weber, L. Idoumghar, and P. Muller, “Adversarial attacks on deep neural networks for time series classification,” arXiv preprint arXiv:1903.07054, 2019. OpenAlex ↗ · Scholar ↗
- F. Karim, S. Majumdar, and H. Darabi, “Adversarial attacks on time series,” CoRR, vol. abs/1902.10755, 2019. [Online]. Available: http://arxiv.org/abs/1902.10755 OpenAlex ↗ · Scholar ↗
- I. Goodfellow, “A research agenda: Dynamic models to defend against correlated attacks,” arXiv preprint arXiv:1903.06293, 2019. OpenAlex ↗ · Scholar ↗
- H. Zhang, K. Nian, T. F. Coleman, and Y. Li, “Spectral ranking and unsupervised feature selection for point, collective, and contextual anomaly detection,” International Journal of Data Science and Analytics, pp. 1–19, 2018. OpenAlex ↗ · Scholar ↗
- H. Lakkaraju, E. Kamar, R. Caruana, and E. Horvitz, “Identifying unknown unknowns in the open world: Representations and policies for guided exploration,” in Thirty-First AAAI Conference on Artificial Intelligence, 2017. OpenAlex ↗ · Scholar ↗
- K. Muandet, D. Balduzzi, and B. Schölkopf, “Domain generalization via invariant feature representation,” in International Conference on Machine Learning, 2013, pp. 10–18. OpenAlex ↗ · Scholar ↗
- R. Vilalta and Y. Drissi, “A perspective view and survey of meta-learning,” Artificial intelligence review, vol. 18, no. 2, pp. 77–95, 2002. OpenAlex ↗ · Scholar ↗
- H. Xu, Y. Ma, H. Liu, D. Deb, H. Liu, J. Tang, and A. Jain, “Adversarial attacks and defenses in images, graphs and text: A review,” arXiv preprint arXiv:1909.08072, 2019. OpenAlex ↗ · Scholar ↗
- N. Carlini and D. Wagner, “Adversarial examples are not easily detected: Bypassing ten detection methods,” in Proceedings of the 10th ACM Workshop on Artificial Intelligence and Security, 2017, pp. 3–14. OpenAlex ↗ · Scholar ↗
- A. Shafaei, M. Schmidt, and J. J. Little, “A less biased evaluation of out-of-distribution sample detectors,” arXiv preprint arXiv:1809.04729, 2018. OpenAlex ↗ · Scholar ↗
- N. Carlini, A. Athalye, N. Papernot, W. Brendel, J. Rauber, D. Tsipras, I. Goodfellow, A. Madry, and A. Kurakin, “On evaluating adversarial robustness,” arXiv preprint arXiv:1902.06705, 2019. OpenAlex ↗ · Scholar ↗
- A. Athalye, N. Carlini, and D. Wagner, “Obfuscated gradients give a false sense of security: Circumventing defenses to adversarial examples,” arXiv preprint arXiv:1802.00420, 2018. OpenAlex ↗ · Scholar ↗
- S. Vernekar, A. Gaurav, T. Denouden, B. Phan, V. Abdelzad, R. Salay, and K. Czarnecki, “Analysis of confident-classifiers for out-of-distribution detection,” arXiv preprint arXiv:1904.12220, 2019. OpenAlex ↗ · Scholar ↗
- A. Shafahi, W. R. Huang, C. Studer, S. Feizi, and T. Goldstein, “Are adversarial examples inevitable?” arXiv preprint arXiv:1809.02104, 2018. OpenAlex ↗ · Scholar ↗
- C. Xiao, R. Deng, B. Li, F. Yu, M. Liu, and D. Song, “Characterizing adversarial examples based on spatial consistency information for semantic segmentation,” in Proceedings of the European Conference on Computer Vision (ECCV), 2018, pp. 217–234. OpenAlex ↗ · Scholar ↗
- Z. Yang, B. Li, P.-Y. Chen, and D. Song, “Characterizing audio adversarial examples using temporal dependency,” arXiv preprint arXiv:1809.10875, 2018. OpenAlex ↗ · Scholar ↗