Tsformer: Time series Transformer for tourism demand forecasting

AI-based methods have been widely applied to tourism demand forecasting. However, current AI-based methods are short of the ability to process long-term dependency, and most of them lack interpretability. The Transformer used initially for machine translation shows an incredible ability to long-term dependency processing. Based on the Transformer, we proposed a time series Transformer (Tsformer) with EncoderDecoder architecture for tourism demand forecasting. The proposed Tsformer encodes long-term dependency with encoder, captures short-term dependency with decoder, and simplifies the attention interactions under the premise of highlighting dominant attention through a series of attention masking mechanisms. These improvements make the multi-head attention mechanism process the input sequence according to the time relationship, contributing to better interpretability. What’s more, the context processing ability of the Encoder-Decoder architecture allows adopting the calendar of days to be forecasted to enhance the forecasting performance. Experiments conducted on the Jiuzhaigou valley and Siguniang mountain tourism demand datasets with other nine baseline methods indicate that the proposed Tsformer outperformed all baseline models in the short-term and long-term tourism demand forecasting tasks. Moreover, ablation studies demonstrate that the adoption of the calendar of days to be forecasted contributes to the forecasting performance of the proposed Tsformer. For better interpretability, the attention weight matrix visualization is performed. It indicates that the Tsformer concentrates on seasonal features and days close to days to be forecast in short-term forecasting.

[1]  Rob Law,et al.  Tourism demand forecasting: A deep learning approach , 2019, Annals of Tourism Research.

[2]  Raquel Urtasun,et al.  Understanding the Effective Receptive Field in Deep Convolutional Neural Networks , 2016, NIPS.

[3]  Ye Wang,et al.  Attention augmentation with multi-residual in bidirectional LSTM , 2020, Neurocomputing.

[4]  S. Poukliakova,et al.  Tourism demand modelling and forecasting: modern econometric approaches , 2001 .

[5]  Haiyan Song,et al.  A review of research on tourism demand forecasting: Launching the Annals of Tourism Research Curated Collection on tourism demand forecasting , 2019, Annals of Tourism Research.

[6]  Haiyan Song,et al.  A meta-analysis of international tourism demand forecasting and implications for practice , 2014 .

[7]  Chokri Ouerfelli Co-integration analysis of quarterly European tourism demand in Tunisia , 2008 .

[8]  Leonard J. Tashman,et al.  Out-of-sample tests of forecasting accuracy: an analysis and review , 2000 .

[9]  Jaume Rosselló,et al.  Gravity models for tourism demand: theory and use , 2014 .

[10]  Nicolas Loeff,et al.  Temporal Fusion Transformers for Interpretable Multi-horizon Time Series Forecasting , 2021, International Journal of Forecasting.

[11]  Tao Xiang,et al.  Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformers , 2020, 2021 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[12]  H. Varian,et al.  Predicting the Present with Google Trends , 2009 .

[13]  Haiyan Song,et al.  Tourism demand modelling and forecasting—A review of recent research , 2008 .

[14]  Jürgen Schmidhuber,et al.  Long Short-Term Memory , 1997, Neural Computation.

[15]  Jueyou Li,et al.  Forecasting Hotel Accommodation Demand Based on LSTM Model Incorporating Internet Search Index , 2019, Sustainability.

[16]  Haiyan Song,et al.  Forecasting international tourist flows to Macau , 2006 .

[17]  Xin Yang,et al.  Forecasting Chinese tourist volume with search engine data , 2015 .

[18]  Venkataraghavan Krishnaswamy,et al.  Bayesian BILSTM approach for tourism demand forecasting , 2020 .

[19]  Konstantinos Nikolopoulos,et al.  The Tourism Forecasting Competition , 2011 .

[20]  Xin Li,et al.  Forecasting tourism demand with composite search index : , 2016 .

[21]  Bing Pan,et al.  Forecasting hotel room demand using search engine data. , 2012 .

[22]  Sepp Hochreiter,et al.  Fast and Accurate Deep Network Learning by Exponential Linear Units (ELUs) , 2015, ICLR.

[23]  Tsuyoshi Murata,et al.  {m , 1934, ACML.

[24]  Stephen F. Witt,et al.  Forecasting tourism demand: A comparison of the accuracy of several quantitative methods , 1989 .

[25]  Fang-Mei Tseng,et al.  Big Data analytics for forecasting tourism destination arrivals with the applied Vector Autoregression model , 2018 .

[26]  Lin Wang,et al.  Stacked autoencoder with echo-state regression for tourism demand forecasting using search query data , 2018, Appl. Soft Comput..

[27]  Edith C. Yuen,et al.  Modeling the Impact of Sudden Environmental Changes on Visitor Arrival Forecasts: The Case of the Gulf War , 1999 .

[28]  Michael Y. Hu,et al.  Forecasting with artificial neural networks: The state of the art , 1997 .

[29]  Wenhu Chen,et al.  Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecasting , 2019, NeurIPS.

[30]  Changyong Liang,et al.  A Method Based on GA-CNN-LSTM for Daily Tourist Flow Prediction at Scenic Spots , 2020, Entropy.

[31]  Yifan Gong,et al.  Layer Trajectory LSTM , 2018, INTERSPEECH.

[32]  Lukasz Kaiser,et al.  Attention is All you Need , 2017, NIPS.

[33]  Haiyan Song,et al.  The Advanced Econometrics of Tourism Demand , 2008 .

[34]  Rob Law,et al.  Review of tourism forecasting research with internet data , 2021 .

[35]  Ming-Wei Chang,et al.  BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding , 2019, NAACL.

[36]  Vinícius M. A. de Souza,et al.  Evaluation of statistical and machine learning models for time series prediction: Identifying the state-of-the-art and the best conditions for the use of each model , 2019, Inf. Sci..

[37]  Wei Sun,et al.  Multi-hour and multi-site air quality index forecasting in Beijing using CNN, LSTM, CNN-LSTM, and spatiotemporal clustering , 2021, Expert Syst. Appl..

[38]  Mehdi Khashei,et al.  A novel hybridization of artificial neural networks and ARIMA models for time series forecasting , 2011, Appl. Soft Comput..

[39]  Nicolas Usunier,et al.  End-to-End Object Detection with Transformers , 2020, ECCV.