A cellular base station has to share the same radio resources among three very different kinds of traffic. Video streaming (eMBB) is heavy and steady. Mission-critical control messages (URLLC) are rare and must arrive within about a millisecond. Swarms of IoT sensors (mMTC) send sporadic bursts. Reinforcement learning agents that divide the radio resources among these "slices" usually make a decision, and store a training sample, at every scheduling interval. Most of those intervals are redundant, because streaming traffic changes predictably. The few intervals that actually matter, when a URLLC burst arrives or an mMTC storm begins, are buried among the redundant ones, and the agent learns slowly. We propose to borrow a rule from theoretical neuroscience to decide when the agent should act and learn. In predictive spike coding, a model neuron fires only when firing reduces a global prediction-error cost. We apply this rule to a forecaster of per-slice traffic. The resulting sparse "surprise events" become the agent's decision points and its only training samples, and each slice's firing threshold is scaled by how strict its service agreement is.
The claim is that event timing driven by prediction error, with thresholds set by service requirements, cuts the number of environment interactions needed to reach a target service-violation rate. It should beat both per-step agents and simpler ways of acting less often, because it concentrates decisions and samples on the unpredictable, high-stakes moments. The claim can be falsified. If a tuned fixed decision interval, or a trigger on raw changes in the metrics, matches it at equal event rate, the predictive-coding ingredient is unnecessary.
Core Claim
In the balanced spiking networks of Predictive Coding of Dynamical Variables in Balanced Spiking Networks, each neuron $i$ has a decoding vector $D_i$. It fires only if its spike lowers the cost of reconstructing a signal plus a per-spike penalty. Firing rate predictions in optimal balanced networks interprets each such spike as one greedy descent step on that cost. We keep this greedy rule and change two things: the signal and the weighting. The signal $x(t)$ stacks the per-slice radio metrics, meaning the PRB (physical resource block, the unit of radio allocation) demand, queue lengths and arrival statistics. The readout $\hat{x}(t)$ is a learned linear forecaster's prediction, corrected by past spikes. The cost weights each slice's error by a diagonal matrix $W$ whose entries $w_s$ grow with SLA strictness. SLA here means the service-level agreement, the contracted latency or throughput target. The result is the firing condition
$$D_i^\top W\,(x(t)-\hat{x}(t)) \;>\; \tfrac{1}{2}\left(D_i^\top W D_i + \mu\right),$$
where $\mu$ is the cost of one event, which we interpret as the control-plane cost of recomputing an allocation. After a spike, recurrent inhibition subtracts $D_i$ from the shared error, as in the explaining-away construction of Causal Inference and Explaining Away in a Spiking Network. This matters in radio data because the 16 metrics are strongly correlated; Efficient Graph Attention-based Learning for Traffic Prediction and Uncertainty-Aware Anomaly Detection in AI-driven O-RAN needed a graph-attention branch to model those correlations. With inhibition, a single burst triggers one event rather than a cascade.
The allocation agent acts only at spike times and otherwise holds its last allocation. A maximum hold time serves as a safety ceiling. The agent's state combines the corrected forecast $\hat{x}$ with the identity of the neurons that fired. Learning uses semi-Markov discounting $\gamma^{\tau}$ over the elapsed interval $\tau$. URLLC receives a large $w_s$, so its thresholds are low and a URLLC arrival fires almost immediately. eMBB's small weight and predictable dynamics keep its neurons nearly silent.
Research Program
The first stage is open-loop and uses the Colosseum O-RAN traces from Wang et al. We fit the linear per-slice forecaster and the decoders. We then measure event rate against reconstruction $R^2$ per slice as $\mu$ and $W$ vary, and check that events concentrate on the uRLLC and mMTC slices. This also tests a known tension. The base derivation uses squared error, while Wang et al. found squared-error training collapses on bursty slices and had to switch to Huber loss. Because of that result, we also derive the analogous firing condition under a Huber penalty and compare it with the quadratic one on heavy-tailed bursts, where the quadratic rule may overshoot.
The second stage closes the loop. We plug the event encoder into three slicing simulators described in the file, each rebuilt from its paper's description:
- The 7-DU, 60-UE mobile O-RAN environment of Open RAN LSTM Traffic Prediction and Slice Management using Deep Reinforcement Learning.
- The 10-cell resource-block setting of Deep Reinforcement Learning-Based Network Slicing for Beyond 5G.
- The NS-3
netgymenveMBB/URLLC delay-threshold setting of Advancing RAN Slicing with Offline Reinforcement Learning.
The learner is Soft Actor-Critic in all three, to match Lotfi and Afghah, and optionally DQN combined with Suh et al.'s action elimination, which prunes actions and is compatible with our change of decision timing. The spiking encoder can run as a conventional recurrent computation. Neuromorphic deployment is a later bonus and not part of the claim.
Baselines
The naive reference is equal or heuristic allocation, the comparison point Suh et al. and Yang et al. use. It sets the floor for violation rate and throughput.
The strongest existing competitor is Lotfi and Afghah's per-step SAC agent with an LSTM forecast in its state. It already uses prediction to fight non-stationarity, and it reports up to 7.7% higher cumulative reward than distributed RL without prediction. Suh et al. report that action elimination beats vanilla DQN by 10% in final throughput, so action-eliminated DQN is a second strong baseline in their setting. We found no reported steps-to-convergence numbers for slicing on Lacuna. As a result, the sample-efficiency comparison has to be produced here rather than quoted.
Fairness rests on three rules:
- Budget in environment time. The event agent makes far fewer decisions, so every method gets the same budget of environment scheduling intervals, counted in environment time rather than decision events.
- Matched models and tuning. Every method gets the same actor and critic sizes and the same forecaster capacity. Each gets the same number of hyperparameter configurations, and for our method $\mu$, $W$ and the hold ceiling count against that budget.
- Seeds. Every method runs on the same ten seeds.
We beat Lotfi-style SAC if we reach its final SLA-violation rate in at most half the environment intervals, with no worse final cumulative reward, across at least two of the three simulators.
Three ablations isolate the key ingredient. Setting all $w_s$ equal removes the service-aware thresholds. Removing recurrent inhibition, so neurons compare against the raw error independently, tests explaining away. Replacing the prediction error $x-\hat{x}$ with the raw change in the metrics since the last event (send-on-delta) removes the prediction entirely.
Why not just…?
Why not just act every $k$ scheduling intervals? A fixed decision interval also shortens the effective horizon and cuts redundant samples, and it is a real threat on steady traffic. It cannot be fast for URLLC and slow for eMBB at once. A $k$ large enough to help sample efficiency delays the response to a URLLC burst by up to $k$ intervals. We sweep $k$ and plot violation rate against decision rate. The proposal wins only if its curve dominates the entire fixed-$k$ frontier.
Why not just trigger on raw changes in the metrics? Send-on-delta event triggering needs no forecaster and is the most dangerous alternative. Wang et al. found strong periodic structure in these traffic series, which is why they added a frequency branch. Periodic eMBB swings produce large raw deltas that a forecaster predicts away. We therefore expect raw-delta triggering to waste events on eMBB at a matched event rate. This is the decisive ablation. If send-on-delta matches us at an equal event budget, we will report that predictive coding adds nothing beyond event triggering.
Why not just give a per-step agent a better forecast? That is the Lotfi and Afghah design. Its forecast improves what the agent sees but still charges one sample per interval, so rare bursts remain a tiny fraction of the replay data. Prioritized replay would reweight those samples but still pay for collecting the redundant ones. We include a per-step SAC agent with prioritized replay as an extra baseline to separate "fewer samples" from "better-weighted samples."
Why not just train offline or use a world model? Conservative offline learning (Yang et al.) avoids live exploration but freezes the policy to whatever situations the logged data covered. A spiking world model (Spiking world model with multicompartment neurons for model-based reinforcement learning) reaches 90.4% of Dreamer's return on the DeepMind Control Suite but has never been tested on queue or burst dynamics. Neither changes when decisions are taken, so both can be combined with our method rather than competing with it. We test one combination: offline CQL trained on event-subsampled logs versus full logs, on netgymenv.
Decisive Checks
The central result is a curve of SLA-violation rate against environment intervals, per simulator, for all baselines, under the matched budgets above. Three further checks determine whether the mechanism is real rather than tuning luck:
- Event-rate breakdown. A per-slice breakdown should show events concentrated on URLLC and mMTC.
- Response latency. A URLLC response-latency histogram should show event agents reacting within one interval, while fixed-$k$ agents lag.
- Sweep over $\mu$. If the best-performing $\mu$ drifts toward zero, meaning an event at every interval, the premise that redundant intervals slow learning is false for this problem and the idea fails.
A final robustness check draws on the self-compensation result of Boerlin et al. We drop a random half of the input metrics at test time and measure whether the inhibition-coupled encoder degrades less than the ablation without inhibition.
References
- Predictive Coding of Dynamical Variables in Balanced Spiking Networks
- Firing rate predictions in optimal balanced networks
- Causal Inference and Explaining Away in a Spiking Network
- Efficient Graph Attention-based Learning for Traffic Prediction and Uncertainty-Aware Anomaly Detection in AI-driven O-RAN
- Open RAN LSTM Traffic Prediction and Slice Management Using Deep Reinforcement Learning
- Deep Reinforcement Learning-Based Network Slicing for Beyond 5G
- Advancing RAN Slicing with Offline Reinforcement Learning
- Spiking world model with multicompartment neurons for model-based reinforcement learning