Abstract

When is a classical machine-learning method the right choice for a table of features, and how far can its results be trusted in security work? Ensembles of decision trees are a strong baseline for tabular data, though the benchmark evidence for that is limited in scope, and tabular foundation models are reported to lead on some smaller datasets. Nearest neighbours, support vector machines and the EM algorithm show the assumptions that trees and boosting inherit or drop, and Breiman’s 2001 essay on prediction versus explanation shows what is gained and lost by treating the model as a black box. In security the algorithm is only one determinant of performance. Axelsson’s base-rate arithmetic shows that with 2 intrusions in 100,000 events, even one false alarm per 100,000 events leaves a third of alarms false, and the same arithmetic (not Axelsson’s own case) gives about 1.4% precision at 70% sensitivity and a 0.1% false-positive rate. Sommer and Paxson and Arp and colleagues document how labels, evaluation design and adversaries undermine published results. The checks that matter are the label’s origin, time-split evaluation, precision at the operating threshold and adversarial testing.

The frame: two ways of using data

Breiman’s essay

In 2001 the statistician Leo Breiman published “Statistical Modeling: The Two Cultures” in Statistical Science, with comments from several senior statisticians and his own rejoinder. His picture is a black box: a vector of input variables x goes in one side, response variables y come out the other, and nature sits inside. He names two goals of analysis, prediction and information (learn how nature associates y with x), and two cultures. In the data modelling culture the analyst assumes a stochastic model for the inside of the box, such as linear regression, logistic regression or the Cox survival model, estimates its parameters, and validates it with goodness-of-fit tests and residual examination. In the algorithmic modelling culture the inside of the box is “complex and unknown”, and the analyst looks for an algorithm f(x) that predicts y, validated by predictive accuracy; decision trees and neural nets are his examples. Breiman’s informal estimate was that 98% of statisticians belonged to the first culture and 2% to the second, “many in other fields”; it is an impression, not survey data. 1

His abstract charges that the community’s near-exclusive commitment to data models has produced irrelevant theory and questionable conclusions and kept statisticians from interesting current problems. He names three lessons from the algorithmic side: Rashomon, the multiplicity of good models (quite different models can fit the data about equally well); Occam, the conflict between simplicity and accuracy; and Bellman, whether dimensionality is a curse or a blessing. 12

What the discussants said

The published discussion is part of the reason the essay is still read. David Cox called it a critique of “mainstream statistical thinking, based in part on a caricature”, granted that it “contains enough truth”, and agreed that excluding work “simply because it has no explicit probabilistic base” would be impoverished. On prediction he wrote that a theory’s success is best judged by how well it predicts in new contexts, and he accepted that for some problems, short-term economic forecasting and real-time flood forecasting among them, a directly empirical approach is better. He argued that much prediction is made under conditions different from those of the data, such as the effect of cutting medical X-ray use by 10%, and that for such tasks prediction “without some understanding of underlying process” becomes “more and more tentative”. 1

Brad Efron found the essay at first glance “an argument against parsimony and scientific insight”. His argument was that the new algorithms work through biased estimation, “lurking somewhere inside the theory”, whether directly in regularised linear models, subtly in pruned trees, or “surreptitiously as with support vector machines”, and that theory for biased estimators is thin. He offered two rules for the unwary, the first being “Rule 1. New methods always look better than old ones.” He also wrote that “Prediction by itself is only occasionally sufficient” and that the prediction culture around Stanford was “a lot bigger than 2%”. 1

Breiman’s own answer, in his section 11, is that interpretability is one way of getting information and that a model does not have to be simple to provide it; he calls framing the choice as accuracy versus interpretability an incorrect reading of the goal of analysis. 1 By analogy, a fraud model needs prediction, while an incident responder asked why an account was flagged needs information. Efron’s Rule 1 is a reason for caution about benchmark claims for any new method.

Supervised, unsupervised, and the cost of flexibility

In supervised learning each training example has a label (spam or not, malicious or benign, a price) and the task is to predict the label for new examples. In unsupervised learning there are no labels and the task is to find structure, such as clusters or unusual points. The standard textbook treatment is An Introduction to Statistical Learning (ISLR). 3

Bias and variance describe supervised prediction, the setting ISLR illustrates. A rigid model (a straight line) misses structure that is really there, which is bias. A flexible model (a deep tree, a 1-nearest-neighbour rule) follows the particular training sample, noise included, so a different sample gives a different model, which is variance. In ISLR’s simulated examples (section 2.2) training mean squared error falls steadily as flexibility rises while test error is U-shaped; the figures come from particular simulations, and the squared-error decomposition does not by itself establish that the unsupervised procedures below follow the same trade-off. 3 Held-out data estimate performance on new data only to the extent that the data, the split and the evaluation represent deployment, and validation used to choose a model is distinct from the final evaluation. Cross-validation splits the data into k folds, trains on k−1, scores on the held-out fold, and averages. 3 In security, random splits can inflate estimates when they violate the deployment chronology or put related samples in different folds, since attackers adapt and campaigns cluster in time. 4 The theory of when training error predicts test error is covered in What can be learned from examples: a reader in learning theory from Vapnik and Valiant to double descent and is not repeated here.

Nearest neighbours

The rule

The nearest-neighbour rule fits no parametric model; it keeps the labelled data. To classify a new point, find the closest labelled point under some distance (often Euclidean, though other distances are used) and copy its label. The k-nearest-neighbour version takes a vote among the k closest, as described in ISLR. 3

A four-point example on a line. The labelled points are at x = 0 (class +), x = 1 (+), x = 2 (−) and x = 5 (+). Classify x = 2.4. The distances are 2.4, 1.4, 0.4 and 2.6, so the nearest point is x = 2 and the 1-NN answer is −. For k = 3 the three nearest are x = 2 (−), x = 1 (+) and x = 0 (+), and the vote is 2 to 1 for +. The two rules disagree, and which is right depends on whether the point at x = 2 is a real feature of the problem or a mislabelled outlier. A larger k can average over label noise at the price of more bias, while k = 1 follows every label. 3

Cover and Hart’s bound

Cover and Hart (1967) asked how good the rule can be if you have unlimited labelled data and know nothing about the underlying distribution. The Bayes error R* is the lowest error any rule can achieve given the true class probabilities. Let R be the limiting error of the one-neighbour rule as the sample grows. Their abstract states that in the M-category case R* ≤ R ≤ R*(2 − MR*/(M−1)), that these bounds are the tightest possible “for all suitably smooth underlying distributions”, and hence that “the probability of error of the nearest neighbor rule is bounded above by twice the Bayes probability of error”. The theorem and its conditions are on pages 25 and 26. 5

For two classes (M = 2) the upper bound is 2R*(1 − R*). If the best possible error is 10%, the limiting error of the nearest-neighbour rule is at most 2 × 0.1 × 0.9 = 18%; if the Bayes error is 1%, at most 1.98%. The result is about the limit of unlimited independent, identically distributed data under smoothness conditions, not a guarantee for a particular training set, and it says nothing about dimension, which is where the rule breaks.

The curse of dimensionality

ISLR describes the failure in a regression setting (section 3.5). With 100 training observations a nearest-neighbour regression does well in one dimension, but spread over 20 dimensions a given observation has no nearby neighbours, which the book calls “the so-called curse of dimensionality”; the training points closest to a test point can be far from it. In the book’s simulated example (100 training observations) the test mean squared error of the neighbour method rose more than ten-fold as dimension grew, while that of linear regression changed little. 3 In a unit cube with p features, a sub-cube holding 10% of the volume has edge length 0.1^(1/p), which is 0.1 for p = 1, 0.79 for p = 10 and 0.977 for p = 100. For uniformly distributed points the expected share of points inside the sub-cube equals its volume share, so a “local” neighbourhood containing a tenth of the data spans nearly the whole range of every feature when p is 100.

