Abstract
What does it mean to learn “normal” from data that contains few or no labelled attacks, and what do published studies of fraud, spacecraft telemetry and network intrusion detection establish about the conditions under which such detectors are used? The primary papers support a narrow answer. Every detector encodes an assumption about normal data: a Gaussian, a dense neighbourhood, a compact region in a kernel space, a point that few random cuts isolate, a low reconstruction error. Its scores help where that assumption fits the data; among the unsupervised algorithms compared in a 2022 benchmark, none was statistically better than the others. The fraud study (supervised classifiers) and the spacecraft study (a pilot and a retrospective evaluation) both face drift and scarce or delayed labels, and both feed ranked or pruned output to people with limited review capacity. For networks, Sommer and Paxson argued in 2010 that diverse traffic, costly errors and weak evaluation data set the problem apart, and later audits found duplicates, artefacts and labelling errors in public intrusion datasets. The evidence supports scoped uses: a narrow population, a simple baseline, a threshold set from measured alert volume, and evaluation split by time.
The problem, stated precisely
Hawkins’ definition and what it leaves open
Breunig and colleagues, in the paper that introduced the local outlier factor, open their analysis with Douglas Hawkins’ definition of 1980: “An outlier is an observation that deviates so much from other observations as to arouse suspicion that it was generated by a different mechanism.”1 The sentence carries two ideas. “Deviates so much” is geometric and can be measured. “Generated by a different mechanism” is causal, and it is the part a security team cares about, since an intrusion is a different mechanism. The methods in this reader measure the first and rely on it tracking the second.
Chandola, Banerjee and Kumar’s survey in ACM Computing Surveys (July 2009) remains the standard map of the field. They define anomaly detection as “the problem of finding patterns in data that do not conform to expected behavior”.2
Point, contextual and collective anomalies
The survey separates three kinds of anomaly.2
- A point anomaly is a single instance that is anomalous with respect to the rest of the data, such as one very large card transaction.
- A contextual anomaly (also called conditional) is anomalous only in a context. Each instance has contextual attributes, such as time or location, that define its neighbourhood, and behavioural attributes, such as temperature or amount, that are judged within it. The survey’s example is a monthly temperature of 35°F, normal in winter and anomalous in summer; its fraud example is a $1,000 weekly spend, normal in Christmas week and anomalous in July.
- A collective anomaly is a group of related instances that is anomalous as a group while each member may be unremarkable. The survey’s examples are a stretch of an electrocardiogram that stays low for too long, and a sequence of host events (buffer overflow, ssh, ftp) that together look like an intrusion although each event is routine.
The distinction is a reminder about representation. A detector that scores one feature vector at a time sees point anomalies. A slow scan, a beaconing implant or a staged exfiltration, as illustrations, may only stand out as contextual or collective anomalies, and a point detector sees them only if someone designs features, such as counts per window or per-host baselines, that carry the context or the sequence.
Who supplies the labels
The survey defines three modes by what is labelled.2
- Supervised: labelled normal and anomalous instances. This is imbalanced classification, and the survey sets it aside as similar to building ordinary predictive models. The hard part is obtaining accurate and representative labels for the anomaly class.
- Semi-supervised: training data labelled as normal only. A model of normality is built and departures are flagged. Because no anomaly labels are needed, the survey calls this mode more widely applicable than the supervised one; it observes that labels covering all types of anomalous behaviour are harder to get than labels for normal behaviour, and that new types of anomaly may have no labelled examples at all.
- Unsupervised: no labels. These methods make “the implicit assumption that normal instances are far more frequent than anomalies in the test data”, and if that does not hold they suffer from a high false alarm rate.
The scikit-learn documentation draws the same line with different words. In outlier detection the training data contains outliers and the estimator tries to fit the dense regions while ignoring them; in novelty detection the training data “is not polluted by outliers” and the question is whether a new observation is one. It equates outlier detection with unsupervised anomaly detection and novelty detection with semi-supervised.3 Chandola and colleagues add a further sense of novelty: “novel patterns are typically incorporated into the normal model after being detected”.2 A software rollout produces novel behaviour in that sense; once the change is confirmed as authorised, folding it into the baseline is the expected response.
The robustness assumption is the weak point for security. The survey notes that semi-supervised techniques can be run on an unlabelled sample on the assumption that it contains very few anomalies and the model is robust to them.2 If a baseline is trained on traffic assumed clean but not verified, malicious activity in the training window can, depending on the model and how much of it there is, shift the model of normal so that similar later activity scores as ordinary.
Scores and thresholds
Detectors output either a score per instance or a label. The survey notes that scores give a ranked list, from which “an analyst may choose to either analyze the top few anomalies or use a cutoff threshold”.2 These are two operating modes. A ranked list fits an investigator with fixed daily capacity. A threshold fits an alerting pipeline, where its position sets alert volume. The two call for different evaluations: a high overall area under the ROC curve does not establish performance in the low false-positive region where an alerting threshold sits. Arp and colleagues’ re-evaluation of Kitsune, discussed below, shows two detectors with similar AUC separating at low false positive rates.4
Denning’s model, 1987
Dorothy Denning’s “An Intrusion-Detection Model” (IEEE Transactions on Software Engineering, February 1987; manuscript received 20 December 1985) is an early formal model of anomaly-based intrusion detection. It rests on the hypothesis that exploiting a system’s vulnerabilities involves abnormal use of the system, so that security violations can be detected from abnormal patterns of usage.5 Her examples include an abnormally high rate of password failures, a masquerader with a different login time or location whose activity is mostly browsing directories and running status commands, and a denial of service that makes one user’s activity abnormally high while everyone else’s drops.5
The model has six components: subjects (normally users), objects (files, commands, devices), audit records, profiles, anomaly records and activity rules. A profile pairs a metric, observed for a subject with respect to an object, with a statistical model of its normal values.5 The models she lists for IDES are:
- an operational model, a fixed limit such as a number of password failures;
- a mean and standard deviation model, which flags a value outside the mean plus or minus d standard deviations, with Chebyshev’s inequality cited for the probability of falling outside;
- a multivariate model that uses correlations between metrics;
- a Markov process model over transitions between event types, flagging a transition whose probability is too low;
- a time series model that takes order and inter-arrival times into account, able to detect gradual shifts in behaviour at higher cost.5
Chebyshev’s bound of 1/d² applies to the true mean and standard deviation of a distribution. A profile works from moments estimated on a finite and possibly changing history, so the bound does not give the false positive rate of a deployed profile; that has to be measured.
Two passages anticipate what went wrong later. Denning listed benign causes of the same deviations, among them users changing tasks, acquiring new skills or making typing mistakes, software updates and changing system workload, and set as a research objective finding measures with “a high rate of detection and a low rate of false alarms”.5 She also identified the cold-start problem: a new user has no profile and generates excessive anomaly records, while ignoring new users would miss an intrusion by one. The mean and standard deviation model helps with the first problem, since its confidence intervals start wide and shrink as observations accumulate, but she notes that this does not protect the system against new or infrequent users.5 The library’s reader on classical machine learning works through the Chebyshev numbers. The structural point here is that Denning’s profiles are per subject and per metric, narrow by construction.
Classical detectors
Parametric tests
Parametric detectors assume a distribution and test departures from it. Grubbs’ test, as the NIST/SEMATECH engineering statistics handbook describes it, detects “a single outlier in a univariate data set that follows an approximately normal distribution”, using the statistic G = max|Yᵢ − Ȳ| / s, the largest absolute deviation from the sample mean in units of the sample standard deviation; the handbook recommends other tests when more than one outlier may be present.6 Grubbs’ test is a test on the sample maximum, which differs from scoring each new point by its standardised distance. A separate multivariate example comes from the handbook’s chapter on process monitoring: Hotelling’s T², a quadratic form in an observation’s deviations from the mean and the inverse covariance matrix, which “accounts for the covariance structure of a multivariate normal distribution” and which the handbook likens to a multivariate Student’s t.7 Both rest on an assumed distribution, and both estimate mean and spread from data that may contain the outliers being sought.
Distance and density: k-nearest neighbours and LOF
Distance methods drop the distributional assumption. The survey’s basic nearest-neighbour technique defines the anomaly score of an instance as its distance to its k-th nearest neighbour in the data set.2 Such methods assume normal points have close neighbours and anomalies do not, and they struggle when normal data has regions of very different density. Breunig, Kriegel, Ng and Sander made that problem precise in “LOF: Identifying Density-Based Local Outliers” (ACM SIGMOD 2000).1
Their motivating example is a two-dimensional set of 502 objects: a sparse cluster C1 of 400, a dense cluster C2 of 100, and two isolated objects o1 and o2, where o2 sits close to the dense cluster. Under Hawkins’ definition both are outliers. For the distance-based DB(pct, dmin) outlier definition of Knorr and Ng, they argue that if every object in C1 is farther from its nearest neighbour than o2 is from C2, any setting of pct and dmin that makes o2 an outlier also makes the objects in C1 outliers.1
The local outlier factor compares a point’s density with its neighbours’. The paper defines the k-distance of an object and its k-distance neighbourhood, which contains every object no farther than the k-distance and so can hold more than k objects when distances tie; a reachability distance reach-dist_k(p, o) = max{k-distance(o), d(p, o)}, which smooths statistical fluctuations for close neighbours; and a local reachability density lrd(p), the inverse of the mean reachability distance from p to the objects in its MinPts-distance neighbourhood. LOF(p) is the average, over the same neighbourhood (ties included), of lrd(o)/lrd(p).1 Lemma 1 bounds the LOF of an object p in a collection C between 1/(1 + ε) and 1 + ε, where ε measures how much reachability distances vary within C, provided p’s neighbours and their neighbours all lie in C; for a tight cluster LOF is therefore close to 1, and a point less dense than its neighbours scores above 1.1 Because LOF fluctuates when MinPts is small, the authors proposed a lower bound of at least 10, and ranking each object by its maximum LOF over a range of MinPts values.1
LOF assumes anomalies sit in regions of low density relative to their own neighbourhood. Whether a given security feature space has clusters of very different spread, such as busy servers and idle workstations, is a hypothesis to check on the data before choosing it.
Boundaries: the one-class SVM, SVDD and what ν means
Schölkopf, Platt, Shawe-Taylor, Smola and Williamson posed the problem as support estimation in “Estimating the Support of a High-Dimensional Distribution” (Microsoft Research technical report MSR-TR-99-87, 1999, revised 2000; an abridged version appeared in Neural Computation in 2001). Given data from a distribution P, estimate “a ‘simple’ subset S of input space such that the probability that a test point drawn from P lies outside of S equals some a priori specified value between 0 and 1.”8 Their algorithm maps the data into a kernel feature space and separates it from the origin with maximum margin. The decision function is positive inside the region and negative outside; its value is a signed quantity tied to the side of the feature-space hyperplane on which a point falls.8
The parameter ν controls training. The paper’s ν-property states that ν is an upper bound on the fraction of training points treated as outliers and a lower bound on the fraction of support vectors, and that under stated conditions on the data and kernel both fractions equal ν asymptotically, with probability 1.8 That is a statement about the training sample. The false positive rate on new normal data at deployment is a separate quantity, which has to be estimated on held-out data or calibrated, and ν says nothing about the detection rate, which depends on whether attacks fall outside the learned region. The scikit-learn user guide notes that the RBF kernel bandwidth, the other main setting, has no exact formula or algorithm for choosing it.3
Tax and Duin’s Support Vector Data Description (Machine Learning, 2004) encloses the data in a hypersphere with centre a and radius R instead of separating it from the origin, allowing some training objects outside at a cost set by a parameter C; a test object is judged by its distance to the centre against the radius.9 With a Gaussian kernel all objects are mapped to unit norm, and they observe that SVDD and the ν-formulation then give comparable solutions.9 For training data expected to contain outliers, they suggest setting C ≤ 1/(N · fraction outlier) and note that Schölkopf and colleagues call the outlier fraction ν.9 Their stated motivation includes machine condition monitoring, where measurements of normal operation are plentiful and fault examples are scarce.9
Isolation forest
Liu, Ting and Zhou’s “Isolation Forest” (IEEE ICDM 2008) inverted the usual approach: the method “explicitly isolates anomalies rather than profiles normal instances”. It relies on anomalies being “few and different”, which makes them “more susceptible to isolation than normal points”.10
An isolation tree is built by recursively choosing a random attribute and a random split value between that attribute’s minimum and maximum in the current node, until each point is alone, all remaining points are identical, or a height limit is reached.10 The path length h(x) is the number of edges from the root to the leaf where x ends. A point far from the rest tends to be cut off by an early split, so its path is short. The paper’s two-dimensional illustration averages over 1,000 trees and gets path lengths of 4.02 for an outlying point and 12.82 for a normal one.10
Raw path length cannot be compared across sample sizes, so the authors normalise it using the average path length of an unsuccessful search in a binary search tree:
c(n) = 2H(n − 1) − 2(n − 1)/n,
where H(i) is the harmonic number, approximated by ln(i) + 0.5772156649. The anomaly score is s(x, n) = 2^(−E(h(x))/c(n)), with E(h(x)) the mean path length across trees.10 When E(h(x)) equals c(n), s = 0.5; as it approaches 0, s approaches 1; and s falls towards 0 as the mean depth grows large relative to c(n). The authors offer a heuristic reading: scores very close to 1 indicate anomalies, scores much smaller than 0.5 indicate instances that are quite safe to regard as normal, and a sample where every score is near 0.5 has no distinct anomaly.10
The second idea is subsampling. Each tree is built on a sample of ψ points, and the height limit is set to ceiling(log₂ ψ), because only the short paths matter; a point that ends in a leaf holding more than one observation gets the adjustment c(size) added to its path length, to account for the unbuilt subtree.10 The authors found that ψ = 256 generally provides enough detail across a wide range of data and used t = 100 trees as the default, since path lengths usually converge well before that.10 Subsampling also counters swamping (normal points close to anomalies being flagged) and masking (a dense cluster of anomalies hiding itself). On a synthetic Mulcross set with two anomaly clusters, the full sample gave an AUC of 0.67 and a subsample of 128 gave 0.91.10 Training costs O(tψ log ψ) and evaluation O(nt log ψ).10 The paper’s twelve evaluation datasets included the Http and Smtp subsets of the KDD Cup 99 intrusion data, chosen, the authors say, because such datasets are used in the literature to evaluate anomaly detectors in a similar setting; nominal and binary attributes were removed.10
A worked example: one point among five
Take five values on one feature, {1, 2, 3, 4, 100}, and a fully grown isolation tree with no height limit, so every leaf holds one value and no c(size) correction applies. The first split falls uniformly between 1 and 100. With probability 96/99 ≈ 0.97 it lands between 4 and 100 and isolates the value 100 at depth 1. Working the recursion through every split, the expected path lengths are this article’s own calculation:
| Value | Expected path length | Score s with c(5) ≈ 2.57 |
|---|---|---|
| 100 | 1.03 | 0.76 |
| 1 | 2.80 | 0.47 |
| 4 | 2.83 | 0.47 |
| 2 | 3.48 | 0.39 |
| 3 | 3.49 | 0.39 |
The normaliser here uses the exact harmonic number, c(5) = 2H(4) − 8/5 ≈ 2.57; the logarithmic approximation gives about 2.33 at this tiny n. At realistic subsample sizes the two agree closely: for ψ = 256 the exact value is about 10.249 and the approximation about 10.245. The outlying value scores 0.76 and the rest fall below 0.5.
The example also shows the method’s assumption. Isolation works through axis-parallel cuts on individual features. A point that lies within the normal range on every feature, and is unusual only in how its features combine, can still be isolated early if it sits in a sparse region of the joint space after earlier cuts, but nothing guarantees that. Reduced sensitivity to anomalies that show up only in the dependence between features is a limitation to test for, for example with a traffic pattern whose individual packet sizes and intervals are typical.
What each classical method assumes
| Method | What it assumes normal looks like | Score | Typical failure |
|---|---|---|---|
| Gaussian, Grubbs or Hotelling’s T² | One distribution of known shape | Standardised deviation or quadratic form | Heavy tails, several modes, outliers distorting the estimates |
| k-NN distance | Normal points have close neighbours | Distance to k-th neighbour | Clusters of different density |
| LOF | Normal points are about as dense as their neighbours | Mean ratio of neighbours’ density to own | Choice of MinPts; cost of neighbour search |
| One-class SVM | A region in kernel space, separated from the origin, holds most of the data | Signed decision value relative to the hyperplane | Kernel width; ν controls training fractions, not the deployed false positive rate |
| SVDD | A hypersphere in kernel space holds most of the data | Distance to centre against the radius | Same kernel and calibration issues |
| Isolation forest | Anomalies are few and separable by random axis cuts | Normalised mean path length | Anomalies visible only in feature dependence; dense anomaly clusters |
| Denning profiles | A per-subject metric is stable over time | Departure from a limit, moments or transition probability | Benign change in behaviour; new subjects |
Deep methods
Autoencoders and reconstruction error
Neural methods learn representations, either from raw inputs or from engineered features; Kitsune, discussed below, feeds hand-designed traffic statistics to its autoencoders.11 The library’s reader on neural networks covers the training machinery. Chalapathy and Chawla’s survey (arXiv 1901.03407, January 2019) groups deep anomaly detection by its assumptions and application domains, and describes the common autoencoder recipe: the magnitude of the reconstruction error gives an anomaly score, and the scores are “either ranked or thresholded by domain experts”.12 Pang, Shen, Cao and van den Hengel’s review (arXiv 2007.02500, published in ACM Computing Surveys) organises the methods into three high-level and eleven fine-grained categories and states the autoencoder assumption: “Normal instances can be better restructured from compressed space than anomalies.”13
The assumption can fail in two directions: a network that generalises well may also reconstruct anomalies well, and normal but rare inputs may reconstruct badly. Pang and colleagues list false positives as an open challenge, noting that state-of-the-art methods, especially unsupervised ones, “still often incur high false positives on real-world datasets”.13
Deep SVDD and hypersphere collapse
Ruff and colleagues’ “Deep One-Class Classification” (ICML 2018) argued that existing deep approaches were trained on objectives other than anomaly detection, such as compression, and proposed Deep SVDD in two variants.14 The soft-boundary objective minimises the squared radius R² plus, weighted by 1/ν, the mean amount by which squared distances of the network’s representations φ(x) from a centre c exceed R², plus a weight-decay regulariser. The simpler One-Class Deep SVDD objective, intended for training data that is mostly normal, minimises the mean squared distance of φ(x) from c, plus the same regulariser. For both, the anomaly score of a test point is its squared distance from c, ||φ(x) − c||²; for the soft-boundary variant the authors subtract R² so that points outside the sphere score positive.14
The paper also identifies trivial solutions of its own objectives. If c is a free variable, the all-zero-weights network maps every input to the same point, sets the radius to zero and achieves the optimum; the authors call this “hypersphere collapse”.14 A fixed c must therefore differ from the constant output of the all-zero network (for a ReLU network, c ≠ 0); they fixed c as the mean of the network’s outputs on an initial forward pass of training data. They also show that bias terms in hidden layers allow a constant mapping to any fixed c, and that monotonic activations with a non-zero upper or lower bound can approximate a constant output, so they use networks without bias terms and recommend unbounded activations, or ones bounded only by zero such as ReLU.14 The experiments were on MNIST, CIFAR-10 and adversarial examples of GTSRB stop signs.14 For the Deep SVDD objectives, then, the choice of centre and the architectural constraints that exclude these trivial solutions are part of the method.
Out-of-distribution detection in classifiers
A parallel literature asks whether a trained classifier can tell when an input does not belong to any of its classes. Hendrycks and Gimpel’s baseline (ICLR 2017) uses the maximum softmax probability: correctly classified examples “tend to have greater maximum softmax probabilities than erroneously classified and out-of-distribution examples”.15 They also show that the probability is a poor measure of confidence on its own: their Table 2 reports a mean maximum predicted probability of 91% when random Gaussian noise is fed to their MNIST classifier, with lower means for some other out-of-distribution sets.15 Their motivation is that classifiers “often fail silently by providing high-confidence predictions while being woefully incorrect” when training and test distributions differ.15
For security, a closed-set malware or traffic classifier that must always predict one of its known labels will assign one to a sample from a new family. A max-softmax score is a candidate first check for that case, which would need validation on the domain’s own data before it is relied on.
When likelihood misleads
The natural alternative is to model the density of normal data and flag low-likelihood inputs. Nalisnick, Matsukawa, Teh, Gorur and Lakshminarayanan (ICLR 2019) found that flow-based models, VAEs and PixelCNNs trained on CIFAR-10 assign higher likelihood to SVHN house-number images than to CIFAR-10 test images, and reported the effect for several other dataset pairs; for VAEs the compared quantity is an estimate of the likelihood rather than the exact value.16 For flows restricted to constant-volume transformations they show that the gap can be explained by the location and variances of the data and the model’s curvature, and they caution “against using the density estimates from deep generative models to identify inputs similar to the training distribution until their behavior for out-of-distribution inputs is better understood”.16 The supported inference is narrow: in their experiments, raw likelihood alone ranked some out-of-distribution inputs above in-distribution ones, so it is unreliable as a stand-alone test.
Calibrated thresholds: conformal p-values
Whatever the scoring model, a threshold must be chosen. Bates, Candès, Lei, Romano and Sesia’s “Testing for outliers with conformal p-values” (arXiv 2104.08279; Annals of Statistics, 2023) wraps any one-class score in a statistical test. Train a score ŝ on clean data, compute scores on a separate clean calibration set of n points, and for a test point x report
p(x) = (1 + #{calibration points with ŝ ≤ ŝ(x)}) / (n + 1),
where lower scores mean more outlying.17 If the calibration points and a new inlier are exchangeable (the paper assumes independent, identically distributed data) and the score has a continuous distribution, this p-value is uniformly distributed on {1/(n + 1), …, 1}; with ties it is conservative. Thresholding it at α then gives a false positive rate of at most α, averaged over the draw of the calibration set.17 The authors point out that conditional on one fixed calibration set the marginal p-values can be anticonservative, and they construct calibration-conditional p-values whose guarantee holds with high probability over the calibration draw. They also prove that the marginal p-values are positively dependent, so that the Benjamini-Hochberg procedure applied to many test points controls the false discovery rate, under assumptions that include continuous scores and test inliers independent of one another and of the reference data.17 The library’s reader on statistical inference explains the false discovery rate.
Two practical consequences follow from the formula. The smallest attainable p-value is 1/(n + 1), so a target of α = 0.0001 needs at least 9,999 clean calibration points before any test point can be rejected. And the guarantee concerns test inliers drawn from the calibration distribution; it does not survive drift, and it says nothing about how many attacks fall below the threshold. Controlling the false positive rate per event and fitting an alert budget per day are separate tasks.
What benchmarks show
ADBench (Han, Hu, Huang, Jiang and Zhao, NeurIPS 2022 Datasets and Benchmarks track) ran 30 algorithms on 57 datasets in 98,436 experiments.18 Its first finding is that “none of the benchmarked unsupervised algorithms is statistically better than others”. Some deep unsupervised methods, including Deep SVDD and DAGMM, did worse than shallow methods, which the authors attribute to more hyperparameters and harder tuning without labels.18 In experiments with synthetic anomalies generated by type, LOF was statistically best on local anomalies and k-NN distance on global ones.18
ADBench uses “semi-supervised” differently from Chandola and colleagues: it mostly means learning from a small fraction of labelled anomalies plus unlabelled data, not training on normal data alone.182 Under its protocol, with 1% of the anomalies in the training data labelled, most semi-supervised methods beat the best unsupervised method, with a median AUCROC of 75.56% against 60.84% for fully supervised methods at that label rate.18 For security this suggests, without establishing it, that a modest set of confirmed incidents may improve a detector more than a change of unsupervised algorithm; whether it does in a given deployment has to be shown with realistic labels and the deployed alert budget.
A later comparison qualifies the “no winner” result. Bouman, Bukhsh and Heskes evaluated 32 unsupervised algorithms on 52 real-world tabular datasets and found that distance to the k-th nearest neighbour had the best mean performance and significantly outperformed many of the other algorithms in their post-hoc tests. Clustering the datasets into “local” and “global” types, they proposed a toolbox of three algorithms (k-th nearest neighbour distance, kNN and extended isolation forest) as sufficient for the collection they studied.19 Read together, the two benchmarks suggest that rankings depend on the kind of anomaly in the data and that simple distance methods are strong defaults.
Why network intrusion detection is different
Sommer and Paxson’s argument
Robin Sommer and Vern Paxson’s “Outside the Closed World: On Using Machine Learning For Network Intrusion Detection” (IEEE Symposium on Security and Privacy, 2010) set out to explain a gap they observed between extensive research on anomaly detection and its rare use in operational settings. Their main claim is that finding attacks is fundamentally different from the domains where machine learning succeeds.20 The classical-methods reader summarises their five challenges; the argument runs as follows.
Outlier detection is not classification. Machine learning, they argue, is better at finding similarities than at identifying activity that does not belong. With several classes to choose from, a model needs only to be “just crisp enough to separate the classes”, whereas an anomaly detector trained only on normal traffic needs “a perfect model of normality for any reliable decision”. Citing Witten and colleagues, they describe the closed world assumption, treating everything except the positive examples as negative, as of little practical use because real problems rarely involve closed worlds in which all cases are known to be covered.20 They conclude that anomaly detection “is likely in fact better suited for finding variations of known attacks, rather than previously unknown malicious activity”, the reverse of its usual selling point.20
High cost of errors. A false positive costs analyst time; a false negative can mean a compromise. Recommendation and OCR errors, by contrast, are cheap.20
Semantic gap. Anomaly detectors report what has not been seen before, benign or not, while the operator needs to know what an alert means. In their words, “by definition, a machine learning algorithm does not make any mistakes within its model of normality; yet for the operator it is the results’ interpretation that matters.”20
Diversity of network traffic. Even within one network, bandwidth, connection duration and application mix can be unpredictable over intervals of seconds to hours, so a stable notion of normal is hard to establish. They note that credit card transactions, by contrast, occupy a space of relatively low dimensionality that is semantically better defined than network traffic.20
Difficulties with evaluation. Real traffic is sensitive and rarely shared, and the two public datasets of the time, the DARPA/Lincoln Laboratory traces and the KDD Cup set derived from them, were a decade old and in their view no longer adequate for any current study.20
Their recommendations open with one overriding rule, “Understand what the system is doing”, and continue:20
- State the threat model: the environment, what missed attacks cost, the attackers’ skills and how much evasion matters.
- Keep the scope narrow. The more narrowly the target activity is defined, the better a detector can be tailored to it. Start from the problem, not from a preferred algorithm. Their model example is Kruegel and colleagues’ work on attacks that exploit web servers through malformed query parameters, where features such as parameter length had a stated relation to the attack.
- Reduce the cost of errors. Aggregate features over time where the threat model allows; examine features for invariance, for example the set of ports on which a host accepts connections, which they suggest may be stable over long periods, against the more variable set of ports it contacts; post-process alerts; and give the analyst context.
- Evaluate soundly. Use multiple datasets, ideally from different networks; treat DARPA and KDD Cup as fit only for “basic functionality tests”; examine false positives by hand and explain them in terms of the traffic rather than the detector’s mathematics; and obtain ground truth “via a mechanism orthogonal (unrelated) to how the detector works”.
The paper is a critique of the 2010 research literature with guidelines, not a measurement of deployments; its web-attack exemplar shows the scoped application the authors thought could work.
The datasets
John McHugh’s critique of the 1998 and 1999 DARPA evaluations by MIT Lincoln Laboratory (ACM Transactions on Information and System Security, November 2000) argued that “some methodologies used in the evaluation are questionable and may have biased its results”, and that the evaluators had published little on critical aspects such as “validation of their test data”.21 The abstract was read on the Internet Archive’s copy of the ACM page; the full text was not available to this author.
Tavallaee, Bagheri, Lu and Ghorbani’s “A Detailed Analysis of the KDD CUP 99 Data Set” (IEEE CISDA 2009) quantified problems with the derived dataset.22 About 78% of training records and 75% of test records were duplicates. Their Table I counts 3,925,650 attack records against 972,781 normal ones in the training set, so about 80% of the connection records were attacks; any rare-event deployment, in which attacks are a small minority of the connections scored, inverts that proportion. They trained 21 classifiers (seven learners, each on three subsets) and found that about 98% of training records and 86% of test records were correctly classified by all 21.22 They also report simulation artefacts in the underlying DARPA traffic, such as TTL values of 126 and 253 appearing only in hostile traffic while most background traffic used 127 and 254.22 Their subset, NSL-KDD, removes all redundant records and then samples from each difficulty group, defined by how many of the 21 classifiers labelled a record correctly, in inverse proportion to that group’s share of the original data; the authors note it still suffers from some of the problems McHugh discussed.22
Newer datasets have not escaped the pattern. Engelen, Rimmer and Joosen’s study of CICIDS2017 (Workshop on Traffic Measurements for Cybersecurity, 2021) found errors in attack simulation, flow construction, feature extraction and labelling. More than 25% of all flows were “meaningless artefacts”, chiefly leftover ACK and FIN packets split into their own flows and labelled like the original connection; for several attack classes the fraction reached 50%. After their fixes, more than 20% of the original traces were reconstructed or relabelled, and they report the problem persists in the CSE-CIC-IDS2018 successor.23 A detector that scores well on such data may be learning the artefacts.
Pitfalls in published work
Arp and colleagues’ “Dos and Don’ts of Machine Learning in Computer Security” (USENIX Security 2022) reviewed 30 papers from top security venues over ten years against ten pitfalls.4 Sampling bias and data snooping were at least partly present in 90% and 73% of the papers, and every paper had at least three pitfalls. Those most relevant to anomaly detection:
- P1 Sampling bias: the data do not represent the true distribution of the security problem.
- P2 Label inaccuracy: ground truth is “inaccurate, unstable, or erroneous”.
- P3 Data snooping, including temporal snooping, ignoring time dependencies, and selective snooping, such as removing outliers based on statistics of the complete dataset, training and test together, a direct hazard for anomaly pipelines that clean their training data.
- P6 Inappropriate baseline: no comparison with simple methods.
- P8 Base rate fallacy: class imbalance ignored when interpreting results.
- P9 Lab-only evaluation: no discussion of practical limitations.4
They recommend precision and recall, and precision-recall curves, for problems that revolve around rare events.4
Kitsune and a box plot
Kitsune (Mirsky, Doitshman, Elovici and Shabtai, NDSS 2018) is a well-known autoencoder NIDS. It extracts damped incremental statistics per network channel, feeds them to an ensemble of small autoencoders, and combines their reconstruction errors (RMSE) in an output autoencoder. It is unsupervised, online and designed to run on a Raspberry Pi.11 The authors evaluated it on attacks staged against an IP-camera video surveillance network and on an IoT network in which they infected a security camera with a real Mirai sample. Their general setup trains each algorithm on the first part of a capture and executes it on the rest; for the OS Scan dataset, for example, training used the first one million packets and execution the remaining 697,851. They compared Kitsune with Suricata using 13,465 Emerging Threats rules, isolation forest, a Gaussian mixture model and others.11
Arp and colleagues used Kitsune’s Mirai capture as a case study.4 The capture covers 119 minutes on a Wi-Fi network with three PCs and nine IoT devices. Plotting packets per 10-second bin showed a strong volume signal, with benign activity appearing to stop when the attack began at 74 minutes. Their baseline computes one feature, the packet count in a 10-second sliding window, derives thresholds Q1 − 1.5·IQR and Q3 + 1.5·IQR from clean calibration data, and marks each packet malicious if its window’s count falls outside them. The packet-level results on this trace:
| Detector | ROC AUC | TPR at FPR 0.001 | TPR at FPR 0 |
|---|---|---|---|
| Kitsune (autoencoder ensemble, 115 features per packet as Arp et al. describe it) | 0.968 | 0.882 | 0.873 |
| Box plot on packet rate | 0.998 | 0.996 | 0.996 |
The authors are explicit about the scope: the experiment does not show the box plot would detect Mirai in the wild or that Kitsune cannot detect other attacks. It shows that without an appropriate baseline the complexity is not justified, and that in this lab data “the infection is overly conspicuous”, where an attack in the wild “would likely be represented by a tiny proportion of network traffic”.4
Drift
Normal changes. Gama, Žliobaitė, Bifet, Pechenizkiy and Bouchachia’s survey of concept drift adaptation (ACM Computing Surveys, 2014) distinguishes real drift, a change in the relation between inputs and the target p(y|X), from virtual drift, a change in the input distribution p(X) that may not affect the target.24 A one-class detector is fitted to the inputs alone, whether as a support region, a density or isolation depths, so virtual drift bears on it directly: a shift in the input distribution can alter the detector’s score distribution, pushing benign data across the threshold, pulling it away, or leaving it unchanged. Which happens has to be monitored.
Jordaney and colleagues’ Transcend (USENIX Security 2017) addresses drift in malware classifiers with conformal evaluation: a non-conformity measure derived from the classifier yields p-values that express how well a new sample fits the training samples of its predicted class, and the framework flags low-quality decisions so that ageing can be detected before the model starts making consistently poor ones.25 The signal is a statistical comparison of deployment samples with training samples, a warning about compatibility rather than a direct measurement of errors. Their demonstration trained on the Drebin Android dataset (2010 to 2012) and tested on Marvin (2010 to 2014), chosen to include samples overlapping Drebin’s period as well as newer ones likely to drift, with duplicates removed.25
Where anomaly detection has found uses
Card fraud
Dal Pozzolo, Boracchi, Caelen, Alippi and Bontempi’s “Credit Card Fraud Detection: A Realistic Modeling and a Novel Learning Strategy” (IEEE Transactions on Neural Networks and Learning Systems), written with an industrial partner, formalises how a real-world fraud-detection system operates and evaluates on more than 75 million e-commerce card transactions over three years.26 Its three named challenges are concept drift, class imbalance and verification latency, since only a small set of transactions is checked by investigators in time. Frauds were about 0.2% of the transactions in their data.26 Alerts go to investigators who contact cardholders, and their decisions return as labelled feedbacks. Other transactions stay unlabelled until customers report fraud or until enough time has passed for undisputed transactions to be treated as genuine.26 Feedbacks are a biased sample, because they concentrate on transactions with a high probability of fraud, and the paper’s strategy trains separate classifiers on feedbacks and on delayed supervised samples and combines them. Because investigators can check only a limited number of cards a day, it measures performance at the card level: card precision CP_k is the share of fraudulent cards among the k cards investigators control each day, with several fraudulent transactions on one card counting as one detection; its worked example has k = 100 cards.26
The paper is about supervised learning under drift and delayed, selectively verified labels, not about unsupervised novelty detection. What it shows for this reader is an operating arrangement: output ranked for a fixed investigator capacity, labels that return through investigation and customer reports or are inferred after a delay, and a performance measure matched to that arrangement.
Spacecraft telemetry
Hundman and colleagues at NASA’s Jet Propulsion Laboratory (KDD 2018) built an LSTM predictor of telemetry values and a nonparametric dynamic threshold on its prediction errors, evaluated on expert-labelled anomalies from the SMAP satellite and the Curiosity rover: 105 anomaly sequences across 82 telemetry channels, drawn from incident reports.27 The thresholding approach was developed during a pilot for SMAP operations. The authors describe real-world systems as usually highly non-stationary, and note that MSL performed behaviours with varying regularity, some during rover activities absent from the limited training data, which explains its lower precision and recall than SMAP.27
The paper devotes a section to mitigating false positives, including a pruning step that reclassifies weak anomaly sequences as nominal, and notes that “when extremely high volumes of data are being processed a low false positive rate can still overwhelm human reviewers”.27 In their retrospective evaluation, pruning raised overall precision from 48.9% to 87.5% while recall fell from 84.8% to 80.0%. They add that these precision results are “overly optimistic” compared with the implemented system, because the experiment assumes an anomaly every five days and leaves out streams without anomalies, which would add false positives.27
A caution from time-series benchmarks
The time-series literature has its own dataset problem. Wu and Keogh (arXiv 2009.13807) argue that most exemplars in popular benchmarks from Yahoo, Numenta, NASA and others suffer from at least one of four flaws: triviality, unrealistic anomaly density, mislabelled ground truth and run-to-failure bias. They define a problem as trivial if it can be solved with one line of standard MATLAB, and, searching separately for the constants of a few one-line rules for each series, found that 316 of 367 (86.1%) Yahoo series could be solved that way.28 Because the constants were tuned per series after the fact, the result says the benchmark is easy, not that a one-line detector would perform that well in operation. The Numenta Anomaly Benchmark (Lavin and Ahmad, 2015) holds 58 hand-labelled data files with 365,551 points, and its authors argue that precision and recall “do not incorporate time and do not reward early detection”, so they score detections within anomaly windows.29
What the case studies show
| Property | Card fraud (Dal Pozzolo et al.) | Spacecraft telemetry (Hundman et al.) | Network intrusion (Sommer and Paxson; dataset audits) |
|---|---|---|---|
| Normal behaviour | Drifting customer habits and fraud strategies | Non-stationary; rover activities missing from training | Highly variable over seconds to hours |
| Labels | Investigator feedback (biased) plus delayed reports | Expert labels mined from incident reports, scarce | Hard to obtain; public datasets with duplicates and artefacts |
| Anomaly share or corpus | About 0.2% of transactions | 105 labelled sequences across 82 channels (no prevalence denominator reported here) | KDD Cup 99 training data about 80% attacks |
| Output | Top-k cards for investigators | Pruned anomaly sequences for engineers | Alerts for analysts (the setting Sommer and Paxson discuss) |
The rows come from the cited studies. Two further points are operating scenarios rather than findings: the fraud study names fraudsters changing their strategies as one source of drift, with labels coming from investigator feedback and customer reports or inferred after a delay; and spacecraft telemetry has no adversary trying to look normal. Tax and Duin’s motivation for SVDD, plentiful measurements of normal operation and scarce fault examples, describes the monitoring setting in the same terms.9
Evaluating a detector honestly
Alerts per day at the operating point
The base-rate arithmetic is in the library’s article on why detection is hard. One hypothetical calculation shows what a per-event false positive rate means for alert volume. Assume a sensor scores about 10 million benign connections a day, raises one alert per flagged connection without deduplication, and has a false positive rate of 0.1% per connection (an assumed figure; it matches numerically, but is not the same measurement as, the packet-level rate in Arp and colleagues’ Kitsune table). The expected number of false alerts is then about 10,000 a day. At 0.001% it is about 100; an expectation of ten a day requires about one in a million.
ROC, precision-recall and the base rate
Saito and Rehmsmeier (PLOS ONE, 4 March 2015) showed that on imbalanced data ROC plots “can be deceptive” because of an “intuitive but wrong interpretation of specificity”, while precision-recall plots evaluate “the fraction of true positives among positive predictions”.30 Hendrycks and Gimpel make the related point that an uninformative detector’s AUPR is roughly the prevalence of the positive class, so the base rate “greatly influences the AUPR”.15 Direct AUPR comparisons therefore need a stated, common positive class (attack or anomaly) and prevalence, or an account of how differing prevalence moves the baseline; for anomaly detection the evaluation prevalence should be close to the deployment one, unlike KDD Cup 99, where attacks outnumbered normal records about four to one.22
Splitting by time
A random train-test split mixes past and future, which can leak time-related information into training and misrepresent deployment. Arp and colleagues call temporal snooping a common pitfall because the underlying distributions of many security problems are under continuous change.4 For an anomaly detector the corresponding design is chronological and disjoint: train on one period, calibrate the threshold on a later one, test on a later one again, keep correlated windows such as one session or one incident within a single period, and report how performance decays across test periods. Transcend offers a deployment-time warning about statistical compatibility between new samples and training data, which can prompt a check of actual performance.25 Bates and colleagues’ guarantee assumes a fixed scoring procedure and a new inlier exchangeable with the calibration data; a chronological split or a fresh calibration sample does not by itself establish that for a dependent or shifting stream, so after a relevant change both the calibration and the assumption need to be re-examined.17
A reporting checklist
Arp and colleagues’ recommendations on baselines and temporal evaluation, and Sommer and Paxson’s on scope and ground truth, combine into one comparison that a team can ask of any detector, built in-house or bought.420
- Detection unit and positive class. Packet, flow, connection, session or host; and whether “positive” means attack or anomaly.
- Scope. The population scored and the attack targeted, in Sommer and Paxson’s narrow-scope sense.
- Same-scope baseline. A simple method on the same unit and data: a box plot or z-score on one well-chosen feature, k-NN distance, an isolation forest with defaults.
- Operating point. Alerts per day at the proposed threshold, after stating whether alerts were deduplicated, with precision and recall at that threshold rather than AUC alone.
- Calibration. How the threshold was set, on what held-out clean data, and with what stated false positive rate.17
- Time split. Chronological train, calibration and test periods, and performance per test period.
- Ground truth. How labels were obtained, and whether independently of the detector.
- Feedback and drift. Whether confirmed cases are fed back, and what triggers recalibration or retraining.24
Where it is likely to pay, as a matter of judgment
The studies above do not measure return on investment, so what follows is operational judgment, conditional on the cost of acting on an alert and on measured precision. A detector of the unusual is most plausibly worth running as a ranking aid for hunting or triage in a narrow population, where a person would look anyway and acting on a false positive is cheap; as context that raises the priority of an alert some other rule has produced; and in narrow, stable populations with a stated threat model, where Denning’s per-subject profiles and Sommer and Paxson’s scope rule point the same way. It is least plausibly worth running as a general alarm across diverse traffic expected to find unknown attacks, or as a blocking control, where each false positive interrupts legitimate work.
A decoy offers a different route to precision. If a deployment has verified that no legitimate process touches it, a touch is suspicious by construction and no model of normal is needed; the library’s article on honeypots and honeytokens treats that alternative and the question of benign touches.
Conclusion
Every anomaly detector embodies an assumption about what normal looks like, and its scores are useful to the extent that the assumption fits the data in front of it. Denning’s 1987 model already contained per-subject profiles, a choice of statistical model, an admission that benign change produces the same deviations as misuse, and the cold-start problem. Classical and deep methods differ in the shape they assume for normal data, and the deep ones add failure modes such as trivial one-class solutions, overconfident softmax outputs and likelihoods that rank some out-of-distribution inputs high. Benchmarks find no dominant unsupervised method and strong simple distance methods.
The fraud and spacecraft studies are not evidence that anomaly detection simply works in those domains. They describe drift and scarce or delayed labels, and they show particular operating arrangements: ranked output for fixed investigator capacity, labelled feedback, and aggressive pruning of false positives, with precision figures the spacecraft authors call optimistic. For networks, Sommer and Paxson’s critique and the dataset audits that followed explain why so many published results do not carry over. What the evidence supports is a method of working: a narrow scope and a stated threat model, a simple same-scope baseline, a threshold calibrated on held-out data and checked against alert volume, and evaluation split by time with independent ground truth.
Footnotes
- Markus M. Breunig, Hans-Peter Kriegel, Raymond T. Ng and Jörg Sander, “LOF: Identifying Density-Based Local Outliers”, Proceedings of ACM SIGMOD 2000, Dallas, May 2000 (University of Munich copy, read via the Internet Archive snapshot of 4 December 2025). Quotes Hawkins, Identification of Outliers, Chapman and Hall, 1980. http://web.archive.org/web/20251204225640/https://www.dbs.ifi.lmu.de/Publikationen/Papers/LOF.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- Varun Chandola, Arindam Banerjee and Vipin Kumar, “Anomaly Detection: A Survey”, ACM Computing Surveys 41(3), Article 15, July 2009 (author-hosted copy). https://arindam.cs.illinois.edu/papers/09/anomaly.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
- scikit-learn developers, “Novelty and Outlier Detection”, scikit-learn user guide, section 2.7, accessed 1 December 2026. https://scikit-learn.org/stable/modules/outlier_detection.html (opens in a new tab) ↩1 ↩2
- Daniel Arp, Erwin Quiring, Feargus Pendlebury, Alexander Warnecke, Fabio Pierazzi, Christian Wressnegger, Lorenzo Cavallaro and Konrad Rieck, “Dos and Don’ts of Machine Learning in Computer Security”, 31st USENIX Security Symposium, 2022. https://www.usenix.org/conference/usenixsecurity22/presentation/arp (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
- Dorothy E. Denning, “An Intrusion-Detection Model”, IEEE Transactions on Software Engineering SE-13(2), February 1987 (manuscript received 20 December 1985, revised 1 August 1986), copy hosted by the University of Houston. https://www2.cs.uh.edu/~acl/cs6397/Doc/1987-IEEE%20TSE-An%20Intrusion-Detection%20Model.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
- NIST/SEMATECH e-Handbook of Statistical Methods, section 1.3.5.17.1, “Grubbs’ Test for Outliers”, National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/eda/section3/eda35h1.htm (opens in a new tab) ↩
- NIST/SEMATECH e-Handbook of Statistical Methods, section 6.3.4.1, “Hotelling Control Charts”, National Institute of Standards and Technology. https://www.itl.nist.gov/div898/handbook/pmc/section3/pmc341.htm (opens in a new tab) ↩
- Bernhard Schölkopf, John C. Platt, John Shawe-Taylor, Alex J. Smola and Robert C. Williamson, “Estimating the Support of a High-Dimensional Distribution”, Microsoft Research technical report MSR-TR-99-87, 27 November 1999, revised 18 September 2000; abridged version in Neural Computation 13(7), 2001. https://www.microsoft.com/en-us/research/wp-content/uploads/2016/02/tr-99-87.pdf (opens in a new tab) ↩1 ↩2 ↩3
- David M. J. Tax and Robert P. W. Duin, “Support Vector Data Description”, Machine Learning 54, pp. 45 to 66, 2004 (Springer PDF, read via the Internet Archive snapshot of 15 May 2024). http://web.archive.org/web/20240515120304/https://link.springer.com/content/pdf/10.1023/B:MACH.0000008084.60811.49.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Fei Tony Liu, Kai Ming Ting and Zhi-Hua Zhou, “Isolation Forest”, IEEE International Conference on Data Mining (ICDM), 2008 (author-hosted copy). https://cs.nju.edu.cn/zhouzh/zhouzh.files/publication/icdm08b.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
- Yisroel Mirsky, Tomer Doitshman, Yuval Elovici and Asaf Shabtai, “Kitsune: An Ensemble of Autoencoders for Online Network Intrusion Detection”, NDSS 2018, 18 to 21 February 2018; arXiv 1802.09089v2, 27 May 2018. https://arxiv.org/abs/1802.09089 (opens in a new tab) ↩1 ↩2 ↩3
- Raghavendra Chalapathy and Sanjay Chawla, “Deep Learning for Anomaly Detection: A Survey”, arXiv 1901.03407v2, 23 January 2019. https://arxiv.org/abs/1901.03407 (opens in a new tab) ↩
- Guansong Pang, Chunhua Shen, Longbing Cao and Anton van den Hengel, “Deep Learning for Anomaly Detection: A Review”, arXiv 2007.02500v3, 5 December 2020; ACM Computing Surveys, doi:10.1145/3439950. https://arxiv.org/abs/2007.02500 (opens in a new tab) ↩1 ↩2
- Lukas Ruff, Robert A. Vandermeulen, Nico Görnitz, Lucas Deecke, Shoaib A. Siddiqui, Alexander Binder, Emmanuel Müller and Marius Kloft, “Deep One-Class Classification”, Proceedings of the 35th International Conference on Machine Learning (ICML), PMLR 80, 2018. https://proceedings.mlr.press/v80/ruff18a/ruff18a.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Dan Hendrycks and Kevin Gimpel, “A Baseline for Detecting Misclassified and Out-of-Distribution Examples in Neural Networks”, ICLR 2017; arXiv 1610.02136v3, 3 October 2018. https://arxiv.org/abs/1610.02136 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Eric Nalisnick, Akihiro Matsukawa, Yee Whye Teh, Dilan Gorur and Balaji Lakshminarayanan, “Do Deep Generative Models Know What They Don’t Know?”, ICLR 2019; arXiv 1810.09136v3, 24 February 2019. https://arxiv.org/abs/1810.09136 (opens in a new tab) ↩1 ↩2
- Stephen Bates, Emmanuel Candès, Lihua Lei, Yaniv Romano and Matteo Sesia, “Testing for Outliers with Conformal p-values”, arXiv 2104.08279v3, 25 May 2022; published in The Annals of Statistics, February 2023, doi:10.1214/22-AOS2244. https://arxiv.org/abs/2104.08279 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Songqiao Han, Xiyang Hu, Hailiang Huang, Minqi Jiang and Yue Zhao, “ADBench: Anomaly Detection Benchmark”, 36th Conference on Neural Information Processing Systems (NeurIPS 2022) Track on Datasets and Benchmarks; arXiv 2206.09426v2, 17 September 2022. https://arxiv.org/abs/2206.09426 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Roel Bouman, Zaharah Bukhsh and Tom Heskes, “Unsupervised anomaly detection algorithms on real-world data: how many do we need?”, arXiv 2305.00735v1, 1 May 2023. https://arxiv.org/abs/2305.00735 (opens in a new tab) ↩
- Robin Sommer and Vern Paxson, “Outside the Closed World: On Using Machine Learning For Network Intrusion Detection”, IEEE Symposium on Security and Privacy, 2010 (author-hosted copy). https://www.icir.org/robin/papers/oakland10-ml.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
- John McHugh, “Testing Intrusion Detection Systems: A Critique of the 1998 and 1999 DARPA Intrusion Detection System Evaluations as Performed by Lincoln Laboratory”, ACM Transactions on Information and System Security 3(4), November 2000; abstract read via the Internet Archive snapshot of the ACM Digital Library page, 14 February 2021. http://web.archive.org/web/20210214042148/https://dl.acm.org/doi/10.1145/382912.382923 (opens in a new tab) ↩
- Mahbod Tavallaee, Ebrahim Bagheri, Wei Lu and Ali A. Ghorbani, “A Detailed Analysis of the KDD CUP 99 Data Set”, Proceedings of the 2009 IEEE Symposium on Computational Intelligence in Security and Defense Applications (CISDA 2009). https://www.ee.ryerson.ca/~bagheri/papers/cisda.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
- Gints Engelen, Vera Rimmer and Wouter Joosen, “Troubleshooting an Intrusion Detection Dataset: the CICIDS2017 Case Study”, 6th International Workshop on Traffic Measurements for Cybersecurity (WTMC), IEEE Security and Privacy Workshops, May 2021 (KU Leuven Lirias copy). https://lirias.kuleuven.be/retrieve/2a74aeb2-61cf-452e-ba5b-8ddaf88f0ed8 (opens in a new tab) ↩
- João Gama, Indrė Žliobaitė, Albert Bifet, Mykola Pechenizkiy and Abdelhamid Bouchachia, “A Survey on Concept Drift Adaptation”, ACM Computing Surveys 46(4), 2014, doi:10.1145/2523813 (author’s submitted version, Bournemouth University repository). https://eprints.bournemouth.ac.uk/22491/1/ACM%20computing%20surveys.pdf (opens in a new tab) ↩1 ↩2
- Roberto Jordaney, Kumar Sharad, Santanu K. Dash, Zhi Wang, Davide Papini, Ilia Nouretdinov and Lorenzo Cavallaro, “Transcend: Detecting Concept Drift in Malware Classification Models”, 26th USENIX Security Symposium, 16 to 18 August 2017. https://www.usenix.org/system/files/conference/usenixsecurity17/sec17-jordaney.pdf (opens in a new tab) ↩1 ↩2 ↩3
- Andrea Dal Pozzolo, Giacomo Boracchi, Olivier Caelen, Cesare Alippi and Gianluca Bontempi, “Credit Card Fraud Detection: A Realistic Modeling and a Novel Learning Strategy”, IEEE Transactions on Neural Networks and Learning Systems, accepted version (Politecnico di Milano repository, read via the Internet Archive snapshot of 15 April 2024). http://web.archive.org/web/20240415053756/https://re.public.polimi.it/bitstream/11311/1044896/1/08038008.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Kyle Hundman, Valentino Constantinou, Christopher Laporte, Ian Colwell and Tom Soderstrom, “Detecting Spacecraft Anomalies Using LSTMs and Nonparametric Dynamic Thresholding”, KDD ‘18, London, 19 to 23 August 2018; arXiv 1802.04431v3, 6 June 2018. https://arxiv.org/abs/1802.04431 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
- Renjie Wu and Eamonn J. Keogh, “Current Time Series Anomaly Detection Benchmarks are Flawed and are Creating the Illusion of Progress”, arXiv 2009.13807. https://arxiv.org/abs/2009.13807 (opens in a new tab) ↩
- Alexander Lavin and Subutai Ahmad, “Evaluating Real-time Anomaly Detection Algorithms: the Numenta Anomaly Benchmark”, preprint for ICMLA 2015, 9 October 2015, arXiv 1510.03336. https://arxiv.org/abs/1510.03336 (opens in a new tab) ↩
- Takaya Saito and Marc Rehmsmeier, “The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets”, PLOS ONE, 4 March 2015. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0118432 (opens in a new tab) ↩

SecSIG