SWIFT: Spatio-temporal Wavelet Integrated Forecasting Framework for Workload Traces

Zeyuan Ding, Lingfeng Zheng, Dian Ding, Guangtao XuearXiv 2026

TL;DR

SWIFT is a pure convolutional forecasting framework designed to handle highly volatile cloud workloads characterized by sudden bursts and complex microservice dependencies. By re-engineering the Wavelet Transform into a parallelizable, learnable GPU-native architecture, it achieves state-of-the-art accuracy with linear $O(L)$ complexity. This allows SWIFT to reduce short-term prediction errors by up to 31.04% while cutting inference latency by nearly 80% compared to existing baselines.

What Problem Does This Paper Address?

In modern cloud computing environments, accurate workload forecasting is essential for proactive resource management strategies like auto-scaling and scheduling. However, real-world cloud traces are notoriously difficult to predict because they are highly volatile, feature sudden localized bursts, and exhibit strong spatial coupling due to microservice dependencies.

Prior state-of-the-art methods often rely on the Fast Fourier Transform (FFT) to analyze frequency patterns. However, because FFT integrates signals globally over the entire time domain, it completely loses temporal locality. This means models cannot distinguish when a burst occurs, leading to phase lags where the model only predicts a spike after it has already happened. While Wavelet Transforms (WT) naturally preserve temporal locality, traditional WT implementations rely on rigid, fixed bases and sequential CPU-bound algorithms that create massive bottlenecks on modern GPUs. Meanwhile, Transformer-based models suffer from quadratic $O(L^2)$ computational complexity, making them too slow for high-throughput production environments.

Figure 1. Motivation Analysis. (a) Workload Characteristics: Real-world cloud traces exhibit sudden bursts at distinct times- tamps interlaced with multi-scale periodicities. (b) FFT Inferior- ity: Due to global integration, FFT blindly aggregates these distinct signals into indistinguishable spectra, effectively causing a loss of temporal locality. (c) WT Superiority: Unlike FFT, Wavelet Transform preserves temporal locality, enabling the precise distinc- tion of burst timings and restoring their unique signatures

Methods

The authors introduce SWIFT (Spatio-temporal Wavelet Integrated Forecasting Framework), a pure convolutional architecture that operates with linear $O(L)$ complexity. It consists of two primary innovations:

  1. Learnable Cascaded Wavelet Path: Instead of using recursive CPU filter banks, the authors reformulate the Discrete Wavelet Transform (DWT) and Inverse DWT (IWT) as fixed-weight depthwise convolutions with a stride of 2. This allows the entire transformation to run natively on GPU Tensor Cores. They arrange these into a deep cascaded structure for "feature peeling"—recursively feeding low-frequency components into deeper layers to isolate high-frequency bursts in shallow layers and long-range trends in deep layers. To overcome the rigidity of traditional wavelets, they add learnable convolutions for Morphological Feature Correction and channel-wise scaling for Adaptive Spectral Filtering.
  2. Multivariate Interaction Module (MIM): To capture spatial dependencies among microservices without the heavy cost of attention mechanisms, MIM uses a two-stage grouped convolution approach. Stage 1 handles inter-variable spatial interactions to stabilize noisy workload states across different services, while Stage 2 performs intra-variable feature interactions for dense information exchange within each variable's embedding.
Figure 2. Overview of the SWIFT Framework. (a) Main Backbone Flow: The workload sequence undergoes Reversible Instance Normalization (RevIN) before entering the stacked SWIFT Blocks. (b) SWIFT Block: Each block integrates the Learnable Cascaded Wavelet Path for temporal modeling, followed by a two-stage Multivariate Interaction Module (MIM) for spatial-feature fusion. (c) Learnable Cascaded Wavelet Path: This module recursively decomposes workloads via convolutional DWT (left-to-right). At each level, learnable convolutions (Conv) refine coefficients to correct morphological artifacts, while scaling factors (Scale) filter spectral noise. The signal is finally reconstructed via IWT (right-to-left) to yield high-fidelity representations.

Datasets

The framework was evaluated on four large-scale, real-world cloud workload datasets:

  • Ali2021: Alibaba cluster-trace-microservices-v2021 (usage data of >20,000 microservices over 12 hours).
  • Ali2022: Alibaba cluster-trace-microservices-v2022 (usage data of >28,000 microservices over 13 days).
  • Fisher: Usage data of a real online Kubernetes system (10 containers over 30 days).
  • Google: Google 2011 cluster data (approx. 15,000 machines over 29 days).

To test the model's universality beyond cloud workloads, they also evaluated it on the standard ETT (Electricity Transformer Temperature) benchmarks (ETTh1, ETTh2, ETTm1, ETTm2).

Key Insights and Ideas

  • Convolutions as Wavelet Filters: Mapping DWT to fixed-weight strided 1D convolutions bridges the gap between classic multi-resolution signal processing and modern hardware acceleration, eliminating CPU-GPU context switching bottlenecks.
  • Feature Peeling: Hierarchical decomposition naturally separates localized, unpredictable spikes from stable, long-term periodic trends. This prevents transient noise from corrupting global pattern learning.
  • Decoupling Spatial and Feature Mixing: By utilizing grouped convolutions instead of full self-attention, SWIFT captures complex microservice dependencies while keeping the computational complexity strictly linear ($O(L)$), proving that Transformers are not always necessary for high-performance time-series modeling.

Key Results

  • Short-Term Accuracy Boost: In short-term forecasting tasks, SWIFT achieved a 24.49% reduction in RMSE, 28.72% reduction in MAE, and 31.04% reduction in SMAPE compared to competitive baselines.
  • Massive Speedup: SWIFT cut inference latency by up to 79.74% compared to CNN-based models and 66.82% compared to Transformer-based models, making it highly suitable for real-time production deployment.
  • Robust Generalization: In zero-shot cross-dataset transfer experiments (training on Ali2022 and testing directly on Google/Fisher), SWIFT consistently outperformed baselines, showing it learns platform-invariant workload dynamics rather than just memorizing sequence identities.

Limitations and Future Work

The authors note that while SWIFT provides highly accurate and efficient proactive scaling predictions, improved forecasting accuracy alone does not guarantee system stability during completely unseen anomalies. Therefore, implementing robust fail-safe mechanisms alongside the model is critical for responsible real-world deployment. Additionally, the paper does not deeply explore how the framework handles missing data or irregular sampling intervals natively.

Summary updated

BibTeX
@misc{ding2026swift,
  author = {Zeyuan Ding and Lingfeng Zheng and Dian Ding and Guangtao Xue},
  title = {{SWIFT: Spatio-temporal Wavelet Integrated Forecasting Framework for Workload Traces}},
  year = {2026},
  eprint = {2607.02524},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.02524},
}
Figure