Handover optimization is the single most impactful AI use case in RAN. Every day, billions of handovers occur globally, and each failed handover means a dropped call, a frozen video, or a lost gaming session. Traditional A3-event-based handovers use fixed thresholds that cannot adapt to varying UE speeds, cell loads, or RF conditions. AI changes this by learning from millions of historical handover outcomes to predict the optimal target cell and timing for every UE, in every condition.

99.1%
AI HOSR Achieved
-62%
Ping-Pong Reduction
-76%
HO Failure Reduction
+30%
Edge Throughput Gain

The A3 Entry Condition (3GPP TS 38.331)

Mn + Ofn + Ocn - Hys > Mp + Ofp + Ocp + OffWhere Mn = neighbor RSRP, Mp = serving RSRP, Ofn/Ofp = frequency offsets, Ocn/Ocp = cell offsets, Hys = hysteresis, Off = A3-Offset
01

Handover Fundamentals

A1-A6, B1/B2 events and measurement configuration

3GPP defines 8 measurement events that trigger handover decisions. A3 (neighbor becomes better than serving by offset) is the workhorse for intra-frequency handover. A2 (serving below threshold) triggers inter-frequency/inter-RAT search. B1 handles inter-RAT handover to LTE. Each event has configurable parameters: A3-Offset (0.5-6 dB), Time-to-Trigger (0-5120 ms), and Hysteresis (0-15 dB).

EventConditionUse CaseKey Parameter
A1Serving > thresholdStop inter-freq measThreshold (dBm)
A2Serving < thresholdStart inter-freq searchThreshold (dBm)
A3Neighbor > Serving + OffsetIntra-freq handoverA3-Offset (dB)
A4Neighbor > thresholdInter-freq handoverThreshold (dBm)
A5Serving < thresh1 AND Neighbor > thresh2Inter-freq HOTwo thresholds
B1Inter-RAT neighbor > thresholdLTE/NR handoverThreshold
A3 Event Visualization — Neighbor RSRP crosses serving + offset for TTT duration
Hands-On TaskTune Handover Parameters

Adjust A3-Offset, TTT, and Hysteresis. Watch how they affect ping-pong rate, failure rate, and interruption time.

3.0
160
1.0
Ping-Pong: 12% | Failure: 3.2% | Interruption: 48ms | Suboptimal
Quick Quiz
Increasing A3-Offset causes handovers to trigger:
AEarlier (more sensitive)
BLater (neighbor must be significantly better)
CAt the same time
DOnly during high load
Correct! Higher A3-Offset means the neighbor must exceed serving by a larger margin, delaying handover. This reduces ping-pong but increases late-HO risk.
Higher A3-Offset delays handover — the neighbor must be significantly better before triggering.
02

RF Feature Engineering

RSRP, RSRQ, SINR derivatives for ML models

Raw RSRP/SINR values are insufficient for ML. The most predictive features are temporal derivatives: dRSRP/dt (rate of signal change), delta_RSRP (serving - best neighbor), RSRP variance over last 5 reports, and SINR trend direction. XGBoost feature importance analysis on 2.4M handover events shows dRSRP/dt as the #1 predictor of handover success, outperforming absolute RSRP by 3x.

RSRP Feature Landscape — Serving vs. neighbor signal with derivative overlays
dRSRP/dt
#1 Feature
15+
RF Features
3x
Better Than Raw
2.4M
Events Analyzed
Quick Quiz
Which engineered feature is the strongest predictor of handover success?
AAbsolute serving RSRP
BdRSRP/dt (rate of signal change)
CCell ID
DTime of day
Correct! The rate of RSRP change captures UE mobility dynamics that absolute values miss.
dRSRP/dt (signal change rate) is 3x more predictive than absolute RSRP.
03

UE Speed & Trajectory

Mobility-aware handover with LSTM trajectory prediction

UE speed dramatically affects optimal handover parameters. A pedestrian (3 km/h) needs different A3-Offset and TTT than a highway user (120 km/h). 3GPP defines speed states (normal/medium/high) in TS 38.304 with speed-dependent scaling. AI goes further: LSTM models predict UE trajectory 2-5 seconds ahead based on RSRP measurement history, enabling proactive target cell preparation.

