Lune

FSE2021Top-tier venue

Identifying bad software changes via multimodal anomaly detection for online service systems

Nengwen Zhao, Junjie Chen, Zhaoyang Yu, Honglin Wang, Jiesong Li, Bin Qiu, Hongyu Xu, Wenchi Zhang, Kaixin Sui, Dan Pei

Abstract

In large-scale online service systems, software changes are inevitable and frequent. Due to importing new code or configurations, changes are likely to incur incidents and destroy user experience. Thus it is essential for engineers to identify bad software changes, so as to reduce the influence of incidents and improve system re- liability. To better understand bad software changes, we perform the first empirical study based on large-scale real-world data from a large commercial bank. Our quantitative analyses indicate that about 50.4% of incidents are caused by bad changes, mainly be- cause of code defect, configuration error, resource contention, and software version. Besides, our qualitative analyses show that the current practice of detecting bad software changes performs not well to handle heterogeneous multi-source data involved in soft- ware changes. Based on the findings and motivation obtained from the empirical study, we propose a novel approach named SCWarn aiming to identify bad changes and produce interpretable alerts accurately and timely. The key idea of SCWarn is drawing support from multimodal learning to identify anomalies from heterogeneous multi-source data. An extensive study on two datasets with various bad software changes demonstrates our approach significantly outperforms all the compared approaches, achieving 0.95 F1-score on average and reducing MTTD (mean time to detect) by 20.4%∼60.7%. In particular, we shared some success stories and lessons learned from the practical usage.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

No credit card required.

Lineage

  • Semi-supervised Log-based Anomaly Detection via Probabilistic Label Estimation cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Lifelong Anomaly Detection Through Unlearning cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep Learning cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Heterogeneous Anomaly Detection for Software Systems via Semi-supervised Cross-modal Attention cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System cites DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep Learning
  • Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System cites Heterogeneous Anomaly Detection for Software Systems via Semi-supervised Cross-modal Attention
  • Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • ART: A Unified Unsupervised Framework for Incident Management in Microservice Systems cites Semi-supervised Log-based Anomaly Detection via Probabilistic Label Estimation
  • ART: A Unified Unsupervised Framework for Incident Management in Microservice Systems cites Heterogeneous Anomaly Detection for Software Systems via Semi-supervised Cross-modal Attention
  • ART: A Unified Unsupervised Framework for Incident Management in Microservice Systems cites Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papersTop 5 of 10 by citations

  1. DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep LearningChenxi Zhang, Xin Peng, Chaofeng Sha, Ke Zhang et al.ICSE 2022 · 163 citations
  2. Heterogeneous Anomaly Detection for Software Systems via Semi-supervised Cross-modal AttentionCheryl Lee, Tianyi Yang, Zhuangbin Chen, Yuxin Su et al.ICSE 2023 · 52 citations
  3. Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice SystemJun Huang, Yang Yang, Hang Yu, Jianguo Li et al.ASE 2023 · 32 citations
  4. METER: A Dynamic Concept Adaptation Framework for Online Anomaly DetectionJiaqi Zhu, Shaofeng Cai, Fang Deng, Beng Chin Ooi et al.VLDB 2024 · 18 citations
  5. ART: A Unified Unsupervised Framework for Incident Management in Microservice SystemsYongqian Sun, Binpeng Shi, Mingyu Mao, Minghua Ma et al.ASE 2024 · 9 citations

Builds onTop 5 of 13 by citations

  1. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 citations
  2. Semi-supervised Log-based Anomaly Detection via Probabilistic Label EstimationLin Yang, Junjie Chen, Zan Wang, Weijing Wang et al.ICSE 2021 · 216 citations
  3. Lifelong Anomaly Detection Through UnlearningMin Du, Zhi Chen, Chang Liu, Rajvardhan Oak et al.CCS 2019 · 145 citations
  4. Misbehaviour prediction for autonomous driving systemsAndrea Stocco, Michael Weiss, Marco Calzana, Paolo TonellaICSE 2020 · 138 citations
  5. Diagnosing Root Causes of Intermittent Slow Queries in Large-Scale Cloud DatabasesMinghua Ma, Zheng Yin, Shenglin Zhang, Sheng Wang et al.VLDB 2020 · 119 citations

Related papers

  1. Real-time incident prediction for online service systemsNengwen Zhao, Junjie Chen, Zhou Wang, Xiao Peng et al.FSE 2020 · 48 citations
  2. ChangeRCA: Finding Root Causes from Software Changes in Large Online SystemsGuangba Yu, Pengfei Chen, Zilong He, Qiuyu Yan et al.FSE 2024 · 3 citations
  3. CCT5: A Code-Change-Oriented Pre-trained ModelBo Lin, Shangwen Wang, Zhongxin Liu, Yepang Liu et al.FSE 2023 · 69 citations
  4. Automatically and Adaptively Identifying Severe Alerts for Online Service SystemsNengwen Zhao, Panshi Jin, Lixin Wang, Xiaoqin Yang et al.INFOCOM 2020 · 36 citations
  5. Beyond the Stars: Multimodal Detection of Scams on GitHubTillson Galloway, Kevin Valakuzhy, Manos Antonakakis, Fabian MonroseUSENIX Security 2026
Dusk over the sea between two cliffs drawn in fine vertical lines