Performance measurement · Research feature

Smartphones and AI Predict 5G Uplink Performance in Real Time

A study uses consumer smartphones and machine learning to predict 5G uplink performance in real time across indoor and outdoor environments.

Adapted from research by Md Mahfuzur Rahman, Jareen Shuva, Nishith Tripathi and colleagues.

arXiv preprint revision · 2026-03-18 · Attribution & reuse
In this article
Editorial illustration of aperture mechanism.

Editor’s introduction

The research evaluates real-time prediction of 5G uplink metrics like throughput and block error rate using data collected from two Google Pixel 7a smartphones. The team trained five machine learning models—linear regression, decision trees, random forest, XGBoost, and LightGBM—on this data to assess prediction accuracy. Results indicate that reliable performance forecasting is achievable using only off-the-shelf smartphones and standard ML techniques. Findings suggest that smartphone-based data collection combined with accessible ML models can support practical, on-the-ground performance estimation in private 5G networks.

Introduction

The emergence of the Open Radio Access Network (O-RAN) paradigm has significantly transformed the modern cellular landscape by promoting openness, interoperability, software-driven design, and AI-enabled control mechanisms. Although fixed networks have long benefited from the principles of Software-Defined Networking (SDN), fully realizing these innovations within mobile systems remains an ongoing challenge. Achieving a robust and intelligent O-RAN deployment requires addressing several technical hurdles, including the acquisition of high-quality datasets for ML algorithms, building experimental environments that are both repeatable and minimally intrusive, automating continuous software validation, and maintaining seamless coordination across diverse network components.

Experimental open-source software stacks—most notably OpenAirInterface (OAI) and the Software Radio Systems RAN (srsRAN)—have become central tools for 5G New Radio (NR) research and prototyping. These platforms implement the full 3GPP protocol stack and operate with Commercial-Off-The-Shelf (COTS) UEs and SDR hardware, enabling cost-effective and flexible experimentation. Their modular architectures allow researchers to rapidly test new features, adjust network configurations, and conduct controlled measurements. In particular, srsRAN has gained substantial traction due to its reproducibility, lightweight deployment, and ease of integration with machine-learning pipelines.

As 5G systems continue to target extreme reliability and very low latency, precise estimation of network performance metrics has become critical for intelligent resource management. Throughput in cellular systems is tightly coupled with various PHY-layer characteristics, including Modulation and Coding Scheme (MCS), Signal-to-Interference-plus-Noise Ratio (SINR), and Reference Signal Received Power (RSRP). Machine-learning techniques have therefore been increasingly adopted to capture these complex nonlinear relationships and provide real-time bit rate forecasts from instantaneous radio measurements. Such predictive tools support enhanced network automation by informing scheduling, mobility management, and link adaptation based on richer channel state information (CSI).

Several influential contributions illustrate the breadth of research in this area. Koenig et al. introduced a cross-technology prediction model applicable to both LTE and 5G. Rehmani et al. validated Random Forest and regression models with real operator data, demonstrating ML’s strong potential for adaptive network management. Dias et al. used an srsRAN platform to estimate RSRP values for LTE planning and coverage analysis. Sinha et al. presented a flexible SDR framework combining OAI and srsRAN to support multi-generation experimentation within emerging O-RAN architectures.

Multiple ML models have been applied to 5G bit rate forecasting, including LightGBM, XGBoost, Random Forest, Decision Tree, and Linear Regression. Linear Regression has served as a baseline in many studies for capturing simple relations between fundamental radio parameters. Elsherbiny et al. illustrated that, despite its simplicity, linear modeling can yield real-time throughput estimates from COTS UE measurements. Decision Tree Regression, known for its interpretability, has been employed to model nonlinear dependencies and predict inter-frequency indicators vital to mobility optimization. Ensemble approaches such as Random Forest often outperform single-model predictors; for example, Chang and Baliga demonstrated its effectiveness for path-loss estimation in dense urban settings, and smartphone-derived RSRP prediction has also benefited from its robustness.

