CEFIRA: Modular Correlation-Aware Ensemble for VNF Performance Forecasting in Computing Continuum

Milad Rafiee, Andres Ocampo-Palacio, Amir Taherkordi, Ozgu AlayarXiv 2026

TL;DR

Cloud-native networks run as interconnected chains of software functions, yet most AI resource forecasters pretend these functions live in isolation and never crash. When a containerized function inevitably runs out of memory and dies, standard models mistake the sudden drop in traffic for a quiet night—leading to disastrous scaling decisions downstream. CEFIRA fixes this by weaving internal metric correlations, network topology, and explicit "crash-awareness" into a fast, accurate forecasting ensemble.

What Problem Does This Paper Address?

Modern network infrastructure relies heavily on Virtual Network Functions (VNFs)—software containers handling tasks like firewalls, packet inspection, and encryption—strung together into ordered pipelines called Service Function Chains (SFCs). To avoid wasting server capacity or suffering service outages, orchestrators need to predict CPU, memory, and traffic demands before spikes hit.

Fig. 1: System architecture: traffic path from workload sources through the RAN/Mobile Core to the computing continuum, and NFV-MANO hosting the VNF Performance Forecasting Framework.

Existing forecasting models stumble over three real-world realities:

  1. Metric interdependence: CPU, memory, and network traffic co-evolve, yet many models predict them as isolated channels.
  2. Chain reactions: Traffic flows sequentially through an SFC (and sometimes merges at shared nodes), meaning an upstream bottleneck directly dictates downstream load.
  3. The "Crash Ambiguity" problem: In platforms like Kubernetes, containers frequently crash (e.g., via OOMKilled out-of-memory errors) and restart. During a crash, resource usage and outgoing traffic plummet to zero. Without explicit failure awareness, a forecaster cannot tell whether downstream traffic vanished because users went to sleep, or because an upstream firewall just died.

Methods

The authors introduce CEFIRA, an end-to-end pipeline built from three sequential modules that process sliding windows of CPU, memory, traffic load, and a binary Kubernetes crash indicator:

Fig. 3: Architecture of CEFIRA, composed of three modules: Intra-VNF modeling, Inter-VNF modeling, and temporal modeling.
  • Module 1: Intra-VNF Modeling. A per-VNF dual-path encoder (combining a linear projection with a non-linear GELU residual branch) learns how CPU, memory, and traffic correlate inside each specific function type before looking at the rest of the network.
  • Module 2: Crash-Aware Inter-VNF Modeling. Using a Message-Passing Neural Network (MPNN), nodes exchange states both forward (downstream traffic flow) and reverse (upstream backpressure from congestion). Crucially, what's new here is crash-aware gating: sigmoid gates take binary crash indicators as inputs, learning to slam the door on corrupted signals coming from crashing or recovering neighbors.
  • Module 3: Heterogeneous Temporal Ensemble. Instead of betting on one sequence model for messy, non-stationary telemetry, CEFIRA runs four standard backbones in parallel—RNN, LSTM, GRU, and Transformer. During training, independent Gaussian noise is injected into each backbone's output so a per-VNF meta-learner is forced to rely on ensemble consensus rather than a single dominant model. Finally, rather than predicting raw values from scratch, it predicts the residual delta (change) from the last observed state.

Datasets

Rather than relying purely on synthetic assumptions or failure-free legacy benchmarks, the authors built and open-sourced a Kubernetes-orchestrated SFC testbed and dataset (sampled at 30-second intervals, matching the standard Clearwater vIMS benchmark granularity):

  • Workloads & Network: Software-emulated IoT sensors and gateways spanning four deployment scales (1,000 to 50,000 devices), driven by empirical 4G/5G uplink traces from the NorNet Edge (NNE) platform in Norway.
  • Topologies & Limits: Real containerized VNFs (Firewall, Snort3 DPI, AES-GCM Encryption, Brotli Compression, NAT) arranged in both a 4-node linear chain and a 6-node shared-VNF graph (where two chains share one DPI container), tested under static and dynamically scaling CPU/memory limits to trigger authentic throttling and OOMKilled crashes.

Key Insights and Ideas

  • Topology beats internal history: In ablation studies, adding the Inter-VNF graph module reduced error by 16.8–24.8%, dwarfing the 4.0–13.9% gain from the Intra-VNF module. While a temporal model can partially infer internal metric relationships from its own past, it is completely blind to upstream traffic waves without explicit graph connections.
  • Crash-awareness shines brightest at bottlenecks: Adding the binary crash flag helped every node, but its impact scaled directly with how often a node failed and how central it was. At the shared DPI node—which served two chains simultaneously and suffered a 30.9% crash rate—gating out crash transients slashed forecasting error by 22.4%.
  • Predicting deltas tames non-stationarity: Having the meta-learner predict changes relative to the last observation makes the model resilient when operators dynamically shift CPU and memory limits on the fly.

Key Results

  • High overall accuracy: CEFIRA achieves an average $R^2$ between 0.942 and 0.981 across all topologies and resource configurations.
  • Outperforming SOTA: Compared against two topology-aware multivariate baselines (Mijumbi et al. and Zhang et al.), CEFIRA cuts Mean Absolute Error (MAE) by 42.7% to 66.4% across every tested scenario.
  • Production-ready speed & horizon: Inference takes just 0.022–0.041 ms per sample—six orders of magnitude faster than the 30-second monitoring window. When stretching the forecast horizon from 30 seconds out to 120 seconds, CEFIRA maintains an $R^2 > 0.80$ across all configurations.

Limitations and Future Work

  • Forecasting vs. Acting: The paper focuses strictly on forecasting accuracy within the analytics plane; designing the downstream consumer (the actual autoscaler or orchestrator) was left out of scope.
  • Horizon decay: Because the meta-learner predicts displacements from the last observed value, accuracy naturally degrades at longer lead times ($R^2$ drops from ~0.96 at 30s to ~0.84 at 120s) as the most recent observation becomes a weaker anchor.
  • Future Work: The authors plan to wire CEFIRA’s predictions directly into a proactive autoscaling controller to evaluate end-to-end resource management across larger SFC deployments.

Summary updated

BibTeX
@misc{rafiee2026cefira,
  author = {Milad Rafiee and Andres Ocampo-Palacio and Amir Taherkordi and Ozgu Alay},
  title = {{CEFIRA: Modular Correlation-Aware Ensemble for VNF Performance Forecasting in Computing Continuum}},
  year = {2026},
  eprint = {2611.36441},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36441},
}
Figure