arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.01061stat.COcs.LGstat.AP
收藏

一种用于数据流的高效异常检测算法

An Efficient Outlier Detection Algorithm for Data Streaming

California State University, San Bernardino(加州州立大学圣贝纳迪诺分校);John A. Paulson School of Engineering and Applied Sciences, Harvard University(哈佛大学约翰·A·保尔森工程与应用科学学院);University of California, Riverside(加州大学河滨分校)

Rui Hu, Luc, Chen, Yiwei Wang

AI总结:

本文提出高效增量局部异常因子(EILOF)算法,仅计算新点的 LOF 分数而不更新现有点,在降低流式异常检测计算成本的同时,随数据量增加系统性地提升检测精度并优于 ILOF。

摘要:

现代数据的本质日益实时化,使得异常检测在任何与数据相关的领域中都至关重要,例如金融领域的欺诈检测和医疗保健领域的患者生命体征监测。传统的异常检测方法,如局部异常因子(LOF)算法,由于每新增一个数据点都需要进行大量重新计算,难以应对实时数据,从而限制了它们在实时环境中的应用。虽然增量局部异常因子(ILOF)算法已被开发出来以应对在线异常检测的挑战,但在处理大量流式数据点时,其计算成本仍然很高,并且当流入的数据点超过一定阈值后,其检测性能可能会下降。在本文中,我们提出了一种新方法来提高用于在线异常检测的 LOF 算法的效率,该方法被命名为高效增量局部异常因子(EILOF)算法。EILOF 算法仅计算新点的 LOF 分数,而不改变现有数据点的 LOF 分数。尽管在新算法中尚未为现有点计算出精确的 LOF 分数,但数据集通常包含噪声,LOF 分数计算中的微小偏差并不一定会降低检测性能。事实上,这种偏差有时反而能增强异常检测能力。我们在模拟数据集和真实世界数据集上系统地测试了该方法,结果表明,随着流式数据量的增加,EILOF 在各种场景下均优于 ILOF。与 ILOF 算法相比,EILOF 算法不仅显著降低了计算成本,而且在新增点数量增加时系统地提高了检测精度。

英文摘要:

The nature of modern data is increasingly real-time, making outlier detection crucial in any data-related field, such as finance for fraud detection and healthcare for monitoring patient vitals. Traditional outlier detection methods, such as the Local Outlier Factor (LOF) algorithm, struggle with real-time data due to the need for extensive recalculations with each new data point, limiting their application in real-time environments. While the Incremental LOF (ILOF) algorithm has been developed to tackle the challenges of online anomaly detection, it remains computationally expensive when processing large streams of data points, and its detection performance may degrade after a certain threshold of points have streamed in. In this paper, we propose a novel approach to enhance the efficiency of LOF algorithms for online anomaly detection, named the Efficient Incremental LOF (EILOF) algorithm. The EILOF algorithm only computes the LOF scores of new points without altering the LOF scores of existing data points. Although exact LOF scores have not yet been computed for the existing points in the new algorithm, datasets often contain noise, and minor deviations in LOF score calculations do not necessarily degrade detection performance. In fact, such deviations can sometimes enhance outlier detection. We systematically tested this approach on both simulated and real-world datasets, demonstrating that EILOF outperforms ILOF as the volume of streaming data increases across various scenarios. The EILOF algorithm not only significantly reduces computational costs, but also systematically improves detection accuracy when the number of additional points increases compared to the ILOF algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