Distances also depend on feature scaling, so a feature measured in bytes can dominate one measured in ratios unless the features are standardised, as ISLR notes for neighbour methods, and irrelevant features can add distance noise without adding information. 3

Linear models, naive Bayes and regularisation

Fisher’s discriminant and logistic regression

R. A. Fisher’s 1936 paper on “The use of multiple measurements in taxonomic problems” opens with the observation that when populations have been measured in several characters “special interest attaches to certain linear functions of the measurements by which the populations are best discriminated”. Its first worked calculation uses four measurements on fifty plants of each of two Iris species, setosa and versicolor; a third species, virginica, appears later in the paper. 6 A classifier that scores an example by a weighted sum of its features and compares the score with a threshold is called linear. Logistic regression is one: it models the log-odds of the class as a linear function of the features, so the predicted probability is 1 / (1 + e^−(b0 + b·x)), and fits the weights by maximum likelihood. ISLR’s chapter 4 covers logistic regression and linear discriminant analysis. 3

In a logistic model each coefficient is the change in log-odds per unit change in its feature with the other included features held fixed, which makes the model easy to inspect. 3 That is a conditional association, and reading it as a causal effect needs further assumptions. An additive linear score or log-odds cannot represent interactions (a login from a new country matters only at 3 a.m.) unless the analyst adds the interaction as a feature, as ISLR describes for linear models. 3

Naive Bayes and spam

Naive Bayes applies Bayes’ rule with one simplifying assumption: given the class, the features are conditionally independent. Sahami, Dumais, Heckerman and Horvitz (1998), in an early paper on learning to filter junk email, describe the naive Bayesian classifier as embodying exactly this assumption and attribute the idea to Good (1965). 7 The classifier multiplies the class prior by the per-feature likelihoods; choosing the class with the larger product is the decision rule when both kinds of error cost the same.

An example with invented counts, for illustration. Of 100 training messages, 40 are spam and 60 are ham. The word “free” appears in 20 spam and 3 ham messages; “meeting” appears in 2 spam and 30 ham. For a new message containing both words:

  • Spam score: 0.4 × (20/40) × (2/40) = 0.4 × 0.5 × 0.05 = 0.010.
  • Ham score: 0.6 × (3/60) × (30/60) = 0.6 × 0.05 × 0.5 = 0.015.
  • Posterior probability of spam: 0.010 / (0.010 + 0.015) = 0.4.

The 0.4 is the posterior under this illustrative model, in which the two words are the only observed features. Sahami et al. selected features partly to attenuate violations of the independence assumption, and measured classification at a threshold, not calibration. They also made the decision cost-sensitive: because wrongly discarding legitimate mail is worse than letting spam through, a message was classed as junk only above a 99.9% certainty threshold, and they put junk precision first among their measures. In a corpus of 1,789 messages, 1,538 were used for training and 251 for testing; on those 251 test messages the richest feature set reached 100.0% junk precision with 98.3% junk recall. 7 Paul Graham’s “A Plan for Spam” (August 2002) popularised the approach and reported, for his own filter and corpus, that it missed “less than 5 per 1000 spams, with 0 false positives”. That is one author’s measurement of his own mail stream. 8

Regularisation and the lasso

When there are many features relative to examples, an unrestricted least-squares fit risks overfitting, as ISLR describes. 3 Regularisation limits the size of the weights. Tibshirani’s 1996 lasso “minimizes the residual sum of squares subject to the sum of the absolute value of the coefficients being less than a constant”, and “Because of the nature of this constraint it tends to produce some coefficients that are exactly 0”, which gives interpretable models. 9 ISLR illustrates the mechanism in the special case of an identity design matrix (n = p): the lasso shrinks each least-squares coefficient towards zero by a constant amount and sets those smaller than the amount to zero (“soft-thresholding”), which is why it performs feature selection. 3 Efron’s remark above applies: regularisation is deliberate bias, accepted in exchange for lower variance. The first published EPSS model (2019) used elastic-net regularisation to select a concise set of features for a logistic regression, which its authors chose because it is “more transparent, intuitive and easily implemented”. 10

Decision trees

Growing a tree with information gain

A decision tree classifies by asking a sequence of questions about features, each question sending the example down one branch, until a leaf gives the class. Quinlan’s 1986 paper “Induction of Decision Trees” in Machine Learning describes ID3, which builds the tree top-down from a set of labelled objects: if all objects in the set are in one class, make a leaf; otherwise choose an attribute to test, split the set by its values, and recurse. 11 The question is which attribute to test. ID3 uses an information measure. For a set with p objects of class P and n of class N, the information needed to say which class an object belongs to is

I(p, n) = −(p/(p+n)) log2(p/(p+n)) − (n/(p+n)) log2(n/(p+n))

bits. Testing attribute A splits the set into subsets, each with its own I(p_i, n_i). The expected information after the test is E(A), the average of those values weighted by subset size; it is the conditional entropy of the class given the attribute. The information gain is gain(A) = I(p, n) − E(A), which is the mutual information between the attribute and the class. ID3 picks the attribute with the largest gain; since I(p, n) is the same for every attribute, that is the same as minimising E(A). 11

Quinlan’s example, by hand

Quinlan’s Table 1 has fourteen objects described by outlook (sunny, overcast, rain), temperature (hot, mild, cool), humidity (high, normal) and windy (true, false), each in class P or N. Nine are P and five are N, so

I(9, 5) = −(9/14) log2(9/14) − (5/14) log2(5/14) = 0.940 bits.

Splitting on outlook gives three subsets. Sunny has five objects (2 P, 3 N), overcast has four (4 P, 0 N) and rain has five (3 P, 2 N). Then I(2, 3) = 0.971, I(4, 0) = 0, I(3, 2) = 0.971, and

E(outlook) = (5/14)(0.971) + (4/14)(0) + (5/14)(0.971) = 0.694 bits,

so gain(outlook) = 0.940 − 0.694 = 0.246 bits. Quinlan reports the other gains as temperature 0.029, humidity 0.151 and windy 0.048, so outlook goes at the root. 11 (Unrounded values are 0.247 and 0.152; the difference is rounding.) The overcast branch is already pure (all P). In the sunny branch, humidity separates the classes perfectly: the three high-humidity objects are N and the two normal-humidity objects are P. In the rain branch, windy does: the two windy objects are N and the three others P. The finished tree classifies all fourteen objects correctly.

Noise, overfitting and pruning

A tree that is allowed to grow until every training example is correctly classified can fit noise when the features allow it. Quinlan proposes a chi-square test of whether a candidate attribute is associated with the class at all, to screen out splits that look informative only by chance. 11 He also notes that the gain criterion favours attributes with many values and discusses a gain ratio. 11 The common alternative is to grow a large tree and prune it back; ISLR describes cost-complexity (“weakest link”) pruning, which trades the tree’s fit against its number of leaves with a tuning parameter chosen by cross-validation. 3 ISLR describes the greedy, top-down procedure as recursive binary splitting and lists the usual impurity measures, the Gini index and entropy, which behave similarly in practice. 3

Why trees suit messy tables

ISLR lists the attractions: trees are easy to explain, can be displayed graphically, and “can easily handle qualitative predictors without the need to create dummy variables”. Its listed drawbacks are weak predictive accuracy compared with other methods and non-robustness: “a small change in the data can cause a large change in the final estimated tree.” 3 Quinlan’s paper treats unknown attribute values explicitly. He considers treating “unknown” as a separate value and rejects it as a general solution because it can make an attribute look more informative merely for having unknown entries, inflating its apparent gain; his preferred strategy distributes objects with unknown values across the known values in proportion to their frequency. 11 XGBoost’s sparsity-aware split finder learns a default direction for missing entries (described below); that supports missing-value handling in that implementation, not in every tree library. 12

