基于时间注意机制和TCN的时间序列预测模型

Hongya Wang, Zhenguo Zhang
{"title":"基于时间注意机制和TCN的时间序列预测模型","authors":"Hongya Wang, Zhenguo Zhang","doi":"10.1109/CCAI55564.2022.9807714","DOIUrl":null,"url":null,"abstract":"Prediction is an important research task of time series data analysis. As a powerful tool to solve the problem of time series prediction, Temporal Convolutional Networks (TCN) shows good performance in the prediction task. However, TCN model lacks the consideration of the influence of different historical segments on the prediction value, which limits the prediction accuracy of the model to a certain extent. Therefore, this paper combines the attention mechanism with the data characteristics of time series, proposes a Time Attention mechanism (TA), and integrates it into the TCN model framework to build a prediction model (called TATCN). In TATCN, the TCN output vector of each layer is convoluted, and the sigmoid function is used to generate the weight coefficient, and then the weight coefficient is multiplied by the original output vector to form a new output vector. The new output vector and the input vector of the current layer are added by residual connection as the final output vector of the current layer and input to the next layer network. The experimental results on EEG data and Yanbian electricity fees data show that the Time Attention mechanism in this paper can effectively represent the importance of different historical data to the current prediction. The proposed TATCN model has a significant improvement in the prediction accuracy compared with TCN model, and is also better than RNN prediction models such as LSTM and GRU.","PeriodicalId":340195,"journal":{"name":"2022 IEEE 2nd International Conference on Computer Communication and Artificial Intelligence (CCAI)","volume":"58 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-05-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"TATCN: Time Series Prediction Model Based on Time Attention Mechanism and TCN\",\"authors\":\"Hongya Wang, Zhenguo Zhang\",\"doi\":\"10.1109/CCAI55564.2022.9807714\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Prediction is an important research task of time series data analysis. As a powerful tool to solve the problem of time series prediction, Temporal Convolutional Networks (TCN) shows good performance in the prediction task. However, TCN model lacks the consideration of the influence of different historical segments on the prediction value, which limits the prediction accuracy of the model to a certain extent. Therefore, this paper combines the attention mechanism with the data characteristics of time series, proposes a Time Attention mechanism (TA), and integrates it into the TCN model framework to build a prediction model (called TATCN). In TATCN, the TCN output vector of each layer is convoluted, and the sigmoid function is used to generate the weight coefficient, and then the weight coefficient is multiplied by the original output vector to form a new output vector. The new output vector and the input vector of the current layer are added by residual connection as the final output vector of the current layer and input to the next layer network. The experimental results on EEG data and Yanbian electricity fees data show that the Time Attention mechanism in this paper can effectively represent the importance of different historical data to the current prediction. The proposed TATCN model has a significant improvement in the prediction accuracy compared with TCN model, and is also better than RNN prediction models such as LSTM and GRU.\",\"PeriodicalId\":340195,\"journal\":{\"name\":\"2022 IEEE 2nd International Conference on Computer Communication and Artificial Intelligence (CCAI)\",\"volume\":\"58 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2022-05-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2022 IEEE 2nd International Conference on Computer Communication and Artificial Intelligence (CCAI)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CCAI55564.2022.9807714\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 2nd International Conference on Computer Communication and Artificial Intelligence (CCAI)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CCAI55564.2022.9807714","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

预测是时间序列数据分析的一项重要研究任务。作为解决时间序列预测问题的有力工具,时间卷积网络(TCN)在预测任务中表现出良好的性能。然而,TCN模型缺乏考虑不同历史时段对预测值的影响,在一定程度上限制了模型的预测精度。因此,本文将注意机制与时间序列的数据特征相结合,提出时间注意机制(TA),并将其整合到TCN模型框架中,构建预测模型(TATCN)。在TATCN中,将每一层的TCN输出向量进行卷积,利用sigmoid函数生成权系数,再将权系数与原输出向量相乘,形成新的输出向量。通过残差连接将新的输出向量与当前层的输入向量相加,作为当前层的最终输出向量,并输入到下一层网络。基于脑电数据和延边电费数据的实验结果表明,本文提出的时间注意机制能够有效表征不同历史数据对当前预测的重要性。与TCN模型相比,所提出的TATCN模型在预测精度上有显著提高,也优于LSTM、GRU等RNN预测模型。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
TATCN: Time Series Prediction Model Based on Time Attention Mechanism and TCN
Prediction is an important research task of time series data analysis. As a powerful tool to solve the problem of time series prediction, Temporal Convolutional Networks (TCN) shows good performance in the prediction task. However, TCN model lacks the consideration of the influence of different historical segments on the prediction value, which limits the prediction accuracy of the model to a certain extent. Therefore, this paper combines the attention mechanism with the data characteristics of time series, proposes a Time Attention mechanism (TA), and integrates it into the TCN model framework to build a prediction model (called TATCN). In TATCN, the TCN output vector of each layer is convoluted, and the sigmoid function is used to generate the weight coefficient, and then the weight coefficient is multiplied by the original output vector to form a new output vector. The new output vector and the input vector of the current layer are added by residual connection as the final output vector of the current layer and input to the next layer network. The experimental results on EEG data and Yanbian electricity fees data show that the Time Attention mechanism in this paper can effectively represent the importance of different historical data to the current prediction. The proposed TATCN model has a significant improvement in the prediction accuracy compared with TCN model, and is also better than RNN prediction models such as LSTM and GRU.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信