Technical Report
This section provides a brief overview of importance sampling [15, 16] in the context of ray tracing for the simulation of radio wave propagation. We consider the channel gain (5). To account for a continuum of paths, such as those arising from diffuse reflections, we generalize the gain from a discrete sum to a path integral:
| (180) |
Here, represents the high-dimensional space of all possible propagation paths from the transmitter to the receiver. A single element denotes a specific path. The term is the path coefficient associated with that path, and is the measure on the path space . For a more in-depth discussion of path integrals within ray tracing, see [24, Chapter 8].
We aim to estimate the channel gain using samples, by sampling paths following a distribution , such that if and . For a ray-tracing algorithm, this full path density is induced jointly by the source-direction distribution, the conditional interaction-type probabilities, the conditional outgoing-direction distributions (e.g., for diffuse reflection and diffraction), the mapping from sampled directions to surface intersections, and the target-connection and candidate-selection rules. The estimate of the channel gain is then given by:
| (181) |
An important consideration is that the estimate is unbiased, i.e., for any sampling distribution . Therefore, we aim to choose the sampling distribution such that the variance of the estimate is minimized. Practically, this would result in estimating the channel gain with a smaller number of samples , i.e., achieving a higher sample efficiency. The variance of the estimator is given by:
| (182) | ||||
| (183) | ||||
| (184) |
where the last equality holds because the samples are independent. Observe that
| (185) |
If we choose the sampling distribution
| (186) |
then
| (187) |
This implies that the variance of the estimator is zero, i.e., , which is optimal. A zero-variance estimator would allow us to determine the channel gain exactly from a single sample. In practice, however, this is unattainable because evaluating the optimal distribution requires prior knowledge of the path coefficients and the channel gain , i.e., the quantity we aim to estimate. Nevertheless, this result provides useful guidance: an effective sampling distribution should give more importance to paths that contribute more to the channel gain . The distribution , introduced in (20), is designed as a practical choice by selecting interaction types based on the squared magnitudes of the corresponding reflection and refraction coefficients. However, it does not account for the antenna pattern, the free-space propagation loss, or the scattering pattern from diffuse reflection, and is thus suboptimal. Developing effective, practical importance sampling strategies remains an open and challenging problem.