A further property follows from how a split on a numeric feature is defined: it is a threshold test x < t. For exact greedy splitting on the training data, any strictly increasing transformation of a feature (a logarithm, a change of units) leaves the set of candidate partitions of the observed values unchanged. Where the threshold sits between neighbouring training values, and so the predictions for new values, can still differ, and approximate or histogram-based split finding may differ as well. This is the author’s deduction about the observed candidate partitions, not a cited result. Missing-value and categorical handling are choices made by each implementation. A single tree is also unstable: the split chosen at the root depends on small differences in the gains, and a different sample can pick a different root. ISLR notes the same non-robustness and presents bagging, random forests and boosting as ways to improve on it. 3 Ensembles reduce that instability without eliminating it.

Support vector machines

Maximum margin

A linear support vector machine (SVM) is a linear classifier chosen by a specific criterion, and a kernel SVM uses the same criterion in a feature space (below). Among all separating hyperplanes, choose the one with the largest margin, the distance to the nearest training point. Cortes and Vapnik (1995) call this the optimal hyperplane and note that only a few training points, the support vectors, determine it. 13

A two-point example. Put one example at (1, 1) with label +1 and one at (−1, −1) with label −1. A classifier f(x) = w·x + b labels an example by the sign of f, and the margin constraints require y·f(x) ≥ 1 for each example. By symmetry b = 0. With w = (a, a), the constraint at (1, 1) reads 2a ≥ 1, so the smallest weight vector that satisfies both constraints is w = (0.5, 0.5), with length √0.5 = 0.707. Each point lies 1/|w| = 1.41 from the hyperplane and the full margin width is 2/|w| = 2.83, which equals the distance between the two points, 2√2, as it should. Both points sit exactly on the margin (f = +1 and f = −1), so both are support vectors. The paper states the equivalent view that the optimal hyperplane “is the unique one that minimizes w·w under the constraints”, a quadratic programming problem. 13

Soft margin and hinge loss

Real data are rarely separable. Cortes and Vapnik introduced the soft-margin hyperplane, which allows slack ξ for each training point and penalises the total slack. 13 In the standard form used in later texts (L1 slack, as in ISLR’s support vector classifier) training minimises ½|w|² + C Σξ_i subject to y_i·f(x_i) ≥ 1 − ξ_i and ξ_i ≥ 0. 3 For a given classifier the smallest feasible slack of an example is its hinge loss max(0, 1 − y·f(x)), and an example whose minimum slack exceeds 1 is misclassified. With the classifier above, a new + example at (2, 2) has f = 2 and loss 0; at (0.5, 0.5) it has f = 0.5 and loss 0.5 (correct side, inside the margin); at (0, 0) it has f = 0 and loss 1; and at (−1, 0) it has f = −0.5 and loss 1.5 (misclassified). C is the weight on the total hinge loss: a smaller C lets the optimiser favour a smaller weight norm and tolerate more violations, and a larger C fits the training data more closely. The geometric margin need not widen for every change in C.

Cortes and Vapnik also gave a bound that does not mention dimension: for separable training data, the expected error on a test example is bounded by the expected number of support vectors divided by the number of training vectors. They report that for real problems the ratio “can be as low as 0.03”. 13

The kernel trick

To get a nonlinear boundary, map each input into a higher-dimensional feature space and use a hyperplane there. The point of the support-vector network is that the training and prediction computations involve only dot products between examples, so one can replace the dot product by a kernel function K(u, v) and never construct the feature vectors. 13 A check by hand for the degree-two polynomial kernel K(u, v) = (u·v)² on two-dimensional inputs: the feature map φ(x) = (x1², √2·x1·x2, x2²) gives φ(u)·φ(v) = (u·v)². For u = (1, 2) and v = (3, 1), u·v = 5 so K = 25; and φ(u) = (1, 2√2, 4), φ(v) = (9, 3√2, 1), whose dot product is 9 + 12 + 4 = 25. In the paper, polynomial kernels of degree d on 256-pixel digit images correspond to feature spaces of dimension about 33,000 for d = 2 and about 10^16 for d = 7. 13

What the paper showed on digits

The small set, from the US Postal Service, has 7,300 training and 2,000 test patterns of 16 × 16 pixels. The reported raw errors were 17% for the CART decision tree, 16% for C4.5, 6.6% for the best two-layer neural network, 5.1% for a five-layer network built for the task (LeNet1), and 2.5% for human performance. Support-vector networks with polynomial kernels scored 12.0% (degree 1, linear), 4.7% (degree 2), 4.4% (degree 3) and 4.2% (degree 6); the authors note that performance barely changed as the feature space grew. The USPS runs used centering, de-slanting and Gaussian smoothing. 13 The large set, NIST handwriting data with 60,000 training and 10,000 test patterns, was run with ten degree-4 classifiers, one per digit, and no pre-processing; their combined test error was 1.1%, in a benchmark that also included a 3-nearest-neighbour classifier with 60,000 prototypes and two special-purpose neural networks. The paper quotes the benchmark authors: the support-vector network “does not include knowledge about the geometry of the problem”. 13

Inference cost, and one adoption snapshot

A kernel classifier must keep its support vectors and evaluate the kernel against each of them for every prediction; in the NIST experiment each of the ten classifiers kept between 989 and 2,765. 13 The cost of training a kernel machine on millions of rows depends on the solver, the kernel and the sparsity of the data, and this article cites no direct run-time comparison with boosted trees. The evidence cited here is about adoption: in the XGBoost paper’s count of 29 winning Kaggle solutions from 2015, tree boosting appears in 17 and deep neural nets in 11, and the paper does not mention SVMs among them. That is a snapshot of one blog’s solutions. 12 The count shows no adoption trend and gives no cause for SVM use or disuse.

Unsupervised learning: k-means, mixtures and the EM algorithm

k-means

Clustering looks for groups without labels. K-means, in ISLR’s description, partitions n observations into K non-overlapping clusters so as to make the total within-cluster variation, measured by squared Euclidean distance, as small as possible. The algorithm starts with random assignments, then alternates between computing each cluster’s centroid and reassigning every observation to its nearest centroid. Each step can only improve the objective, so the procedure reaches “a local optimum”, and the result depends on the starting assignment. 3 MacQueen (1967) introduced the name k-means in his first section. His process in the second section is sequential: start with k single-point groups, add each new point to the group whose mean is nearest, and adjust that group’s mean after each addition, so that at every stage the k means are the means of the groups they represent. The simultaneous reassignment of all points described by ISLR is the batch variant. MacQueen notes that the procedure will not in general converge to an optimal partition. 14

For the points 0, 1, 5 and 6 on a line with K = 2, starting centroids 0 and 6 assign {0, 1} to the first and {5, 6} to the second; the new centroids are 0.5 and 5.5; reassignment changes nothing, so the algorithm stops.

Mixtures and soft assignment

A mixture model replaces the hard assignment with a probability. Assume the data come from K components, each a Gaussian with its own mean, and that each point was generated by first choosing a component with some mixing weight and then drawing from it. The component label is unobserved (“latent”). If the labels were known, estimating the means would be trivial: average the points in each component. If the means were known, the probability that a point came from a component would be computable with Bayes’ rule. Each knowledge supplies the other, which is the EM algorithm: an E-step computes the expected complete-data log likelihood given the current parameters, which in this example reduces to computing each point’s probability of belonging to each component (its responsibility), and an M-step re-estimates the parameters by maximising that expectation, which here means responsibility-weighted averages.

