FedCAG: Federated Causality-Aware Graph Learning for Multi-Cloud Workload Forecasting

Yongcan Luo, Zhengjie Yang, Jiahao Zheng, Hao Wang, Wei Bao, Dapeng WuNeurIPS 2026

TL;DR

Relying on a single cloud provider is risky, so modern enterprises spread their workloads across multiple clouds—making resource demand notoriously chaotic and hard to predict without violating data privacy. FedCAG solves this by teaching distributed servers to collaboratively learn not just model weights, but cause-and-effect graphs of how system metrics (like network spikes leading to CPU surges) interact. The result is a privacy-preserving forecaster that beats standard federated models and even rivals centralized algorithms that see all the raw data at once.

What Problem Does This Paper Address?

When AWS or GCP hiccups, half the internet holds its breath. To stay resilient, companies increasingly run on multi-cloud setups. But predicting future workloads (so you can autoscale smoothly) across different cloud providers is a headache. Different providers use different hardware, virtualization quirks, and scheduling policies, meaning telemetry data (CPU, memory, I/O) is wildly heterogeneous—or non-IID (not independent and identically distributed).

Traditionally, you have two flawed options:

  1. Centralized training: Pool all raw telemetry into one massive data lake. Great for context, terrible for privacy regulations, data sovereignty, and bandwidth.
  2. Isolated training: Train a tiny local model on each virtual machine (VM). Great for privacy, terrible when a rare traffic burst hits that the VM hasn't seen before.

Federated Learning (FL)—where clients train locally and only share model parameters—seems like the obvious middle ground. However, standard FL just averages neural network weights. Across diverse clouds, naive weight-averaging pulls local models away from what works on their specific hardware, while completely ignoring the underlying structural physics of how metrics drive one another.

Figure 1: Overview of FedCAG (right) vs. traditional approaches (left). Traditional approaches suffer from data privacy and bandwidth risks (centralized training) or limited knowledge and poor generalization to new patterns (isolated training). FedCAG addresses these issues by developing a causality-inspired federated dual-graph neural forecasting method tailored for non-IID multi-cloud workloads. It achieves strong generalization while preserving client-specific characteristics.

Methods

Instead of standard parameter-only FL, FedCAG (Federated Causality-Aware Graph learning) federates both neural network weights and structural dependency graphs.

Here is what happens under the hood:

  • Three Complementary Graphs (Novel): Each client turns its recent time-series window into three distinct graphs: a temporal graph (short-term sequences like warmup delays), an undirected spatial graph (co-occurring resource contention like CPU-memory coupling), and a directed causality graph (lead-lag effects, like sustained WAN traffic causing future CPU pressure, preventing backward information leakage).
  • Dual-Graph Encoding & Attention Fusion (Novel): Rather than mashing all signals into one generic network, two parallel Graph Neural Networks (GNNs) separately encode intra-window time dynamics and inter-metric relationships. Multi-Head Attention (MHA) then dynamically fuses these with a pooled summary of the causal graph.
  • Smart Aggregation & Personalization (Hybrid): Clients send their graphs and backbone weights to a central server. While model weights use standard FedAvg, the server aggregates graphs using reliability weights (tuned via Optuna) and smooths them with an Exponential Moving Average (EMA). Back on the client side, VMs blend these global graphs with their own local graphs, and pass predictions through a private residual adapter—a lightweight two-layer MLP kept strictly local to calibrate for each VM's eccentricities.
  • Composite Loss: Training balances standard Mean Squared Error with an InfoNCE contrastive loss (aligning spatial and temporal views) and a FedProx-style regularization term to keep local models from drifting too far off course.

Datasets

The authors evaluate FedCAG using real-world cloud workload traces (CPU, memory, and network traffic) from the MUCEP platform. To test how models handle scaling and cross-provider chaos, they construct four benchmarks:

  • Single Cloud 1 & 2: 5 and 10 VMs respectively, all hosted on Alibaba Cloud (testing scale in a homogeneous environment).
  • Mixed Cloud 1: 10 VMs split 50/50 between Alibaba Cloud and Tencent Cloud (isolating the impact of cross-provider heterogeneity at a fixed scale).
  • Mixed Cloud 2: 15 VMs (10 Alibaba, 5 Tencent) to test both scale and multi-cloud diversity simultaneously (with an additional 50-VM stress test noted).

