PRISM: Dynamic Primitive-Based Forecasting for Large-Scale GPU Cluster Workloads

Xin Wu, Fei Teng, Xingwang Li, Bin Zheng, Qiang DuanarXiv 2026

TL;DR

This paper introduces PRISM, a novel forecasting framework for GPU cluster workloads that tackles their inherent volatility and heterogeneity. By decomposing complex workload patterns into interpretable "primitives" and refining them spectrally, PRISM achieves state-of-the-art accuracy, enabling more efficient resource management in AI infrastructure.

What Problem Does This Paper Address?

Modern AI infrastructure heavily relies on GPUs, and efficiently managing these resources is crucial. However, GPU workloads are notoriously difficult to predict. They exhibit high volatility (drastic changes in demand), multiple periodicities (daily, weekly patterns), and heterogeneity (different types of jobs and users with varying demands). Traditional forecasting methods, which often assume stationarity or model the aggregated demand as a single, homogeneous signal, fail to capture these complexities. This leads to a difficult trade-off: over-provisioning GPUs to meet peak demand results in massive cost waste, while under-provisioning leads to service disruptions and SLA violations. The paper aims to bridge this gap by providing an accurate and interpretable forecasting method that can handle these challenging workload characteristics.

Methods

PRISM employs a three-phase framework:

  • Phase 1: Representation and Embedding: The raw workload data is first normalized to handle scale differences. Then, it's patched and embedded into a high-dimensional space, combined with temporal embeddings to capture time-related features. This creates an initial input representation.
  • Phase 2: Synergistic Decomposition and Spectral Refinement: This is the core of PRISM. It uses a deep encoder with multiple layers, each performing two key operations:
  • Primitive Dictionary Decomposition: This module breaks down the complex workload signal into a weighted combination of learnable, globally shared "primitive" patterns. These primitives act as behavioral prototypes, representing distinct workload dynamics (e.g., stable cycles, bursty events). A diversity-preservation objective is used to ensure these primitives are semantically distinct and interpretable.
  • Adaptive Spectral Refinement: This module refines the signal's representation in the frequency domain. It filters the signal, separates it into low and high-frequency components, and then adaptively fuses them using a gating mechanism. This allows the model to capture complex spectral properties.
  • Phase 3: Predictive and Optimization: The refined and decomposed features are fed into a prediction head (a multi-layer perceptron) to forecast future workload demand. The model is optimized using a joint objective function that balances forecasting accuracy (MSE and MAE) with the diversity of the learned primitives.

Datasets

The paper evaluates PRISM on a large-scale, real-world production trace dataset from an Alibaba Cloud GPU cluster. This dataset spans approximately 184 days and includes data from 466,867 AI tasks on 10,412 GPUs. The paper does not introduce a new benchmark dataset.

Key Insights and Ideas

  • Decomposition is Key: The fundamental insight is that treating aggregated GPU workload as a single signal is flawed. Decomposing it into interpretable primitives allows for a much more accurate and nuanced understanding of underlying dynamics.
  • Primitives as Behavioral Prototypes: The learned primitives are not just abstract features; they represent distinct, human-understandable workload behaviors, offering valuable insights for resource management.
  • Synergy of Primitive and Spectral: The ablation study reveals a powerful synergistic effect between primitive decomposition and spectral refinement. Removing either component significantly degrades performance, highlighting their complementary roles.
  • Interpretable Forecasting: PRISM moves beyond black-box forecasting by providing a compositional framework that explains why a certain prediction is made, based on the combination of primitives.

Key Results

  • State-of-the-Art Performance: PRISM consistently outperforms nine state-of-the-art baselines across various prediction horizons (6, 12, 24, and 48 hours) and metrics (MSE, MAE, RMSE, R²).
  • Reduced Error Magnitude: PRISM achieves significantly lower MSE and MAE compared to baselines, particularly avoiding catastrophic failures during extreme peaks. For example, its MSE is 0.0753 and R² is 0.9131.
  • Robustness to Long-Term Prediction: The performance gap between PRISM and baselines widens as the prediction horizon increases, demonstrating its robustness for longer-term forecasting.
  • Qualitative Validation: Case studies show PRISM accurately captures fine-grained task-level heterogeneity and diverse organizational diurnal patterns, avoiding the pitfall of fitting a non-existent "average user."
  • Efficiency: The framework is designed for efficient inference, enabling millisecond-level latency crucial for real-time scheduling.

Limitations and Future Work

  • Limitations: The paper does not explicitly detail limitations. However, the reliance on a single large-scale dataset from Alibaba Cloud might suggest potential domain-specific biases, though the authors claim generalizability.
  • Future Work: The authors suggest that PRISM provides a robust and interpretable tool for automated resource management in modern AI infrastructure. Future work could explore extending PRISM to other types of cloud workloads or integrating it more deeply into existing resource schedulers for real-time decision-making. The interpretability of the primitives could also be further leveraged for more proactive anomaly detection or capacity planning.

Summary updated

BibTeX
@misc{wu2026prism,
  author = {Xin Wu and Fei Teng and Xingwang Li and Bin Zheng and Qiang Duan},
  title = {{PRISM: Dynamic Primitive-Based Forecasting for Large-Scale GPU Cluster Workloads}},
  year = {2026},
  eprint = {2603.25378},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2603.25378},
}
Figure