UE Trajectory Prediction — LSTM forecasting path through cell coverage areas
Hands-On TaskSpeed-Adaptive Parameters

At 120 km/h, should TTT be higher or lower than at 3 km/h?

Quick Quiz
Why does LSTM outperform rule-based speed estimation for handover?
ALSTM predicts future trajectory, not just current speed, enabling proactive target cell preparation
BLSTM is faster to compute
CLSTM uses less memory
DLSTM does not need UE measurements
Correct! LSTM predicts WHERE the UE is going, not just how fast, enabling proactive preparation.
LSTM predicts future trajectory (where the UE is heading), enabling proactive target cell preparation.
04

Cell Load & Neighbor Features

Load-aware handover decisions

Traditional handover considers only RF (signal strength). AI adds load awareness: PRB utilization of target cell, number of connected users, average throughput per user. A target cell with excellent RSRP but 95% PRB utilization is a poor handover target. The AI model learns to balance RF quality and available capacity, selecting the target cell that maximizes post-handover user experience.

Cell Load Distribution — PRB utilization affecting handover target selection
Quick Quiz
Why should AI handover consider target cell load?
ALoad does not affect handover
BA cell with best RSRP but 95% PRB will deliver poor throughput after handover
CLoad data is always available
DOnly 5G supports load-aware HO
Correct! Best signal does not mean best experience. Load-aware AI selects the target that maximizes post-HO quality.
High PRB utilization on the target cell means poor throughput after handover, despite good RSRP.
05

ML Model Selection

RF vs XGBoost vs LSTM vs RL for handover

Different models serve different handover tasks. XGBoost: classify handover outcome (success/failure/ping-pong) with 94% accuracy. LSTM: predict optimal handover timing from measurement sequences. RL (PPO): learn per-cell parameter policies that maximize long-term HOSR. Random Forest: feature importance analysis to identify which measurements matter most.

ModelTaskAccuracyLatency
XGBoostHO outcome classification94%< 1ms
LSTMTiming prediction91%5-10ms
PPO (RL)Parameter optimization+18% HOSR10-50ms
Random ForestFeature importance92%< 1ms
Model Comparison — Accuracy vs. latency for handover AI models
Quick Quiz
Which ML model is best for learning optimal per-cell handover parameters?
AXGBoost (classification)
BLSTM (sequence prediction)
CRL/PPO (policy optimization through trial and reward)
DK-Means (clustering)
Correct! RL learns optimal parameter settings by maximizing long-term HOSR through trial-and-reward.
RL/PPO learns optimal parameter policies through reward-driven optimization.
06

Training Pipeline

From raw CHR data to production model

The training pipeline: (1) Collect CHR/MDT data with handover outcomes, (2) Label: success, failure, ping-pong, too-early, too-late from RLF reports, (3) Feature engineering (50+ features per HO event), (4) Handle class imbalance with SMOTE (failures are only 2-5% of events), (5) Temporal train/test split (never leak future data), (6) Hyperparameter tuning with Bayesian optimization, (7) Export to ONNX for deployment.

Training Pipeline — CHR data to production model in 7 steps
Quick Quiz
Why must handover ML models use temporal (not random) train/test splits?
ARandom splits leak future information into training, inflating accuracy
BTemporal splits are faster
CRandom splits do not work with large datasets
DTemporal splits are required by 3GPP
Correct! Random splits mix future and past data, causing data leakage and overestimating model performance.
Random splits leak future information into training data, giving unrealistically high accuracy.
07

Real-Time Inference (O-RAN xApp)

Near-RT RIC, E2 interface, 10ms-1s control loop

AI handover models deploy as xApps on the O-RAN Near-RT RIC. The xApp receives UE measurement reports via E2SM-KPM (Key Performance Metrics), runs ML inference in 5-50ms, and sends parameter updates via E2SM-RC (RAN Control). A safety layer (kill switch) monitors KPI degradation and reverts to baseline parameters if HOSR drops below a threshold. Shadow mode runs AI alongside traditional handover to validate before activation.

