pith. sign in

arxiv: 2607.01583 · v1 · pith:DXBV5VHCnew · submitted 2026-07-02 · 💻 cs.NI

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

classification 💻 cs.NI
keywords O-RANNear-RT RICxAppAI inferencelatency measurementOpenAirInterfaceFlexRICreal-time control
0
0 comments X

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.

The paper demonstrates that simple supervised models can be compiled directly into an O-RAN xApp and execute on a live Near-RT RIC testbed without external runtimes. Logistic regression and a shallow multilayer perceptron classify emulated cross-layer network states from MAC, RLC, PDCP, GTP, and UE-count features. Measured inference takes 1-5 microseconds for logistic regression and 10-25 microseconds for the MLP, keeping end-to-end loop latency below 4 ms and satisfying the 10 ms constraint in over 95 percent of cases. Both models reach 0.88-0.90 accuracy on the synthetic data, and the work releases an orchestration dashboard for reproducing the setup on commodity hardware. This establishes feasibility of embedding deterministic AI inside the RIC software loop rather than proving broad generalization.

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

These are editorial extensions of the paper, not claims the author makes directly.

  • 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

Figures reproduced from arXiv: 2607.01583 by C. Nicolas Barati, Fahmida Afrin, Krzysztof J. Rechowicz, Lawrence Obiuwevwi, Muhammad Enayetur Rahman, Neda Moghim, Sachin Shetty, Safdar Hussain Bouk, Sampath Jayarathna, Valentina Nanou.

Figure 1
Figure 1. Figure 1: End-to-end architecture of the AI-enabled network state classification xApp within the O-RAN Near-RT RIC. Offline training uses structured synthetic [PITH_FULL_IMAGE:figures/full_fig_p003_1.png] view at source ↗
Figure 2
Figure 2. Figure 2: RIC Workbench setup tab showing all O-RAN stack components (CN5G, gNB, FlexRIC Near-RT RIC) running on a local workstation with one [PITH_FULL_IMAGE:figures/full_fig_p004_2.png] view at source ↗
Figure 3
Figure 3. Figure 3: RIC Workbench xApp IDE tab during live operation of [PITH_FULL_IMAGE:figures/full_fig_p004_3.png] view at source ↗
Figure 4
Figure 4. Figure 4: Kernel density distribution of MAC, RLC, PDCP, and GTP latencies across Healthy (0), Congestion Forming (1), User-Plane Stress (2), and Control [PITH_FULL_IMAGE:figures/full_fig_p006_4.png] view at source ↗
Figure 6
Figure 6. Figure 6: Confusion matrices for Logistic Regression (left) and MLP (right) on [PITH_FULL_IMAGE:figures/full_fig_p007_6.png] view at source ↗
Figure 7
Figure 7. Figure 7: Macro F1 versus Gaussian noise level σ for all model families. The vertical dashed line marks σ = 30 µs, the noise level used in paper experiments. ML models maintain near-parity across the full sweep, confirming that LR– MLP similarity is structural. The Rule-Based baseline degrades significantly faster, quantifying the incremental value of learned classification. D. Robustness Analysis: Noise Ablation We… view at source ↗
Figure 8
Figure 8. Figure 8: Closed-loop latency characterization for the AI-enabled xApp. [PITH_FULL_IMAGE:figures/full_fig_p009_8.png] view at source ↗
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.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

0 major / 2 minor

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)
  1. [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.
  2. 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

0 responses · 0 unresolved

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

0 steps flagged

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

0 free parameters · 1 axioms · 0 invented entities

The central claim rests on the domain assumption that the synthetic dataset captures enough structure of real RAN states for timing feasibility to be meaningful; no free parameters or invented entities are introduced.

axioms (1)
  • domain assumption The synthetic dataset emulating cross-layer RAN states is representative for feasibility demonstration
    Training and evaluation are performed exclusively on this dataset; the timing conclusions are presented as evidence for real deployments.

pith-pipeline@v0.9.1-grok · 5899 in / 1281 out tokens · 28067 ms · 2026-07-03T04:42:21.804326+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

21 extracted references

  1. [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

  2. [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

  3. [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

  4. [4]

    O-RAN architecture description,

    O-RAN Alliance, “O-RAN architecture description,” O-RAN Alliance, Tech. Rep., 2020

  5. [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

  6. [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

  7. [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

  8. [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

  9. [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

  10. [10]

    O-RAN working group overview,

    O-RAN Alliance, “O-RAN working group overview,” O-RAN Alliance, Tech. Rep., 2021

  11. [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

  12. [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

  13. [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

  14. [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

  15. [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

  16. [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

  17. [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

  18. [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

  19. [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

  20. [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

  21. [21]

    OpenAirInterface 5G software documentation,

    OpenAirInterface Software Alliance, “OpenAirInterface 5G software documentation,” 2023, https://www.openairinterface.org