Abstract
In large-scale cloud environments, identifying the root cause or "fault pattern" of incidents is critical for maintaining system reliability. However, manual postmortem analysis is often restricted to high-severity incidents due to the sheer volume of tickets and the complexity of hierarchical fault taxonomies. This paper presents FaultProfIT, an automated framework that leverages dual encoders and hierarchy-guided contrastive learning to profile incident tickets. Evaluated on a dataset from a major cloud vendor, FaultProfIT achieves a 78.3% F1-score and demonstrates significant utility in identifying emerging trends within low-severity incidents that manual processes typically overlook.
1. Introduction
Cloud service reliability hinges on effective incident management. When a service disruption occurs, engineers document the event in an incident ticket. A crucial step in the lifecycle of these tickets is the postmortem analysis, where the "fault pattern"—a specific category within a hierarchical taxonomy (e.g., Infrastructure > Data Center > Power Supply)—is identified.
Despite its importance, fault profiling remains a predominantly manual and labor-intensive task. Given the scale of modern cloud systems, engineers often prioritize high-severity (S1/S2) incidents, leaving thousands of low-severity (S4/S5) incidents unprofiled. This selective analysis creates a blind spot, as systemic weaknesses often manifest first as minor, recurring issues before escalating into major outages.
2. The FaultProfIT Framework
FaultProfIT addresses these challenges by treating fault profiling as a Hierarchical Text Classification (HTC) problem. The framework integrates three core components to capture both the semantic content of tickets and the structural relationships of the fault taxonomy.
2.1 Dual-Encoder Architecture
The system utilizes two specialized encoders to process incident data:
- Incident Encoder: Based on MacBERT, this component processes the textual data within a ticket, including the title, symptoms, and root cause descriptions.
- Hierarchy Encoder: Utilizing Graphormer, this encoder captures the tree-like structure of the fault taxonomy. By encoding the relationships between parent and child nodes, the model understands that specific faults (e.g., "Memory Overload") are subsets of broader categories (e.g., "System Resource").
2.2 Hierarchy-Guided Contrastive Learning
To improve representation learning, FaultProfIT employs a novel contrastive learning strategy. It uses the fault hierarchy to identify salient keywords within tickets and generates augmented versions of the data. The model is trained to minimize the distance between similar fault representations in vector space while maximizing the distance between dissimilar ones. This approach is particularly effective for specialized engineering domains where expert-labeled data is scarce.
2.3 Hybrid Feature Integration
Beyond label names, FaultProfIT incorporates textual descriptions of the fault patterns themselves. This allows the model to leverage domain-specific knowledge, enriching the feature set used for classification and helping the model understand the "meaning" behind each category in the hierarchy.
3. Evaluation and Results
The framework was evaluated using a real-world dataset from "CloudA," a top-tier cloud vendor. The dataset comprised 22,560 incident tickets, with a subset of 1,463 tickets manually labeled across a 5-level hierarchy containing 334 leaf nodes.
3.1 Performance Metrics
FaultProfIT achieved a Macro F1-score of 78.3%, significantly outperforming several baselines:
- Dense Passage Retriever (DPR): 54.1%
- ChatGLM (LLM): 62.5%
The superior performance over Large Language Models (LLMs) highlights the importance of incorporating explicit hierarchical context, which general-purpose models often lack without extensive fine-tuning.
3.2 The Significance of Low-Severity Incidents
A key finding of the study is that FaultProfIT performs exceptionally well on low-severity (S5) incidents. These tickets often contain clearer, more specific technical signals compared to high-severity disasters, which are frequently complex and involve multiple interacting components. By automating the profiling of these "minor" incidents, FaultProfIT provides a more comprehensive view of system health.
4. Real-World Impact
During a six-month deployment analyzing over 10,000 new incidents across 30+ cloud services, FaultProfIT demonstrated immediate practical value. The system identified a rising trend in "memory overload" incidents within a specific service. Because these incidents were individually low-severity, they had escaped manual review. The automated alert allowed engineers to deploy a fix by Week 22, successfully mitigating the trend before it could impact service stability.
5. Limitations and Future Work
While effective, FaultProfIT faces challenges with the "Others" category, where incidents lack common semantic patterns. Additionally, the current model requires retraining when the fault taxonomy evolves. Future research will explore the integration of multimodal data, such as log traces and system metrics, to further refine classification accuracy.
6. Conclusion
FaultProfIT represents a significant step toward automated cloud incident management. By combining hierarchical structural knowledge with contrastive learning, it enables the systematic analysis of the vast majority of incident data that was previously ignored, transforming raw ticket text into actionable insights for system reliability.
Summary updated