Manuscript Offprint
arXiv:2610.41387Anomalies as Residuals: Cauchy Displacement Networks
Yang Cao
School of Computing and Information Technology,
Great Bay University;
Tsinghua Shenzhen International Graduate School,
Tsinghua University
China
Zihao Guo
Institute for Advanced Research,
Great Bay University;
China
Abstract—Neighbourhood-based detectors such as KNN, LOF and LUNAR remain among the most accurate methods for tabular anomaly detection, but they compare every query with the stored training set, so their inference cost and memory grow with the data and the data must be kept at deployment. We ask whether the neighbourhood geometry these detectors exploit can be compiled into a small network that scores a query with a single forward pass. We propose the Cauchy Displacement Network (CDN), which regresses each normal point onto the mean of its nearest training neighbours with a single-hidden-layer network of Cauchy activations and scores a query by the length of its predicted displacement. This displacement is an empirical mean-shift vector, whose fixed-radius population counterpart locally approximates a scaled gradient of the log density. We show that Cauchy units exactly represent the score fields of a structured family of Student- expert densities, and establish a constructive approximation bound for the corresponding population neighbourhood-mean map using a single-hidden-layer Cauchy network. We further show that the bounded network output guarantees asymptotically linear residual-score growth along every fixed direction. On 46 benchmark datasets against 28 baselines, CDN obtains the best mean rank under both AUC-ROC and AUC-PR, while scoring queries in a few milliseconds on a single CPU thread, up to three orders of magnitude faster than neighbourhood-based detectors, with a model whose size does not depend on the training set.
Index Terms—anomaly detection, Cauchy function, mean shift
I. INTRODUCTION
Anomaly detection identifies observations that deviate from the dominant patterns of a dataset and supports applications such as fraud detection, intrusion detection, log monitoring and industrial quality control [1]–[5]. In many of these applications a detector is trained once on historical normal data and then deployed to score new records over a long period, often on devices with limited computation or in settings where the training data cannot be retained. The cost that matters at deployment is therefore the cost of scoring a query, together with the memory and data that must be kept to compute that score.
On tabular data, neighbourhood methods such as KNN [6], LOF [7] and LUNAR [8] are strong baselines [9]. These methods require access to reference data at inference time. Under brute-force search, scoring a query involves distance evaluations and arithmetic operations. Reconstruction and one-class networks [10]–[13] avoid this dependency but can lag behind neighbourhood methods, while recent diffusion and flow-matching detectors [14], [15] introduce more expensive models. This creates an accuracy–deployment trade-off.
In data-intensive monitoring systems, historical records may be maintained in a central repository, while anomaly scoring is performed by services with limited memory or strict latency requirements. Reference-based detectors must either access these records at query time or maintain a searchable copy of them. Our goal is to remove this deployment dependency while retaining the local geometric information used by neighbourhood detectors.
This raises the question of whether the neighbourhood geometry exploited by these detectors can be encoded into a compact parametric model, allowing queries to be scored without retaining the training data. A natural alternative is self-reconstruction, where a network is trained to reproduce normal inputs. However, the reconstruction objective does not explicitly enforce neighbourhood geometry. When the hypothesis class is sufficiently expressive, an identity-like mapping may achieve a small training loss while also reconstructing unseen anomalies accurately. Although bottlenecks and regularisation can mitigate this effect, they do not directly impose the local geometric supervision provided by neighbourhood statistics.
We propose the Cauchy Displacement Network (CDN), which combines neighbourhood-mean regression with a compact single-hidden-layer Cauchy architecture. During training, each normal point is mapped to the mean of its k nearest training neighbours rather than to itself. The identity map generally has nonzero loss for this target, encouraging the network to learn local neighbourhood geometry. At test time a query is scored by the length of the displacement between the query and the network output, which requires one forward pass of a single-hidden-layer network and no neighbour search. The network uses the Cauchy activation of XNet [16], a rational function derived from the Cauchy integral formula. We refer to the discrepancy between a query and its predicted
Corresponding author.
neighbourhood mean as its residual. Normal observations are expected to produce smaller residuals, whereas anomalous observations may produce larger ones.
This design has a direct statistical interpretation. The displacement from a point to the mean of its neighbours is the mean-shift vector, which is approximately proportional to the gradient of the log density [17], [18], that is, the score function of the data distribution. CDN therefore learns a neighbourhood-mean mapping whose displacement is locally related to the score field, and uses the magnitude of the predicted displacement as its anomaly score. We further show that the Cauchy activation is particularly relevant to this setting because its rational form exactly represents the score fields of a structured family of Student-t expert [19] densities. We further establish a constructive approximation bound for the corresponding population neighbourhood-mean map. In addition, the bounded output of the direct Cauchy network ensures asymptotically growing residual scores for sufficiently distant queries. This latter property is shared by other bounded-activation architectures, whereas the exact score representation exploits the specific rational structure of Cauchy units.
The main contributions of this work are to:
- Propose CDN, which regresses each normal point onto the mean of its nearest training neighbours with a single-hidden-layer Cauchy network and scores a query by the length of its displacement in one forward pass, without storing the training data or searching for neighbours.
- Establish a statistical interpretation of neighbourhood-mean regression through a fixed-radius population mean-shift expansion, and show that Cauchy units exactly represent the density scores of products of Student-t experts.
- Derive a constructive approximation bound for the corresponding population neighbourhood-mean map, establish conditional preservation of anomaly-score margins, and prove asymptotically linear far-field growth of the residual score.
- Evaluate CDN on 46 benchmark datasets against 28 baselines, where it obtains the best mean rank under both AUC-ROC and AUC-PR while scoring queries up to three orders of magnitude faster than neighbourhood-based detectors.
A. Classical Detectors
Distance-based detectors use nearest-neighbour distances [6], [20], sometimes approximated by Sampling [21]. Density-based methods include LOF [7], its variants [22], [23], and FeatureBagging [24]; ABOD uses neighbour angles [25]. Statistical alternatives include HBOS [26], COPOD [27], ECOD [28], GMM [10], PCA [29], and QMCD [30]. Isolation methods extend iForest [31], [32] through oblique splits [33], hashing [34], hyperspheres [35], [36] or distributional kernels
[37]–[39]. Unlike reference-based scorers, CDN needs only trained parameters and standardisation statistics.
B. Deep Detectors
Reconstruction-based detectors use AE [10], VAE [11] or DAGMM [12]; one-class methods include OCSVM [40], SVDD [41] and DeepSVDD [13]. Adversarial approaches include AnoGAN [42], ALAD [43], GANomaly [44] and SO-GAAL [45]. Self-supervised methods include GOAD [46], ICL [47], SLAD [48] and DIF [49]. LUNAR [8] learns over neighbour distances but still searches at inference. Diffusion and flow-based methods [14], [15] use more elaborate generative training. CDN instead combines geometric supervision with single-pass, data-free inference.
C. Mean Shift and Score Functions
Mean shift moves a point to the weighted mean of its neighbours and was introduced as an estimator of the density gradient [17]; it is widely used for mode seeking and clustering [18]. The mean-shift outlier detector (MOD) [50] shifts each point to the mean of its nearest neighbours for a few iterations and uses the distance between the original and the shifted position as the outlier score. Such methods compute the shift nonparametrically and therefore require a neighbour search over the stored data for every query, repeated at each iteration. In representation learning, denoising autoencoders were shown to learn the score function of a smoothed data density [51]. CDN connects neighbourhood-based anomaly detection with parametric regression. It computes one-step nearest-neighbour means for normal training samples and uses them as supervised targets for a compact network. Unlike MOD, which evaluates iterative nonparametric shifts for each query, CDN predicts the neighbourhood mean through a single forward pass without test-time neighbour searches.
D. Cauchy Activation and XNet
XNet [16] introduces the Cauchy activation, a rational function obtained by discretising the Cauchy integral formula, and shows that networks built from it approximate functions with sharp local features efficiently. A single-hidden-layer XNet achieves fast approximation rates and compares favourably with Kolmogorov-Arnold networks [52], and Cauchy-type architectures have been applied to compact, data-efficient learning [53] and to high-dimensional partial differential equations [54]. In this work, the Cauchy activation is motivated not only by its approximation capability but also by its structural compatibility with density-score fields. In particular, its rational components match the logarithmic derivatives of Student-t-type expert factors, enabling the exact representation established in Proposition 2.
III. PROBLEM FORMULATION
Let be a training set drawn from the distribution of normal data with density . A detector learns a scoring function from and assigns higher scores to anomalies. At test time it receives queries that may be normal or anomalous and is evaluated by how well ranks anomalies above normal queries. This is the semi-supervised, or one-class, setting adopted in recent tabular anomaly detection benchmarks [9], [14]. Beyond accuracy, we are interested in the cost of scoring a query and in the state that must be kept after training. We call a detector data-free at inference if can be evaluated without access to .
Throughout the paper, denotes the Euclidean norm, denotes the indices of the nearest neighbours of in (excluding itself when ), and is the distance from to its -th nearest neighbour.
IV. CAUCHY DISPLACEMENT NETWORKS
Fig. 1 gives an overview of CDN. Training has two stages. The first stage computes, once and offline, a regression target for each normal point: the mean of its k nearest training neighbours. The second stage trains a single-hidden-layer network with Cauchy activations to map each point to its target. At inference, the network maps a query to a predicted neighbour mean, and the anomaly score is the distance between the query and this prediction. The training data and the neighbour index are discarded after training. This section motivates the design (Section IV-A) and then describes the targets, the network, the anomaly score, the training procedure and the complexity.
A. Motivation: Beyond Self-Reconstruction
A reconstruction-based detector, such as an autoencoder (AE), trains a network to minimise and scores a query by . The identity map attains the minimum value zero. Whenever the hypothesis class can represent or closely approximate the identity, the reconstruction objective admits an identity-like solution with a small training loss. Consequently, minimising this objective alone does not necessarily encourage the model to learn anomaly-sensitive structure. Such a solution may also reconstruct unseen anomalies accurately. This happens readily on tabular data. A single hidden layer of width represents the identity exactly with ReLU units, since , Cauchy units approximate it on any bounded region (Lemma 1), and benchmark datasets often have only a few to a few dozen features, so a hidden width of 64 or 128 is wider than the input on most of them. Bottleneck architectures and regularisation can mitigate this shortcut, although their effectiveness depends on the architecture and data distribution. Our motivation concerns the absence of explicit neighbourhood supervision in self-reconstruction, rather than a universal failure of autoencoders.
Fig. 2(b) illustrates the problem on a two-dimensional example with two clusters. A network trained to reconstruct its input assigns low scores to a broad region that contains both clusters, the gap between them and a wide margin around them. The network has learned an approximation of the identity on this region rather than the shape of the normal data.
TABLE I
NEIGHBOUR-MEAN TARGETS ON FOUR ONE-DIMENSIONAL POINTS WITH , IS THE DISTANCE TO THE SECOND NEAREST NEIGHBOUR, I.E. THE SCORE OF THE KNN DETECTOR.
| 0 | 1.5 | 1.5 | 1.5 | 2 | |
| 1 | 1.0 | 0.0 | 0.0 | 1 | |
| 2 | 0.5 | -1.5 | 1.5 | 2 | |
| 5 | 1.5 | -3.5 | 3.5 | 4 |
B. Neighbour-Mean Targets
CDN keeps the reconstruction architecture but replaces the target. For each training point we define
where excludes itself. The difference is the -nearest-neighbour mean-shift vector of [17], [18]. When a point lies in a locally balanced neighbourhood, the neighbouring observations may approximately cancel in the mean-shift vector, leading to a small displacement. Near the boundary of a cluster, asymmetric neighbourhoods can produce a displacement towards denser regions. The displacement magnitude depends on both neighbour distances and directions, and is not determined by the neighbourhood radius alone.
Table I gives a small example. The isolated point 5 has the longest shift. The point 1 has one neighbour on each side, their mean coincides with the point, and its shift vanishes, although its neighbour distance is half that of the points 0 and 2. The shift therefore separates the interior of the data from its fringe more sharply than the neighbour distance does, and its sign points towards the data: positive at the left end, negative at the right. CDN is trained to reproduce the column and scores a point by the column .
Neighbourhood-mean regression changes the role of the identity map. Let . For the identity map,
Thus, whenever at least one training point has a nonzero mean-shift displacement. Unlike self-reconstruction, the proposed targets explicitly encode the directions and magnitudes of local neighbourhood shifts. Minimising this objective encourages the network to learn such displacement information from normal training samples. However, accurate fitting of these targets and generalisation to unseen queries depend on the network capacity and optimisation, and are not guaranteed by the objective alone.
Two design choices deserve comment. First, the targets use the plain neighbour mean, without distance weights or iteration as in mean-shift clustering [18] or MOD [50]. We adopt a single step to obtain a simple, fixed regression target without iterative mode seeking. Whether one step provides sufficient