A one-dimensional example. Four points: 0, 2, 3, 6. Two Gaussian components with mixing weights fixed at 0.5 and variances fixed at 1, starting means 0 and 5; only the means are updated in the M-step. The E-step and M-step follow the definitions in Dempster, Laird and Rubin. 15

E-step: the responsibility of component 1 for a point x is exp(−(x−0)²/2) / [exp(−(x−0)²/2) + exp(−(x−5)²/2)].

xdensity term, comp. 1density term, comp. 2responsibility of comp. 1
01.00000.00000371.0000
20.13530.01110.9241
30.01110.13530.0759
60.00000001520.60650.0000

M-step: the new mean of component 1 is the responsibility-weighted average, (1.0 × 0 + 0.9241 × 2 + 0.0759 × 3 + 0 × 6) / 2.0 = 1.038; for component 2 it is (0 × 0 + 0.0759 × 2 + 0.9241 × 3 + 1 × 6) / 2.0 = 4.462. The means move from 0 and 5 towards the groups {0, 2} and {3, 6}, and the process repeats. K-means can be read as the limiting case of this procedure when all components have equal fixed mixing weights and share one spherical variance that shrinks to zero and each point has a unique nearest centre, so that every responsibility becomes 0 or 1; the correspondence is between the assignment and mean updates only (a mathematical observation, not a cited claim).

What Dempster, Laird and Rubin proved

The 1977 paper “Maximum Likelihood from Incomplete Data via the EM Algorithm” in the Journal of the Royal Statistical Society, Series B gave the algorithm its name and a general theory. It says that “successive iterations always increase the likelihood, and that convergence implies a stationary point of the likelihood”. It also states plainly that some of the ideas were already in the literature: Orchard and Woodbury (1972), Sundberg (1976), and Baum et al. (1970) in an unusual special case. 15

Their Theorem 1 says that for any generalised EM algorithm, the likelihood after an iteration is at least as large as before: L(M(φ)) ≥ L(φ), with equality only under a stated condition. What they did not prove is equally important, and the authors say so: “these results stop short of implying convergence to a maximum-likelihood estimator”. They add that “in almost all applications” the limit will be at a local, “if not global, maximum”, and that an exception could be a saddle point. 15 Wu (1983) found an error in the paper’s proof of its convergence theorem (Theorem 2): the step from their equation 3.13 to 3.14 misuses the triangle inequality. The monotonicity result stands. Wu proved instead that under conditions (for example a curved exponential family with compact parameter space) limit points of an EM sequence are stationary points of the likelihood. His Corollary 1 says that if the likelihood is unimodal with a single stationary point and the relevant derivative of the expected log likelihood is continuous, the parameter sequence itself converges to the unique maximiser. Convergence of the likelihood values is a weaker statement than convergence of the parameters. 16 Where the likelihood has several stationary points, as mixture likelihoods often do, the limit can depend on the starting values, and running EM from several starting points is a common precaution (a practice, not a result of these papers).

Rao’s data put 197 animals into four categories with counts (125, 18, 20, 34), and a genetic model gives the cell probabilities (½ + π/4, (1−π)/4, (1−π)/4, π/4). The authors split the first cell into two hidden parts, with probabilities ½ and π/4, which turns the problem into one in which a simple proportion estimates π. 15 With x2 the unobserved number of the 125 falling in the π/4 part, the E-step replaces it by its conditional expectation:

  • E-step: x2 = 125 × (π/4) / (½ + π/4), the expected value of x2.
  • M-step: π = (x2 + 34) / (x2 + 18 + 20 + 34).

Starting from π = 0.5 the E-step gives x2 = 125 × 0.125 / 0.625 = 25 and the M-step gives π = 59/97 = 0.6082. Another round gives x2 = 29.15 and π = 0.6243; then 0.6265, 0.6268. The paper’s later discussion of this example gives a limit of π* = 0.6268. 15 The log-likelihood up to a constant, 125 ln(½ + π/4) + 38 ln((1−π)/4) + 34 ln(π/4), rises through −208.470, −205.780, −205.717 and −205.716 along the way, as Theorem 1 requires. (The iterates and log-likelihood values are computed from the formulas above, not taken from the paper.)

A detector that uses a fitted mixture’s density as its anomaly score flags points of very low density as unusual. The security sections below show why “unusual” and “malicious” are different questions.

Ensembles: bagging, random forests, boosting

Why combine trees

One tree is unstable. An average of many trees, if the trees make different errors, is steadier. ISLR states the principle as “averaging a set of observations reduces variance”. Bagging (bootstrap aggregation) grows each tree on a bootstrap resample of the training data and averages the predictions or takes a vote. 3

Random forests

Breiman’s “Random Forests” (the author-hosted version is dated January 2001) defines a random forest as “a combination of tree predictors such that each tree depends on the values of a random vector sampled independently and with the same distribution for all trees in the forest”. In the version he tests, each tree is grown by the CART method to maximum size and not pruned, and at each node only a small random group of the input variables is considered for the split. He tried group sizes F = 1 and the first integer less than log2 M + 1, where M is the number of inputs. 17 ISLR suggests about the square root of the number of features, noting that the randomness decorrelates the trees. 3

Two results in the paper explain why this works. First, as the number of trees grows the generalisation error converges to a limit; the error stabilises at a limit, which Breiman says “explains why random forests do not overfit as more trees are added”. Second, the forest’s error is bounded in terms of two quantities: the strength s, defined as the expected value over examples of the forest’s voting margin (the vote for the right class minus the vote for the best wrong class), and the mean correlation ρ between individual trees, computed on their raw margin functions. The theorem assumes s is positive. His Theorem 2.3 gives

PE* ≤ ρ(1 − s²) / s²,

and he describes the ratio ρ/s² as the guide: “the smaller it is, the better”. He says the bound is “likely to be loose” but plays the same suggestive role as VC bounds do for other classifiers. 17 The bound is nonlinear in the strength, so it does not reduce to comparing absolute drops; the design consequence is a trade-off, in that random feature selection reduces the correlation between trees but also weakens each tree, and the paper studies the choice of group size F empirically. 17

Bagging also gives an internal validation estimate. Each bootstrap sample leaves out about one-third of the examples; the out-of-bag estimate of error runs each example through only those trees that did not train on it. Breiman notes that, under his sampling assumptions, this removes the need for a separate test set, and that because it combines only about one-third of the trees it tends to overestimate the error until enough trees are grown. 17 For a security deployment an out-of-bag figure still describes data drawn like the training set; evaluation on later, independent data is needed (see the Arp et al. section), and convergence of the error as trees are added says nothing about robustness to drift. The abstract also reports that forests with random feature selection “compare favorably to Adaboost” but are “more robust with respect to noise”. 17

AdaBoost

Boosting builds an ensemble sequentially rather than independently. Freund and Schapire (1997) gave AdaBoost, in which each new weak learner is trained on a version of the data that re-weights examples according to the mistakes made so far, In the binary case, their Theorem 6 bounds the training error of the combined classifier by exp(−2 Σ γ_t²), where γ_t is ½ minus the t-th weak learner’s error on the training distribution as re-weighted for that round, provided each learner beats chance on that distribution. 18 The theory of why boosting generalises is in the learning-theory article linked above.

Gradient boosting

Friedman’s “Greedy function approximation: a gradient boosting machine” (Annals of Statistics, October 2001) recast boosting as optimisation. The abstract treats function estimation from the perspective of numerical optimisation in function space rather than parameter space, and connects stagewise additive expansions with steepest-descent minimisation. The paper presents algorithms for least-squares, least absolute deviation and Huber losses in regression and for multiclass logistic likelihood in classification, with special enhancements for regression trees as the components. 19

