arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2404.18948cs.LG
收藏

次邻接Transformer:利用次邻接邻域的重构误差改进时间序列异常检测

Sub-Adjacent Transformer: Improving Time Series Anomaly Detection with Reconstruction Error from Sub-Adjacent Neighborhoods

Peking University(北京大学);Tsinghua University(清华大学);Microsoft(微软公司)

Wenzhen Yue, Xianghua Ying, Ruohao Guo, DongDong Chen, Ji Shi, Bowei Xing, Yuqing Zhu, Taiyan Chen

AI总结:

本文提出次邻接Transformer,通过将注意力限制在与目标点不直接相邻的次邻接邻域来增加异常重构难度,并采用改进的线性注意力实现,在六个真实世界异常检测基准上取得最先进性能。

摘要:

本文提出了次邻接Transformer,其采用一种新颖的注意力机制用于无监督时间序列异常检测。与以往依赖某个邻域内所有点进行时间点重构的方法不同,我们的方法将注意力限制在与目标点不直接相邻的区域,称为次邻接邻域。我们的关键观察是,由于异常的稀有性,它们通常与其次邻接邻域的差异比与其直接邻近区域的差异更为显著。通过将注意力集中在次邻接区域,我们使异常的重构更具挑战性,从而增强其可检测性。在技术实现上,我们的方法通过在训练阶段放大注意力矩阵非对角线区域的对应元素,将注意力集中在这些区域。为了便于实现所需的注意力矩阵模式,我们采用线性注意力,因为其具有灵活性和适应性。此外,我们提出了一个可学习的映射函数来提升线性注意力的性能。在实验上,次邻接Transformer在六个真实世界异常检测基准上取得了最先进的性能,覆盖了服务器监控、太空探索和水处理等多个领域。

英文摘要:

In this paper, we present the Sub-Adjacent Transformer with a novel attention mechanism for unsupervised time series anomaly detection. Unlike previous approaches that rely on all the points within some neighborhood for time point reconstruction, our method restricts the attention to regions not immediately adjacent to the target points, termed sub-adjacent neighborhoods. Our key observation is that owing to the rarity of anomalies, they typically exhibit more pronounced differences from their sub-adjacent neighborhoods than from their immediate vicinities. By focusing the attention on the sub-adjacent areas, we make the reconstruction of anomalies more challenging, thereby enhancing their detectability. Technically, our approach concentrates attention on the non-diagonal areas of the attention matrix by enlarging the corresponding elements in the training stage. To facilitate the implementation of the desired attention matrix pattern, we adopt linear attention because of its flexibility and adaptability. Moreover, a learnable mapping function is proposed to improve the performance of linear attention. Empirically, the Sub-Adjacent Transformer achieves state-of-the-art performance across six real-world anomaly detection benchmarks, covering diverse fields such as server monitoring, space exploration, and water treatment.

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

↑