When the controller changes the data: drift and explanations across a scheduler switch in O-RAN
In a learning-based radio access network, models keep running while the network's configuration changes. Some of those changes are made by the controller itself: it switches the scheduling policy or reallocates resources between slices. From the point of view of an xApp, that is drift its own system caused.
I used the public ColO-RAN dataset to measure how large that drift is next to ordinary run-to-run variation, and what it does to a model's accuracy, its seed-to-seed consistency and its explanations.
The data
ColO-RAN [1] was collected on the Colosseum O-RAN testbed: 7 base stations, 42 users and three slices (eMBB, MTC and URLLC). It records per-user downlink and uplink KPMs every 250 ms under three scheduling policies (round-robin, waterfilling and proportional fair) and 28 slice allocations, each repeated in several runs. I averaged the traces to one-second steps, giving 8.7 million rows from 440 runs. Configuration columns are kept as metadata and never used as model inputs.
One finding came before any modelling. Thirty runs, all under waterfilling, stop after 177–238 seconds instead of the usual ~530. I excluded them from the main analysis and measured their effect separately.
How large is the drift?
I used a classifier two-sample test on the 12 KPMs, with cross-validation folds grouped by user so the shift has to generalize to unseen users. AUROC 0.5 means the two runs are indistinguishable.
| Comparison (same users, same radio scenario) | AUROC, mean | Range |
|---|---|---|
| Two runs of the same configuration | 0.52 | 0.36–0.62 |
| Slice-allocation change, same policy | 0.78 | 0.52–0.92 |
| Policy change away from round-robin | 0.99 | 0.980–0.996 |
| Waterfilling vs proportional fair | 0.67 | 0.63–0.75 |
| A cut-short run vs a full run, same configuration | 0.85 | 0.83–0.89 |
Repeated runs are essentially indistinguishable, so the testbed is a clean baseline. Switching the scheduler away from round-robin shifts the KPMs almost perfectly, with no change in users, traffic or radio conditions. The shift is carried mainly by downlink packet counts, uplink SINR and MCS, and requested PRBs.
The cut-short runs are a warning in their own right. They look almost as "drifted" as a policy change, and not because they are shorter: over the same time window, a short run and a full run still separate at 0.84–0.88, while two full runs separate at 0.48–0.57. Something about those runs was different from the start. Before I found them, three of these runs made the run-to-run baseline look unstable. A drift detector alone cannot tell a faulty run from a real change.
What happens to a model
The task is an xApp-style forecast: a user's downlink throughput in the next second, from its last 3 seconds of KPMs and its slice. I trained XGBoost with row and column subsampling, so the random seed matters, with 5 seeds per policy. For each policy and allocation, the first 3 full runs are used for training and the next 2 for testing. A persistence baseline predicts that next-second throughput equals the current second's.
| Setting | MAE (Mbps) | Across 5 seeds | Persistence baseline |
|---|---|---|---|
| Trained and tested on round-robin | 0.041 | 0.0407–0.0408 | 0.051 |
| Round-robin model after a switch to proportional fair | 0.105 | 0.094–0.129 | 0.056 |
| Round-robin model after a switch to waterfilling | 0.104 | 0.093–0.129 | 0.056 |
| Retrained on proportional fair | 0.046 | 0.0454–0.0456 | 0.056 |
Throughput is highly autocorrelated, so persistence alone reaches R² 0.985 and the model improves on it by about 20%. After the switch, the model that is not retrained has 2.3–3.2 times its original error, about twice that of persistence. It would be better to use no model at all.
The seeds stop agreeing. Before the switch, the five seeds are within 0.3% of each other. After it, the worst seed's error is 37–39% higher than the best seed's, and nothing in the validation on round-robin hints at which seed will hold up.
What retraining changes in the explanations
I compared TreeSHAP global importances [2] for every model on the same 20,000 reference rows. The overall ranking is stable: current throughput dominates every model, and seed-to-seed Spearman correlations are 0.96 for round-robin models and 0.99 for proportional-fair models.
A high rank correlation can still hide a targeted change. After retraining on the new policy, the model relies 73–94% less on the user's requested PRBs (current and previous second), and the per-seed ranges before and after retraining do not overlap. Accuracy is restored, so a check on accuracy alone would call the update a success, while the model now uses the network's state in a different way.
Limits
- One Colosseum scenario (static users, medium distance), offline data and one forecasting task. Deployed xApps often use reinforcement learning, and the same protocol would need to be repeated for those.
- A controller knows when it changes its own policy, so one answer is to retrain per configuration. The seed and explanation results are about what retraining does not show.
- Throughput one second ahead is an easy task, which is why the persistence baseline matters.
Takeaways
- In a network whose controller acts on it, the largest shifts in an xApp's inputs can come from the controller's own decisions. A drift monitor should know about configuration changes and separate them from changes in demand or channel conditions.
- Faulty runs can look as drifted as real configuration changes, so auditing the data comes before interpreting drift.
- After a configuration change, check per-seed behaviour and per-feature explanations, not only mean accuracy and one agreement score. Models that agree before a change can disagree after it [3].
This is the network counterpart of the CICIDS2017 note: there the recording changed, here the system's configuration did. Code and results are at github.com/empresst/network-update-audit.
References
- M. Polese, L. Bonati, S. D'Oro, S. Basagni and T. Melodia. ColO-RAN: developing machine learning-based xApps for Open RAN closed-loop control on programmable experimental platforms. IEEE Transactions on Mobile Computing, 2022.
- S. M. Lundberg et al. From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2020.
- A. D'Amour et al. Underspecification presents challenges for credibility in modern machine learning. JMLR, 2022.
ColO-RAN is released by its authors under GPL-3.0 at github.com/wineslab/colosseum-oran-coloran-dataset.