The idea in the squared-error case: begin with a constant model (ISLR’s Algorithm 8.2 starts from zero; the constant that minimises squared error is the mean, used below), compute the residuals, fit a small tree to the residuals, add a shrunken copy of that tree to the model, recompute the residuals, and repeat. The residual y − f(x) is the negative gradient of the loss ½(y − f)² with respect to the model’s output f, which is why this is gradient descent, with the step direction taken from a tree fitted to the negative gradient. For other losses the residual is replaced by the negative gradient of that loss, and the paper gives loss-specific algorithms rather than one universal update. 319

A boosting step by hand. Four examples with x = 1, 2, 3, 4 and y = 1, 2, 6, 7. The starting model is the mean, 4, so the residuals are −3, −2, 2, 3 and the sum of squared errors is 26. A stump (a one-split tree) that splits between x = 2 and x = 3 predicts the mean residual on each side: −2.5 on the left, +2.5 on the right. With shrinkage λ = 0.5 the model after one step predicts 4 + 0.5 × (−2.5) = 2.75 on the left and 5.25 on the right. The new residuals are −1.75, −0.75, +0.75, +1.75, and the sum of squared errors has fallen from 26 to 7.25. (With λ = 1 the first step alone would give predictions 1.5 and 6.5 and a sum of squared errors of 1.0.) The shrinkage parameter slows learning; ISLR notes that “statistical learning approaches that learn slowly tend to perform well”, that typical values are 0.01 or 0.001, and that unlike bagging, boosting can overfit if the number of trees B is too large, so B is chosen by cross-validation. The third tuning parameter is the number of splits per tree: “Often d = 1 works well”, in which case the boosted stumps form an additive model. 3 The XGBoost paper credits shrinkage to Friedman. 12

XGBoost and its relatives

Chen and Guestrin’s “XGBoost: A Scalable Tree Boosting System” (KDD 2016) uses shrinkage, which they credit to Friedman, and adds a regularised objective with a penalty Ω(f) = γT + ½λ‖w‖² on each tree’s number of leaves T and leaf weights w, a second-order approximation of the loss for choosing splits, column subsampling, a sparsity-aware split-finding algorithm that learns a default direction for missing or structurally absent entries in sparse data (not the same thing as ordinary observed zeros), a weighted quantile sketch for approximate split finding, and a cache-aware, out-of-core block structure. 12

The paper’s adoption figures: of the 29 challenge-winning solutions published on Kaggle’s blog during 2015, 17 used XGBoost; eight used it alone and most others combined it with neural nets. Deep neural nets, the second most popular method, appeared in 11 solutions, and every winning team in the top 10 at KDD Cup 2015 used XGBoost. It also claims the system runs more than ten times faster than existing popular solutions on a single machine. These are the authors’ reports, and the competition figures count solutions published on one blog in one year. 12

LightGBM (Ke et al., NeurIPS 2017) is a related implementation that reports training up to over 20 times faster than conventional gradient boosted trees with almost the same accuracy, by sampling examples with large gradients and bundling sparse features. 20

Tree ensembles as the baseline for tabular data

Grinsztajn, Oyallon and Varoquaux (2022), “Why do tree-based models still outperform deep learning on tabular data?”, assembled 45 tabular datasets and a benchmark that accounts for hyperparameter search. Their abstract states that “tree-based models remain state-of-the-art on medium-sized data (~10K samples) even without accounting for their superior speed”. They traced the gap to three properties that tabular-specific networks should have: robustness to uninformative features, preservation of the orientation of the data, and the ability to learn irregular functions. Their experiments found that the neural networks examined are biased towards overly smooth solutions, that uninformative features widen the gap for MLP-like networks, and, as an argument (their section 5.2), that MLP learning procedures are rotationally invariant, which they say hurts when each feature carries its own meaning; in their rotation experiment only the ResNet tested was empirically rotation-invariant. 21 These are findings about their 45 datasets and their medium-size regime, not a survey of all tables.

Shwartz-Ziv and Armon (2021), “Tabular data: deep learning is not all you need”, compared XGBoost with recently proposed deep tabular models on the datasets those models’ own papers used. They report that XGBoost outperformed the newer deep models on 8 of the 11 datasets in their headline comparison, that it usually needed much less tuning, and that an ensemble of deep models with XGBoost did better than XGBoost alone. 22

Later work is less one-sided. Hollmann et al. introduced TabPFN, a transformer trained offline on millions of synthetic datasets that predicts in a single forward pass per configuration without hyperparameter tuning. The 2025 Nature version states that it “outperforms all previous methods on datasets with up to 10,000 samples by a wide margin”, and that in 2.8 seconds it outperforms an ensemble of the strongest baselines tuned for four hours in a classification setting. The timed default is a small ensemble whose members use different pre- and post-processing. 23 The earlier ICLR 2023 version claimed less, for up to 1,000 training points. 24 These are the authors’ own comparisons. TabArena (NeurIPS 2025 Datasets and Benchmarks), a continuously maintained benchmark built from 51 datasets curated out of 1,053, reports that gradient-boosted trees “are still strong contenders”, that deep learning methods “have caught up under larger time budgets with ensembling”, and that foundation models “excel on smaller datasets”. It ran TabPFNv2 only on datasets within its limit of 10,000 training samples, 500 features and 10 classes, and TabICL only on classification tasks with up to 100,000 training samples and 500 features. 25 These are snapshots of the cited releases. A September 2026 technical report from the TabPFN developers reports TabPFN-3.5 results on temporal and grouped splits as well as standard TabArena tasks; that is a developer-reported result and says nothing yet about operational security data. 26 Tuned tree ensembles are thus the baseline a new method has to beat, with the margin depending on dataset size, tuning budget and ensembling.

With an implementation such as XGBoost, a tree ensemble needs little preparation for mixed units and missing entries, as the earlier sections show. The deep-learning story, in which learned representations of raw signals such as pixels and text carry the advantage, is told in From the logical neuron to the transformer: a reader in neural networks through fifteen of the papers that built them.

The security thread

Denning’s model, 1987

Dorothy Denning’s “An Intrusion-Detection Model” (IEEE Transactions on Software Engineering, February 1987; SRI International) describes a real-time intrusion-detection expert system. It rests on a hypothesis: “security violations can be detected by monitoring a system’s audit records for abnormal patterns of system usage”. 27 The model has six components: subjects, objects, audit records (6-tuples recording an action by a subject on an object), profiles of subject behaviour, anomaly records, and activity rules. A profile pairs a metric with a statistical model. The metrics are of three kinds: an event counter (the number of audit records of some kind in a period), an interval timer (time between two events) or a resource measure (quantity consumed). The models she lists include an operational model (compare an observation with fixed limits, for example more than 10 password failures in a short period), a mean and standard deviation model, a multivariate model that uses correlations between metrics, and a Markov process model for event transitions. 27

The mean and standard deviation model “is based on the assumption that all we know about” the past observations are their mean and standard deviation, and flags a new observation as abnormal if it falls outside mean ± d × standard deviation. By Chebyshev’s inequality, she notes, the probability of a value falling outside the interval is at most 1/d²; for d = 4 it is at most 0.0625. 27 The bound is distribution-free and loose, and holds for population moments; estimating them from a limited history changes the guarantee. For a Gaussian metric with known parameters the probability beyond four standard deviations is about 0.0063%, so 1,000 users with ten metrics each tested hourly (240,000 tests a day) would be expected to cross the threshold about 15 times a day.

Denning was explicit about the limits. She noted that unusual usage “can also be linked with actions unrelated to security”, such as a user changing tasks, software updates or changing workload, and named as a research objective finding the statistical measures with “a high rate of detection and a low rate of false alarms”. 27 The model assumes that attack behaviour differs from normal behaviour in a way the chosen metrics can measure; the mean and standard deviation model, she notes, requires no prior knowledge of normal activity and “learns what constitutes normal activity from its observations”. 27 Later papers test those assumptions.

