Introduction
Performance modeling is a cornerstone of efficient High-Performance Computing (HPC) operations, enabling critical tasks like job scheduling and resource optimization. Traditionally, these models are built on the assumption of stationarity—the idea that the relationship between system inputs (e.g., CPU load, network traffic) and outputs (e.g., I/O performance) remains constant. However, production HPC environments are inherently dynamic. Software patches, hardware degradation, and component replacements introduce "real concept drift," where the underlying functional relationship $P(y|x)$ shifts over time.
The Challenge of Catastrophic Forgetting
When standard machine learning models are updated with new data from a post-upgrade system, they often suffer from "catastrophic forgetting." They optimize for the new state but lose the ability to accurately predict performance for older or varied workloads. This paper addresses this by framing performance modeling as a Continual Learning (CL) problem, where a model must learn from a stream of data while preserving previous knowledge.
Methodology
The researchers evaluated several CL strategies, adapting them from image classification to the domain of system performance:
- Regularization-based: Elastic Weight Consolidation (EWC) and Synaptic Intelligence (SI) protect important weights from significant changes.
- Distillation-based: Learning without Forgetting (LwF) uses previous model outputs as "soft labels" to maintain consistency.
- Memory/Rehearsal-based: A-GEM, GSS Greedy, and GDumb maintain a small buffer of past examples to periodically "rehearse" previous system states.
To leverage existing CL frameworks like Avalanche, the authors converted the regression task of predicting I/O performance into a 10-class classification problem by binning the performance range into equal regimes.
Datasets and Concept Drift
The study utilized real-world data from the Cori supercomputer at NERSC. The data includes metrics from eight production science applications, with features derived from Lustre Monitoring Tools (LMT), Slurm, and Darshan logs. The timeline was partitioned into three distinct "tasks" based on two major software upgrades that fundamentally altered the system's I/O behavior.
Key Results
The experimental results demonstrate that CL approaches significantly outperform "Naive" fine-tuning. The memory-based GDumb algorithm emerged as the top performer, achieving a 2x improvement in prediction accuracy across the entire sequence.
As shown in the figures, while the Naive approach's accuracy plummeted and forgetting increased with each new task, GDumb maintained high accuracy and effectively eliminated forgetting (scoring -0.027, indicating slight improvement on old tasks). Interestingly, providing the model with a "Task ID" to signal system regime changes proved essential for distinguishing between different functional relationships.
Conclusion and Future Directions
This work highlights the necessity of Continual Learning for maintaining accurate performance models in evolving HPC environments. While simple memory-based methods like GDumb are highly effective, future work will focus on automating "Task ID" assignment through real-time drift detection and further optimizing hyperparameters to maximize accuracy gains across even more diverse system changes.
Summary updated