AI Navigate

BoundAD: Boundary-Aware Negative Generation for Time Series Anomaly Detection

arXiv cs.LG / 3/20/2026

💬 OpinionModels & Research

Key Points

  • The paper tackles the challenge of constructing high-quality negative samples for time series anomaly detection by focusing on boundary negatives near the normal data manifold instead of random perturbations or predefined anomalies.
  • It proposes BoundAD, a reconstruction-driven framework that first trains a reconstruction network to capture normal temporal patterns and then uses reinforcement learning to adaptively adjust the optimization update magnitude, generating boundary-shifted negatives along the reconstruction trajectory.
  • Unlike prior approaches, BoundAD does not rely on explicit anomaly patterns and instead mines harder negatives from the model's own learning dynamics.
  • Experimental results on current datasets show that the method improves anomaly representation learning and achieves competitive detection performance.

Abstract

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.