一句话:提出冲突感知多任务模型 CAD,用指标专属结构与任务导向门控缓解指标间回归冲突,提升多变量 KPI 异常检测性能。
多变量时间序列(MTS)异常检测对保障软件与服务系统可靠性至关重要,但异常稀缺且标注困难,现有自监督方法优化覆盖所有指标回归目标的总体损失。经验研究发现,不同指标的回归目标存在普遍冲突,模型难以兼顾,而该问题此前被忽视。为此,作者借鉴多门混合专家(MMoE)提出 CAD:为每个指标提供专属结构以缓解冲突并促进互促;针对原始 MMoE 在 MTS 中的输入输出错位与任务扩展收敛问题,设计任务导向指标选择及个性化与共享门控。公开数据集上,CAD 平均 F1 达 0.943,优于现有最优方法。
Massive key performance indicators (KPIs) are monitored as multivariate time series data (MTS) to ensure the reliability of the software applications and service system. Accurately detecting the abnormality of MTS is very critical for subsequent fault elimination. The scarcity of anomalies and manual labeling has led to the development of various self-supervised MTS anomaly detection (AD) methods, which optimize an overall objective/loss encompassing all metrics' regression objectives/losses. However, our empirical study uncovers the prevalence of conflicts among metrics' regression objectives, causing MTS models to grapple with different losses. This critical aspect significantly impacts detection performance but has been overlooked in existing approaches. To address this problem, by mimicking the design of multi-gate mixture-of-experts (MMoE), we introduce CAD, a Conflict-aware multivariate KPI Anomaly Detection algorithm. CAD offers an exclusive structure for each metric to mitigate potential conflicts while fostering inter-metric promotions. Upon thorough investigation, we find that the poor performance of vanilla MMoE mainly comes from the input-output misalignment settings of MTS formulation and convergence issues arising from expansive tasks. To address these challenges, we propose a straightforward yet effective task-oriented metric selection and p&s (personalized and shared) gating mechanism, which establishes CAD as the first practicable multi-task learning (MTL) based MTS AD model. Evaluations on multiple public datasets reveal that CAD obtains an average F1-score of 0.943 across three public datasets, notably outperforming state-of-the-art methods. Our code is accessible at https://github.com/dawnvince/MTS_CAD.
DOI 原文 · arXiv · PDF(开放获取) · DBLP
@inproceedings{abs-2308-08915,
title = {Beyond Sharing: Conflict-Aware Multivariate Time Series Anomaly Detection},
author = {Haotian Si and Changhua Pei and Zhihan Li and Yadong Zhao and Jingjing Li and Haiming Zhang and Zulong Diao and Jianhui Li and Gaogang Xie and Dan Pei},
booktitle = {FSE},
year = {2023},
doi = {10.1145/3611643.3613896}
}