๐ก Intelligent QoS Prediction for 5G Network Slices using Machine Learning
๐ Overview
This project presents an AI-powered system for predicting and optimizing Quality of Service (QoS) in 5G network slices. It leverages machine learning models to forecast network performance metrics and provide actionable recommendations for improving QoS in real-time. The system is deployed as an interactive web application using Streamlit, enabling users to simulate network conditions and analyze their impact on QoS.
๐ฏ Problem Statement Traditional network management systems are reactive and fail to detect subtle performance degradations (e.g., jitter, latency spikes) in dynamic 5G environments. This project addresses: Lack of predictive QoS monitoring Inability to detect โgrey failuresโ No intelligent decision-support system
๐ก Solution We propose a predictive + advisory system that: Predicts QoS using machine learning Classifies network performance (High / Medium / Low) Identifies 5G slice types (eMBB, URLLC, mMTC) Provides optimization recommendations Enables real-time simulation via web app
๐ง Machine Learning Models Used Linear Regression Random Forest (Best performing) Gradient Boosting ๐ Model Performance
Model Rยฒ Score Linear Regression: 0.7587 Random Forest: 0.9460 Gradient Boosting: 0.9398 Random Forest achieved the highest accuracy and was selected for deployment.
โ๏ธ Features ๐ฎ QoS Prediction Predicts network QoS based on input parameters: Speed SNR (Signal-to-Noise Ratio) MCS (Modulation Coding Scheme) Resource Blocks ๐ก 5G Slice Classification Automatically identifies slice type: eMBB โ High throughput URLLC โ Low latency mMTC โ IoT devices โก QoS Categorization HIGH โ Optimal performance MEDIUM โ Acceptable performance LOW โ Needs improvement ๐ก AI-Based Recommendations Provides actionable suggestions such as: Increase signal strength (SNR) Allocate more resource blocks Improve modulation scheme ๐ Real-Time Simulation Interactive dashboard allows: Parameter tuning via sliders Live QoS updates Sensitivity analysis graphs ๐ What-If Simulator Simulates improvements: Compare current vs improved QoS Visualize performance gain Decision-support system
๐ Web Application The system is deployed using: Streamlit Run Locally Bash pip install -r requirements.txt python -m streamlit run app.py ๐ Project Structure
5g_qos_prediction_system/ โ โโโ app.py # Streamlit web app โโโ rf_model.pkl # Trained ML model โโโ requirements.txt # Dependencies โโโ train.csv # Dataset (optional) โโโ README.md # Project documentation
๐ ๏ธ Tech Stack Python Pandas NumPy scikit-learn Matplotlib Joblib Streamlit
๐ Key Insights QoS is highly influenced by: Signal strength (SNR) Resource allocation (RBs) Modulation scheme (MCS) Tree-based models outperform linear models due to non-linear network behavior Different 5G slices exhibit distinct QoS characteristics
๐ Results Achieved Rยฒ score of 0.94 using Random Forest Successfully built a real-time QoS prediction system Implemented interactive AI dashboard Enabled proactive network optimization
๐ฎ Future Scope Integration with real-time telecom data Deployment in edge computing environments Advanced explainability using SHAP Integration with network orchestration systems
๐ Conclusion This project demonstrates how AI can transform 5G network management from reactive to proactive by predicting QoS and enabling intelligent decision-making.