MAT-MPNN: A Mobility-Aware Transformer-MPNN Model for Dynamic Spatiotemporal Prediction of HIV Diagnoses in California, Florida, and New England
Zhaoxuan Wang, Weichen Kang, Yutian Han, Lingyuan Zhao, Bo Li
TL;DR
This study addresses the challenge of predicting county-level HIV diagnoses by introducing MAT-MPNN, a Mobility-Aware Transformer–MPNN framework that couples a Transformer encoder for long-range temporal dynamics with a Mobility Graph Generator that constructs time-varying, mobility-informed adjacencies. The adjacency is blended with static geographic connections via a learnable parameter, enabling dynamic spatial coupling that captures noncontiguous interactions. Compared with baselines like Transformer–MPNN and SVAR, MAT-MPNN substantially improves predictive accuracy and calibration (e.g., MSPE reductions of up to 39.1% and CRPS improvements) across California, Florida, and New England, and yields well-calibrated predictive intervals. The approach offers a flexible, mobility-informed paradigm for spatiotemporal epidemiology with potential applicability to other infectious diseases and health indicators.
Abstract
Human Immunodeficiency Virus (HIV) has posed a major global health challenge for decades, and forecasting HIV diagnoses continues to be a critical area of research. However, capturing the complex spatial and temporal dependencies of HIV transmission remains challenging. Conventional Message Passing Neural Network (MPNN) models rely on a fixed binary adjacency matrix that only encodes geographic adjacency, which is unable to represent interactions between non-contiguous counties. Our study proposes a deep learning architecture Mobility-Aware Transformer-Message Passing Neural Network (MAT-MPNN) framework to predict county-level HIV diagnosis rates across California, Florida, and the New England region. The model combines temporal features extracted by a Transformer encoder with spatial relationships captured through a Mobility Graph Generator (MGG). The MGG improves conventional adjacency matrices by combining geographic and demographic information. Compared with the best-performing hybrid baseline, the Transformer MPNN model, MAT-MPNN reduced the Mean Squared Prediction Error (MSPE) by 27.9% in Florida, 39.1% in California, and 12.5% in New England, and improved the Predictive Model Choice Criterion (PMCC) by 7.7%, 3.5%, and 3.9%, respectively. MAT-MPNN also achieved better results than the Spatially Varying Auto-Regressive (SVAR) model in Florida and New England, with comparable performance in California. These results demonstrate that applying mobility-aware dynamic spatial structures substantially enhances predictive accuracy and calibration in spatiotemporal epidemiological prediction.