Using COTS smartphones for data collection underscores the real-world relevance of predictive modeling in operational 5G environments. These devices simplify large-scale measurement campaigns and, when paired with open-source platforms like srsRAN, enable highly flexible research testbeds bridging experimental and commercial deployment contexts. In this work, we build on these advancements by developing and validating an srsRAN-based real-time LTE measurement platform using commercial smartphones. Rather than performing direct PHY-layer optimization, our goal is to estimate downlink bit rate and SNR using passively observed measurements. We develop an efficient ML pipeline combining Linear Regression, Decision Tree Regression, Random Forest Regression, XGBoost, and LightGBM, trained on live network features including transmission time interval (TTI), bit rate, MCS, SNR, and BLER. This approach enables non-intrusive estimation of bit rate and SNR, supporting proactive QoS optimization, scheduling, and link adaptation in emerging wireless systems. It is important to emphasize that these ML-driven estimators do not modify underlying physical-layer capabilities; rather, they provide an intelligent layer for early performance inference.

Measurements gathered directly from commercial networks have also been used to build predictive models. Minovski et al. developed throughput predictors for both LTE and 5G based on SINR, RSRQ, and RSRP across rural, urban, and underground environments. Utilizing custom TWAMP probes and TEMS Pocket tools for data collection, they demonstrated that reliable bit rate labeling can be achieved without controlled testbed hardware. Basit et al. extended this methodology through a large-scale campaign—spanning 1000 km—over commercial LTE and 5G networks using Android devices and Accuver tools. Their comparison of Gradient Boosting and Multi-Layer Perceptron models showed that accuracy deteriorated at 100 ms granularity for application-level metrics, largely due to rapidly fluctuating commercial-network dynamics and inconsistencies in measurement sequences.

Deep learning has further been explored for modeling highly variable throughput patterns. Raca et al. built a hybrid ML/DL prediction engine leveraging both network-side and device-side metrics for LTE. Their results demonstrated that LSTM networks outperform SVM and Random Forest models under highly dynamic conditions. They also validated the practical utility of prediction-assisted adaptation, showing enhanced video streaming QoE via Android APIs and custom instrumentation. A technical report from Clemson University corroborated these findings, showing that deeper neural architectures more effectively capture nonlinear throughput behavior compared to classical ML methods. Abdiel proposed an LTE forecasting framework aimed at both operational optimization and strategic business analytics.

Despite these notable contributions, most published techniques depend on live operator infrastructure or drive-test campaigns, which inherently limit reproducibility and restrict the degree of control over radio parameters. In contrast, our work employs a fully customizable 5G experimentation platform built using srsRAN and COTS smartphones. This setup supports controlled, repeatable experiments, fine-grained tuning of radio parameters, and seamless integration with machine learning pipelines. We intentionally focus on lightweight, interpretable models—LGBM, XGBoost, Random Forest, Decision Trees, and Linear Regression—to achieve a desirable balance between accuracy and computational efficiency. Unlike prior deep-learning–based solutions, our framework enables real-time inference suitable for on-device and resource-constrained deployments. By implementing and validating these algorithms in a live programmable testbed, we provide a reproducible foundation for ML-driven SNR and bit rate prediction under tunable 5G network conditions.

Motivation and Contribution

The evolution of mobile networks toward greater openness, programmability, and embedded intelligence has elevated the Open Radio Access Network (O-RAN) framework as a pivotal architectural shift. By encouraging modular, software-driven, and interoperable designs, Open RAN lowers entry barriers and accelerates innovation across the wireless ecosystem. However, realizing this vision in production environments requires overcoming several foundational challenges, including ensuring high-quality datasets for model training, constructing non-intrusive experimental methodologies, and providing realistic environments for validating AI/ML algorithms.