O-RAN xApp Architecture — Near-RT RIC inference loop with E2 interface
Quick Quiz
What E2 service model is used to send parameter changes from xApp to gNB?
AE2SM-KPM (metrics)
BE2SM-RC (RAN Control)
CE2SM-NI (Network Interface)
DA1 Policy
Correct! E2SM-RC carries control actions (parameter changes) from xApp to gNB. E2SM-KPM carries metrics in the opposite direction.
E2SM-RC (RAN Control) sends parameter changes. E2SM-KPM carries metrics from gNB to xApp.
08

Results & KPI Impact

Production A/B test results from live networks

Production results from multi-month A/B tests across 500+ cells show consistent improvements: HOSR: 97.2% → 99.1%, Ping-pong: -62%, HO failure: -76%, Cell-edge throughput: +30%. The improvement is largest for high-speed users (trains, highways) where traditional fixed-threshold handovers struggle most. ROI: reduced call drops → lower churn → $2-5M annual revenue retention for a mid-size operator.

KPIBefore AIAfter AIImprovement
HOSR97.2%99.1%+1.9pp
Ping-Pong Rate8.5%3.2%-62%
HO Failure Rate2.8%0.67%-76%
Cell-Edge Throughput12 Mbps15.6 Mbps+30%
HO Interruption Time52ms35ms-33%
Before/After KPI Dashboard — AI vs. baseline handover performance
Quick Quiz
Which user segment benefits most from AI handover optimization?
AStationary indoor users
BHigh-speed users (trains, highways) where fixed thresholds fail
CUsers in strong coverage areas
DAll users equally
Correct! High-speed users experience the most handover failures with fixed thresholds. AI adapts parameters per speed class.
High-speed users benefit most because fixed thresholds cannot handle rapid RF changes at speed.

Final Assessment

10 questions on AI handover optimization

1. The A3 event triggers when:
ANeighbor RSRP exceeds serving + offset for TTT duration
BServing drops below threshold
CUE speed exceeds limit
DCell load exceeds 80%
Correct!
A3 triggers when neighbor > serving + offset for TTT.
2. The #1 ML feature for handover prediction is:
AdRSRP/dt (rate of signal change)
BAbsolute RSRP value
CCell ID
DTimestamp
Correct!
dRSRP/dt (signal change rate) is the strongest predictor.
3. For high-speed UEs, TTT should be:
ALower (faster handover reaction)
BHigher
CSame as pedestrian
DDisabled
Correct! Fast UEs traverse cell overlap zones quickly, requiring shorter TTT.
Lower TTT for high-speed UEs to avoid too-late handovers.
4. Why consider target cell load in handover decisions?
ABest RSRP cell with 95% PRB gives poor throughput
BLoad is always zero
C3GPP requires it
DIt reduces signaling
Correct!
High-load target cells give poor post-handover throughput.
5. Which model learns optimal HO parameters through trial-and-reward?
AXGBoost
BReinforcement Learning (PPO)
CLSTM
DAutoencoder
Correct!
RL/PPO learns policies through reward optimization.
6. SMOTE is used in HO model training to:
AHandle class imbalance (HO failures are rare at 2-5%)
BSpeed up training
CReduce model size
DNormalize features
Correct!
SMOTE oversamples the minority class (failures) to balance training data.
7. E2SM-RC is used to:
ACollect KPIs from gNB
BSend parameter changes from xApp to gNB
CTrain ML models
DManage Non-RT RIC policies
Correct!
E2SM-RC carries control actions (parameter updates) to the gNB.
8. AI HOSR improvement in production A/B tests:
A97.2% to 99.1% (+1.9 percentage points)
B50% to 99%
CNo measurable improvement
D99% to 99.999%
Correct!
Production results: 97.2% → 99.1% HOSR.
9. What safety mechanism prevents AI from degrading live network?
AKill switch that reverts to baseline if KPIs drop
BNo safety mechanism needed
CManual operator approval for every change
DAI never makes mistakes
Correct! Kill switch + shadow mode provide production safety.
A kill switch monitors KPIs and auto-reverts if degradation is detected.
10. Temporal train/test splits prevent:
AData leakage from future information
BOverfitting to specific cells
CClass imbalance
DFeature correlation
Correct!
Temporal splits prevent future data from leaking into training.

Master RAN Optimization

From handover fundamentals to AI-powered xApps

Browse All Courses
AK
Abhijeet Kumar
Telecom AI Researcher · CafeTele

Comments