arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2510.06840cs.LGcs.AI
收藏

CNN-TFT:通过SHAP与多头注意力权重解释的时间序列预测模型

CNN-TFT explained by SHAP with multi-head attention weights for time series forecasting

Lisbon School of Engineering (ISEL), Polytechnic University of Lisbon(里斯本工程学院(ISEL),里斯本理工学院);Faculty of Engineering and Applied Sciences, University of Regina(工程与应用科学学院, Regina大学);LASIGE, Departamento de Informática, Faculdade de Ciências, Universidade de Lisboa(LASIGE,信息学院,里斯本大学)

Stefano F. Stefenon, João P. Matos-Carvalho, Valderi R. Q. Leithardt, Kin-Choong Yow

AI总结:

提出CNN-TFT混合架构,结合CNN局部特征提取与TFT多头注意力,用于多变量时间序列预测,在自然流量数据集上误差低至2.2%,并通过SHAP-MHAW增强可解释性。

摘要:

卷积神经网络(CNN)和Transformer架构为时间序列数据建模提供了各自的优势:CNN擅长捕捉局部模式和平移不变性,而Transformer通过自注意力机制有效建模长程依赖。本文提出一种混合架构,将卷积特征提取与时间融合Transformer(TFT)主干相结合,以增强多变量时间序列预测。CNN模块首先应用一维卷积层层次结构,从原始输入序列中提取显著的局部模式,降低噪声和维度。随后,所得特征图被输入TFT,TFT应用多头注意力以捕捉短期和长期依赖,并自适应地加权相关协变量。我们在一个水电自然流量时间序列数据集上评估了CNN-TFT。实验结果表明,CNN-TFT优于成熟的深度学习模型,平均绝对百分比误差低至2.2%。模型的可解释性通过所提出的带有注意力权重的Shapley加法解释(SHAP-MHAW)获得。我们命名为CNN-TFT-SHAP-MHAW的新架构,对于需要高保真多变量时间序列预测的应用具有前景,并可在https://github.com/SFStefenon/CNN-TFT-SHAP-MHAW 获取以供未来分析。

英文摘要:

Convolutional neural networks (CNNs) and transformer architectures offer strengths for modeling temporal data: CNNs excel at capturing local patterns and translational invariances, while transformers effectively model long-range dependencies via self-attention. This paper proposes a hybrid architecture integrating convolutional feature extraction with a temporal fusion transformer (TFT) backbone to enhance multivariate time series forecasting. The CNN module first applies a hierarchy of one-dimensional convolutional layers to distill salient local patterns from raw input sequences, reducing noise and dimensionality. The resulting feature maps are then fed into the TFT, which applies multi-head attention to capture both short- and long-term dependencies and to weigh relevant covariates adaptively. We evaluate the CNN-TFT on a hydroelectric natural flow time series dataset. Experimental results demonstrate that CNN-TFT outperforms well-established deep learning models, with a mean absolute percentage error of up to 2.2%. The explainability of the model is obtained by a proposed Shapley additive explanations with multi-head attention weights (SHAP-MHAW). Our novel architecture, named CNN-TFT-SHAP-MHAW, is promising for applications requiring high-fidelity, multivariate time series forecasts, being available for future analysis at https://github.com/SFStefenon/CNN-TFT-SHAP-MHAW .

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