Sommer and Paxson, 2010

Robin Sommer and Vern Paxson, “Outside the Closed World: On Using Machine Learning For Network Intrusion Detection” (IEEE Symposium on Security and Privacy, 2010), report, in their account of operational settings at the time, a striking imbalance: deployed network intrusion detection was almost exclusively misuse detection (signatures), with little anomaly detection, even though machine learning had succeeded in recommenders, character recognition, translation and spam. 28 Their main claim is that finding attacks is fundamentally different from those other applications. They list five reasons the domain is hard: a very high cost of errors, lack of training data, a semantic gap between results and their operational interpretation, enormous variability in input data, and fundamental difficulties for sound evaluation. 28

  • Cost of errors. A false positive costs analyst time; a false negative can mean a compromised system. In product recommendation a bad answer costs almost nothing. They cite Axelsson for the point that even a small false-positive rate can render a network intrusion detection system unusable. 28
  • Semantic gap. Anomaly detectors report “what has not been seen before, whether benign or not”, and the question for the operator is “What does it mean?” They observe that a learning algorithm by definition makes no mistakes within its model of normality, so the operator’s view of the results matters; they offer the gap as one source of benign alarms, alongside misestimated normality and changing conditions. 28
  • Diversity. Even within one network, bandwidth and application mix can be “unpredictable over short time intervals (seconds to hours)”, so a stable notion of normality is hard to find. 28
  • Evaluation. They name the lack of appropriate public datasets for assessing anomaly detection as arguably the most significant challenge, and note that one 1995 web-server log set had been used in more than 90 papers between 1995 and 2007. 28
  • Closed world. Their central argument is about the structure of the problem. Classification with several alternatives needs only a model “just crisp enough to separate the classes”, but anomaly detection needs a model of normality precise enough to rule out everything else. They quote Witten et al. that the closed world assumption, treating everything but the positive examples as negative, is of little practical use because real problems rarely involve closed worlds. 28

They do not conclude that machine learning is the wrong tool: “the strength of machine-learning tools is finding activity that is similar to something previously seen, without the need however to precisely describe that activity up front”, and they argue that the premise that anomaly detection finds novel attacks “does not hold with the generality commonly implied”. 28

The base-rate problem

Stefan Axelsson’s “The Base-Rate Fallacy and the Difficulty of Intrusion Detection” (ACM Transactions on Information and System Security, August 2000) applies Bayes’ rule to alarms. His hypothetical installation produces about 1,000,000 audit records a day, and he estimates that an intrusion affects about ten audit records. The unit is therefore the “event” of ten records: 100,000 events a day with two intrusions, so P(I) = 2 × 10^−5 per event. He works out the Bayesian detection rate P(I | A), the probability that an alarm is a real intrusion. 29 By Bayes’ rule (his equation 9)

P(I | A) = P(I) P(A | I) / [P(I) P(A | I) + P(¬I) P(A | ¬I)].

His result: even with a detection rate of 1.0, a false alarm rate of 1 in 100,000 per event (10^−5), about one false alarm a day, gives a Bayesian detection rate of 66%; with a detection rate of 0.7 at the same false alarm rate it is about 58%. Both can be reproduced: 2×10^−5 / (2×10^−5 + 0.99998 × 10^−5) = 0.667, and 1.4×10^−5 / (1.4×10^−5 + 0.99998 × 10^−5) = 0.583. 29 In the denominator, P(I) P(A | I) is the prevalence-weighted detection rate and P(¬I) P(A | ¬I) the prevalence-weighted false-alarm rate. In his scenario the second term is the larger one, and he concludes that the false alarm rate, not the detection rate, is the limiting factor. 29

The next case extends his example and is not in his paper: it uses a more familiar false-positive rate (his 66% and 58% figures used 0.001%), keeping the same unit: 100,000 events a day, two intrusions, sensitivity 70% and false-positive rate 0.1%. The detector raises about 0.7 × 2 = 1.4 true alarms and about 0.001 × 99,998 ≈ 100 false ones, so about 1.38% of alarms are real (1.4 / 101.4). On a balanced test set the same sensitivity and false-positive rate give an accuracy of (0.7 + 0.999) / 2 = 84.95%, a figure that says nothing about precision at this prevalence. Precision can be recalculated at a new prevalence only if the sensitivity and false-positive rate measured at a fixed threshold carry over to the new population; converting a single accuracy figure is not possible, because accuracy mixes the two error rates with the test set’s class mix. The same arithmetic applies wherever the thing sought is rare among the things scored.

Arp et al.: pitfalls of machine learning in security

Arp, Quiring, Pendlebury, Warnecke, Pierazzi, Wressnegger, Cavallaro and Rieck, “Dos and Don’ts of Machine Learning in Computer Security” (USENIX Security Symposium 2022), identify ten pitfalls and study 30 papers from top-tier security conferences over the previous ten years. They report that each of the 30 papers suffers from at least three pitfalls and that several pitfalls affect most of them. 4 They include P1 sampling bias, P2 label inaccuracy, P3 data snooping (training with data that would not be available in practice, including test, temporal and selective snooping), P4 spurious correlations (artifacts unrelated to the security problem drive the result), P6 inappropriate baseline, P8 base rate fallacy, P9 lab-only evaluation and P10 inappropriate threat model. 4 Each lets a sound algorithm look good in a paper and fail in operation. Separately, the study contacted 135 authors of the reviewed papers and received 49 responses, covering 13 of the 30 papers; on the specific pitfall questions, agreement between respondents and the study’s findings averaged 63%, varying by security area and pitfall. 4

Published classical baselines and scoring systems in security

The sources in this section are published benchmarks, baselines and one production scoring service, not audits of deployments.

Spam. The naive Bayes filters described earlier are the standard example of machine learning working on a security problem. Sommer and Paxson use spam detection as the model of a problem that suits classification. 28

EMBER. Anderson and Roth’s EMBER (2018) is a labelled benchmark of features extracted from 1.1 million Windows portable executable files: 900,000 training samples (300,000 malicious, 300,000 benign, 300,000 unlabeled) and 200,000 test samples. The baseline is a LightGBM gradient-boosted model with default settings (100 trees, 31 leaves per tree) on a vector of 2,351 features; the authors report a ROC AUC above 0.99911 and a detection rate above 92.99% at a false positive rate below 0.1% on the test set. They compared it with MalConv, a deep network that reads raw bytes, trained for ten epochs over ten days on two GPUs, which reached 92.2% detection at below 0.1% false positives, and concluded that featureless deep models had yet to eclipse models that use parsed features. The split is by time: files carry month-resolution dates that estimate when they were first seen, and the test set holds those dated November and December 2017. That addresses the temporal part of data snooping for this dataset. 30 It is a 2018 result on one dataset, and the paper gives no evidence about operational deployment.

EPSS. The Exploit Prediction Scoring System estimates the probability that a published vulnerability (a CVE) will see exploitation activity; FIRST describes the current score as a probability of exploitation within the next 30 days, produced with gradient-boosted trees implemented in XGBoost. 31 FIRST’s description of the current model adds that exploitation labels record only what was observed, since each data partner has bounded visibility, and that EPSS uses positive-unlabelled learning and calibrates scores against observed 30-day exploitation rates across the population. 31 The history is documented in the papers. The first version’s preprint (Jacobs, Romanosky, Edwards, Roytman and Adjerid, 2019) predicted exploitation in the twelve months after public disclosure and used a logistic regression with elastic-net feature selection. 10 The 2023 paper by Jacobs, Romanosky, Suciu, Edwards and Sarabi reports that the second version used XGBoost with the feature set expanded from 16 to 1,164 features and switched to predicting exploitation activity in the following 30 days; the third, with 1,477 features, raised the area under the precision-recall curve from 0.429 to 0.779, in the authors’ own evaluation. 32 The preprint dates from 2019; FIRST’s version history lists version 4 publishing from 17 March 2025 and version 5 from 15 June 2026. 33 Those v1 to v3 results are historical and do not describe the current model. The identifiers that EPSS scores are described in CVE, CWE and CAPEC: the enumerations underneath vulnerability management.

