--- license: cc-by-4.0 task_categories: - reinforcement-learning - tabular-classification language: - en tags: - network-slicing - 5G - IoV - DRL - MEC - URLLC - eMBB - mMTC - vehicular-networks - 3GPP - MobFogSim - SUMO size_categories: - 1M5 per tick) | | CONGESTION | 1,527,550 | 19.5% | Slow traffic, moderate density | | EMERGENCY | 1,779,900 | 22.7% | Peak density, URLLC breach | | NORMAL | 327,570 | 4.2% | Free-flow, low density, no events | | ACCIDENT | 409,970 | 5.2% | High stopped-vehicle fraction (≥92%) | ### Bandwidth Allocation per Event (MHz) | Event | URLLC | eMBB | mMTC | Total | |---|---|---|---|---| | NORMAL | 20 | 60 | 20 | 100 | | CONGESTION | 30 | 55 | 15 | 100 | | VEHICLE_SURGE | 30 | 55 | 15 | 100 | | HANDOVER_STORM | 35 | 50 | 15 | 100 | | EMERGENCY | 40 | 45 | 15 | 100 | | ACCIDENT | 50 | 35 | 15 | 100 | --- ## Column Schema (42 columns) ### Identification | Column | Type | Description | |---|---|---| | `vehicle_id` | int | Unique vehicle identifier | | `timestamp` | int | SUMO simulation second (0–785) | | `seed` | int | Random seed used for this run | ### Vehicle State | Column | Type | Description | |---|---|---| | `vehicle_x_m` | float | Vehicle x-coordinate (metres) | | `vehicle_y_m` | float | Vehicle y-coordinate (metres) | | `vehicle_speed_mps` | float | Instantaneous speed (m/s) | | `dist_to_nearest_ap_m` | float | Distance to nearest gNB (metres) | | `nearest_ap_id` | int | ID of nearest gNB | | `vehicle_handover` | int | 1 if handover occurred this tick | | `vehicle_migration` | int | 1 if VM migration occurred | ### Traffic Context | Column | Type | Description | |---|---|---| | `traffic_density_veh_per_km2` | float | Global vehicle density (all SUMO vehicles / 271 km²) | | `vehicle_count` | int | Total SUMO vehicles active at this tick | | `event_flag` | int | Numeric encoding of event_type | | `event_type` | str | NORMAL / CONGESTION / VEHICLE_SURGE / HANDOVER_STORM / EMERGENCY / ACCIDENT | | `root_cause` | str | DPC root cause classification | | `congestion_severity` | int | 0=NORMAL, 1=CONGESTION, 2=SURGE/HO-STORM, 3=EMERGENCY/ACCIDENT | ### DRL Reward Signal | Column | Type | Range | Description | |---|---|---|---| | `reward` | float | [−0.44, +0.39] | Composite DRL reward | Reward formula: ``` r = 0.35×latComp + 0.20×lossComp + 0.15×netComp − 0.10×migPenalty − 0.20×slaPenalty ``` ### URLLC Slice Metrics | Column | Type | Description | |---|---|---| | `urllc_latency_ms` | float | URLLC slice latency (ms) | | `urllc_packet_loss_rate` | float | URLLC PLR | | `urllc_bandwidth_alloc_mhz` | float | Allocated bandwidth (MHz) | | `urllc_throughput_mbps` | float | Achieved throughput (Mbps) | | `urllc_jitter_ms` | float | Latency jitter (ms) | | `urllc_slice_priority` | int | Current priority level | ### eMBB Slice Metrics | Column | Type | Description | |---|---|---| | `embb_latency_ms` | float | eMBB slice latency (ms) | | `embb_packet_loss_rate` | float | eMBB PLR | | `embb_bandwidth_alloc_mhz` | float | Allocated bandwidth (MHz) | | `embb_throughput_mbps` | float | Achieved throughput (Mbps) | | `embb_jitter_ms` | float | Latency jitter (ms) | | `embb_slice_priority` | int | Current priority level | ### mMTC Slice Metrics | Column | Type | Description | |---|---|---| | `mmtc_latency_ms` | float | mMTC slice latency (ms) | | `mmtc_packet_loss_rate` | float | mMTC PLR | | `mmtc_bandwidth_alloc_mhz` | float | Allocated bandwidth (MHz) | | `mmtc_throughput_mbps` | float | Achieved throughput (Mbps) | | `mmtc_jitter_ms` | float | Latency jitter (ms) | | `mmtc_slice_priority` | int | Current priority level | ### Network State | Column | Type | Description | |---|---|---| | `network_utilization_percent` | float | Total spectrum utilisation (always 100% — full allocation) | | `edge_cpu_utilization_percent` | float | Edge server CPU utilisation | | `global_migration_count` | int | Cumulative VM migrations | | `global_handover_count` | int | Cumulative handovers | | `handover_rate_per_tick` | float | Handovers per second at this tick | | `isci_value` | float | Inter-Slice Contention Index | | `dynamic_priority_shift_flag` | int | 1 if DPC shifted priorities this tick | | `sla_violation_count` | int | Number of slices violating SLA (0–3) | | `packet_delivery_ratio` | float | Network-wide packet delivery ratio | | `fog_latency_ms` | float | Fog node RTT (ms) from 3GPP physics model | --- ## DRL Environment ### Observation Space (9 features) ```python obs = [ urllc_latency_ms, # URLLC slice latency embb_latency_ms, # eMBB slice latency mmtc_latency_ms, # mMTC slice latency urllc_bandwidth_alloc_mhz, # current URLLC BW allocation embb_bandwidth_alloc_mhz, # current eMBB BW allocation mmtc_bandwidth_alloc_mhz, # current mMTC BW allocation traffic_density_veh_per_km2,# traffic density vehicle_speed_mps, # mean vehicle speed isci_value # inter-slice contention index ] ``` ### Action Space (3 continuous values) Bandwidth allocation in MHz for each slice. Constraint: sum ≤ 100 MHz. ``` action = [urllc_bw, embb_bw, mmtc_bw] ∈ [0, 100]³ ``` ### Reward ``` range: [−0.44, +0.39] mean: −0.291 (std: 0.133) ``` | Event | Mean Reward | |---|---| | NORMAL | +0.255 | | VEHICLE_SURGE | −0.251 | | CONGESTION | −0.282 | | HANDOVER_STORM | −0.313 | | ACCIDENT | −0.358 | | EMERGENCY | −0.403 | --- ## Loading the Dataset ```python import pandas as pd from datasets import load_dataset # Option 1: pandas (recommended for large datasets) df = pd.read_csv("hf://datasets/axakhan/IOV/combined_dataset_v6.csv") # Option 2: HuggingFace datasets library dataset = load_dataset("axakhan/IOV") df = dataset["train"].to_pandas() # DRL state columns STATE_COLS = [ "urllc_latency_ms", "embb_latency_ms", "mmtc_latency_ms", "urllc_bandwidth_alloc_mhz", "embb_bandwidth_alloc_mhz", "mmtc_bandwidth_alloc_mhz", "traffic_density_veh_per_km2", "vehicle_speed_mps", "isci_value" ] ACTION_COLS = [ "urllc_bandwidth_alloc_mhz", "embb_bandwidth_alloc_mhz", "mmtc_bandwidth_alloc_mhz" ] X = df[STATE_COLS].values # observations a = df[ACTION_COLS].values # actions taken by DPC r = df["reward"].values # rewards ``` --- ## Citation If you use this dataset in your research, please cite: ```bibtex @dataset{khan2026iovdynslice, author = {Khan, Abubakar}, title = {IoV-DynSlice-2026: Dynamic 5G Network Slicing Dataset for Internet of Vehicles}, year = {2026}, publisher = {Hugging Face}, url = {https://huggingface.co/datasets/axakhan/IOV}, note = {7.83M rows, MobFogSim + 3GPP TR 38.901 UMa + SUMO Islamabad trace, 225 gNBs, ISD=500m, fc=3.5GHz, BW=100MHz, 1000 vehicles × 10 seeds} } ``` --- ## Related Work - MobFogSim: [github.com/diogomg/MobFogSim](https://github.com/diogomg/MobFogSim) - 3GPP TR 38.901: Study on channel model for frequencies from 0.5 to 100 GHz - 3GPP TS 22.261: Service requirements for the 5G system - SUMO: [sumo.dlr.de](https://sumo.dlr.de)