Enabling Real-Time AI in O-RAN: Deploying andMeasuring AI Inside a Near-RT RIC xApp
Pith reviewed 2026-07-03 04:42 UTC · model grok-4.3
The pith
Lightweight AI models run inference inside Near-RT RIC xApps in 1-25 microseconds while meeting the 10 ms timing budget.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
An AI-enabled network-state classification xApp was built on an OpenAirInterface and FlexRIC testbed. Logistic regression and a shallow multilayer perceptron were exported as deterministic C inference modules and compiled into the xApp binary, removing external machine-learning dependencies. On a structured synthetic dataset emulating RAN states, inference latency measured 1-5 microseconds for logistic regression and 10-25 microseconds for the MLP, with end-to-end service latency below 4 ms. Both models satisfied the 10 ms Near-RT RIC budget for more than 95 percent of projected executions while preserving deterministic behavior.
What carries the argument
Deterministic C inference modules for logistic regression and multilayer perceptron compiled directly into the xApp binary to eliminate external runtime dependencies.
If this is right
- xApps can incorporate supervised AI without introducing external machine-learning runtime dependencies.
- End-to-end service latency remains below 4 ms while inference stays in the microsecond range.
- Both logistic regression and the shallow MLP satisfy the 10 ms Near-RT budget for over 95 percent of executions.
- A six-model comparison shows supervised models reach 0.88-0.90 accuracy, with similarity tied to the proxy problem structure.
- The released RIC Workbench enables reproduction of the testbed on commodity hardware.
Where Pith is reading between the lines
- The same compilation approach could extend to other xApp functions or to Non-RT RIC rApps if similar timing headroom exists.
- Validation on live RAN traffic rather than synthetic data would be required before claiming production readiness.
- The microsecond inference times leave margin for modestly deeper models if the accuracy gap justifies added compute.
- Releasing the orchestration dashboard lowers the barrier for other groups to test embedded AI loops in O-RAN environments.
Load-bearing premise
The structured synthetic dataset that emulates cross-layer RAN states using MAC, RLC, PDCP, GTP, and UE-count features is representative enough for the timing and feasibility results to hold outside the testbed.
What would settle it
Deploy the identical xApp on a production O-RAN setup with live user equipment and real traffic, then check whether inference latency exceeds 10 ms or accuracy drops below 0.85 in more than 5 percent of loop executions.
Figures
read the original abstract
Open Radio Access Network (O-RAN) architectures introduce programmable Near-Real-Time RAN Intelligent Controllers (Near-RT RICs) that support closed-loop control through xApps at timescales from 10 ms to 1 s. Although AI has been widely studied for RAN optimization, fewer works demonstrate measured AI inference embedded directly within the Near-RT RIC software loop on a live testbed. This paper presents an AI-enabled network-state classification xApp implemented on an OpenAirInterface (OAI) and FlexRIC testbed. The xApp is trained and evaluated on a structured synthetic dataset that emulates cross-layer RAN states using MAC, RLC, PDCP, GTP, and UE-count features. The results validate embedding and execution feasibility rather than production-level generalization. Logistic regression and a shallow multilayer perceptron (MLP) are exported as deterministic C inference modules and compiled into the xApp binary, eliminating external machine-learning runtime dependencies. Measured inference latency is 1 to 5 microseconds for logistic regression and 10 to 25 microseconds for the MLP, while end-to-end service latency remains below 4 ms. A six-model comparison shows that supervised models achieve similar accuracy, ranging from 0.88 to 0.90, indicating that LR and MLP similarity reflects the proxy problem structure rather than limited model exploration. Noise ablation, confusion-matrix analysis, and CDF-based latency characterization show that both embedded models satisfy the 10 ms Near-RT budget for more than 95% of projected loop executions. These results demonstrate that lightweight AI can operate within Near-RT RIC timing constraints while preserving deterministic execution. We also release RIC Workbench, a lightweight orchestration dashboard for reproducing the testbed on commodity hardware.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper presents an AI-enabled network-state classification xApp implemented on an OpenAirInterface (OAI) and FlexRIC testbed for the Near-RT RIC. Logistic regression and a shallow MLP are trained on a structured synthetic dataset emulating cross-layer RAN states (MAC, RLC, PDCP, GTP, UE-count features), exported as deterministic C inference modules, and compiled into the xApp binary. Direct measurements show inference latencies of 1-5 μs (LR) and 10-25 μs (MLP), end-to-end service latency below 4 ms, and compliance with the 10 ms Near-RT budget for more than 95% of projected loop executions. A six-model comparison yields accuracies of 0.88-0.90. The work releases the RIC Workbench for testbed reproduction and scopes results to embedding feasibility on this testbed rather than production generalization.
Significance. If the reported measurements hold, the paper provides concrete testbed evidence that lightweight supervised models can be embedded directly in the Near-RT RIC xApp loop using deterministic C implementations that eliminate external ML runtimes and satisfy timing constraints. The direct latency measurements (independent of training data contents) and public release of the RIC Workbench for reproduction on commodity hardware are clear strengths that enhance the contribution's utility for the O-RAN community.
minor comments (2)
- [Abstract] Abstract: the six-model comparison reports accuracy 0.88-0.90 but does not name the other four models; adding their identities would clarify why LR and MLP similarity is attributed to problem structure.
- The CDF-based latency characterization and 95% compliance claim would be strengthened by an explicit equation or pseudocode showing how 'projected loop executions' are computed from the measured service latencies.
Simulated Author's Rebuttal
We thank the referee for the thorough summary and positive recommendation to accept the manuscript. The report accurately captures the scope, contributions, and limitations of the work.
Circularity Check
No significant circularity
full rationale
The paper's central claims rest on direct testbed measurements of inference latency (1-5 μs LR, 10-25 μs MLP), end-to-end service latency (<4 ms), and accuracy (0.88-0.90) for C-compiled deterministic modules. These timings derive from fixed-size code paths and compilation, independent of training data contents or any fitted parameters. No equations, self-citations, or ansatzes are invoked as load-bearing steps for the feasibility conclusions. The synthetic dataset affects only model weights, not the reported execution metrics. This is a standard non-circular empirical measurement paper.
Axiom & Free-Parameter Ledger
axioms (1)
- domain assumption The synthetic dataset emulating cross-layer RAN states is representative for feasibility demonstration
Reference graph
Works this paper leans on
-
[1]
What will 5G be?
J. G. Andrews, S. Buzzi, W. Choi, S. V . Hanly, A. Lozano, A. C. K. Soong, and J. C. Zhang, “What will 5G be?”IEEE Journal on Selected Areas in Communications, vol. 32, no. 6, pp. 1065–1082, 2014
2014
-
[2]
5G wire- less network slicing for eMBB, URLLC, and mMTC: A communication- theoretic view,
P. Popovski, K. F. Trillingsgaard, O. Simeone, and G. Durisi, “5G wire- less network slicing for eMBB, URLLC, and mMTC: A communication- theoretic view,”IEEE Access, vol. 6, pp. 55 765–55 779, 2018
2018
-
[3]
Ultrareliable and low-latency wireless communication: Tail, risk, and scale,
M. Bennis, M. Debbah, and H. V . Poor, “Ultrareliable and low-latency wireless communication: Tail, risk, and scale,”Proceedings of the IEEE, vol. 106, no. 10, pp. 1834–1853, 2018
2018
-
[4]
O-RAN architecture description,
O-RAN Alliance, “O-RAN architecture description,” O-RAN Alliance, Tech. Rep., 2020
2020
-
[5]
Under- standing O-RAN: Architecture, interfaces, algorithms, security, and re- search challenges,
M. Polese, L. Bonati, S. D’Oro, S. Basagni, and T. Melodia, “Under- standing O-RAN: Architecture, interfaces, algorithms, security, and re- search challenges,”IEEE Communications Surveys & Tutorials, vol. 25, no. 2, pp. 1376–1411, 2023
2023
-
[6]
Intelli- gence and learning in O-RAN for data-driven NextG cellular networks,
L. Bonati, S. D’Oro, M. Polese, S. Basagni, and T. Melodia, “Intelli- gence and learning in O-RAN for data-driven NextG cellular networks,” IEEE Communications Magazine, vol. 59, no. 2, pp. 21–27, 2021
2021
-
[7]
Open, programmable, and virtualized 5G networks: State-of-the-art and the road ahead,
L. Bonati, M. Polese, S. D’Oro, S. Basagni, and T. Melodia, “Open, programmable, and virtualized 5G networks: State-of-the-art and the road ahead,”Computer Networks, vol. 182, p. 107516, 2020
2020
-
[8]
RIC: A RAN intelligent controller platform for AI-enabled cellular networks,
B. Balasubramanian, E. S. Daniels, M. Hiltunen, R. Jana, K. Joshi, R. Sivaraj, T. X. Tran, and C. Wang, “RIC: A RAN intelligent controller platform for AI-enabled cellular networks,”IEEE Internet Computing, vol. 25, no. 2, pp. 7–17, 2021
2021
-
[9]
Colo- ran: Developing machine learning-based xapps for open ran closed-loop control on programmable experimental platforms,
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, vol. 22, no. 10, pp. 5787–5800, 2023
2023
-
[10]
O-RAN working group overview,
O-RAN Alliance, “O-RAN working group overview,” O-RAN Alliance, Tech. Rep., 2021
2021
-
[11]
Artificial neural networks-based machine learning for wireless networks: A tutorial,
M. Chen, U. Challita, W. Saad, C. Yin, and M. Debbah, “Artificial neural networks-based machine learning for wireless networks: A tutorial,” IEEE Communications Surveys & Tutorials, vol. 21, no. 4, pp. 3039– 3071, 2019
2019
-
[12]
Deep learning for wireless communications: An emerging interdisciplinary paradigm,
L. Dai, R. Jiao, F. Adachi, H. V . Poor, and L. Hanzo, “Deep learning for wireless communications: An emerging interdisciplinary paradigm,” IEEE Wireless Communications, vol. 27, no. 4, pp. 133–139, 2020
2020
-
[13]
Applications of deep reinforcement learning in communications and networking: A survey,
N. C. Luong, D. T. Hoang, S. Gong, D. Niyato, P. Wang, Y .-C. Liang, and D. I. Kim, “Applications of deep reinforcement learning in communications and networking: A survey,”IEEE Communications Surveys & Tutorials, vol. 21, no. 4, pp. 3133–3174, 2019
2019
-
[14]
To- ward 6G networks: Use cases and technologies,
M. Giordani, M. Polese, M. Mezzavilla, S. Rangan, and M. Zorzi, “To- ward 6G networks: Use cases and technologies,”IEEE Communications Magazine, vol. 58, no. 3, pp. 55–61, 2020
2020
-
[15]
Machine learning paradigms for next-generation wireless networks,
C. Jiang, H. Zhang, Y . Ren, Z. Han, K.-C. Chen, and L. Hanzo, “Machine learning paradigms for next-generation wireless networks,” IEEE Wireless Communications, vol. 24, no. 2, pp. 98–105, 2017
2017
-
[16]
Edge intelligence: Paving the last mile of artificial intelligence with edge computing,
Z. Zhou, X. Chen, E. Li, L. Zeng, K. Luo, and J. Zhang, “Edge intelligence: Paving the last mile of artificial intelligence with edge computing,”Proceedings of the IEEE, vol. 107, no. 8, pp. 1738–1762, 2019
2019
-
[17]
Team learning-based re- source allocation for open radio access network (O-RAN),
H. Zhang, H. Zhou, and M. Erol-Kantarci, “Team learning-based re- source allocation for open radio access network (O-RAN),” inICC 2022 – IEEE International Conference on Communications, 2022, pp. 4938– 4943
2022
-
[18]
Network- aided intelligent traffic steering in 6G O-RAN: A multi-layer optimiza- tion framework,
V .-D. Nguyen, T. X. Vu, N. T. Nguyen, D. C. Nguyen, M. Juntti, N. C. Luong, D. T. Hoang, D. N. Nguyen, and S. Chatzinotas, “Network- aided intelligent traffic steering in 6G O-RAN: A multi-layer optimiza- tion framework,”IEEE Journal on Selected Areas in Communications, vol. 42, no. 2, pp. 389–405, 2024
2024
-
[19]
Demonstration of closed loop AI-driven RAN controllers using O-RAN SDR testbed,
N. H. Stephenson, A. J. Chiejina, N. B. Kabigting, and V . K. Shah, “Demonstration of closed loop AI-driven RAN controllers using O-RAN SDR testbed,” inMILCOM 2023 – 2023 IEEE Military Communications Conference, 2023, pp. 241–242
2023
-
[20]
FlexRIC: An SDK for next-generation SD-RANs,
R. Schmidt, M. Irazabal, and N. Nikaein, “FlexRIC: An SDK for next-generation SD-RANs,” inProceedings of the 17th International Conference on Emerging Networking Experiments and Technologies (CoNEXT ’21). ACM, 2021, pp. 411–425
2021
-
[21]
OpenAirInterface 5G software documentation,
OpenAirInterface Software Alliance, “OpenAirInterface 5G software documentation,” 2023, https://www.openairinterface.org
2023
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.