Abstract
In cloud-based AI environments, a fundamental tension exists between user privacy and operator visibility. Virtualization often renders user workloads as "black boxes," preventing operators from diagnosing performance "stragglers" or misconfigurations. This paper introduces Reveal, an unsupervised framework that leverages low-level hardware telemetry to detect anomalies and attribute bottlenecks. By bypassing the need for application-level instrumentation, Reveal maintains system isolation while providing actionable insights. Evaluation across 30+ machine learning models shows that Reveal can achieve significant performance gains, such as a 5.97% speedup on DeepSeek-7B, while maintaining a CPU overhead of less than 1.5%.
Introduction
As AI training and inference scale across massive GPU clusters, identifying the root causes of performance degradation becomes increasingly complex. Cloud providers use virtualization to ensure multi-tenant isolation, but this creates a visibility gap. Operators cannot inspect user code or application logs to find out why a job is slowing down. Existing profiling tools often require intrusive instrumentation, which is often prohibited in privacy-sensitive environments. Reveal addresses this by shifting the focus to the hardware layer, where ML workloads leave distinct, predictable "fingerprints."
The Reveal Framework
Reveal is designed as a hardware-centric profiling and anomaly detection pipeline consisting of three primary stages: telemetry collection, metric pruning, and unsupervised detection.
Lightweight Telemetry and Pruning
The system monitors approximately 150 low-level hardware signals, including CPU instructions-per-cycle (IPC), L3 cache stalls, GPU power metrics, and network retransmissions. To manage the volume of data, Reveal employs a correlation-driven pruning method. By analyzing the relationships between metrics across diverse workloads, the framework identifies and retains only the most informative signals, reducing the monitoring footprint by roughly 40% without sacrificing diagnostic accuracy.
Unsupervised Detection Pipeline
Because ML workloads vary significantly, static thresholds are ineffective. Reveal utilizes a trio of unsupervised algorithms:
- Z-score: Detects simple spikes in individual metrics.
- Mahalanobis Distance: Identifies multivariate anomalies that emerge from the interaction of multiple hardware signals.
- Isolation Forest: Provides robustness against non-stationary data and skewed distributions.
Experimental Evaluation
The researchers validated Reveal by profiling over 30 popular ML models, including Large Language Models (LLMs) like LLaMA-3 and DeepSeek-R1, and Computer Vision (CV) models like ResNet and Vision Transformers. The hardware environments included NVIDIA V100 and H100 GPU clusters.
Performance and Overhead
A critical requirement for any production monitoring tool is low overhead. Reveal maintains a CPU overhead of less than 1.5%, making it suitable for continuous deployment in high-performance computing environments.
Real-World Impact
Reveal's utility was demonstrated through several optimization case studies:
- DeepSeek-7B Optimization: Reveal identified a NUMA (Non-Uniform Memory Access) misconfiguration. Correcting the launch script led to a 5.97% end-to-end speedup.
- Network Bottlenecks: The framework pinpointed a misconfiguration in NCCL queue pairs, leading to a 70% reduction in communication-related anomalies and a 3.1% improvement in total runtime.
Conclusion
Reveal demonstrates that hardware telemetry is a powerful, non-intrusive proxy for understanding "black box" AI workloads. By correlating low-level signals across subsystems, operators can regain the visibility needed for system-level optimization without compromising user privacy. Future work will focus on automated remediation, where the system not only detects anomalies but also triggers real-time corrective actions, such as IRQ rebalancing or dynamic resource reallocation.
Summary updated