Key Insights and Ideas

  • Pooled data isn't a silver bullet when clouds mix: Comparing Single Cloud 2 (10 Alibaba VMs) to Mixed Cloud 1 (5 Alibaba + 5 Tencent VMs) reveals a fascinating quirk: even centralized Transformer models suffer a sharp accuracy drop when providers mix, because their attention mechanisms implicitly assume shared periodic patterns that break across different cloud architectures.
  • Cause-and-effect transfers better than raw correlations: While raw workload distributions shift wildly between Alibaba and Tencent, fundamental causal physics—like network ingress preceding memory backpressure—remain surprisingly transferable across providers.
  • Decoupling time and space matters: Ablation tests show that ripping out any of the three graphs hurts accuracy, with the temporal graph being the most critical anchor under heavy cross-cloud noise.

Key Results

Across 10 runs, FedCAG consistently outperforms all 7 federated baselines across every setup, and beats several centralized models that had full access to pooled raw data.

Table 1: Average MAE and RMSE across 10 runs. In each configuration, centralized baselines train on the pooled union of all participating VMs’ training data; federated methods retain each VM’s data locally.
  • Resilience to Heterogeneity: Moving from Single Cloud 2 to Mixed Cloud 1 (both 10 VMs), FedCAG's Mean Absolute Error (MAE) barely budges—from 1.0425 to 1.0512. In that exact Mixed Cloud 1 arena, privacy-preserving FedCAG actually beats all centralized baselines, including GPT4TS (1.1023 MAE) and STPGNN (1.0842 MAE).
  • Complex Multi-Cloud Scale: On the toughest 15-VM Mixed Cloud 2 benchmark, FedCAG achieves 1.4228 MAE / 2.5841 RMSE, handily beating the runner-up federated method FEDCroST (1.6374 MAE) and outperforming centralized GNNs like HGCN (1.4584 MAE). Even scaled up to 50 VMs, FedCAG remains the top federated performer (2.4013 MAE).
  • Signal Tracking: Visually, FedCAG tracks both jagged, bursty CPU spikes and smooth, low-variance memory progressions with minimal lag.

Limitations and Future Work

Not discussed in the paper. (While the main text notes minor prediction deviations during sharp, noisy CPU transitions and observes mild overfitting if hidden dimensions grow past 64, explicit systemic limitations and future research directions are not detailed in the main body.)

Summary updated

Abstract

Recent large-scale outages at major cloud providers such as AWS and GCP have exposed the fragility of relying on a single cloud. To improve resilience, fault tolerance, and business continuity, many enterprises are moving their services to multi-cloud environments. However, multi-cloud deployment also makes workload forecasting substantially harder. Existing multi-cloud workload forecasting methods are typically designed for either centralized or isolated environments, leading to risks of private data leakage or limited generalization. To address these challenges, we propose \textbf{FedCAG}, a \textbf{Fed}erated \textbf{C}ausality-\textbf{A}ware \textbf{G}raph learning paradigm for multi-cloud workload forecasting. Instead of treating federated learning as parameter averaging over local predictors, FedCAG jointly federates predictive models and graph-structured dependency priors. Each client constructs causality-aware, spatial, and temporal graphs from its private telemetry to model directed inter-metric influence, metric-level interactions, and intra-window temporal dynamics. To address strong cross-cloud heterogeneity, FedCAG further combines causality-aware representation fusion, adaptive graph refinement, and client-specific personalization, enabling the global model to benefit from shared workload structures while preserving local specificity. Experiments on real-world datasets show that FedCAG consistently outperforms mainstream federated baselines and even several centralized methods trained on the full dataset, delivering stable and accurate forecasting across heterogeneous and privacy-constrained deployments.
BibTeX
@inproceedings{luo2026fedcag,
  author = {Yongcan Luo and Zhengjie Yang and Jiahao Zheng and Hao Wang and Wei Bao and Dapeng Wu},
  title = {{FedCAG: Federated Causality-Aware Graph Learning for Multi-Cloud Workload Forecasting}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=IvCj0BCLBL},
}
Figure