主管:中国科学院
主办:中国优选法统筹法与经济数学研究会
   中国科学院科技战略咨询研究院

• •    

基于时空注意力机制的应急医疗物资需求预测建模研究

缑迅杰, 赵芸莹, 张皓昱, 张雨轩, 徐泽水, 邓富民   

  1. 四川大学, 610065
  • 收稿日期:2024-05-14 修回日期:2025-02-06 接受日期:2025-02-06
  • 通讯作者: 缑迅杰
  • 基金资助:
    国家社会科学基金(22FGLB005;20BGL268); 国家自然科学基金(71771155); 中国博士后科学基金(2023T160459;2020M680151)

Research on forecasting modelling of emergency medical supplies demand based on spatiotemporal attention mechanism

  1. , 610065,
  • Received:2024-05-14 Revised:2025-02-06 Accepted:2025-02-06

摘要: 突发公共卫生事件下,准确预测目标地区的疫情发展趋势,并以此预测应急医疗物资的需求情况能够有效抑制疫情发展。本研究综合考虑突发公共卫生事件的特点和发展趋势等因素,提出基于时空注意力机制的自回归模型框架SpacetimeNet。随后,采用公开的疫情数据集对该模型进行验证,验证结果表明在每日新增确诊病例的预测性能方面,该模型在MAE、RMSE、SMAPE指标上均优于ARIMA、LSTM、GRU、Seq2Seq、Random Forest等主流预测模型,体现了该模型在事件发展趋势预测性能上的有效性和优势。在获取疫情发展趋势预测数据之后,进一步预测得到每日实际确诊病例数,并将应急医疗物资分为消耗性和非消耗性两类,随后根据其各自特点分别建立应急医疗物资需求预测模型。最终结果表明:在疫情快速发展初期,消耗性应急医疗物资需求量快速上升,而非消耗性应急医疗物资需求量出现较大波动,之后消耗性应急医疗物资需求量上涨逐渐趋于平缓,非消耗性应急医疗物资需求量由于资源的累积而逐渐降到0。本研究的结果将为突发公共卫生事件下的疫情精准防控和资源配置提供参考。

关键词: 突发公共卫生事件, 时空注意力机制, 时空序列依赖性, 应急医疗物资需求预测

Abstract: The outbreak of public health emergencies, such as COVID-19, necessitates accurate predictions of epidemic trends and medical resource demands to enable timely interventions. Existing methods for epidemic forecasting often fail to simultaneously capture spatial dependencies and temporal dependencies. Additionally, dynamic demand prediction for emergency medical supplies, classified as consumable supplies and non-consumable supplies, remains to be unexplored, particularly under rapidly evolving scenarios. Therefore, this study tries to address these gaps by proposing a novel framework for spatiotemporal epidemic prediction and resource demand modeling. This study introduces a SpacetimeNet, which is an autoregressive model integrating spatiotemporal attention mechanisms to jointly learn spatial correlations and temporal dependencies. The framework comprises: (1) Spatial Encoder: It employs multi-head self-attention to model dynamic inter-regional influences. For target region , the spatial attention vector is computed by . (2)Temporal Encoder: It combines positional encoding with temporal attention to capture sequential patterns. (3)Autoregressive Decoder: It uses masked self-attention to iteratively predict future values while preventing information leakage. The final prediction is derived via . The used dataset includes 13 features (e.g., confirmed cases, deaths, vaccination rates) from 5 representative countries (France, Germany, India, USA and UK). Data preprocessing involves log-transformation and normalization to enhance stationarity. An 80:20 train-test split ensures robust evaluation. We firstly forecast daily new cases using the SpacetimeNet, and then compute actual active cases and derive medical resource demands based on mortality/recovery rates and staffing ratios. Evaluated on the dataset described, the SpacetimeNet outperformed benchmarks (ARIMA, LSTM, GRU, etc.) with lower MAE, lower RMSE and lower SMAPE. The final results show that in the early stage of the rapid development of the epidemic, the demand for consumable emergency medical supplies rises rapidly, while the demand for non-consumable emergency medical supplies fluctuates considerably, after which the rise in the demand for consumable emergency medical supplies gradually levels off, and the demand for non-consumable emergency medical supplies gradually decreases due to the accumulation of resources to 0. The results of the present study will provide a precise prevention and control of epidemics and the allocation of resources in the context of a public health emergency.

Key words: public health emergencies, spatiotemporal attention mechanism, spatiotemporal sequence dependence, emergency medical supplies demand forecasting