Fig. 1. Overview of CDN. Training: each normal point is paired with the mean of its nearest training neighbours, and a single-hidden-layer network with Cauchy activations regresses the point onto this target. Inference: a query is scored by the length of the displacement between the query and the network output, using only the trained parameters.

Fig. 2. Anomaly scores on a two-dimensional example. White dots are normal training points from two clusters; red stars are example anomalies. The colour at each location is the score a query there would receive, rescaled to within each panel (dark: low, judged normal; bright: high, judged anomalous). (a) Nonparametric mean shift , which needs the training data and a neighbour search for every query. (b) The same Cauchy network trained to reconstruct its input: the low-score region covers both clusters and a large empty area around them. (c) CDN: the low-score region follows the clusters as in (a), using only the network. All networks use the configuration of Section IV-E.
anomaly-discriminative information depends on the data distribution and is evaluated empirically. Second, the targets are fixed before training and computed with exact search. Their cost is paid once, and the size of the neighbourhood is the only parameter they introduce.
C. Network Architecture and Cauchy Activation
We adopt a single-hidden-layer XNet [16] to learn the neighbourhood-mean mapping:
where , , , , and denotes the hidden width.
The Cauchy activation is motivated by the Cauchy integral formula for analytic functions,
For real and with , the Cauchy kernel satisfies
Up to constant factors, its real and imaginary parts are and with , which motivate these rational basis functions. Their trainable linear combination yields the Cauchy activation [16]
where are trainable parameters for each hidden unit, and is a small constant for numerical stability.
The activation contains two complementary components. Writing , the odd component changes sign at , attains extrema at , and decays as for large . It therefore provides a sign-changing response along the projection coordinate , with algebraically decaying tails away from the corresponding hyperplane. The even component provides a localised response centred on the same hyperplane, with amplitude and algebraically decaying tails. The trainable scale parameter allows different units to respond to structures at different scales.
The population mean-shift displacement is locally related to the gradient of the log density, and the odd rational component of the Cauchy activation matches the logarithmic derivatives of Student-t expert factors. As shown in Proposition 2, a single hidden layer of Cauchy units can represent the score field of a structured family of Student-t expert densities exactly. Moreover, the boundedness of the Cauchy activations ensures that the network output remains within a bounded distance of , yielding the far-field anomaly-score guarantee in Proposition 5.
Algorithm 1 Training and scoring with CDN
Require: training set , neighbourhood size , hidden width , steps , batch size
1: Standardise with its mean and standard deviation
2: for to do
3: {excluding }
4: end for
5: Initialise ; set
6: for to do
7: Draw a mini-batch of indices uniformly with replacement
8:
9: Update with one Adam step on
10: end for
11: Discard and the targets; keep and the standardisation statistics
Ensure: scoring function for a standardised query
We use the direct form (3) rather than . A bounded skip-connected displacement yields a bounded residual score , whereas a bounded-output direct network produces diverging residuals as (Section V-E). The one-hidden-layer architecture also enables inference.
D. Anomaly Score and Inference
The anomaly score of a query is the length of its predicted displacement,
For a query in a well-covered normal region, a successfully fitted network is expected to predict a nearby neighbourhood mean, yielding a small residual score. Near the fringe of a normal region, larger displacements may arise from asymmetric neighbourhoods. Such behaviour is not guaranteed for every density or unseen query. For queries sufficiently far from the bounded range of the network output, the residual score necessarily grows, as established in Proposition 5. Fig. 2(c) shows the result on the two-cluster example: the low-score region follows the clusters closely, unlike the self-reconstruction network in Fig. 2(b), and the anomaly score increases steadily away from the data. The nonparametric mean shift in Fig. 2(a) also follows the clusters but requires the training data and a neighbour search for every query.
Evaluating (7) needs only the parameters and the standardisation statistics. Inference is a batch of two matrix products and an elementwise rational function, so it vectorises well on CPUs and GPUs and is independent of the size of the training set.
E. Training Procedure
Algorithm 1 summarises the procedure. Features are standardised to zero mean and unit variance with statistics of
TABLE II
COST OF SCORING ONE QUERY AND MEMORY KEPT AFTER TRAINING, ASSUMING BRUTE-FORCE NEIGHBOUR SEARCH. : TRAINING SIZE; : DIMENSIONALITY; : HIDDEN WIDTH OF CDN; : NUMBER OF SHIFT ITERATIONS OF MOD; : NUMBER OF NETWORK PARAMETERS.
| Method | Time per query | Memory at inference |
|---|---|---|
| KNN [6] | ||
| LOF [7] | ||
| MOD [50] | ||
| LUNAR [8] | ||
| AE [10] | ||
| CDN |
the training set, and the same transformation is applied to queries. The targets are computed with an exact -nearest-neighbour search on the standardised data. The network is trained with Adam, learning rate and weight decay on all parameters, for a fixed budget of steps with mini-batches of points drawn uniformly with replacement. Once the neighbour-mean targets have been computed, the neural-network optimisation cost is independent of the training-set size for fixed training steps and mini-batch size. However, the end-to-end training cost still depends on the dataset size through neighbour-search target construction. The linear layers use the default initialisation of PyTorch, and the activation parameters are initialised to and for every unit. We use and on all datasets, without per-dataset tuning; Section VI-F shows that the results are stable over a range of these settings.
F. Complexity
Computing the targets requires one -nearest-neighbour search over , which costs with brute force and can be reduced with tree-based or approximate indices. After the targets have been computed, network optimisation costs , independent of the training-set size for fixed and . The model has parameters: in the linear layers and in the activations. For and this is 3,082 parameters, whereas a neighbour-based detector trained on points keeps coordinates. Table II compares the cost of scoring one query. CDN and AE are the only methods in the table whose inference cost does not grow with , and CDN does so with a single hidden layer and a fixed width.
V. THEORETICAL ANALYSIS
This section explains the statistical meaning of the neighbourhood-mean target and the representational role of Cauchy activations in CDN. We first relate the empirical KNN displacement to graph geometry and the population density score. Student- distributions are a standard heavy-tailed model for data with outlying observations [55], accommodating observations concentrated around characteristic regions with potentially anisotropic variation. Motivated by this connection, we consider a tractable class of Student--type expert densities and show that their score fields admit exact representations by
Cauchy units. We then establish single-layer approximation guarantees and error bounds for the neighbourhood-mean mapping. Finally, we analyse anomaly-score approximation and separation, and the network's behaviour far from the training data.
A. Neighbourhood Mean Shift and Density Geometry
Let be the matrix of normal training samples, each in , and let be the mean of the nearest neighbours of (excluding itself). Write for the empirical mean-shift displacement. Define as the adjacency matrix of the directed -nearest-neighbour graph, as its row-stochastic transition matrix, and as the random-walk Laplacian, where is the identity matrix. Then
A network that fits its targets exactly therefore scores each training sample by the norm of the graph-Laplacian residual of the coordinate functions. This relates the supervision in CDN to local data geometry, although the magnitude of a graph-Laplacian residual does not universally distinguish high- and low-density regions.
Let denote the normal-data density, the ball of radius , and the corresponding population neighbourhood-mean map:
whenever the denominator is positive. Its displacement is .
The following classical mean-shift relation [17] concerns the population mean with fixed radius r.
Proposition 1 (Mean shift and density gradient). Let p be twice continuously differentiable in a neighbourhood of x with . Then
Proof: Set , where . Taylor expansion gives . Let be the volume of the unit ball in , and let be the identity matrix. By symmetry,
Consequently,
Dividing the two expressions and using proves the claim.
Proposition 1 shows that the population displacement is locally proportional to the score field . For a query , let be the distance to its th nearest normal sample and the displacement of the associated empirical neighbour mean. Formally replacing the fixed radius by suggests . The anomaly score of CDN thus combines the neighbourhood radius, which underlies KNN-based anomaly detection [6], and the magnitude of the density score. Neighbourhood-mean regression can therefore be interpreted as score-function estimation with data-adaptive bandwidth, conceptually related to denoising autoencoders and score matching [51]. This interpretation is heuristic for finite-sample KNN targets, whose sampling errors are not covered by Proposition 1.
Remark 1 (Stationary points of the density). The leading mean-shift term vanishes at any stationary point of p, not only at normal density modes. In particular, low-density gaps between symmetric clusters may have . Thus a displacement-based population score need not assign a large value to every low-density point. Fig. 2 illustrates such a gap; the global far-field guarantee in Proposition 5 concerns sufficiently distant queries and does not eliminate this local limitation.
B. Cauchy Representation of Structured Normal Densities
In practical one-class anomaly detection, normal observations often occupy restricted characteristic regions, while their distributional parameters, directional scales, and tail behaviour are unknown. As a tractable modelling assumption for theoretical analysis, we consider a normal density constructed from Student-t-type factors [19]. Such factors provide heavy-tailed, direction-dependent profiles; the product family is not asserted to describe most tabular benchmarks or arbitrary skewed or multimodal densities. Crucially, CDN does not fit this parametric density, nor does it require its parameters to be known: the assumption identifies a structured family of score fields against which the Cauchy architecture can be analysed.
Proposition 2 (Exact representation of Student-t expert score fields). Suppose the normal density is
where is the number of expert factors, are projection vectors, are offsets, are shape parameters, are squared scales, and is the normalising constant. Normalisability ( ) is assumed, not implied by . Then Cauchy units in (3) represent exactly on .
Proof: Writing , direct differentiation gives
For unit , choose , , and . Set the rows of to , the entries of to , , and . The resulting network output is exactly (12). ■
For example, the scalar profile is represented exactly by one Cauchy unit. On an interval containing its turning points, it cannot be represented exactly by a single affine transformation of a tanh or ReLU unit, since such a scalar unit is monotone. This establishes a unit-level exact representation advantage rather than a general lower bound on the error or width of larger networks using other activation functions. Moreover, Proposition 2 concerns the score field, whereas CDN predicts the complete neighbourhood mean . We next bridge that distinction without modifying the direct network architecture.
C. One-Layer Approximation of Neighbourhood Means
For sufficiently small , Proposition 1 suggests the decomposition . The score component can be represented by Proposition 2, while the identity component must also be realised by Cauchy units because (3) contains no explicit skip connection.
Lemma 1 (Identity approximation). Let be a bounded input region with . For any auxiliary Cauchy scale , there is a single-hidden-layer Cauchy network of width such that
In particular, this error can be made arbitrarily small by increasing while keeping the width equal to d.
Proof: The scalar function is a Cauchy unit with , , and . For ,
Using one such unit per coordinate gives . Summing the squared coordinate errors proves (13).
Proposition 3 (Constructive one-layer neighbourhood-mean error bound). Let be compact. Suppose satisfies (11) and has bounded derivatives up to order four on the closed -neighbourhood of , where , and is bounded away from zero there. Then there exists a finite constant (depending on , , , and ) such that for every and , a single-hidden-layer Cauchy network with at most hidden units satisfies
Proof: Put and expand to third order. In the numerator of , multiplication by makes the first-order Taylor term the leading nonzero contribution; the third-order term is of order . The zeroth- and second-order terms vanish by symmetry. Uniformly for ,
Since has a uniform positive lower bound, their ratio yields
By Proposition 2, is represented exactly by Cauchy units. By Lemma 1, uses units to approximate the identity. Concatenating the two groups of hidden units gives a direct one-hidden-layer network of width at most . The triangle inequality, (13), and (15) imply (14).
This proposition exploits the Student-t expert structure: the score component is represented exactly, while the error arises from identity approximation and Taylor truncation. For fixed , the upper bound need not vanish as , although this does not imply a positive lower bound on the optimal approximation error. The result is a constructive existence guarantee for a network of width at most . It does not establish the approximation error of the fixed-width architecture used in experiments, nor the error of parameters obtained by gradient-based training. In particular, the theorem concerns the population fixed-radius map under the Student-t expert assumption, not the finite-sample KNN regression targets used by CDN.
At fixed , arbitrary accuracy follows with sufficient width. If is continuous on the closed -neighbourhood of compact and all radius- balls have positive probability mass, then is continuous. Since Cauchy activations are continuous and non-polynomial, universal approximation [56] ensures that, for every , some finite-width network satisfies
This qualitative result supplies neither a width-error rate nor an optimisation guarantee.
D. Anomaly-Score Approximation and Separation
For a compact region and an approximate neighbourhood map , define the population score and its approximation .
Proposition 4 (Score approximation and conditional separation). Let . If , then
Furthermore, if the normal region and anomalous region are subsets of and satisfy
(18) for constants and , then
Proof: The reverse triangle inequality yields
Thus and . The condition implies strict separation.
For the constructed network in Proposition 3, one can take . By the universal approximation property, a sufficiently wide Cauchy network can make arbitrarily small at any fixed . Both statements concern approximation of a population score; the positive margin is an additional hypothesis and is not implied by the Student-t assumption alone. In particular, the stationary-point limitation of Remark 1 remains.
E. Behaviour Far from the Data
Proposition 5 (Anomaly score equals distance to a learned centre up to a bounded term). Let be the direct network (3) with Cauchy units (6), and set and . Here denotes the spectral norm. Define
Then, for every ,
Consequently, as , and for every fixed and unit vector ,
Proof: For any , and . Thus , so . The reverse triangle inequality gives (21). Dividing by along a ray and using proves (22).
Proposition 5 holds for any finite trained parameters without assumptions on the data distribution. It shows that the network output remains in a bounded ball centred at the learned output bias , and that the residual score grows asymptotically along every fixed direction. In particular, CDN cannot globally reproduce the unbounded identity map. Bounded activations such as tanh share this far-field guarantee; the specific role of Cauchy units is their simultaneous structural match to the Student-t expert score field in Proposition 2.
Remark 2 (Contrast with ReLU and skip-connected networks). A finite ReLU network is piecewise affine and can reproduce the identity map on using 2d ReLU units, since coordinatewise. Consequently, no analogous architecture-wide bounded-output guarantee in Proposition 5 holds for unrestricted ReLU networks. In contrast, for a skip-connected architecture

