Anomaly Detection using Autoencoders in High Performance Computing Systems

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

Abstract

Anomaly detection in supercomputers is a significant challenge due to system scale and component density. Traditional supervised methods require labeled datasets of healthy and unhealthy states, which are difficult to obtain in High Performance Computing (HPC) environments. We propose a novel semi-supervised approach using autoencoders trained exclusively on normal system behavior. By monitoring reconstruction error, our model identifies abnormal conditions that were never seen during training. Testing on a real-world supercomputer demonstrates that this method achieves detection accuracies between 88% and 96%.

Introduction

Modern supercomputers are massive, complex machines where minor hardware glitches or misconfigurations can lead to significant performance degradation. Traditionally, detecting these anomalies has relied on supervised learning. However, HPC environments face two major hurdles: label scarcity (confirmed records of faults are rare) and "unknown unknowns" (supervised models cannot detect unprecedented failure types).

Methodology: Learning "Normal"

Instead of training a model to recognize specific faults, we use Autoencoders to learn the complex correlations between system metrics under healthy conditions. An autoencoder is a neural network designed to compress input data and then reconstruct it as accurately as possible.

Reconstruction error over time, showing spikes that correspond to injected anomalies.

The core logic relies on reconstruction error. When the trained model is fed data from a healthy system, it reconstructs it with high fidelity (low error). If the system enters an anomalous state, the learned correlations no longer hold, and the model fails to reconstruct the data accurately. This spike in error serves as an automated alert for system administrators.

Experimental Setup

The study utilized data from the D.A.V.I.D.E. supercomputer at CINECA, Italy. Using the Examon monitoring framework, the researchers collected 166 metrics (including CPU load, temperature, and power consumption) from 45 nodes over 83 days. To validate the model, anomalies were "injected" by manually altering CPU frequency governors to simulate system misconfigurations.

Key Results and Discussion

The results confirm that normal and anomalous states produce distinct statistical signatures. In anomalous states, the normalized Mean Absolute Error (MAE) was approximately 14 times higher than in normal states, providing a clear signal for detection.

Comparison of reconstruction error distributions for normal (left) and anomalous (right) datasets.

As shown in the error distributions, the normal dataset is tightly clustered near zero, while the anomaly dataset exhibits a much broader and higher error range. By setting detection thresholds between the 95th and 99th percentiles of the normal error distribution, the system achieved an F-score between 0.88 and 0.96 across different nodes. Furthermore, the model is computationally efficient; training took only five minutes on a standard desktop CPU, making it suitable for large-scale deployment.

Conclusion

By defining the boundaries of "normal" behavior rather than searching for specific faults, autoencoders provide a robust solution for HPC anomaly detection. This approach effectively handles the lack of labeled failure data and remains sensitive to previously unseen anomalies. Future work will focus on transitioning from offline analysis to real-time monitoring and expanding the model's capability to classify the specific type of detected anomaly.

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