Isolation Forest. For anomaly detection Liu, Ting and Zhou proposed a method that, in their words, “explicitly isolates anomalies instead of profiles normal points”: an unusual point is separated from the rest by few random splits in random trees, so a short average path length marks an anomaly. Their abstract claims linear time complexity and favourable AUC and processing time against ORCA, LOF and random forests. 34 This is an algorithm paper with experiments, not a deployment report.

Evasion of linear and tree classifiers

A trained classifier is a function an adversary can probe. Kantchelian, Tygar and Joseph (2016) give two algorithms for computing evasions of tree ensembles such as boosted trees and random forests, one exact using a mixed-integer linear program and one fast using symbolic prediction. On a digit recognition task they report that both gradient boosted trees and random forests are extremely susceptible to evasions, and they harden a boosted model by adding evading instances to the training set of each boosting round, which they call adversarial boosting, without loss of predictive accuracy on that task. 35 How costly an evasion is depends on the threat model, on which feature changes are feasible for the attacker and on the metric used to measure the perturbation; the paper’s results are for its benchmark and the settings it tested. Attack catalogues are in MITRE ATLAS: what the AI attack matrix knows, and how it knows it.

Advice for choosing, evaluating or buying a classical-ML security product

Each request below is for evidence a reviewer can inspect.

  1. The label’s origin. Ask who or what produced the labels and what share came from the vendor’s own detections; results then depend on those reference labels. Check for label noise and for artifacts that correlate with the label without being the threat (Arp et al.’s P2 and P4). 4
  2. The split. Ask for the split dates and the grouping keys that keep related samples together. A random split can inflate scores when it violates the deployment chronology. EMBER’s time split is one pattern. 304
  3. Alarm counts at the threshold. Ask for sensitivity and false-positive rate at the same threshold on representative data, the expected alarms per day and analyst workload at your volume, and compute precision at your base rate: (prevalence × sensitivity) / (prevalence × sensitivity + (1 − prevalence) × false-positive rate). 29
  4. What an alert means. If the product says “anomalous”, ask what a person does next; Sommer and Paxson treat the semantic gap as a central obstacle. 28
  5. A baseline. Ask for a comparison with a gradient-boosted model and with a regularised logistic regression on data like yours (Arp et al.’s P6). 21254
  6. Adversarial testing. Ask whether evasion was tested against an adversary who can probe the product. 35
  7. Recent evidence. Ask for a recent labelled evaluation showing whether the current, possibly frozen, model still meets its operating target, and how drift is monitored. EMBER is a historical benchmark and says nothing about present performance; EPSS publishes scores daily while its model versions change over the years. 3033
  8. Scope. Prefer a narrow, checkable context; Sommer and Paxson say that the more crisply the operating context is defined, the better the promise of the results. 28
  9. Source of the numbers. Treat published benchmark numbers, including those here, as the authors’ numbers. 1

Annotated reference list

Entries give a reading location; the numbered notes carry full citations and links.

Conclusion

Nearest neighbours show what a model-free rule can and cannot do and where it breaks. Trees handle mixed and messy columns, and ensembles of them reduce their instability. Support vector machines show how margins and kernels give a nonlinear boundary, and EM shows how to estimate what cannot be observed, with a guarantee that is weaker than it first looks. On the benchmarks cited here, tuned tree ensembles are a strong tabular baseline, and on published benchmarks newer models lead mainly on smaller datasets or under larger tuning and ensembling budgets, while trees remain competitive elsewhere.

The security sources document specific risks: a low base rate can turn a good-looking detector into a stream of false alarms, labels and evaluation splits can inflate published results, anomalies are not attacks, and an adversary can probe a deployed model. Breiman’s essay and its critics still frame the choice. Held-out accuracy can judge a prediction, but a defender who must explain an alert, act on it and keep acting as conditions change also needs the understanding that Cox and Efron asked for.

