Introduction
In the deployment of 5G and 6G networks, network planning relies heavily on the accurate estimation of path loss—the reduction in power density of an electromagnetic wave as it propagates from a transmitter (TX) to a receiver (RX). Traditionally, this estimation is performed using ray-tracing simulations, which model the physical interactions of radio waves with the environment (e.g., reflections off buildings and attenuation through foliage). While highly accurate, ray tracing is computationally intensive and requires detailed 3D environmental models, making it difficult to scale for real-time optimization or large-scale deployments.
Machine Learning (ML) has emerged as a potential solution to accelerate this process. However, most existing ML models rely on "radio maps"—image-to-image translation techniques that discretize the environment into fixed-size grids. These models often struggle with varying map sizes, require dense training data, and fail to generalize to unseen geographic areas. This paper introduces a Transformer-based neural surrogate designed to overcome these limitations by providing an "off-grid," scalable, and data-efficient approach to link-level path loss prediction.
The Limitations of Grid-Based Models
Existing ML approaches for path loss prediction typically utilize Convolutional Neural Networks (CNNs) or UNet architectures. These models require the world to be represented as a fixed grid, which introduces several challenges:
- Discretization Errors: Forcing continuous coordinates into a grid can lead to inaccuracies.
- Scaling Issues: Fixed-size inputs make it difficult for models to handle varying distances between the TX and RX or different map dimensions.
- Data Requirements: Grid-based models often require dense measurement data to learn the spatial dependencies of a specific environment, making them difficult to deploy in new cities where data is sparse.
Proposed Method: A Transformer-Based Surrogate
To address these challenges, the researchers developed a Transformer-based architecture inspired by Vision Transformers (ViT). This model treats the path loss prediction task as a sequence-to-sequence problem, allowing it to handle variable-sized inputs and continuous coordinates.
1. Map Alignment and Adaptive Patching
Instead of processing a static, global map, the model uses a local, relative coordinate system. The map is rotated so that the receiver is always positioned along the vertical y-axis relative to the transmitter. The environment between the two points is then divided into a series of patches. Because the distance between the TX and RX varies, the number of patches also varies. The Transformer’s self-attention mechanism is uniquely suited for this, as it can process sequences of different lengths without requiring a fixed input size.
2. Hybrid Embeddings
To maintain spatial awareness, the model employs a hybrid embedding strategy:
- Horizontal Positional Embeddings: Learned embeddings that capture the lateral relationship of features.
- Vertical Embeddings: Sine and cosine-based embeddings that represent the longitudinal distance.
- Distance Projection: The scalar distance between the TX and RX is fed into a dedicated layer to provide an explicit global context for signal decay.
3. The Transformer Core
The architecture consists of 12 hidden layers utilizing multi-head self-attention. This allows the model to dynamically "attend" to specific environmental features—such as a building corner causing diffraction or a clump of trees causing absorption—that are most relevant to the specific link being calculated.
Experimental Setup and Datasets
The model was evaluated using a high-fidelity Digital Twin (DT) of downtown Philadelphia. The dataset was constructed using building footprints from OpenStreetMap and foliage data from public GIS sources. Ground truth path loss values were generated via a MATLAB-based ray-tracing tool at 28 GHz (mmWave).
The dataset covered 1.5 km² and included over 2.3 million connectivity links between 402 outdoor poles and approximately 200,000 receiver locations. Crucially, the researchers split the data into "known maps" and "novel maps" to rigorously test the model's ability to generalize to entirely unseen geographic environments.
Key Results and Insights
The Transformer-based surrogate demonstrated significant improvements over traditional CNN and UNet baselines in both accuracy and generalization:
- Accuracy on Known Maps: The proposed model achieved a Root Mean Squared Error (RMSE) of 2.27 dB, vastly outperforming the UNet baseline, which recorded an RMSE of 8.82 dB.
- Generalization to Novel Maps: When tested on completely unseen environments, the model maintained a robust RMSE of 5.31 dB, while the UNet performance lagged at 9.83 dB.
- Attention as Physics: Qualitative analysis of the model's attention maps revealed that the Transformer naturally focuses on the Line-of-Sight (LOS) path and immediate obstacles. This suggests the model is effectively "learning" the underlying physics of mmWave propagation, where the direct path and primary reflections dominate the signal strength.
Conclusion and Future Work
By moving away from fixed-grid representations and leveraging the flexibility of Transformers, this research provides a scalable and efficient method for path loss prediction. The model's ability to generalize to novel environments using sparse training data makes it a viable candidate for real-world network planning and optimization.
Future iterations of this work aim to incorporate more complex environmental data, such as 3D terrain elevation and varying building heights. Additionally, the researchers plan to expand the model's capabilities to account for more complex propagation phenomena, including multiple reflections and diffractions in highly dense urban environments.
Summary updated