Introduction
In massive cloud environments like Microsoft Azure, thousands of teams manage interconnected services. When a service fails—an "incident"—it must be assigned to the correct team immediately to minimize downtime. However, manual triage is notoriously difficult because a single symptom, such as a virtual machine not responding, could be caused by anything from a network glitch to a storage failure. Misrouting is more than an inconvenience; research indicates that an incorrect assignment can increase the time to fix a problem by up to 10x.
DeepTriage is an intelligent incident transfer service developed by Microsoft to solve this "ping-pong" problem of misrouted alerts. By using an ensemble of 16 different machine learning models, the system achieves high accuracy in recommending the correct team to handle an outage, significantly reducing the Time to Mitigate (TTM) for critical cloud infrastructure.
The Challenges of Incident Triage
The authors identify four major hurdles in automating incident routing:
- Extreme Data Imbalance: Some teams handle hundreds of thousands of incidents, while others see only one.
- Data Diversity: Incident reports contain a messy mix of HTML, stack traces, SQL queries, and chat logs.
- Scale: The system must handle thousands of teams and provide recommendations in milliseconds.
- Engineer Trust: On-call engineers are often skeptical of "black box" suggestions and require transparency to adopt ML recommendations.
Methodology: A "Best of All Worlds" Ensemble
DeepTriage uses a robust ensemble approach rather than relying on a single architecture. It combines 16 models to cover different types of incidents and data qualities:
- MART (Multiple Additive Regression Trees): 10 models using gradient boosting to handle the bulk of the classification.
- LGBM (Light Gradient Boosting Machine): 3 models specifically tuned for Customer Reported Incidents (CRIs), which are often more unstructured than automated alerts.
- Inverted Index: A search-based approach to handle the "cold start" problem for new teams lacking historical data.
- Locality-Sensitive Hashing (SI): An unsupervised method to find similar past incidents quickly.
- Deep Neural Network (CNN): A convolutional architecture that extracts features from both textual data (titles, summaries) and contextual data (severity, source).
The system is deployed as a REST endpoint within Azure's Incident Management System (IMS), supporting both fully automated routing and human-in-the-loop suggestions.
Dataset and Evaluation
The models were trained on six months of real-world incident data from Microsoft Azure, totaling over 80GB of reports. This dataset covers more than 4,000 teams and 1,000 services. To handle the massive imbalance, infrequent teams were merged into a special "Other" class, and majority classes were down-sampled to reduce training time and variance.
Key Results
DeepTriage achieved an overall 82.9% F1 score across all incidents. For critical "Sev 0-2" incidents, the F1 score reached between 76.3% and 91.3%.
As shown in the performance curves, the incremental addition of models provided significant lift. Adding the DNN component alone improved the F1 score by roughly 3% across the board, while specialized LGBM models for customer reports improved performance by up to 29% in that specific category. Deployed since 2017, the system handles over 1,500 API calls per day with an average latency of 833.6ms.
Insights and Future Work
One of the most important findings was that "Trust is a Feature." The team implemented RecommendationInsights, which explains why a team was suggested (e.g., "This team mitigated 5 similar incidents recently"). This transparency was vital for adoption by senior engineers.
While the system is excellent at placing the correct team in the "Top 5" recommendations, its "Top 1" accuracy remains a focus for improvement. Future work involves experimenting with Transformer-based models (like BERT) to better understand the semantic meaning of incident logs and further improve autonomous routing capabilities.
Summary updated