Fig. 3. Anomaly score far from the data on the two-cluster example of Fig. 2. Queries lie on 360 rays from the centre of the standardised data; the horizontal axis is the distance along the ray. (a) Median score over the rays. (b) Minimum score over the rays. All networks use the configuration of Section IV-E; the dotted line is the distance itself.
with bounded , the anomaly score is and remains bounded for arbitrarily distant inputs. These effects motivate the direct bounded-output parameterisation used by CDN.
Fig. 3 illustrates the far-field behaviour established in Proposition 5 using the two-cluster example of Fig. 2. Consistent with the theoretical result, the anomaly score of CDN exhibits approximately linear growth at large distances, with an asymptotic slope of one along every fixed direction. Over the evaluated queries, the deviation from does not exceed 2.8, well within the theoretical bound computed from the trained parameters.
The tanh network exhibits similar far-field growth because its activation is also bounded, although with a larger offset in this experiment. In contrast, the ReLU network shows slower score growth over the plotted range, with approximate slopes of 0.5 and 0.24 for the median and minimum score curves, respectively. The skip-connected network produces nearly constant scores over the same range. These observations illustrate the effect of network parameterisation on far-field scoring behaviour, without implying monotonic score growth at every finite distance.
VI. EXPERIMENTS
A. Experimental Setup
Datasets. We use 46 tabular datasets from ADBench [9]. Let denote the total number of samples in each dataset before splitting, including both normal and anomalous observations, while denotes the number of normal training samples as defined in the problem formulation. The datasets range from 80 to 619,326 samples and from 3 to 1,555 features, with anomaly ratios between 0.03% and 39.9%; Table III reports and for each dataset. Following the semi-supervised protocol, the first half of the normal samples of each dataset forms the training set, and the test set contains the remaining normal samples and all anomalies. Features are standardised with statistics of the training set for all methods.
Baselines. We compare with 28 baselines. Classical methods: KNN [6], LOF [7], PCA [29], GMM [10], iForest [31],

