Search papers, labs, and topics across Lattice.
This paper introduces a machine-learning-assisted framework using Generative Flow Networks (GFlowNets) to address the exponential computational complexity of ray tracing in radio propagation modeling. The framework incorporates an experience replay buffer, a uniform exploratory policy, and physics-based action masking to ensure robust learning and efficient exploration of valid ray paths. Experimental results demonstrate speedups of up to 10x on GPU and 1000x on CPU compared to exhaustive search, while maintaining high coverage accuracy.
GFlowNets can slash the computational cost of radio propagation ray tracing by up to 1000x, making real-time and large-scale applications feasible.
Ray tracing has become a standard for accurate radio propagation modeling, but suffers from exponential computational complexity, as the number of candidate paths scales with the number of objects raised to the power of the interaction order. This bottleneck limits its use in large-scale or real-time applications, forcing traditional tools to rely on heuristics to reduce the number of path candidates at the cost of potentially reduced accuracy. To overcome this limitation, we propose a comprehensive machine-learning-assisted framework that replaces exhaustive path searching with intelligent sampling via Generative Flow Networks. Applying such generative models to this domain presents significant challenges, particularly sparse rewards due to the rarity of valid paths, which can lead to convergence failures and trivial solutions when evaluating high-order interactions in complex environments. To ensure robust learning and efficient exploration, our framework incorporates three key architectural components. First, we implement an \emph{experience replay buffer} to capture and retain rare valid paths. Second, we adopt a uniform exploratory policy to improve generalization and prevent the model from overfitting to simple geometries. Third, we apply a physics-based action masking strategy that filters out physically impossible paths before the model even considers them. As demonstrated in our experimental validation, the proposed model achieves substantial speedups over exhaustive search -- up to $10\times$ faster on GPU and $1000\times$ faster on CPU -- while maintaining high coverage accuracy and successfully uncovering complex propagation paths. The complete source code, tests, and tutorial are available at https://github.com/jeertmans/sampling-paths.