Abstract
As software systems grow increasingly intricate, Artificial Intelligence for IT Operations (AIOps) methods have been widely used in software system failure management to ensure the high availability and reliability of large-scale distributed software systems. However, these methods still face several challenges, such as lack of cross-platform generality and cross-task flexibility. Fortunately, recent advancements in large language models (LLMs) can significantly address these challenges, and many approaches have already been proposed to explore this field. However, there is currently no comprehensive survey that discusses the differences between LLM-based AIOps and traditional AIOps methods. Therefore, this paper presents a comprehensive survey of AIOps technology for failure management in the LLM era. It includes a detailed definition of AIOps tasks for failure management, the data sources for AIOps, and the LLM-based approaches adopted for AIOps. Additionally, this survey explores the AIOps subtasks, the specific LLM-based approaches suitable for different AIOps subtasks, and the challenges and future directions of the domain, aiming to further its development and application.
Introduction
Modern software systems are massive, distributed, and incredibly complex. When failures occur, the cost of downtime is astronomical. Traditional AIOps—which relies on standard Machine Learning (ML) and Deep Learning (DL)—has reached a plateau. These legacy approaches suffer from several "brittleness" factors: heavy manual feature engineering, a lack of generality across different systems, and task silos where models can detect anomalies but cannot explain or fix them.
Large Language Models (LLMs), with their inherent reasoning capabilities and natural language interfaces, are bridging these gaps. By acting as a semantic "Swiss Army Knife," LLMs are transforming AIOps from simple alerting tools into intelligent systems capable of end-to-end failure management.
LLM-based Approaches for AIOps
The transition to LLM-based AIOps involves several distinct technical strategies. These range from using models out-of-the-box to deeply integrating them into the system's architecture.
As shown in the taxonomy above, the primary approaches include:
- Foundational Models: Utilizing pre-trained models like GPT-4 or LLaMA without further training.
- Fine-tuning: Adapting models to the specific IT domain using techniques like Full Fine-Tuning or Parameter-Efficient Fine-Tuning (PEFT), such as LoRA.
- Embedding-based: Leveraging LLMs to transform unstructured logs into semantic vectors for downstream analysis.
- Prompt-based: Using In-Context Learning (ICL), Chain-of-Thought (CoT) reasoning, and Retrieval-Augmented Generation (RAG) to provide models with real-time system context.
The Failure Management Workflow
The survey defines a clear four-stage workflow for failure management in the LLM era, moving from raw data to automated resolution.
- Data Preprocessing: This includes log parsing and metrics imputation. A critical new task is Input Summarization, which condenses massive system logs to fit within the limited context windows of LLMs.
- Failure Perception: This stage moves beyond simple anomaly detection toward proactive failure prediction.
- Root Cause Analysis (RCA): LLMs identify the "where" (localization) and "what" (classification) of a failure. Unlike traditional methods, LLMs can generate human-readable narrative reports that explain the logical chain of events.
- Auto Remediation: This represents the final frontier, ranging from assisted questioning for engineers to the automatic generation and execution of remediation scripts (e.g., KQL or Python).
Data Sources and Integration
A significant shift in the LLM era is the integration of diverse data sources. While traditional AIOps focused almost exclusively on system-generated data (logs, metrics, and traces), LLMs excel at incorporating human-generated data. This includes over 40,000 real-world incident reports, technical manuals, and Q&A pairs from platforms like StackOverflow. By "reading the manual," LLMs can apply historical human knowledge to live system crashes.
Key Insights and Future Directions
Recent milestones demonstrate the potential of this field. Models like LLMParser outperform rule-based systems in understanding log semantics, while specialized models like TimeGPT enable zero-shot time-series forecasting. Empirical studies at Microsoft have already shown that LLMs can significantly reduce the cognitive load on engineers by providing high-quality mitigation suggestions.
However, several challenges remain:
- Computational Cost: Real-time monitoring with massive LLMs is currently expensive.
- The Trace Gap: Distributed request paths (traces) are currently underutilized in LLM research compared to logs and metrics.
- Hallucinations: In IT operations, a hallucinated script could lead to catastrophic data loss.
- System Evolution: Software changes rapidly, making it difficult to keep an LLM's knowledge base current without constant retraining.
The future of AIOps likely lies in hybrid architectures: using small, efficient models for continuous monitoring and invoking powerful LLMs only when complex failures require deep reasoning.
Summary updated