Accurate prediction of channel metrics—particularly SNR and throughput—is critical for enabling intelligent scheduling, dynamic link adaptation, and maintaining QoS in 5G networks. Key physical-layer indicators such as MCS, SNR, BLER, and TTI directly affect achievable bit rate, yet the nonlinear and interdependent nature of these parameters makes them difficult to model using traditional heuristic approaches. SNR itself is shaped by a similar set of interacting factors, including MCS, BLER, TTI, and the resulting bit rate, further complicating analytical modeling.

Machine learning offers an effective means of capturing these hidden relationships by learning directly from measurement data. To rigorously evaluate such models, researchers require platforms that offer an appropriate blend of realism, flexibility, and controlled experimentation. Commercial operator networks do not satisfy these needs, as they restrict parameter visibility and limit experimental configurability. This motivates the need for low-cost, reproducible 5G research infrastructures that can support ML-driven network studies.

Open-source implementations like srsRAN, combined with Software Defined Radios (SDRs) and commercial off-the-shelf smartphones, provide a practical foundation for such investigations. These platforms enable end-to-end experimentation with fine-grained control over radio settings and network parameters. Although their use is expanding within the research community, the systematic integration of COTS UEs with srsRAN for real-time, ML-based throughput and SNR prediction using live data has not been thoroughly explored.

The present work fills this gap by illustrating how accessible hardware and open-source 5G standalone implementations can be leveraged to conduct reproducible, data-centric studies of network performance. Our methodology aligns closely with the Open RAN philosophy while addressing the practical needs of emerging 5G systems that increasingly rely on data-driven intelligence.

Machine Learning

Machine learning, a major subfield of artificial intelligence, enables computational systems to automatically uncover structure in data and make informed decisions without explicit rule-based programming. Broadly, ML techniques are grouped into three categories: supervised learning, which leverages labeled datasets to learn predictive functions; unsupervised learning, which uncovers latent patterns in unlabeled data; and reinforcement learning, where agents iteratively refine their strategies by interacting with an environment and receiving evaluative feedback. Collectively, these paradigms have transformed a diverse range of domains including wireless networking, computer vision, natural language understanding, and autonomous control.

Supervised Learning

Supervised learning constitutes one of the most widely used ML frameworks, where the goal is to learn a predictive model from labeled training examples. By observing input–output mappings, the model estimates a function capable of generalizing to new, unseen inputs. Numerous mobile and wireless applications employ supervised learning. For example, Zhao et al. introduced DeepSense, a unified deep-learning architecture for processing time-series data from mobile sensors, demonstrating strong performance in recognition and identification tasks using CNN and RNN layers.

Reinforcement Learning

Reinforcement learning (RL) describes a decision-making paradigm in which an agent interacts with an environment and refines its behavior to maximize cumulative reward over time. Unlike supervised learning, RL does not require labeled datasets; instead, the agent learns from the consequences of its actions.

From Supervised Learning to Reinforcement Learning

In modern wireless systems, numerous radio parameters—including scheduling indicators, power control variables, slicing configurations, and modulation characteristics—collectively influence key objectives such as throughput, latency, reliability, and energy efficiency. Determining which parameters most strongly affect these objectives is essential for designing effective RL-based network controllers. These influential parameters ultimately form the state representation supplied to the RL agent.

However, not all candidate features contribute meaningfully. Incorporating irrelevant or redundant variables may lead to unnecessary computational burden, slower convergence, and degraded learning performance. Consequently, performing a systematic feature importance assessment is vital for constructing a compact and informative RL state vector.

In this work, we carry out a supervised-learning–based feature importance analysis to evaluate the relative relevance of candidate radio parameters. The analysis examines how different features correlate with performance outcomes and how strongly they influence predictive models across diverse scenarios. The resulting rankings guide the selection of state variables for RL-based control in next-generation wireless systems.

This study represents the initial stage of a broader research framework. The feature set identified here will form the basis of the RL state representation in our subsequent journal publication, where we will conduct extensive simulation and real-time testbed experiments to design and validate complete RL-driven network optimization mechanisms for future 5G and beyond systems.

Regression Model Formulations