Fig. 4. Rank distributions over 46 datasets (lower is better). Methods are sorted by mean rank, shown below each name.
iNNE [35], ADERH [36], Sampling [21], HBOS [26], ECOD [28], COPOD [27], QMCD [30] and the mean-shift outlier detector MOD [50], which is the nonparametric counterpart of CDN; we use the same as CDN and the original three shift iterations, and adapt it to the semi-supervised setting by shifting each query towards the mean of its nearest neighbours in the training set, which is kept fixed. Deep methods: AE [10], VAE [11], DeepSVDD [13], DAGMM [12], ALAD [43], GANomaly [44], SO-GAAL [45], LUNAR [8], DIF [49], GOAD [46], ICL [47], SLAD [48], DDPM and DTE-C [14], and TCCM [15]. Implementations are taken from PyOD [57] and the official repositories, with the default hyperparameters of the original papers, following ADBench [9]. CDN uses the single configuration of Section IV on all datasets.
Metrics. We report AUC-ROC and AUC-PR, the latter computed as average precision. Methods with randomness are run five times with different random seeds and averaged; deterministic methods are run once. We also report the rank of each method on each dataset. Experiments run on a machine with an AMD Ryzen 9 9950X CPU, 128 GB of memory and an NVIDIA GeForce RTX 4090 GPU.
B. Overall Performance
Tables III and IV report the results on each dataset, and Fig. 4 shows the distribution of ranks. CDN has the best mean rank under both metrics and the highest average AUC-ROC, followed by a group of neighbourhood-based detectors, namely MOD, KNN, iNNE and LUNAR. Under AUC-PR, its average equals that of MOD and exceeds that of KNN but is below that of LUNAR. This gap comes from optdigits, smtp and glass, and above all from optdigits; without these three datasets the two averages differ by less than 0.1 points. Since the mean rank weighs every dataset equally, it is the more reliable summary here. Unlike KNN, MOD, and LUNAR, CDN neither retains the training set nor performs neighbour searches at inference time. CDN also clearly improves on AE and VAE, the reconstruction-based detectors that, like CDN,
are data-free at inference. The ablation in Section VI-C isolates the contribution of the neighbour-mean target.
MOD is a particularly relevant comparator because it evaluates nearest-neighbour mean-shift displacements nonparametrically. However, the evaluated MOD configuration uses three shift iterations, whereas CDN is trained on one-step nearest-neighbour means. Thus, this comparison evaluates related detection strategies rather than exact regression of MOD's final multi-step output. CDN has a better mean rank than MOD under both metrics and the same or a higher average, while replacing its per-query neighbour searches with one forward pass of a small network: the displacement field that MOD recomputes for every query can be learned once and evaluated without the training data.
C. Ablation Study
Table V changes one component of CDN at a time, keeping the architecture, the training budget and all other settings fixed.
Activation. Replacing the Cauchy activation by ReLU or tanh lowers both metrics. The largest drop comes from ReLU under AUC-PR (3.5 points), concentrated on http, fraud, land-sat, donors and cardio. This is consistent with the Remark 2: an unbounded ReLU network can let its prediction follow a query that lies far from the data. The bounded tanh activation is closer to CDN, in line with the observation that the guarantee of Proposition 5 holds for bounded activations, and the Cauchy activation remains better under both metrics.
Target. Training the same network to reconstruct its input instead of the neighbour mean lowers the average AUC-ROC by 1.1 points and worsens the mean rank under both metrics. The neighbour-mean target therefore contributes beyond the bounded activation alone, as the two-dimensional example in Fig. 2 illustrates.
Parameterisation. Predicting the displacement through a skip connection, with anomaly score , causes the largest degradation: 8.9 points in AUC-ROC and 18.9 points in AUC-PR, with collapses on Lymphography, musk and WDBC. As explained in Section V-E, a bounded makes follow the query at large distances, preventing the residual score from growing without bound. These results demonstrate the importance of the direct parameterisation under our experimental configuration. They are also consistent with the far-field analysis: a bounded displacement network yields a bounded residual score, whereas the direct bounded-output network produces residual scores that diverge for sufficiently distant queries.
D. Anomaly Types
ADBench [9] distinguishes four types of anomalies. Global anomalies lie far from all normal data. Local anomalies lie close to the normal data but outside the region occupied by their neighbourhood. Clustered anomalies form a compact group of their own. Dependency anomalies take a normal value in every feature but violate the relation between features. Fig. 5 shows one two-dimensional example of each type: a Gaussian cluster surrounded by scattered anomalies, two
TABLE III AUC-ROC (×100) ON 46 DATASETS WITH THEIR TOTAL SAMPLE SIZE N AND DIMENSIONALITY d. BEST IN BOLD, SECOND BEST UNDERLINED. Classical Deep Dataset N d KNN LOF PCA GMM iForest iNNE ADERH Sampl. HBOS ECOD COPOD QMCD MOD AE VAE DSVDD DAGMM ALAD GANom. SO-GAAL LUNAR DIF GOAD ICL SLAD DDPM DTE-C TCCM CDN ALOI 49534 27 51.0 48.8 54.0 54.6 51.3 54.1 53.5 52.8 52.2 51.7 49.5 51.0 50.3 53.2 53.5 49.3 51.9 50.7 52.4 55.4 50.7 53.8 47.3 47.5 50.9 50.6 50.6 50.5 52.9 annthyroid 7200 6 92.8 88.6 85.2 84.9 91.0 92.8 89.1 88.5 66.0 78.4 76.8 73.9 91.8 82.0 89.2 67.4 71.3 55.7 60.7 76.7 87.5 74.6 81.2 78.4 90.4 75.6 97.5 95.8 91.7 backdoor 95329 196 93.6 93.8 50.0 91.9 74.2 72.9 77.8 74.8 75.5 83.9 79.5 58.0 94.4 92.8 93.8 93.6 67.1 48.2 82.8 87.9 94.4 91.6 65.8 92.6 50.0 64.6 90.2 95.3 93.7 breastw 683 9 99.2 97.2 99.4 98.7 99.8 98.0 99.2 98.9 99.6 99.5 99.8 44.4 98.9 98.9 99.3 98.1 95.5 62.1 95.2 10.1 99.2 77.6 98.5 97.5 99.5 94.5 91.0 98.1 99.2 campaign 41188 62 78.5 70.6 50.0 79.9 74.2 77.3 71.4 75.2 77.1 76.9 78.1 79.6 77.3 81.0 76.0 73.3 61.0 53.8 69.0 65.8 71.9 67.4 41.2 81.2 76.2 71.2 79.1 76.1 83.2 cardio 1831 21 92.0 92.2 96.6 91.2 92.7 93.9 93.9 93.8 79.6 95.0 93.2 49.8 92.4 90.7 95.0 86.5 73.4 55.3 87.5 72.8 93.5 95.2 96.0 82.3 80.9 76.0 88.3 93.9 94.3 Cardiotocography 2114 21 62.1 64.5 50.0 64.4 74.7 70.4 57.3 66.3 61.2 79.3 66.4 45.0 61.4 62.8 73.6 55.4 58.6 52.7 62.9 66.8 62.1 62.7 74.4 57.2 47.5 52.8 61.2 63.7 66.2 celeba 202599 39 68.4 45.3 79.7 80.6 71.6 78.5 80.8 79.3 76.0 75.7 75.0 50.0 64.6 71.6 71.9 62.7 66.7 52.8 32.6 53.3 62.9 64.7 29.8 72.0 65.0 67.1 82.8 75.5 73.3 census 299285 500 72.0 60.1 50.0 70.7 64.0 71.3 70.0 71.2 62.4 66.0 67.5 68.1 72.2 72.0 71.8 58.2 51.9 40.4 71.3 60.9 67.3 57.8 46.1 70.7 58.1 63.7 69.0 68.2 71.3 cover 286048 10 91.3 95.7 87.7 84.8 74.4 91.3 86.3 83.4 72.5 89.3 86.2 74.9 93.0 94.7 87.4 56.5 67.7 54.2 78.5 54.1 91.2 97.5 19.4 88.6 80.3 75.0 96.2 97.7 94.6 donors 619326 10 99.9 98.4 88.7 92.6 90.4 91.3 93.3 89.1 79.0 88.9 81.5 72.2 99.9 92.7 98.3 70.8 56.5 55.7 81.9 33.3 100.0 89.6 37.6 100.0 95.2 82.2 97.9 82.6 99.3 fault 1941 27 58.7 47.4 50.0 61.1 55.8 58.4 67.2 60.2 53.1 50.4 49.1 53.8 58.8 60.7 60.3 58.9 52.0 51.0 53.6 47.2 58.7 62.2 59.3 60.3 62.4 57.3 58.3 58.7 60.3 fraud 284807 29 93.2 35.7 94.4 93.4 94.0 94.7 94.6 94.3 94.3 94.4 94.1 94.6 92.2 92.6 93.2 79.2 85.4 58.9 88.6 55.0 89.8 95.1 49.1 91.8 93.3 91.1 88.5 86.9 92.0 glass 214 7 84.1 76.9 68.0 74.2 76.2 81.8 85.1 86.0 83.5 67.5 73.2 83.2 86.0 72.0 69.2 83.2 63.9 53.1 65.2 49.2 88.9 83.1 66.1 90.9 75.6 63.2 80.3 85.4 79.8 Hepatitis 80 19 79.2 81.0 81.2 77.8 72.9 69.6 75.6 75.7 74.4 69.9 73.3 49.8 82.8 78.4 79.5 78.7 53.3 55.6 64.6 67.6 75.3 62.3 80.8 51.0 75.2 67.1 74.9 73.8 79.7 http 567498 3 99.9 91.1 99.8 99.8 98.9 99.9 99.9 99.7 99.4 97.4 98.9 0.3 99.9 99.8 99.9 99.5 99.3 63.1 85.0 48.7 99.9 99.3 99.4 99.9 99.1 99.1 99.0 99.9 99.9 InternetAds 1966 1555 68.1 71.7 65.1 80.1 47.7 73.3 62.8 65.8 49.2 66.0 65.9 50.0 71.9 78.1 78.1 78.2 50.2 37.3 69.3 43.0 78.3 52.1 65.7 72.4 75.1 64.6 78.4 81.6 72.0 Ionosphere 351 32 94.9 97.3 87.4 97.0 83.3 96.0 92.8 92.8 59.3 75.4 77.9 44.4 96.2 93.0 87.7 97.4 70.5 51.5 89.6 73.6 95.4 89.5 90.8 95.3 94.5 81.9 93.3 96.6 97.6 landsat 6435 36 68.2 66.6 43.9 45.2 59.7 62.3 54.6 55.7 73.2 42.0 49.3 63.0 69.4 53.2 53.6 59.8 51.3 49.0 54.7 48.7 69.0 56.4 39.8 65.0 63.7 49.5 51.0 53.9 62.3 letter 1600 32 35.4 44.8 30.2 35.1 30.9 36.1 36.3 32.1 35.9 45.4 36.5 57.6 36.9 34.4 31.8 41.9 47.1 45.8 36.3 38.7 37.6 62.8 30.9 45.1 36.7 35.7 37.4 35.8 35.8 Lymphography 148 18 100.0 100.0 100.0 94.6 99.7 100.0 100.0 100.0 98.1 99.1 99.3 2.6 100.0 94.2 93.9 99.8 91.5 49.1 98.4 2.6 97.2 90.5 99.9 98.4 100.0 99.6 99.9 99.8 100.0 magic.gamma 19020 10 83.3 83.4 70.4 80.1 77.6 78.6 68.7 73.8 74.5 63.6 68.0 71.4 83.5 82.1 78.1 72.2 62.4 53.5 60.7 50.7 85.2 76.2 69.4 76.9 70.4 69.6 87.2 71.0 83.9 mammography 11183 6 87.6 85.5 89.7 88.1 88.3 83.9 86.9 84.4 85.0 90.7 90.6 70.9 87.4 89.2 88.7 88.2 83.3 56.5 84.8 78.7 88.2 82.7 73.3 78.2 65.0 72.6 85.2 82.1 87.7 mnist 7603 100 93.8 92.9 50.0 92.1 87.0 92.1 90.0 90.3 62.4 74.9 77.7 64.4 94.5 92.9 91.3 80.8 69.2 52.2 76.1 65.8 93.8 87.9 91.0 90.4 73.7 80.1 88.1 91.3 93.7 musk 3062 166 100.0 100.0 100.0 99.9 97.0 100.0 100.0 100.0 100.0 99.9 99.7 18.8 100.0 100.0 100.0 99.5 91.9 59.2 100.0 97.5 100.0 100.0 100.0 99.0 100.0 100.0 100.0 100.0 100.0 optdigits 5216 64 93.7 96.6 50.0 81.5 84.5 74.8 63.4 73.1 89.9 61.6 69.3 12.9 95.6 87.4 78.6 74.4 48.0 53.1 67.8 48.2 99.5 61.1 65.0 96.9 92.6 62.2 81.8 82.9 86.6 PageBlocks 5393 10 89.7 91.3 86.2 88.6 82.6 93.0 88.2 89.0 65.6 88.0 80.9 42.7 88.7 88.7 89.2 87.4 76.1 58.7 73.2 73.3 88.5 88.5 88.2 88.5 87.5 83.7 90.2 87.7 90.7 pendigits 6870 16 99.9 99.1 94.4 85.0 96.6 93.6 96.6 93.0 93.6 93.0 90.7 90.6 99.9 97.7 95.1 92.5 70.1 53.7 67.3 65.1 99.9 95.9 87.6 96.2 92.9 84.5 98.0 97.8 99.5 Pima 768 8 74.3 67.4 70.8 72.1 73.4 72.4 71.5 69.9 73.9 59.1 65.6 76.0 71.1 70.9 71.3 69.4 57.8 51.3 62.0 31.3 74.2 63.1 70.0 66.0 57.5 57.4 65.0 54.4 71.5 satellite 6435 36 82.2 80.3 66.6 78.7 77.2 78.8 76.3 79.0 85.5 62.2 68.4 79.7 82.6 78.1 76.5 82.5 61.1 51.8 72.6 65.1 82.3 77.0 68.8 85.5 86.6 77.8 78.4 77.1 78.5 satimage-2 5803 36 99.7 99.4 98.2 99.7 99.1 99.8 99.8 99.4 98.0 97.1 97.9 99.2 99.6 99.9 99.8 97.3 73.7 56.6 97.7 90.6 99.3 99.7 99.0 99.5 99.8 98.4 99.4 99.1 99.7 shuttle 49097 9 99.9 100.0 99.4 99.4 99.6 99.9 99.8 99.6 98.6 99.3 99.5 72.2 99.9 99.8 99.9 99.7 91.7 65.8 98.0 11.0 100.0 99.1 88.8 100.0 99.9 99.8 99.8 99.9 99.9 skin 245057 3 91.7 65.7 61.0 87.8 88.1 90.2 89.7 91.1 75.3 56.4 53.3 79.0 90.5 81.4 87.6 75.6 55.0 52.2 49.4 61.9 90.4 83.7 75.5 5.0 91.3 82.4 89.9 60.8 89.4 smtp 95156 3 91.4 85.7 83.8 80.7 91.2 92.3 92.4 90.2 83.2 88.4 92.0 43.5 89.1 88.7 87.1 94.3 84.8 60.5 49.2 56.1 91.6 83.7 92.0 78.7 78.6 86.9 94.9 85.4 88.1 SpamBase 4207 57 83.4 73.2 81.4 80.7 84.6 82.1 81.0 81.6 77.9 68.8 72.1 71.2 83.9 82.3 81.7 82.9 66.7 56.2 82.5 44.4 81.4 54.6 81.5 83.4 85.2 79.0 82.9 79.9 84.2 speech 3686 400 36.4 37.5 36.4 37.8 38.3 38.8 43.1 36.8 36.7 36.0 37.0 55.4 39.4 36.3 36.4 45.6 47.1 50.0 39.1 45.8 44.1 39.8 37.1 48.2 41.2 45.9 37.7 39.7 37.4 Stamps 340 9 92.4 91.6 91.3 90.9 91.5 91.9 91.4 90.0 91.1 89.7 93.4 88.5 92.8 89.2 91.5 89.5 57.5 54.4 78.0 70.6 91.1 90.3 80.6 79.5 72.1 76.4 89.9 87.3 93.0 thyroid 3772 6 98.7 92.7 98.6 98.2 99.0 98.7 98.6 98.2 98.6 97.6 93.8 67.5 98.3 96.8 97.6 93.8 83.9 62.9 94.3 96.2 98.2 98.5 95.9 94.4 95.5 91.3 98.9 96.1 98.6 vertebral 240 6 16.8 30.7 17.5 23.5 17.1 32.3 32.7 22.1 7.2 41.2 27.4 8.1 29.8 22.4 17.1 33.3 35.1 49.8 17.3 53.3 21.0 58.3 34.0 44.7 47.7 38.4 45.7 37.7 33.2 vowels 1456 12 82.2 86.3 52.8 83.2 62.4 85.9 84.8 70.6 53.3 61.5 52.8 46.1 81.6 83.0 75.0 74.5 40.2 48.8 50.8 26.0 82.6 70.4 65.6 82.9 80.6 70.3 87.7 80.2 81.3 Waveform 3443 21 75.2 76.0 65.0 58.5 71.7 77.4 69.4 67.7 69.3 59.4 72.4 73.7 71.4 65.5 76.1 65.4 51.0 51.0 78.9 38.9 75.1 71.7 66.5 67.1 50.1 50.0 64.0 53.5 69.7 WBC 223 9 98.5 96.3 99.4 97.2 99.9 94.8 99.1 98.7 99.8 99.8 99.8 37.5 97.4 98.6 99.2 95.9 93.0 59.5 92.1 19.1 98.5 76.4 98.6 91.4 99.4 90.3 70.0 97.6 98.6 WDBC 367 30 99.8 99.9 99.9 99.9 99.9 99.8 99.8 99.7 99.3 97.9 99.8 51.7 99.7 99.8 99.9 99.8 70.6 55.1 89.7 13.7 99.8 78.4 99.9 99.1 99.0 84.7 94.5 100.0 99.7 Wilt 4819 5 63.7 68.8 46.4 85.2 48.8 40.8 39.4 45.3 39.1 37.5 32.1 37.9 68.5 58.9 43.0 73.5 50.3 48.2 51.0 46.9 60.4 42.8 55.3 76.7 65.2 53.2 85.0 46.6 79.7 wine 129 13 46.7 40.8 43.8 35.5 46.7 55.8 61.3 51.4 41.5 74.3 87.3 52.8 39.7 42.3 44.7 30.4 40.9 47.6 54.0 12.2 47.3 74.3 42.7 81.9 45.3 42.0 39.4 28.0 43.7 WPBC 198 33 49.5 46.5 46.8 46.5 49.0 47.6 47.5 49.9 51.4 47.1 50.7 45.6 48.9 46.8 45.9 47.5 55.5 49.4 49.9 52.2 51.0 49.4 48.4 45.2 52.3 49.5 52.1 45.7 48.6 Average 80.7 77.3 72.0 78.8 76.7 79.5 78.5 77.8 73.3 74.7 74.9 57.0 81.0 78.9 78.4 76.0 65.3 53.3 69.9 52.7 80.7 75.9 69.4 78.1 76.1 71.9 79.8 77.2 81.2 Avg. rank 9.28 12.85 16.76 13.09 13.88 9.77 11.78 12.96 16.45 17.01 16.48 20.82 9.26 12.40 11.68 15.72 22.26 24.61 19.43 23.12 9.85 15.37 18.12 13.23 13.96 20.15 12.07 14.00 8.65 (a) Global (AUC 100.0) (b) Local (AUC 93.1) (c) Clustered (AUC 100.0) (d) Dependency (AUC 100.0) Fig. 5. CDN on the four types of anomalies of ADBench in two dimensions: (a) global, (b) local, (c) clustered, (d) dependency. Background: anomaly score (brighter is higher, as in Fig. 2). Orange: region judged normal, with the threshold at the largest anomaly score of a normal test point. White: normal test points; black: anomalies. The AUC-ROC is computed on 500 normal test points and the anomalies shown. interleaving moons with anomalies outside and between them, a Gaussian cluster with a small group of anomalies next to it, and points on a line with anomalies on a parallel line. In these displayed examples, global and clustered anomalies receive larger scores than the normal observations. Proposition 5 provides a theoretical explanation for the growth of residual scores at sufficiently large distances, but does not guarantee the detection of clustered anomalies near the normal-data region. Dependency anomalies are also separated, because the lowscore region follows the direction of the data rather than the range of each feature. Local anomalies are detected when they lie outside the two moons but missed when they lie in the concave region between them, which gives the lowest AUCROC of the four (93.1). A point in this region has neighbours on both sides, their mean nearly coincides with the point, and its displacement is small, which is the situation described in Remark 1. Anomalies in gaps of the normal data are therefore a limitation of CDN, shared with nonparametric mean shift. E. Efficiency We measure running time on synthetic Gaussian data, varying the training size n from 103 to 105 with d = 20 and the dimensionality d from 10 to 500 with n = 104 , and scoring 104 queries in every setting. All CPU computations, including those of CDN, use a single thread, so that the comparison with the classical detectors is not affected by parallelism. LUNAR, AE, DTE-C and TCCM run on the GPU with their default settings, which favours them over CDN. Fig. 6 shows the results. Inference. The scoring time of CDN stays at 3 to 6 ms for 104 queries over the whole range of n (Fig. 6(a)), because a
TABLE IV AUC-PR (×100) ON 46 DATASETS. BEST IN BOLD, SECOND BEST UNDERLINED. Classical Deep Dataset KNN LOF PCA GMM iForest iNNE ADERH Sampl. HBOS ECOD COPOD QMCD MOD AE VAE DSVDD DAGMM ALAD GANom. SO-GAAL LUNAR DIF GOAD ICL SLAD DDPM DTE-C TCCM CDN ALOI 6.0 6.5 6.5 6.5 5.9 6.5 6.4 6.3 6.4 6.1 5.7 6.0 6.0 6.2 6.4 5.7 6.3 6.2 7.6 6.9 6.7 7.2 5.6 5.5 5.9 6.0 5.8 5.9 6.3 annthyroid 68.1 53.5 56.4 56.0 61.2 69.2 59.5 62.8 39.0 40.0 29.6 35.5 65.2 58.5 58.5 37.0 29.7 17.6 22.7 32.3 55.7 46.1 59.8 41.8 66.9 47.1 82.9 74.8 63.6 backdoor 48.0 37.4 4.8 85.8 9.0 15.7 14.4 12.3 10.5 15.5 13.1 5.8 50.5 86.0 85.9 83.3 9.0 4.9 16.2 25.1 69.8 56.1 13.3 79.4 4.8 10.3 60.7 67.9 55.6 breastw 99.0 94.5 99.4 98.3 99.7 97.8 98.9 98.6 99.6 99.6 99.8 63.7 98.5 98.4 99.2 97.5 95.5 65.2 94.9 36.9 99.0 68.3 98.6 96.3 99.5 95.2 87.6 98.1 99.2 campaign 49.0 40.2 20.2 51.4 45.3 47.3 46.0 48.7 49.7 49.5 51.0 48.4 46.1 49.4 44.4 44.0 32.8 23.5 36.9 40.6 41.8 37.8 20.9 49.4 47.8 45.1 48.4 46.6 53.7 cardio 77.2 70.2 86.3 72.7 77.7 78.2 80.7 81.3 58.4 78.6 74.9 33.3 77.3 75.0 82.2 66.9 47.4 24.9 69.3 48.7 80.3 80.8 85.0 57.2 69.0 57.7 70.5 82.7 82.6 Cardiotocography 57.4 57.3 36.1 55.8 63.5 61.2 55.5 61.1 50.7 69.0 56.1 36.1 57.8 56.8 65.2 51.4 48.4 39.5 56.0 55.8 58.6 57.4 66.3 50.5 49.2 48.6 53.9 59.7 60.5 celeba 9.9 3.8 20.9 16.4 12.3 14.0 18.9 18.8 16.9 17.0 16.6 4.4 7.8 10.0 11.5 8.6 9.9 5.1 3.3 4.7 6.9 8.9 3.3 10.3 7.6 9.8 15.8 17.0 11.4 census 21.1 14.1 11.7 20.1 14.6 20.8 19.9 20.2 13.9 15.5 16.2 20.8 21.7 21.6 21.0 14.8 12.8 9.5 19.8 16.0 16.4 12.6 12.6 21.4 15.2 18.0 17.6 18.2 20.7 cover 17.8 41.8 7.1 6.5 4.2 15.6 7.1 7.4 5.0 14.4 9.8 5.0 23.6 27.2 13.1 2.8 3.5 2.4 17.3 2.1 25.7 40.2 1.1 25.5 6.5 5.0 32.2 74.9 27.7 donors 97.2 77.7 36.3 43.3 42.7 40.7 46.8 38.5 25.7 41.5 33.6 16.8 98.0 47.2 80.1 30.8 15.6 14.8 33.0 9.0 100.0 34.4 9.5 99.5 59.4 31.7 70.2 34.4 88.8 fault 62.0 50.4 51.5 63.1 59.0 61.4 66.6 61.6 53.9 51.7 53.2 54.8 62.4 64.0 63.3 62.9 56.7 52.7 57.6 50.6 62.6 64.4 62.6 63.0 64.7 59.2 63.2 65.0 64.5 fraud 25.4 0.3 23.7 40.9 17.8 35.5 23.1 24.6 34.4 31.6 33.8 39.1 26.0 57.0 32.2 37.6 14.0 1.2 46.1 0.4 44.0 52.6 17.8 45.4 35.2 73.5 80.0 70.5 36.4 glass 25.8 19.4 18.6 25.9 19.9 29.8 32.4 28.1 26.6 23.4 26.3 24.0 27.3 21.3 18.6 32.7 17.6 12.8 14.8 13.9 39.2 33.2 19.8 47.8 25.2 21.1 26.3 34.0 23.1 Hepatitis 59.7 61.3 58.3 47.0 42.4 42.2 48.0 52.5 44.5 40.5 46.6 35.5 63.0 48.8 49.7 59.8 37.9 35.5 45.6 52.9 49.8 38.0 58.8 30.0 52.7 48.8 54.0 44.6 57.8 http 85.6 7.7 75.7 75.2 46.8 82.0 79.8 70.7 56.4 22.2 39.0 0.7 85.9 78.0 88.5 68.7 42.8 3.4 22.8 1.1 85.8 43.8 54.1 92.4 44.1 27.0 41.8 91.8 85.8 InternetAds 49.2 50.4 47.0 66.3 29.4 60.7 45.8 47.5 30.8 61.9 61.7 31.5 52.4 69.2 69.2 65.2 31.9 25.6 49.9 31.5 68.2 32.2 48.2 60.6 58.2 47.2 59.0 74.2 52.1 Ionosphere 95.9 98.2 89.5 97.9 84.4 97.2 94.4 93.9 53.2 78.6 77.9 46.3 96.8 94.7 89.7 98.0 74.2 57.6 89.1 80.6 96.5 91.1 92.5 96.2 96.4 85.7 95.8 97.6 98.2 landsat 54.8 61.4 32.7 31.7 47.7 51.6 35.7 35.7 60.1 31.1 33.8 46.4 58.5 39.3 40.5 47.5 38.2 33.2 36.6 32.4 56.6 44.7 30.9 53.0 44.8 32.8 36.2 47.9 57.5 letter 8.7 11.3 8.0 8.7 8.0 8.6 8.8 8.2 8.7 10.6 8.8 19.5 8.9 8.5 8.2 10.7 12.6 11.0 9.3 10.0 8.9 24.3 8.1 12.4 8.9 8.7 9.0 8.7 8.8 Lymphography 100.0 100.0 100.0 62.2 96.6 100.0 100.0 100.0 76.6 89.7 91.5 4.7 100.0 41.4 40.9 97.7 70.3 13.7 84.2 4.7 79.4 57.4 99.2 86.1 100.0 97.6 99.2 97.6 100.0 magic.gamma 85.9 86.4 75.2 83.3 80.5 82.4 74.8 78.6 77.1 67.9 72.2 75.3 86.3 85.4 81.6 76.7 67.0 56.1 66.8 54.0 87.7 80.7 76.6 82.2 76.0 73.8 89.4 76.8 86.5 mammography 41.3 34.1 42.8 41.0 37.4 35.4 38.9 33.1 21.3 55.2 54.6 14.1 41.1 41.8 43.7 50.6 39.9 7.5 24.6 16.8 46.4 34.4 29.3 20.3 13.4 11.9 37.0 28.7 43.1 mnist 72.7 71.0 16.9 69.9 54.8 68.5 64.7 65.4 22.2 30.2 35.4 37.1 75.7 70.8 68.0 51.7 43.4 20.0 46.0 37.5 79.3 61.8 66.3 69.4 47.6 52.6 57.7 68.6 72.9 musk 100.0 100.0 100.0 98.5 64.3 100.0 99.6 100.0 100.0 98.2 96.1 3.8 100.0 100.0 100.0 94.8 68.0 15.0 100.0 90.7 100.0 99.7 100.0 88.6 100.0 99.7 100.0 100.0 100.0 optdigits 29.1 43.6 5.6 13.4 17.3 10.2 6.8 9.3 42.4 6.7 8.3 3.0 36.6 18.0 12.0 14.5 5.4 7.0 8.9 6.0 86.8 7.5 7.3 49.2 28.4 7.7 15.1 17.2 17.0 PageBlocks 67.6 71.1 59.5 62.8 43.5 74.7 62.2 66.2 22.5 58.5 41.5 14.7 67.6 66.1 67.0 57.7 48.6 25.2 46.0 41.3 68.3 65.6 63.8 70.3 64.2 60.5 68.2 67.2 68.0 pendigits 97.0 78.6 39.2 15.9 52.8 35.5 60.5 35.5 42.3 41.4 30.9 27.4 96.9 55.7 51.0 50.5 18.6 5.8 15.5 8.5 98.8 52.7 31.7 62.5 36.3 24.7 49.9 76.7 89.2 Pima 71.7 66.6 69.7 70.0 72.2 70.5 69.7 69.7 74.0 63.4 68.3 75.5 71.9 70.1 69.8 69.7 58.2 54.4 64.2 41.6 71.9 59.8 70.0 67.8 60.1 61.3 64.2 61.5 72.2 satellite 86.0 85.8 77.8 84.6 82.4 83.2 81.7 81.6 86.5 69.6 73.3 82.5 86.4 84.4 83.1 85.7 64.8 51.0 75.5 70.5 85.9 83.1 79.1 87.8 87.8 83.2 84.3 83.3 84.8 satimage-2 96.7 88.5 91.9 85.1 94.5 96.6 97.3 96.5 87.7 79.7 85.3 94.9 96.3 97.0 97.6 89.4 16.1 6.0 84.8 17.9 94.7 95.6 95.9 95.0 96.2 75.5 70.1 95.4 97.1 shuttle 97.9 99.8 96.3 96.8 98.6 98.8 97.0 96.5 97.5 95.2 98.0 69.7 98.2 97.5 97.6 98.2 71.8 31.6 96.7 8.1 99.8 98.1 77.9 99.8 97.3 97.5 94.2 98.6 97.8 skin 70.1 39.1 39.9 61.7 62.0 67.0 65.0 68.5 53.7 33.8 32.1 64.6 68.1 55.4 65.0 52.9 37.8 36.5 34.4 44.7 70.5 55.3 46.7 33.7 82.5 64.0 65.3 42.5 65.7 smtp 44.7 21.9 44.7 36.0 2.1 49.4 48.6 45.0 1.1 55.8 1.1 1.4 44.7 27.4 40.7 30.0 46.5 0.5 0.1 0.1 66.8 61.2 41.4 14.4 35.7 25.4 44.0 43.8 44.5 SpamBase 83.3 72.7 81.8 81.2 87.8 82.3 82.3 82.1 78.4 71.3 73.6 78.1 83.8 82.5 82.1 82.5 73.0 63.9 83.7 59.4 81.2 60.7 82.0 86.6 86.2 80.6 83.4 80.4 83.9 speech 2.8 3.2 2.8 3.0 2.9 2.6 2.9 2.8 3.2 2.9 2.8 3.9 2.7 2.7 2.8 3.1 3.3 3.4 2.7 3.0 3.4 3.1 2.7 3.8 2.8 3.2 2.8 2.9 2.8 Stamps 57.4 54.9 54.1 52.7 51.5 57.2 54.2 54.3 52.1 53.6 57.1 51.6 58.7 52.2 54.8 51.0 22.3 23.7 43.2 38.0 53.5 52.1 47.2 38.3 32.3 43.8 54.0 49.4 58.8 thyroid 80.9 60.6 81.4 80.2 78.6 80.2 79.5 79.8 77.0 64.0 30.2 37.3 80.0 69.8 72.9 77.5 19.7 10.8 52.4 53.4 78.2 82.6 80.7 50.7 71.3 71.8 83.3 81.8 82.1 vertebral 13.7 16.4 13.8 14.7 13.7 17.2 16.2 14.6 12.8 19.2 15.3 12.9 15.9 14.6 13.8 17.1 17.7 24.6 14.1 28.1 14.4 25.7 16.7 21.8 21.1 18.3 20.3 17.7 16.6 vowels 30.2 33.1 10.6 41.6 11.8 41.4 30.7 18.0 7.9 17.7 7.1 6.1 31.2 36.3 20.8 19.9 7.4 6.6 9.0 5.2 34.2 14.8 18.7 24.2 27.3 19.1 45.3 37.5 31.6 Waveform 27.0 30.7 8.5 7.9 10.5 21.5 14.1 14.5 9.0 7.4 9.9 10.4 24.5 10.4 22.9 15.0 6.0 6.4 18.0 4.9 28.3 12.2 9.4 17.5 5.7 6.0 10.4 7.0 12.6 WBC 85.0 58.6 95.2 73.1 98.7 72.3 89.5 86.8 98.1 98.1 98.1 23.0 77.9 86.0 93.2 70.7 61.2 17.2 60.2 7.1 82.7 18.1 86.6 50.3 94.3 50.9 25.2 82.6 87.9 WDBC 96.5 98.3 98.3 98.1 98.2 98.0 97.4 95.8 91.2 77.3 97.7 20.2 95.3 97.4 98.7 97.7 19.5 11.3 47.1 4.0 97.1 12.6 98.3 88.3 85.6 50.8 65.2 99.4 95.5 Wilt 12.2 15.7 8.6 27.6 8.9 7.8 7.6 8.4 7.9 7.7 6.9 7.5 13.9 11.2 8.1 23.5 11.6 9.6 10.7 9.5 11.4 8.1 12.1 30.1 14.5 10.2 25.2 11.0 20.7 wine 13.6 12.5 13.1 11.5 15.4 16.6 18.1 15.9 13.1 35.8 54.5 15.0 12.2 13.0 13.3 12.1 15.7 17.5 31.6 9.1 14.3 25.1 12.9 37.3 13.5 16.0 12.3 10.6 13.1 WPBC 40.2 38.6 39.4 37.1 37.7 38.4 38.9 40.3 37.7 35.2 37.8 36.0 39.7 39.1 39.1 37.8 45.4 39.7 39.2 41.9 41.3 37.0 37.9 39.2 40.4 39.6 39.5 37.5 39.9 Average 57.0 50.8 46.9 51.7 47.1 53.1 51.9 50.8 44.3 46.4 44.9 31.4 57.4 53.1 53.6 51.2 34.7 22.0 41.5 27.3 59.8 46.5 46.9 53.3 49.6 44.0 52.5 56.3 57.4 Avg. rank 9.74 13.15 17.00 13.74 15.93 11.12 13.15 13.25 17.05 17.05 17.65 21.30 9.50 12.23 12.08 14.65 21.35 24.45 19.11 23.18 8.63 15.02 17.39 12.05 14.09 18.61 12.63 11.68 8.20 TABLE V ABLATION OF CDN ON 46 DATASETS. AVG.: AVERAGE (×100); RANK: MEAN RANK AMONG THE FIVE VARIANTS. AUC-ROC AUC-PR Variant Avg. Rank Avg. Rank CDN 81.2 2.49 57.4 2.39 ReLU activation 80.3 2.74 53.9 3.04 tanh activation 80.5 2.74 55.9 2.76 Self-reconstruction target 80.1 3.10 56.7 2.72 Skip connection x + gθ(x) 72.3 3.93 38.5 4.09 query only passes through a network of fixed size. The scoring time of KNN, LOF, MOD and LUNAR grows with n, since every query is compared with the stored training set, and for LUNAR this holds even on the GPU. At n = 105 , CDN scores the queries about 560 times faster than KNN, 650 times faster than LOF, 1,000 times faster than LUNAR and 1,700 times 10 3 10 4 10 5 training size n 10 −2 10 −1 10 0 seconds (a) Scoring 10 4 queries vs. n (d=20) 10 3 10 4 10 5 training size n 10 −2 10 −1 10 0 10 1 10 2 10 3 (b) Training vs. n (d=20) 10 50 100 500 dimensionality d 10 −2 10 −1 10 0 (c) Scoring 10 4 queries vs. d (n=10 4 ) CDN KNN LOF iNNE MOD LUNAR (GPU) AE (GPU) DTE-C (GPU) TCCM (GPU) Fig. 6. Running time on synthetic Gaussian data (log scales). (a) Time to score 104 queries as the training size n grows with d = 20. (b) Training time for the same settings. (c) Time to score 104 queries as d grows with n = 104 . CPU methods use a single thread; dashed lines are deep baselines run on the GPU. faster than MOD, and about 80 times faster than iNNE, whose cost depends on its fixed sample size rather than on n. Among the other deep baselines, CDN on one CPU thread is faster than AE and DTE-C on the GPU and comparable to TCCM on the GPU. As d grows (Fig. 6(c)), the scoring time of CDN grows linearly as predicted by the O(hd) cost and remains the lowest among the CPU methods, reaching 41 ms at d = 500