Footnotes

  1. Leo Breiman, “Statistical Modeling: The Two Cultures” with comments by D. R. Cox and Brad Efron and others and the author’s rejoinder, Statistical Science 16(3), pp. 199 to 231, August 2001. DOI 10.1214/ss/1009213726. Copy with discussion. https://www.stat.cmu.edu/~ryantibs/journalclub/breiman_2001.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
  2. Breiman, “Statistical Modeling: The Two Cultures”, abstract, Project Euclid (archived snapshot), Statistical Science, August 2001. https://web.archive.org/web/20250103053602/https://projecteuclid.org/journals/statistical-science/volume-16/issue-3/Statistical-Modeling--The-Two-Cultures-with-comments-and-a/10.1214/ss/1009213726.full (opens in a new tab) ↩1 ↩2
  3. Gareth James, Daniela Witten, Trevor Hastie and Robert Tibshirani, An Introduction to Statistical Learning with Applications in R, first edition, seventh printing, Springer, 2013 (chapters 2, 4, 5, 6, 8, 9 and 10). https://www.statlearning.com/s/ISLR-Seventh-Printing.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12 ↩13 ↩14 ↩15 ↩16 ↩17 ↩18 ↩19 ↩20 ↩21 ↩22 ↩23
  4. Daniel Arp et al., “Dos and Don’ts of Machine Learning in Computer Security”, USENIX Security Symposium 2022; arXiv 2010.09470v2, 30 November 2021. https://arxiv.org/abs/2010.09470 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8
  5. T. M. Cover and P. E. Hart, “Nearest Neighbor Pattern Classification”, IEEE Transactions on Information Theory IT-13(1), pp. 21 to 27, January 1967. https://isl.stanford.edu/~cover/papers/transIT/0021cove.pdf (opens in a new tab) ↩1 ↩2
  6. R. A. Fisher, “The use of multiple measurements in taxonomic problems”, Annals of Eugenics 7(2), pp. 179 to 188, September 1936 (archive copy hosted for historical and academic purposes). https://lgross.utk.edu/Math589Fall2020/RAFisher1936measurementsFlowerTaxa.pdf (opens in a new tab) ↩1 ↩2
  7. Mehran Sahami, Susan Dumais, David Heckerman and Eric Horvitz, “A Bayesian Approach to Filtering Junk E-Mail”, AAAI Technical Report WS-98-05, 1998. https://cdn.aaai.org/Workshops/1998/WS-98-05/WS98-05-009.pdf (opens in a new tab) ↩1 ↩2 ↩3
  8. Paul Graham, “A Plan for Spam”, August 2002. https://www.paulgraham.com/spam.html (opens in a new tab) ↩1 ↩2
  9. Robert Tibshirani, “Regression Shrinkage and Selection via the Lasso”, Journal of the Royal Statistical Society, Series B 58(1), pp. 267 to 288, 1996. https://sites.stat.washington.edu/courses/stat527/s13/readings/j_royal_stat_soc_b1996.pdf (opens in a new tab) ↩1 ↩2
  10. Jay Jacobs, Sasha Romanosky, Benjamin Edwards, Michael Roytman and Idris Adjerid, “Exploit Prediction Scoring System (EPSS)”, arXiv 1908.04856, 2019. https://arxiv.org/abs/1908.04856 (opens in a new tab) ↩1 ↩2 ↩3
  11. J. R. Quinlan, “Induction of Decision Trees”, Machine Learning 1, pp. 81 to 106, 1986. https://hunch.net/~coms-4771/quinlan.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7
  12. Tianqi Chen and Carlos Guestrin, “XGBoost: A Scalable Tree Boosting System”, KDD 2016, San Francisco, 13 to 17 August 2016; arXiv 1603.02754v3, 10 June 2016. https://arxiv.org/abs/1603.02754 (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  13. Corinna Cortes and Vladimir Vapnik, “Support-Vector Networks”, Machine Learning 20, pp. 273 to 297, 1995. DOI 10.1007/BF00994018 (full-text copy; archived publisher abstract page at https://web.archive.org/web/20250101100925/https://link.springer.com/article/10.1007/BF00994018 (opens in a new tab)). https://homepages.math.uic.edu/~lreyzin/papers/cortes95.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10
  14. J. MacQueen, “Some methods for classification and analysis of multivariate observations”, Proceedings of the Fifth Berkeley Symposium on Mathematical Statistics and Probability, vol. 1, pp. 281 to 297, University of California Press, 1967. https://sci2s.ugr.es/keel/pdf/algorithm/congreso/1967-MacQueen-MSP.pdf (opens in a new tab) ↩1 ↩2
  15. A. P. Dempster, N. M. Laird and D. B. Rubin, “Maximum Likelihood from Incomplete Data via the EM Algorithm”, Journal of the Royal Statistical Society, Series B 39(1), 1977 (read before the Society, 8 December 1976). DOI 10.1111/j.2517-6161.1977.tb01600.x. https://cs.brown.edu/courses/csci1820/spring-2024/resources/ch4/Dempster_Laird_Rubin_1977.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  16. C. F. Jeff Wu, “On the Convergence Properties of the EM Algorithm”, Annals of Statistics 11(1), pp. 95 to 103, March 1983. DOI 10.1214/aos/1176346060. https://www.haowulab.org/teaching/statcomp/papers/EM_converge.pdf (opens in a new tab) ↩1 ↩2
  17. Leo Breiman, “Random Forests”, Statistics Department, University of California, Berkeley, January 2001. https://www.stat.berkeley.edu/~breiman/randomforest2001.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6
  18. Yoav Freund and Robert E. Schapire, “A Decision-Theoretic Generalization of On-Line Learning and an Application to Boosting”, Journal of Computer and System Sciences 55, pp. 119 to 139, 1997 (received 19 December 1996). https://www.face-rec.org/algorithms/Boosting-Ensemble/decision-theoretic_generalization.pdf (opens in a new tab) ↩1 ↩2
  19. Jerome H. Friedman, “Greedy function approximation: A gradient boosting machine”, Annals of Statistics 29(5), pp. 1189 to 1232, October 2001. DOI 10.1214/aos/1013203451 (archived Project Euclid abstract page; a scanned full-text copy is at https://www.cmi.ac.in/~madhavan/courses/dmml2025/literature/Friedman-Gradient-Boosting-Machine-2001.pdf). https://web.archive.org/web/20241230212544/https://projecteuclid.org/journals/annals-of-statistics/volume-29/issue-5/Greedy-function-approximation-A-gradient-boosting-machine/10.1214/aos/1013203451.full (opens in a new tab) ↩1 ↩2 ↩3
  20. Guolin Ke et al., “LightGBM: A Highly Efficient Gradient Boosting Decision Tree”, Advances in Neural Information Processing Systems 30, 2017. https://papers.nips.cc/paper_files/paper/2017/file/6449f44a102fde848669bdd9eb6b76fa-Paper.pdf (opens in a new tab) ↩1 ↩2
  21. Leo Grinsztajn, Edouard Oyallon and Gael Varoquaux, “Why do tree-based models still outperform deep learning on tabular data?”, arXiv 2207.08815, 18 July 2022. https://arxiv.org/abs/2207.08815 (opens in a new tab) ↩1 ↩2 ↩3
  22. Ravid Shwartz-Ziv and Amitai Armon, “Tabular Data: Deep Learning is Not All You Need”, arXiv 2106.03253v2, 23 November 2021. https://arxiv.org/abs/2106.03253 (opens in a new tab) ↩1 ↩2
  23. Noah Hollmann et al., “Accurate predictions on small data with a tabular foundation model”, Nature, 8 January 2025. https://www.nature.com/articles/s41586-024-08328-6 (opens in a new tab) ↩1 ↩2
  24. Noah Hollmann, Samuel Muller, Katharina Eggensperger and Frank Hutter, “TabPFN: A Transformer That Solves Small Tabular Classification Problems in a Second”, ICLR 2023; arXiv 2207.01848v6, 16 September 2023. https://arxiv.org/abs/2207.01848 (opens in a new tab) ↩
  25. Nick Erickson et al., “TabArena: A Living Benchmark for Machine Learning on Tabular Data”, NeurIPS 2025 Datasets and Benchmarks Track. https://papers.neurips.cc/paper_files/paper/2025/file/1697e3fb412da11dc9488249f9e7bbc9-Paper-Datasets_and_Benchmarks_Track.pdf (opens in a new tab) ↩1 ↩2 ↩3
  26. Prior Labs, “TabPFN-3.5: Technical Report”, arXiv 2609.17895, 15 September 2026 (developer-reported results). https://arxiv.org/abs/2609.17895 (opens in a new tab) ↩
  27. Dorothy E. Denning, “An Intrusion-Detection Model”, IEEE Transactions on Software Engineering SE-13(2), pp. 222 to 232, February 1987 (manuscript received 20 December 1985, revised 1 August 1986). 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
  28. 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; venue and year as listed on the author’s publications page). https://icir.org/robin/papers/oakland10-ml.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9 ↩10 ↩11 ↩12
  29. Stefan Axelsson, “The Base-Rate Fallacy and the Difficulty of Intrusion Detection”, ACM Transactions on Information and System Security 3(3), pp. 186 to 205, August 2000. https://www.profsandhu.com/cs6393_s20/p186-axelsson.pdf (opens in a new tab) ↩1 ↩2 ↩3 ↩4 ↩5
  30. Hyrum S. Anderson and Phil Roth, “EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models”, arXiv 1804.04637v2, 16 April 2018. https://arxiv.org/abs/1804.04637 (opens in a new tab) ↩1 ↩2 ↩3 ↩4
  31. FIRST, “EPSS: how it works” (model description), accessed 26 November 2026. https://www.first.org/epss/how-it-works (opens in a new tab) ↩1 ↩2
  32. Jay Jacobs, Sasha Romanosky, Octavian Suciu, Ben Edwards and Armin Sarabi, “Enhancing Vulnerability Prioritization: Data-Driven Exploit Predictions with Community-Driven Insights”, arXiv 2302.14172v2, 15 June 2023. https://arxiv.org/abs/2302.14172 (opens in a new tab) ↩1 ↩2
  33. FIRST, “EPSS data and statistics” (model version history), accessed 26 November 2026. https://www.first.org/epss/data (opens in a new tab) ↩1 ↩2
  34. Fei Tony Liu, Kai Ming Ting and Zhi-Hua Zhou, “Isolation Forest” (author-hosted copy). https://cs.nju.edu.cn/zhouzh/zhouzh.files/publication/icdm08b.pdf (opens in a new tab) ↩1 ↩2
  35. Alex Kantchelian, J. D. Tygar and Anthony D. Joseph, “Evasion and Hardening of Tree Ensemble Classifiers”, arXiv 1509.07892v2, 27 May 2016. https://arxiv.org/abs/1509.07892 (opens in a new tab) ↩1 ↩2 ↩3