Dynamic Attention (DynAttn): Interpretable High-Dimensional Spatio-Temporal Forecasting (with Application to Conflict Fatalities)
Stefano M. Iacus, Haodong Qi, Marcello Carammia, Thomas Juneau
TL;DR
DynAttn addresses the challenge of forecasting conflict fatalities in sparse, bursty, and non-stationary spatio-temporal data by integrating rolling-window estimation, shared elastic-net feature gates, a weight-tied Transformer encoder, and a ZINB likelihood to produce calibrated multi-horizon forecasts and exceedance probabilities for $H=1$ to $12$ months. The model yields coherent predictions for expected counts $reve{y}_t=(1- ho_t) u_t$ and exceedance probabilities $ ext{Pr}(Y_{t+h}\ge au)$, while providing diagnostics via gates, ablation, and elasticity to interpret regional dynamics. Empirical results on global country-level and PRIO-grid-level data show DynAttn substantially outperforming DynENet, LSTM, Prophet, PatchTST, and VIEWS, with especially large gains in sparse grid settings. The framework reveals that high-frequency signals of recent violence and diffusion form the core predictive backbone, with climate stress acting variably as amplifier or driver across theaters, highlighting the value of a flexible, interpretable forecasting system for conflict analytics.
Abstract
Forecasting conflict-related fatalities remains a central challenge in political science and policy analysis due to the sparse, bursty, and highly non-stationary nature of violence data. We introduce DynAttn, an interpretable dynamic-attention forecasting framework for high-dimensional spatio-temporal count processes. DynAttn combines rolling-window estimation, shared elastic-net feature gating, a compact weight-tied self-attention encoder, and a zero-inflated negative binomial (ZINB) likelihood. This architecture produces calibrated multi-horizon forecasts of expected casualties and exceedance probabilities, while retaining transparent diagnostics through feature gates, ablation analysis, and elasticity measures. We evaluate DynAttn using global country-level and high-resolution PRIO-grid-level conflict data from the VIEWS forecasting system, benchmarking it against established statistical and machine-learning approaches, including DynENet, LSTM, Prophet, PatchTST, and the official VIEWS baseline. Across forecast horizons from one to twelve months, DynAttn consistently achieves substantially higher predictive accuracy, with particularly large gains in sparse grid-level settings where competing models often become unstable or degrade sharply. Beyond predictive performance, DynAttn enables structured interpretation of regional conflict dynamics. In our application, cross-regional analyses show that short-run conflict persistence and spatial diffusion form the core predictive backbone, while climate stress acts either as a conditional amplifier or a primary driver depending on the conflict theater.