This section outlines the theoretical principles and characteristics of the five regression models used to predict CQI and downlink bit rate in 5G networks: LightGBM, XGBoost, Random Forest, Decision Tree, and Linear Regression. The selection of these algorithms balances interpretability, computational efficiency, and predictive capacity across varying levels of model complexity.

Feature Importance Analysis

To interpret the decision processes of the models, feature importance values from LightGBM are analyzed. These scores quantify each feature’s contribution to reducing loss across the boosted ensemble and reveal which PHY-layer attributes most strongly influence achievable bit rate in practical 5G deployments.

System Model and Traffic Generation

Our uplink forecasting framework is evaluated on a fully programmable standalone 5G NR deployment designed in alignment with Open RAN principles. The radio access network is realized using the open-source srsRAN 5G protocol stack, providing modular and configurable components for both gNB and core network functionalities. A Dell workstation powered by an Intel i7 CPU and 32 GB RAM operates as the 5G gNB, while core network connectivity is facilitated through a containerized Open5GS deployment. The host machine runs Ubuntu 24.04 LTS with real-time kernel patches to satisfy stringent timing requirements associated with over-the-air transmission in 5G systems.

Radio operations are carried out in the sub–6 GHz band centered at 3.4 GHz using an Ettus Research USRP B210 software-defined radio as the RF front-end. The SDR interfaces to the host through USB 3.0, operating with 20 MHz of bandwidth. Antenna gains and RF parameters are calibrated to ensure reliable connectivity across controlled indoor laboratory trials and outdoor propagation scenarios.

Two Google Pixel 7a smartphones running Android 14 serve as commercial user devices for measurement collection. The UE exposes key physical-layer statistics such as BLER, TTI, bit rate, MCS, and SNR, which form the fundamental features and target variables required for the supervised learning tasks.

Data Collection Methodology

Uplink traffic was generated using a mix of widely used applications—YouTube, Magic iPerf, and Ookla Speedtest—ensuring capture of heterogeneous traffic patterns. This multimodal workload includes sustained flows (iPerf UDP/TCP), burst-based adaptive streaming (YouTube), and commercially deployed throughput estimation (Ookla). Each test was executed multiple times to ensure statistical robustness and to account for channel variability over time.

During all trials, the UE continuously logged PHY-layer statistics, while application-level information was recorded simultaneously. This synchronized measurement approach enables direct correlation between instantaneous radio conditions and achieved throughput. All measurements were timestamped with millisecond precision, allowing fine-grained temporal alignment across layers.

Ookla Testing

Deploying a dedicated Ookla Speedtest server within our laboratory would require allocation of a public IP address so that the server appears in the Speedtest directory. Due to institutional security constraints, public IP assignment requires administrative approval and was not feasible for our experiments. Instead, we relied on both nearby regional servers and distant international endpoints to introduce diverse network paths. We also utilized several iPerf servers located within a 50 km radius to evaluate performance under controlled backhaul conditions. The global Speedtest server pool included nodes in the United Kingdom, Saudi Arabia, Egypt, Ghana, and various North American regions.

iPerf Testing

Throughput evaluation using the Magic iPerf application on the UE employed both TCP and UDP protocols. To incorporate path diversity, we utilized publicly accessible iPerf servers hosted in Ashburn, VA, and Atlanta, GA. These endpoints allowed us to observe protocol-specific behavior and the effects of backhaul variability on uplink throughput.

YouTube Testing

To examine performance under real-world application-driven workloads, we generated traffic using YouTube in both indoor and outdoor configurations. Our experiments focused on uplink-intensive use cases, including 4K and 8K streaming uploads. Unlike the constant-rate behavior of iPerf, YouTube produces highly bursty traffic governed by adaptive buffering and encoding strategies.

Each record in the dataset constitutes a snapshot of real-time MAC scheduling behavior and the underlying wireless channel state. To prepare the dataset for learning, we applied standard preprocessing steps including timestamp alignment, outlier filtering, and feature normalization.