Work

Algoritmos de inteligencia computacional para abordar problemas de detección de anomalías en entornos Big Data

Year: 2023
Type: dissertation
Abstract: The proliferation of the use of computer systems in all kinds of fields, whether \nmedical, industrial, economic or scientific, has brought with it the generation of everincreasing \nvolumes of data. This has led to the need to create new technologies that \nallow the storage and analysis of this data, as well as generating new circumstances \nin which the aim is to extract knowledge from it. One of the usual scenarios is that of \nanomaly detection, where the interest lies in the identification of a minority class of \ndata, either because it may pose a threat to the system under study, as in the case \nof fraud detection or predictive maintenance of industrial systems, or in medical \nenvironments, where there are few samples of data from patients with a disease \ncompared to the common healthy population and the aim is to detect that disease. \nThe fact that the focus is on the minority class differentiates anomaly detection from \nnoise detection, defined as an effect on the data that we want to mitigate in the data \npre-processing phase but whose cause is not relevant to the investigation. \nTherefore, we can identify different scenarios within the scope of anomaly detection \ndepending on the availability of information at the time of learning the \nalgorithm: supervised scenarios, assimilable to unbalanced classification problems; \nsemi-supervised or novelty detection scenarios, where a normality model is generated \nbased on the data of the majority class, the only ones available in the training phase; \nand unsupervised scenarios, where no information is available on the class of the \ninstances. These differences result in the existence of different evaluation methods \nand in the need to resort to additional mechanisms for the extraction of interpretable \nknowledge in scenarios where the representation learned by the model is insufficient \nfor the understanding of the problem. \nIn this thesis we focus on the study of the anomaly detection problem for unsupervised \nscenarios, both for time series problems and for static data. This study starts \nfrom the demarcation of the problem within the anomaly detection domain to move \non to the design of a distributed algorithm for anomaly detection valid for both static \nand time series data focused on obtaining explanations to help decision making and \nunderstanding of the studied dataset. Finally, an evaluation model for unsupervised \ntime series anomaly detection scenarios is proposed. \nSpecifically, the proposals made in the framework of the thesis are: A distributed anomaly detection model focused on explainability. For this \nmodel we rely on the HBOS algorithm, which performs univariate histograms \nfor anomaly score assignment, and extend it to search for anomalies in higher \ndimensionality subspaces. The use of this algorithm as a basis is justified by \nthe possibility of constructing a knowledge representation that allows in later \nphases to reconstruct histograms of higher dimensionality subspaces by taking \nadvantage of certain calculations. Furthermore, the knowledge representation \nallows us to include a proposal for the construction of rules to describe the \nreasons for the categorisation of specific instances through counterfactuals, \nrules that justify why an instance belongs to one class and not to another. \nIn the experimentation associated with this proposal, it can be seen that the \nresults are not comparable to the state of the art in anomaly detection, the lower \nperformance being the counterpart to the simplicity of the model that allows \nthe rules to be obtained. \nA model for evaluating anomaly detection algorithms for time series. In \nthe field of anomaly detection, there are multiple evaluation schemes. In \nparticular, it is common to find in time series scenarios the application of \nanomaly score prediction models for time instances while identifying events of \ninterest that occur subsequent to the anomalous predictions. However, these \nmethods pose problems such as the need to set certain parameters for the \nevaluation such as the definition of a window prior to the event of interest \nor weights to reward fast detection or the multiplication of the effect of interclass \nimbalance. Therefore, we propose a scoring mechanism based on the \ndefinition of multiple windows prior to the events of interest and the use of \na generalised ROC curve for the different windows such that the aggregation \nof the instances by a function is the anomaly score for that interval. This \nproposal includes an implementation for classical environments and another \nfor distributed environments and a comparison with a proposed evaluation \nmeasure for anomaly detection assimilated by its work with intervals, where \nwe show not only the usefulness of our measure for evaluation in the described \nscenarios but also the computational efficiency of our measure versus this \nalternative. \nThe proposals made provide solutions to specific problems in anomaly detection \nresearch, such as the lack of models capable of working in distributed environments \nand offering explanations as to why an instance is classified as anomalous or normal, and the dissociation of certain evaluation systems that consider specific instances for \nthe evaluation of events that occur over a period of time.
Author: Carrasco Castillo, Jacinto
Language: English
Open Access status: green
OpenAlex ID: W7036124437
Cites: 92
Cited by:
Related to: 10