Introduction
In emergency medical services (EMS), response time is a primary determinant of patient outcomes. Strategic pre-positioning of ambulances based on predicted demand can significantly reduce these times. However, modeling urban ambulance demand is technically demanding. The data typically consists of discrete "counts" (often zero) across space and time, which do not fit standard Gaussian assumptions. Furthermore, the sheer volume of data across a metropolitan area over several years makes traditional Gaussian Process (GP) regression computationally prohibitive.
Methodology
The core of the proposed approach is a Log-Gaussian Cox Process (LGCP). In this framework, the intensity rate $\lambda(s, t)$ of a Poisson process is modeled as the exponent of a latent Gaussian Process: $\lambda(s, t) = \exp(f(s, t))$. This ensures that predicted demand is always non-negative and appropriately models the discrete nature of call-out events.
To address the $O(n^3)$ complexity of GPs, the authors utilize Stochastic Variational Inference (SVI). By introducing a small set of "inducing points" (approximately 180) that act as representative summaries of the global dataset, the model can scale to tens of thousands of observations without losing predictive fidelity.
Kernel Strategy
The spatiotemporal dynamics are captured through a sophisticated kernel composition. The model combines a spatial Radial Basis Function (RBF) kernel with a temporal periodic kernel. The periodic component is essential for capturing the rhythmic nature of human activity.
The final covariance function is a sum of these marginal kernels plus a product kernel ($K_{space} \times K_{time}$), allowing the model to distinguish between static high-demand locations and time-dependent hotspots.
Dataset and Study Area
The model was trained and validated using a dataset of approximately 45,000 ambulance call-outs provided by ER24, a private emergency service provider in South Africa. The data spans from May 2012 to September 2015 and covers the Western Cape region, with a high concentration of events in the Cape Town metropolitan area.
For training, the geographic area was discretized into a spatial grid, and time was binned into 4-hour windows. This preprocessing step helps maintain a manageable signal-to-noise ratio in the face of significant data sparsity.
Results and Discussion
The STGP model was benchmarked against MEDIC, an industry-standard method that calculates demand by averaging historical call rates for specific time-of-week and location bins.
| Method | Mean Absolute Error (MAE) | Log-likelihood (Higher is better) |
|---|---|---|
| STGP | 0.174 | $-6.83 \times 10^4$ |
| MEDIC | 0.181 | $-7.96 \times 10^4$ |
The STGP demonstrated superior performance across all metrics. A key advantage of the Bayesian GP approach is its inherent regularization. While the MEDIC benchmark often suffered from "positive bias"—predicting calls in quiet areas due to random noise—the STGP's spatial smoothness correctly identified these as low-probability zones. Furthermore, the STGP provides a measure of predictive uncertainty, allowing fleet managers to understand the confidence level of a forecast.
Conclusion
The Spatiotemporal Gaussian Process offers a powerful, scalable framework for emergency demand prediction. By moving beyond rigid grid-based averaging to a continuous, probabilistic model, EMS providers can achieve more precise vehicle placement. Future work will focus on incorporating exogenous variables such as real-time traffic and refining spatial kernels to account for non-Euclidean geography like road networks.
Summary updated