Bachelor Thesis · TU Wien · OngoingBachelorarbeit · TU Wien · Laufend
Quantization of Neural Networks for LTE RSRP PredictionQuantisierung neuronaler Netze zur LTE-RSRP-Vorhersage
Evaluates post-training precision reduction across two multi-modal CNN propagation models that predict cellular signal strength from high-resolution LiDAR terrain data and base-station geometry. Benchmarks latency, throughput, peak VRAM, checkpoint size, and accuracy drift across FP32, FP16, and INT8 execution paths to determine whether PTQ satisfies deployment budgets without retraining.Untersucht Post-Training-Präzisionsreduktion an zwei multimodalen CNN-Ausbreitungsmodellen, die Mobilfunk-Signalstärken aus hochauflösenden LiDAR-Geländedaten und Basisstationsgeometrie vorhersagen. Vergleicht Latenz, Durchsatz, VRAM-Bedarf, Modellgröße und Genauigkeitsverlust über FP32-, FP16- und INT8-Pfade, um zu bewerten, ob PTQ die Vorgaben ohne erneutes Training erfüllt.
Preliminary results:Vorläufige Ergebnisse: Initial PTQ benchmarks for checkpoint size, throughput, drift vs. FP32, and peak VRAM are shown below; final validated ground-truth accuracy metrics are currently being finalized.Erste PTQ-Benchmarks zu Modellgröße, Durchsatz, Drift gegenüber FP32 und Spitzen-VRAM sind unten dargestellt; finale validierte Ground-Truth-Metriken werden derzeit abgeschlossen.
- ArchitecturesArchitekturen
- DLNP & DRaGon (CNN/DNN)DLNP & DRaGon (CNN/DNN)
- FrameworksFrameworks
- PyTorch & Flax NNX (JAX)PyTorch & Flax NNX (JAX)
- Precision SweepPräzisionsstufen
- FP32, FP16 & INT8 (GPU/CPU)FP32, FP16 & INT8 (GPU/CPU)
- ValidationValidierung
- 3-fold spatial CV (500 m)3-Fold Spatial CV (500 m)
Technical details — Architectures, quantization paths & benchmarkingTechnische Details — Architekturen, Quantisierungspfade & Benchmarking
Model ComparisonModellvergleich
| AspectMerkmal | DLNP (ConvNetFS) | DRaGon (CombiModel) |
|---|---|---|
| Input RepresentationEingangsrepräsentation | On-the-fly rotated multi-channel 2D raster crop centered on the receiver (base station oriented "up" for rotational invariance) + 8 tabular featuresOn-the-fly rotierter mehrkanaliger 2D-Rasterausschnitt um den Empfänger (Basisstation nach „oben“ ausgerichtet für Rotationsinvarianz) + 8 tabellarische Features | Pre-rendered 64×64 dual-view images (top-view elevation, side-view LiDAR cross-section, categorical land cover) + 13 tabular featuresVorgerenderte 64×64-Dual-View-Bilder (Draufsicht-Höhenprofil, Seitenansicht-LiDAR-Querschnitt, kategoriale Landbedeckung) + 13 tabellarische Features |
| Target & FormulationZielgröße & Formulierung | Direct absolute RSRP prediction in dBmDirekte RSRP-Vorhersage in dBm | Residual ΔL added to an analytical 3GPP RMa/UMa link budget (RSRP_pred = LinkBudget_3GPP + ΔL)Residuum ΔL auf ein analytisches 3GPP-RMa/UMa-Link-Budget (RSRP_pred = LinkBudget_3GPP + ΔL) |
Both architectures are implemented in PyTorch and Flax NNX (JAX) with automated weight-port numerical parity checks (≤ 10⁻⁵ on CPU, ~10⁻³ on GPU under TF32).Beide Architekturen sind in PyTorch und Flax NNX (JAX) implementiert und werden über automatisierte Gewichts-Paritätstests verifiziert (≤ 10⁻⁵ auf CPU, ~10⁻³ auf GPU unter TF32).
Quantization & Execution PathsQuantisierungs- & Ausführungspfade
Evaluates PyTorch FP32 baselines against FP16 mixed precision, GPU INT8 (Int8LinearCUDA), CPU dynamic PTQ (runtime activation scaling, torch.load pickle), and CPU static PTQ (calibrated on real prediction grids, saved as TorchScript), alongside torch.compile variants. In the comparison plot, Static INT8 reflects the CPU-only TorchScript path (GPU VRAM reported as n/a); convolution handling differs between GPU and CPU paths, and QAT remains optional if PTQ drift exceeds accuracy bounds.
Vergleicht PyTorch-FP32-Baselines mit FP16 Mixed Precision, GPU-INT8 (Int8LinearCUDA), CPU Dynamic PTQ (Laufzeit-Aktivierungsskalierung, torch.load-Pickle) und CPU Static PTQ (auf realen Vorhersagerastern kalibriert, als TorchScript gespeichert) sowie torch.compile-Varianten. Im Vergleichsplot entspricht Static INT8 dem reinen CPU-TorchScript-Pfad (GPU-VRAM daher n/a); die Faltungsbehandlung unterscheidet sich zwischen GPU- und CPU-Pfad, und QAT bleibt optional, falls die PTQ-Drift zu hoch ausfällt.
Benchmarking & Spatial ValidationBenchmarking & räumliche Validierung
Real-data benchmarks measure wall-clock latency, row throughput, peak VRAM, and quantization drift (mae_delta_vs_fp32) on Austrian cell parquets and 1 m EPSG:31287 rasters. Because DLNP's on-the-fly raster rendering (~0.4 s/sample) can mask neural-network speedups, a separate CUDA-Event synthetic sweep isolates kernel compute and VRAM scaling up to batch sizes 512–1024. Rural MDT (3GPP RMa) and urban Vienna scanner data (3GPP UMa) use 500 m spatially binned 3-fold splits to prevent geographic leakage.
Echtdaten-Benchmarks erfassen Laufzeit, Durchsatz, Spitzen-VRAM und Quantisierungsdrift (mae_delta_vs_fp32) auf österreichischen Funkzell-Parquets und 1-m-EPSG:31287-Rastern. Da DLNPs On-the-fly-Rastergenerierung (~0,4 s/Sample) Netz-Speedups verdecken kann, isoliert ein CUDA-Event-Sweep die reine Kernel-Latenz bis Batch-Größe 512–1024. Ländliche MDT- (3GPP RMa) und urbane Wiener Scannerdaten (3GPP UMa) nutzen 500-m-Spatial-Bins in 3 geografischen Folds.