Abstract
Cloud Atlas is a novel framework designed to automate the construction of causal graphs for complex cloud systems. By leveraging Large Language Models (LLMs) to interpret system documentation and telemetry metadata, Atlas bridges the gap between high-level architectural knowledge and low-level metric correlations. The framework combines agent-based decomposition, LLM-powered reasoning, and data-driven validation to produce accurate causal models. Experimental results demonstrate that Atlas achieves F1 scores between 0.73 and 1.0 in graph construction and identifies root causes with 60% to 96% accuracy, rivaling human-expert performance and significantly outperforming traditional discovery algorithms.
Introduction
Modern cloud services often comprise thousands of microservices and metrics, making fault localization a "needle in a haystack" problem for on-call engineers. While causal reasoning—mapping how metrics like CPU usage influence request latency—offers a powerful diagnostic tool, building these causal graphs manually is slow and requires rare domain expertise. Conversely, purely data-driven causal discovery often fails in cloud environments due to high dimensionality, rare incident data, and the masking of true causation by correlations. Cloud Atlas addresses this "causal graph construction bottleneck" by treating graph creation as a knowledge-translation task rather than a purely statistical one.
Methodology
The Atlas pipeline automates the transition from system descriptions to validated causal graphs through several key stages:
- Agent-based Decomposition: To ensure scalability, Atlas decomposes the system into "agents" (e.g., services or resources). It provides the LLM with textual descriptions of these components and their known interactions.
- LLM-Powered Examination: Using Chain of Thought prompting, the LLM identifies pairwise causal relationships between metrics based on semantic hints in documentation and metric names.
- The Confounder Graph: Atlas constructs an "ideal" graph including unobserved variables, which is then collapsed to align with available telemetry.
- Data-driven Validation: Statistical methods, such as Markov blanket discovery and Additive Noise Models, are used to verify LLM-proposed edges against observed data, correcting potential hallucinations.
- Human-in-the-loop Refinement: A prioritized list of suspicious connections is presented to experts for final approval, focusing on edges critical to graph connectivity.
Experimental Setup
The researchers evaluated Atlas using standard benchmarks (MoM, AA, and DoWhy microservices) and a custom "ModelServing" simulator. This simulator generates large-scale datasets mimicking production model-inference pipelines, incorporating faults such as workload spikes, network latency, and GPU throttling. The architecture of this scenario involves clients, routers, and inference queues feeding into GPU-based model workers.
Results and Discussion
Atlas demonstrated superior accuracy in causal graph construction, achieving F1 scores of 0.73 to 1.0, whereas traditional algorithms like PC or GES typically scored below 0.30. In root cause analysis tasks, Atlas correctly identified the primary cause in the "Top 1" results 60% to 96% of the time, a performance level nearly identical to using ground-truth graphs created by human experts.
Key insights from the study include:
- Documentation as a Prior: LLMs are exceptionally good at interpreting semantic hints in metric names and documentation, providing a strong "prior" for system structure that is easier to validate than discovering structure from scratch.
- Locality of Interaction: By exploiting the modular nature of cloud systems, Atlas maintains high performance even as system size grows (up to 56 nodes), unlike naive LLM prompting which fails at scale.
- Causal Chain Integrity: Even if a graph is not statistically perfect, it remains effective for fault localization if the primary causal chain from symptom to root cause is preserved.
Conclusion
Cloud Atlas significantly reduces the manual effort required for fault localization in cloud systems. By combining the semantic reasoning of LLMs with rigorous statistical validation, it provides a scalable solution for maintaining system reliability. Future work will focus on addressing temporal cycles (feedback loops), improving the recognition of semantic equivalence in subgraphs, and automatically identifying specific mathematical mechanisms for causal relationships.
Summary updated