Fig. 7. Accuracy against inference cost. Vertical axis: mean rank over the 46 datasets among all 29 methods (lower is better). Horizontal axis: time to score queries with and d = 20 (log scale). Squares are deep baselines run on the GPU.
compared with about 1 s for KNN and LOF. For , CDN stores 5,652 parameters, about 22 KB in single precision, whereas the neighbourhood-based detectors keep the coordinates of a training set with . A small, fixed memory footprint and millisecond scoring on a single CPU thread make CDN suitable for deployment where accelerators are unavailable or the training data cannot be retained, such as edge devices, embedded monitoring and on-premise systems that must score large volumes of records.
Training. Training CDN consists of the neighbour search for the targets and a fixed number of gradient steps. For small the fixed budget of 2,000 steps dominates and training takes about one second; for large the neighbour search dominates, and at CDN trains in 18 s, comparable to fitting KNN and LOF (17 to 18 s, which includes scoring the training set), and faster than MOD (55 s), AE (46 s), LUNAR (102 s), TCCM (193 s) and DTE-C (979 s). Only iNNE, which builds its model from small random samples, trains faster. Since the neighbour search is performed once and offline, it can be accelerated with approximate nearest-neighbour indices without affecting inference.
Accuracy and cost. Fig. 7 combines the mean ranks of Section VI-B with the scoring times at . Among the evaluated methods and implementation-device configurations, no baseline simultaneously achieves a lower reported mean rank and a shorter measured inference time than CDN. This empirical Pareto comparison is specific to the evaluated workloads and hardware settings. The detectors closest to CDN in mean rank, KNN, MOD and LUNAR under both metrics and iNNE under AUC-ROC, are 80 to 1,700 times slower, and the only detector with a comparable scoring time, TCCM on the GPU, has a mean rank of 14.0 under AUC-ROC and 11.7 under AUC-PR.
F. Sensitivity Analysis
Table VI changes one setting at a time from the default configuration, where and denote the initial values of and . CDN is first or second in mean rank under both metrics in every setting except h = 32. The average AUC-ROC varies
TABLE VI
SENSITIVITY OF CDN TO ITS SETTINGS. EACH ROW CHANGES ONE SETTING FROM ITS DEFAULT VALUE, GIVEN IN PARENTHESES, AND KEEPS THE OTHERS AT THEIR DEFAULTS. AVG.: AVERAGE OVER 46 DATASETS ( ); RANK: MEAN RANK AMONG THE 29 METHODS; POS.: POSITION OF CDN IN THAT RANKING.
| Setting (default) | Value | AUC-ROC | AUC-PR | ||||
|---|---|---|---|---|---|---|---|
| Avg. | Rank | Pos. | Avg. | Rank | Pos. | ||
| Default | 81.2 | 8.65 | 1 | 57.4 | 8.20 | 1 | |
| h (128) | 32 | 80.6 | 9.32 | 3 | 55.7 | 9.39 | 3 |
| 64 | 81.0 | 8.93 | 1 | 56.6 | 8.61 | 2 | |
| (0.2) | 0.01 | 81.1 | 8.55 | 1 | 57.2 | 8.39 | 1 |
| 0.1 | 81.2 | 8.65 | 1 | 57.2 | 8.11 | 1 | |
| T (2000) | 1000 | 81.2 | 8.72 | 1 | 56.8 | 8.46 | 1 |
| 4000 | 81.2 | 8.60 | 1 | 57.4 | 8.11 | 1 | |
| (0.6) | 0.3 | 81.0 | 9.05 | 1 | 57.2 | 8.80 | 2 |
| 1.0 | 81.1 | 8.74 | 1 | 57.0 | 8.32 | 1 | |
| k (5) | 3 | 81.1 | 8.95 | 1 | 57.2 | 8.70 | 2 |
| 10 | 80.8 | 9.21 | 2 | 57.1 | 8.66 | 2 | |
| 20 | 80.5 | 9.16 | 2 | 56.8 | 8.92 | 2 | |
by at most 0.7 points across all settings. The hidden width is the setting with the clearest effect: AUC-PR decreases from 57.4 to 56.6 with h = 64 and to 55.7 with h = 32. The initial activation parameters and the number of training steps change the average AUC-ROC by at most 0.2 points and the average AUC-PR by at most 0.6 points. Varying the neighbourhood size from k = 3 to k = 20 changes the average AUC-ROC by at most 0.7 points and the average AUC-PR by at most 0.6 points, and k = 5 gives the best results under both metrics. The initial had little effect in preliminary experiments and is fixed to 0.1.
VII. CONCLUSION
We presented CDN, a compact anomaly detector that learns normal-data neighbourhood means with a single-hidden-layer Cauchy network and scores queries by prediction residuals. The supervision is related to mean shift and population density-score geometry.
For a structured family of Student-t-type expert densities, we established exact Cauchy score representation and a constructive approximation bound for the corresponding population neighbourhood-mean map. We further established conditional preservation of score margins and asymptotic far-field growth of the residual score.
Experiments on 46 tabular datasets demonstrated competitive detection accuracy and the best reported mean rank under both AUC-ROC and AUC-PR. CDN additionally avoids retaining the normal reference set and performing neighbour searches during inference, providing a favourable accuracy-efficiency trade-off.
Our method has several limitations. Population mean-shift scores can vanish at low-density stationary points, so local anomalies in gaps between normal clusters may be missed. The theoretical approximation results concern fixed-radius population maps rather than finite-sample KNN targets or the outcome of gradient-based training. CDN also assumes numerical inputs and normal-only training data. Future work includes mixed-type features, contaminated training sets, and adaptive neighbourhood supervision.
REFERENCES
[1] V. Chandola, A. Banerjee, and V. Kumar, "Anomaly detection: A survey," ACM computing surveys (CSUR), vol. 41, no. 3, pp. 1–58, 2009.
[2] G. Pang, C. Shen, L. Cao, and A. V. D. Hengel, “Deep learning for anomaly detection: A review,” ACM computing surveys (CSUR), vol. 54, no. 2, pp. 1–38, 2021.
[3] J. Liu, G. Xie, J. Wang, S. Li, C. Wang, F. Zheng, and Y. Jin, “Deep industrial image anomaly detection: A survey,” Machine Intelligence Research, vol. 21, no. 1, pp. 104–135, 2024.
[4] X. Song, Y. Zhu, J. Wu, B. Liu, and H. Wei, “Adops: An anomaly detection pipeline in structured logs,” Proceedings of the VLDB Endowment, vol. 16, no. 12, pp. 4050–4053, 2023.
[5] Y. Tang, Z. Zhang, K. Zhao, L. Fang, Z. Li, and W. Chen, “Substructure-aware log anomaly detection,” Proceedings of the VLDB Endowment, vol. 18, no. 2, pp. 213–225, 2024.
[6] S. Ramaswamy, R. Rastogi, and K. Shim, “Efficient algorithms for mining outliers from large data sets,” in Proceedings of the 2000 ACM SIGMOD international conference on Management of data, 2000, pp. 427–438.
[7] M. M. Breunig, H.-P. Kriegel, R. T. Ng, and J. Sander, “Lof: identifying density-based local outliers,” in Proceedings of the 2000 ACM SIGMOD international conference on Management of data, 2000, pp. 93–104.
[8] A. Goodge, B. Hooi, S.-K. Ng, and W. S. Ng, “Lunar: Unifying local outlier detection methods via graph neural networks,” in Proceedings of the AAAI Conference on Artificial Intelligence, vol. 36, no. 6, 2022, pp. 6737–6745.
[9] S. Han, X. Hu, H. Huang, M. Jiang, and Y. Zhao, “Adbench: Anomaly detection benchmark,” Advances in neural information processing systems, vol. 35, pp. 32142–32159, 2022.
[10] C. C. Aggarwal, Outlier analysis. Springer, 2016.
[11] D. P. Kingma and M. Welling, “Auto-encoding variational bayes,” arXiv preprint arXiv:1312.6114, 2013.
[12] B. Zong, Q. Song, M. R. Min, W. Cheng, C. Lumezanu, D. Cho, and H. Chen, “Deep autoencoding gaussian mixture model for unsupervised anomaly detection,” in International conference on learning representations, 2018.
[13] L. Ruff, R. Vandermeulen, N. Goemitz, L. Deecke, S. A. Siddiqui, A. Binder, E. Müller, and M. Kloft, “Deep one-class classification,” in International conference on machine learning. PMLR, 2018, pp. 4393–4402.
[14] V. Livernochen, V. Jain, Y. Hezaveh, and S. Ravanbakhsh, “On diffusion modeling for anomaly detection,” in The Twelfth International Conference on Learning Representations, 2024.
[15] Z. Li, Q. Huang, Y. Zhu, L. Yang, M. M. Amiri, N. van Stein, and M. van Leeuwen, “Scalable, explainable and provably robust anomaly detection with one-step flow matching,” arXiv preprint arXiv:2510.18328, 2025.
[16] X. Li, Z. Xia, and H. Zhang, “Cauchy activation function and xnet,” Neural Networks, vol. 188, p. 107375, 2025.
[17] K. Fukunaga and L. Hostetler, “The estimation of the gradient of a density function, with applications in pattern recognition,” IEEE Transactions on information theory, vol. 21, no. 1, pp. 32–40, 1975.
[18] D. Comaniciu and P. Meer, “Mean shift: A robust approach toward feature space analysis,” IEEE Transactions on pattern analysis and machine intelligence, vol. 24, no. 5, pp. 603–619, 2002.
[19] M. Welling, S. Osindero, and G. E. Hinton, “Learning sparse topographic representations with products of student-t distributions,” Advances in neural information processing systems, vol. 15, 2002.
[20] F. Angiulli and C. Pizzuti, “Fast outlier detection in high dimensional spaces,” in European conference on principles of data mining and knowledge discovery. Springer, 2002, pp. 15–27.
[21] M. Sugiyama and K. Borgwardt, “Rapid distance-based outlier detection via sampling,” Advances in neural information processing systems, vol. 26, 2013.
[22] J. Tang, Z. Chen, A. W.-C. Fu, and D. W. Cheung, “Enhancing effectiveness of outlier detections for low density patterns,” in Pacific-Asia conference on knowledge discovery and data mining. Springer, 2002, pp. 535–548.
[23] S. Papadimitriou, H. Kitagawa, P. B. Gibbons, and C. Faloutsos, "Loci: Fast outlier detection using the local correlation integral," in Proceedings 19th international conference on data engineering (Cat. No. 03CH37405). IEEE, 2003, pp. 315–326.
[24] A. Lazarevic and V. Kumar, “Feature bagging for outlier detection,” in Proceedings of the eleventh ACM SIGKDD international conference on Knowledge discovery in data mining, 2005, pp. 157–166.
[25] H.-P. Kriegel, M. Schubert, and A. Zimek, “Angle-based outlier detection in high-dimensional data,” in Proceedings of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining, 2008, pp. 444–452.
[26] M. Goldstein and A. Dengel, “Histogram-based outlier score (hbos): A fast unsupervised anomaly detection algorithm,” KI-2012: poster and demo track, vol. 1, pp. 59–63, 2012.
[27] Z. Li, Y. Zhao, N. Botta, C. Ionescu, and X. Hu, “Copod: copula-based outlier detection,” in 2020 IEEE international conference on data mining (ICDM). IEEE, 2020, pp. 1118–1123.
[28] Z. Li, Y. Zhao, X. Hu, N. Botta, C. Ionescu, and G. H. Chen, “Ecod: Unsupervised outlier detection using empirical cumulative distribution functions,” IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 12, pp. 12181–12193, 2022.
[29] M.-L. Shyu, S.-C. Chen, K. Sarinnapakorn, and L. Chang, “A novel anomaly detection scheme based on principal component classifier,” in Proceedings of the IEEE foundations and new directions of data mining workshop. IEEE Press Piscataway, NJ, USA, 2003, pp. 172–179.
[30] K.-T. Fang and C.-X. Ma, “Wrap-around 12-discrepancy of random sampling, latin hypercube and uniform designs,” Journal of complexity, vol. 17, no. 4, pp. 608–624, 2001.
[31] F. T. Liu, K. M. Ting, and Z.-H. Zhou, “Isolation forest,” in 2008 eighth ieee international conference on data mining. IEEE, 2008, pp. 413–422.
[32] —, “Isolation-based anomaly detection,” ACM Transactions on Knowledge Discovery from Data (TKDD), vol. 6, no. 1, pp. 1–39, 2012.
[33] S. Hariri, M. C. Kind, and R. J. Brunner, “Extended isolation forest,” IEEE transactions on knowledge and data engineering, vol. 33, no. 4, pp. 1479–1489, 2019.
[34] X. Zhang, W. Dou, Q. He, R. Zhou, C. Leckie, R. Kotagiri, and Z. Salcic, “Lshiforest: A generic framework for fast tree isolation based ensemble anomaly analysis,” in 2017 IEEE 33rd international conference on data engineering (ICDE). IEEE, 2017, pp. 983–994.
[35] T. R. Bandaragoda, K. M. Ting, D. Albrecht, F. T. Liu, Y. Zhu, and J. R. Wells, “Isolation-based anomaly detection using nearest-neighbor ensembles,” Computational Intelligence, vol. 34, no. 4, pp. 968–998, 2018.
[36] W. Durani, C. Leiber, K. Durani, C. Plant, and C. Böhm, “Anomaly detection by an ensemble of random pairs of hyperspheres,” in The Thirty-ninth Annual Conference on Neural Information Processing Systems, 2025.
[37] K. M. Ting, B.-C. Xu, T. Washio, and Z.-H. Zhou, “Isolation distributional kernel: A new tool for kernel based anomaly detection,” in Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining, 2020, pp. 198–206.
[38] —, “Isolation distributional kernel: A new tool for point and group anomaly detections,” IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 3, pp. 2697–2710, 2021.
[39] Y. Cao, H. Xiang, H. Zhang, Y. Zhu, and K. M. Ting, “Anomaly detection based on isolation mechanisms: A survey,” Machine Intelligence Research, pp. 1–17, 2025.
[40] B. Schölkopf, R. C. Williamson, A. Smola, J. Shawe-Taylor, and J. Platt, “Support vector method for novelty detection,” Advances in neural information processing systems, vol. 12, 1999.
[41] D. M. Tax and R. P. Duin, “Support vector data description,” Machine learning, vol. 54, no. 1, pp. 45–66, 2004.
[42] T. Schlegl, P. Seebock, S. M. Waldstein, G. Langs, and U. Schmidt-Erfurth, “f-anogan: Fast unsupervised anomaly detection with generative adversarial networks,” Medical image analysis, vol. 54, pp. 30–44, 2019.
[43] H. Zenati, M. Romain, C.-S. Foo, B. Lecouat, and V. Chandrasekhar, “Adversarially learned anomaly detection,” in 2018 IEEE International conference on data mining (ICDM). IEEE, 2018, pp. 727–736.
[44] S. Akcay, A. Atapour-Abarghouei, and T. P. Breckon, “Ganomaly: Semi-supervised anomaly detection via adversarial training,” in Asian conference on computer vision. Springer, 2018, pp. 622–637.
[45] Y. Liu, Z. Li, C. Zhou, Y. Jiang, J. Sun, M. Wang, and X. He, “Generative adversarial active learning for unsupervised outlier detection,” IEEE Transactions on Knowledge and Data Engineering, vol. 32, no. 8, pp. 1517–1528, 2019.
[46] L. Bergman and Y. Hoshen, “Classification-based anomaly detection for general data,” in International Conference on Learning Representations, 2020.
[47] T. Shenkar and L. Wolf, "Anomaly detection for tabular data with internal contrastive learning," in International conference on learning representations, 2022.
[48] H. Xu, Y. Wang, J. Wei, S. Jian, Y. Li, and N. Liu, "Fascinating supervisory signals and where to find them: Deep anomaly detection with scale learning," in International Conference on Machine Learning. PMLR, 2023, pp. 38 655–38 673.
[49] H. Xu, G. Pang, Y. Wang, and Y. Wang, "Deep isolation forest for anomaly detection," IEEE Transactions on Knowledge and Data Engineering, vol. 35, no. 12, pp. 12 591–12 604, 2023.
[50] J. Yang, S. Rahardja, and P. Franti, "Mean-shift outlier detection and filtering," Pattern Recognition, vol. 115, p. 107874, 2021.
[51] P. Vincent, "A connection between score matching and denoising autoencoders," Neural computation, vol. 23, no. 7, pp. 1661–1674, 2011.
[52] X. Li, X. Zheng, and Z. Xia, "From kolmogorov to cauchy: Shallow xnet surpasses kans," Advances in Neural Information Processing Systems, vol. 38, pp. 129 075–129 100, 2026.
[53] H.-K. Zhang, X. Li, S. Yang, and Z. Xia, "Cauchynet: Compact and data-efficient learning using holomorphic activation functions," arXiv preprint arXiv:2510.10195, 2025.
[54] X. Zheng, X. Yue, Z. Xia, and X. Li, "Xnet-enhanced deep bsde method and numerical analysis: X. zheng et al." Journal of Scientific Computing, vol. 107, no. 2, p. 43, 2026.
[55] D. Peel and G. J. McLachlan, "Robust mixture modelling using the t distribution," Statistics and computing, vol. 10, no. 4, pp. 339–348, 2000.
[56] M. Leshno, V. Y. Lin, A. Pinkus, and S. Schocken, "Multilayer feedforward networks with a nonpolynomial activation function can approximate any function," Neural networks, vol. 6, no. 6, pp. 861–867, 1993.
[57] Y. Zhao, Z. Nasrullah, and Z. Li, "Pyod: A python toolbox for scalable outlier detection," Journal of Machine Learning Research, vol. 20, no. 96, pp. 1–7, 2019. [Online]. Available: http://jmlr.org/papers/v20/19-011.html