Abstract
The detection of structural outliers—anomalies that violate functional relationships between variables while not exhibiting extreme values in individual features—remains a challenging problem in data analysis and machine learning modeling. Existing methods are generally aimed at identifying points with anomalous feature values and, as a consequence, are ineffective for detecting structural violations. Moreover, most of them require labor-intensive hyperparameter tuning, which becomes difficult in the absence of labeled data. This paper proposes two modifications of a neural-network approach to structural outlier detection: the NNF and NNFA methods. The approach is based on the property of certain neural networks with specific architectures to produce elevated training errors for observations that do not conform to the regularities of the domain under study. The selection of architectural parameters for such neural networks is simplified through the use of a corollary of the Arnold–Kolmogorov–Hecht–Nielsen theorem, which determines an admissible range for the number of neurons in the hidden layer. The NNF method employs a single network with the minimum number of neurons from this range, whereas the NNFA method averages the training errors of an ensemble of networks within the specified range, making it possible to apply the proposed methods without any hyperparameter tuning. Experiments were conducted on three synthetic datasets (a parabola, a paraboloid of revolution, and a hyperbolic paraboloid) and three real-world datasets (“Concrete Compressive Strength” and “California Housing”), as well as on an additional dataset used for sensitivity analysis with respect to the noise level. Comparison with 15 standard methods from the PyOD and scikit-learn libraries shows that the proposed methods consistently achieve higher quality metrics. It is also demonstrated that the methods maintain high performance over a wide range of outlier proportions (from 1% to 10%), while the computational complexity of the NNFA method can be controlled by a parameter governing the width of the averaging interval. All source codes and datasets used in this study are publicly available.

This publication has 16 references indexed in Scilit: