Introduction
Predicting application runtime in high-performance computing (HPC) environments is a significant challenge due to workload interference. In modern supercomputers, multiple applications share network infrastructure, leading to unpredictable performance fluctuations. Traditionally, researchers rely on Parallel Discrete Event Simulation (PDES) for analysis. While PDES is highly accurate, it is computationally expensive and slow, often taking hours to simulate seconds of real-world time.
To address this bottleneck, the SMART (Surrogate Model for Predicting Application RunTime) framework introduces a domain-aware surrogate model. SMART replaces slow PDES simulations with a fast machine-learning alternative that combines Graph Neural Networks (GNNs) for spatial intelligence and Large Language Models (LLMs) for temporal reasoning.
SMART Architecture
The core innovation of SMART lies in its hybrid architecture, designed to treat the supercomputer network as both a physical topology and a chronological sequence of states.
The model consists of four primary components:
- GNN Encoder: A Graph Convolutional Network (GCN) captures the spatial relationships between router ports in the Dragonfly topology, learning how local congestion impacts the broader network.
- Temporal Transformer: This module processes the GNN outputs to capture the evolution of network states over time.
- LLM-powered Forecasting: SMART leverages a pre-trained GPT-2 model to process historical runtime data. Using a "Prompt-as-Prefix" (PaP) technique, the model incorporates domain-specific context (e.g., workload type) into the numerical time-series data, allowing it to capture long-range temporal dependencies.
- Online Tuning: A feedback loop fine-tunes model weights in real-time as ground-truth data becomes available, ensuring the model adapts to shifting network conditions.
Experimental Evaluation
The researchers evaluated SMART using datasets generated by the CODES simulator on a 1,056-node Dragonfly system. The datasets included various HPC workloads such as MILC (quantum physics), LAMMPS (molecular dynamics), and NN (3D stencil computation), under both contiguous and random job placement strategies.
Key Results
SMART demonstrated significant improvements in both accuracy and efficiency compared to state-of-the-art baselines like LSTM and DCRNN.
As shown in the results table, SMART consistently achieved the lowest Mean Absolute Percentage Error (MAPE), reaching as low as 1.78% for specific workloads. Beyond accuracy, the model offers a massive speedup: while traditional PDES simulations required 36 to 66 hours to generate data, SMART provides inferences in approximately 0.515 seconds.
Conclusion and Future Work
SMART proves that LLMs can be effectively "reprogrammed" for specialized engineering tasks like time-series forecasting in HPC. By combining spatial and temporal modeling, it achieves sub-second runtime predictions with high fidelity. Future research will focus on generalizing the model to other network topologies and extending the forecasting horizon for long-term resource scheduling.
Summary updated