Despite a plethora of anomaly detection models developed over the years, their ability to generalize to unseen anomalies remains an issue, particularly in critical systems. This paper aims to address this challenge by introducing Swift Hydra, a new framework for training an anomaly detection method based on generative AI and reinforcement learning (RL). Through featuring an RL policy that operates on the latent variables of a generative model, the framework synthesizes novel and diverse anomaly samples that are capable of bypassing a detection model. These generated synthetic samples are, in turn, used to augment the detection model, further improving its ability to handle challenging anomalies. Swift Hydra also incorporates Mamba models structured as a Mixture of Experts (MoE) to enable scalable adaptation of the number of Mamba experts based on data complexity, effectively capturing diverse feature distributions without increasing the model's inference time. Empirical evaluations on ADBench benchmark demonstrate that Swift Hydra outperforms other state-of-the-art anomaly detection models while maintaining a relatively short inference time. From these results, our research highlights a new and auspicious paradigm of integrating RL and generative AI for advancing anomaly detection.
翻译:尽管多年来已开发出大量异常检测模型,但其对未见异常情况的泛化能力仍存在问题,尤其在关键系统中。本文旨在通过引入Swift Hydra这一新框架来应对该挑战,该框架基于生成式人工智能和强化学习(RL)训练异常检测方法。通过采用在生成模型潜变量上操作的RL策略,该框架能够合成新颖且多样化的异常样本,这些样本能够绕过检测模型。这些生成的合成样本随后被用于增强检测模型,进一步提升其处理挑战性异常的能力。Swift Hydra还集成了以专家混合(MoE)结构组织的Mamba模型,能够根据数据复杂度可扩展地调整Mamba专家数量,有效捕获多样化特征分布而无需增加模型推理时间。在ADBench基准上的实证评估表明,Swift Hydra在保持相对较短推理时间的同时,性能优于其他最先进的异常检测模型。这些结果凸显了整合强化学习与生成式人工智能以推进异常检测领域的新兴且前景广阔的研究范式。