InTrans: Fast Incremental Transformer for Time Series Data Prediction
InTrans: Fast Incremental Transformer for Time Series Data Prediction
复制标题
InTrans:用于时间序列数据预测的快速增量变压器
DOI:
10.1007/978-3-031-12426-6_4
复制
发表时间:
2022
期刊:
影响因子:
--
通讯作者:
Hiroyuki Kitagawa
中科院分区:
文献类型:
--
作者:
Savong Bou;Toshiyuki Amagasa;Hiroyuki Kitagawa
Predicting time-series data is useful in many applications, such as natural disaster prevention system, weather forecast, traffic control system, etc. Time-series forecasting has been extensively studied. Many existing forecasting models tend to perform well when predicting short sequence time-series. However, their performances greatly degrade when dealing with the long one. Recently, more dedicated research has been done for this direction, and Informer is currently the most efficient predicting model. The main drawback of Informer is the inability to incrementally learn. This paper proposes an incremental Transformer, calledInTrans, to address the above bottleneck by reducing the training/predicting time of Informer. The time complexities of InTrans comparing to the Informer are: (1)O(S) vsO(L) for positional and temporal embedding, (2)vsfor value embedding, and (3)vsfor the computation of Query/Key/Value, whereLis the length of the input;kis the kernel size;is the number of dimensions; andSis the length of the non-overlapping part of the input that is usually significantly smaller thanL. Therefore, InTrans could greatly improve both training and predicting speed over the state-of-the-art model, Informer. Extensive experiments have shown that InTrans is about 26% faster than Informer for both short sequence and long sequence time-series prediction.