CMMD: Cross-Metric Multi-Dimensional Root Cause Analysis

Shifu Yan, Caihua Shan, Wenyi Yang, Bixiong Xu, Dongsheng Li, Lili Qiu, Jie Tong, Qi Zhang · DOI

Abstract

Identifying the root cause of fluctuations in complex business metrics is a critical task in large-scale online services. Traditional Root Cause Analysis (RCA) tools often struggle with derived metrics and high-dimensional data. This paper introduces CMMD (Cross-Metric Multi-Dimensional), a framework that combines Graph Neural Networks (GNNs) to model metric relationships and Genetic Algorithms (GAs) to search through massive dimensional spaces. CMMD outperforms existing tools by approximately 9% in real-world production environments like Microsoft Azure.

Introduction

In large-scale online services, engineers monitor Key Performance Indicators (KPIs) such as "Conversion Rate" or "Error Rate." These metrics are rarely simple; they are typically derived from fundamental metrics and aggregated across multiple dimensions, such as Region, Device, or Channel. When a KPI drops, the "root cause" is often a specific slice of data—for example, a bug affecting only "Chrome users in the UK."

Dimension Tree and Metric Calculation

Existing RCA tools face two major hurdles:

  1. Single-Metric Bias: They often ignore the fundamental metrics that drive a derived KPI (e.g., Conversion Rate = # Conversions / # Views).
  2. Combinatorial Explosion: With numerous dimensions and values, the number of possible combinations to check is massive, making manual or simple tree-based searches inefficient.

The CMMD Framework

CMMD introduces a two-stage approach to bridge these gaps, integrating relationship modeling with heuristic search.

CMMD System Architecture

Relationship Modeling (GNN-Enhanced)

Instead of requiring manual configuration of every KPI's mathematical logic, CMMD uses a Graph Attention Network (GAT). It treats the dimension tree as a graph and learns how fundamental metrics at the leaf nodes aggregate into the root KPI. This allows the model to understand the "ripple effect" of changes in sub-metrics even when exact formulas are unknown or non-linear.

Root Cause Localization (GA-Based)

To find the specific dimension combination responsible for an anomaly, CMMD employs a Genetic Algorithm (GA). Potential root causes are represented as binary "chromosomes." The algorithm's fitness function searches for a set of dimensions that, if replaced with their predicted normal values, would most accurately resolve the observed KPI anomaly. It balances accuracy with succinctness, preferring simple explanations over overly complex ones.

Evaluation and Results

CMMD was evaluated on production datasets from Microsoft Azure, public semi-synthetic data, and custom synthetic data designed to test complex, non-linear dependencies.

Key results include:

  • Superior Accuracy: CMMD achieved an average F1-score of 0.86 on production datasets, outperforming the next best baseline by nearly 9%.
  • Precision in Marketing: In a case study involving business marketing, CMMD correctly identified a specific Search/US channel as the root cause, whereas traditional methods incorrectly blamed regions with larger percentage declines but lower total impact.
  • Scalability: CMMD maintained high efficiency in tests with up to $10^5$ dimension combinations, while traditional methods saw processing times increase exponentially.

Conclusion

CMMD demonstrates that the root cause of a derived KPI anomaly is often most visible in its underlying fundamental metrics. By utilizing GNNs as universal approximators and GAs for heuristic search, CMMD provides a scalable and accurate solution for modern AIOps. Future work will focus on improving performance in "cold-start" scenarios where historical data is limited.

Summary updated

BibTeX
@inproceedings{yan2022cmmd,
  author = {Shifu Yan and Caihua Shan and Wenyi Yang and Bixiong Xu and Dongsheng Li and Lili Qiu and Jie Tong and Qi Zhang},
  title = {{CMMD: Cross-Metric Multi-Dimensional Root Cause Analysis}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539109},
}
Figure