[论文解读] BoundAD: Boundary-Aware Negative Generation for Time Series Anomaly Detection
BoundAD 引入强化学习引导的边界感知负样本生成以提升无监督时间序列异常检测的对比学习,随后进行原型基判别细化。
Contrastive learning methods for time series anomaly detection (TSAD) heavily depend on the quality of negative sample construction. However, existing strategies based on random perturbations or pseudo-anomaly injection often struggle to simultaneously preserve temporal semantic consistency and provide effective decision-boundary supervision. Most existing methods rely on prior anomaly injection, while overlooking the potential of generating hard negatives near the data manifold boundary directly from normal samples themselves. To address this issue, we propose a reconstruction-driven boundary negative generation framework that automatically constructs hard negatives through the reconstruction process of normal samples. Specifically, the method first employs a reconstruction network to capture normal temporal patterns, and then introduces a reinforcement learning strategy to adaptively adjust the optimization update magnitude according to the current reconstruction state. In this way, boundary-shifted samples close to the normal data manifold can be induced along the reconstruction trajectory and further used for subsequent contrastive representation learning. Unlike existing methods that depend on explicit anomaly injection, the proposed framework does not require predefined anomaly patterns, but instead mines more challenging boundary negatives from the model's own learning dynamics. Experimental results show that the proposed method effectively improves anomaly representation learning and achieves competitive detection performance on the current dataset.
研究动机与目标
- 通过在无监督 TSAD 中生成接近正常数据流形的难样本来促进边界学习。
- 开发一个三阶段框架,结合重建、RL 指导的伪异常生成、以及原型基细化。
- 证明边界聚焦的负样本能改善对比表示与异常判别。
- 提供一个训练管线,联合优化重建、表示学习和原型判别。
提出的方法
- 阶段 1:预训练重建模型以捕捉正常时间模式。
- 阶段 2:使用强化学习通过对重建器的符号性更新自适应地生成伪异常窗口;使用三元组和紧凑性损失对正常、增强后样本与伪异常样本进行训练。
- 阶段 3:引入一个可训练的基于原型的模块,带有对原型的软分配,以及用于正常紧凑、异常分离、原型离散、原型平衡的损失;使用最近原型距离作为异常分数。
- 异常分数在阶段 3 之后使用到最近原型的距离 s(z)=min_k ||z-c_k||^2;阈值化得到二值异常决策。
- 关键方程包括重建损失 L_rec、三元组损失 L_tri、紧凑性损失 L_com,以及阶段 3 的损失 L_n、L_a、L_sep、L_bal;异常分数为 s(z)=min_k ||z-c_k||^2。
实验结果
研究问题
- RQ1 RL 控制的边界附近伪异常生成是否能提升时间序列无监督异常检测的对比学习效果?
- RQ2三阶段框架(重建 + RL 指导的负样本生成 + 原型细化)是否优于仅重建或静态异常注入的基线在无监督 TSAD 的表现?
- RQ3边界感知的负样本如何影响正常样本与异常样本在嵌入空间的几何关系?
- RQ4基于原型的细化是否能捕捉多模态正常流形并抑制误报?
- RQ5在 BoundAD 下,点异常与模式(集合)异常的检测特性是什么?
主要发现
- 该方法在季节性异常任务的 AUC 达到高值(0.9606),在点异常任务的 AUC 为 0.9438。
- 季节性异常比点异常具有更高的 AUC、更低的 FP,以及更清晰的异常分数分离。
- 带 RL 生成负样本的三元组编码学习使三元组损失逐步下降(Seasonal: 0.0153→0.0007;Point: 0.0256→0.0011)。
- 阶段 3 的原型学习在总损失保持稳定(约 0.045–0.050)的同时实现强大的正常样本紧凑性与原型离散性。
- 正常样本聚类到可学习的原型附近,而伪异常样本保持距离,从而实现更清晰的异常打分。
- 边界感知的负样本提供比固定扰动更具信息量的信号,有助于边界学习与判别。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。