Anomaly Detection Using Autoencoders in High Performance Computing Systems

Andrea Borghesi, Andrea Bartolini, Michele Lombardi, Michela Milano, Luca Benini

Supercomputer administrators face a persistent challenge: identifying system misbehavior without a comprehensive "dictionary" of every possible failure. This research, presented at IAAI-19, proposes a practical solution using deep learning to detect anomalies in High Performance Computing (HPC) environments.

The Challenge of HPC Monitoring

Modern supercomputers consist of thousands of interconnected components. Hardware failures, software bugs, or configuration errors can lead to massive performance degradation and financial loss. Traditional supervised machine learning—training models on labeled "healthy" and "unhealthy" states—is often impractical for HPC because:

  1. Data Imbalance: Systems are healthy 99% of the time; failure examples are rare.
  2. Label Scarcity: System logs rarely provide explicit, time-stamped labels for anomalies.
  3. Unpredictability: Supervised models are blind to "zero-day" faults they haven't seen before.

Methodology: Semi-Supervised Autoencoders

The researchers utilized Autoencoders, neural networks designed to compress input data and then reconstruct it. The core innovation lies in the training strategy: the model is trained only on healthy data.

By learning the complex correlations of a healthy node—such as how power consumption relates to CPU temperature and workload—the model becomes an expert at reconstructing normal behavior. When anomalous data is introduced, these internal correlations break down, resulting in a significantly higher reconstruction error. This error serves as an automated alarm.

The architecture uses an input layer of 166 features, a dense hidden layer with 1660 neurons (ReLU activation and L1 regularization), and an output layer. Individual models were trained for each node to account for hardware variance.

Experimental Setup

Data was collected from the D.A.V.I.D.E. supercomputer using the "Examon" framework. The dataset spanned 83 days and included 166 metrics per node, such as core loads, temperatures, and fan speeds. To test the system, researchers "injected" anomalies by altering CPU frequency governors to "powersave" or "performance" modes, deviating from the standard "conservative" policy.

Key Results

The system demonstrated high precision and a clear detection signal. The "Normalized Mean Absolute Error" (MAE) for anomalous data was approximately 14 times higher than for normal data, providing a robust signal-to-noise ratio for setting thresholds.

Key findings include:

  • High Accuracy: The system achieved F-scores between 88% and 96%.
  • Zero-Day Detection: The models successfully identified anomalous states even though they were never exposed to "powersave" or "performance" configurations during training.
  • Efficiency: Training took only five minutes on a standard laptop CPU, indicating high scalability for large data centers.

Limitations and Future Work

While effective for configuration errors, further research is needed to determine how the architecture handles "noisy" anomalies like hardware degradation or memory leaks. Currently, the system acts as a "smoke detector"—it identifies a problem but does not perform root cause analysis. Future work aims to classify anomaly types and develop an "online" prototype for real-time monitoring.

Summary updated

BibTeX
@inproceedings{borghesi2019anomaly,
  author = {Andrea Borghesi and Andrea Bartolini and Michele Lombardi and Michela Milano and Luca Benini},
  title = {{Anomaly Detection Using Autoencoders in High Performance Computing Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33019428},
}
Figure