Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks

LSTNet combines convolution, recurrence and autoregression to forecast multivariate time series

  • Problem Multivariate series mix repeating patterns at several time scales. Autoregressive models do not separate those scales or model how they interact, and Gaussian Processes scale cubically with the number of observations.
  • Method LSTNet stacks a convolution over the input window, then a GRU-style recurrent branch and a Recurrent-skip branch. It adds a linear autoregressive forecast to the neural output, so the network handles scale changes.
  • Results LSTNet-skip has 17 bold-faced best results in Table 2 and LSTNet-Attn has 7. At horizon 24 it reduces RSE compared with RNN-GRU by 9.2% on Solar-Energy, 11.7% on Traffic and 22.2% on Electricity.

Mixed short- and long-term cycles

Many multivariate series carry two kinds of recurrence at once. Traffic occupancy follows a daily cycle and a weekly one, while solar output combines day-night and seasonal cycles with fast fluctuations driven by cloud movement. Autoregressive and vector autoregressive methods are the usual tools here, but they do not separate the two scales or model how they interact.

Model capacity is a second obstacle: the capacity of a VAR model grows linearly with the window size and quadratically with the number of variables, so long windows push it toward overfitting. Gaussian Processes express flexible functions, but a direct multivariate implementation has cubic complexity in the number of observations because the kernel matrix must be inverted.

The question is therefore whether one model can capture both recurrence scales and still respond sensibly when the input scale shifts.

From input window to convolution and recurrence

The model reads a window of the q most recent observations of all n variables, arranged as a matrix that ends at the current time stamp. The first layer is a convolution without pooling. Its filters span all variables along the height and slide over time, so they pick up short-term patterns and local dependencies between variables. Left zero-padding keeps each ReLU output at length T, so the layer returns a matrix with dc rows, one per filter.

The convolutional output feeds two parallel recurrent paths: a standard recurrent layer and the Recurrent-skip layer. The recurrent layer uses the GRU gating structure, but with ReLU instead of tanh as the hidden update activation, which the authors chose because it gave more reliable performance in their experiments.

Skip links for periodic dependencies

The authors argue that GRU and LSTM units struggle to carry information across very long spans in practice, because gradients vanish. The design borrows a seasonal forecasting trick: to predict the value at a given hour today, one also reads the same hour on earlier days. For hourly data, a daily cycle spans 24 steps, which is a long chain for a standard recurrent unit to bridge and hard to optimize.

In the Recurrent-skip layer, the gates and the candidate state read the hidden state p steps back instead of the previous one, and the state update takes the form \\(h_t = (1-u_t)\\odot h_{t-p} + u_t\\odot c_t\\). Skip links therefore join each hidden cell to the cell in the same phase of the previous period. The skip length p is 24 for the hourly Electricity and Traffic datasets and must be tuned on other data.

A dense layer merges the recurrent state at time t with the Recurrent-skip states from the last p steps, each with its own weight matrix. The dense output is the neural branch's prediction before the autoregressive part is added.

Attention as a skip-free alternative

The Recurrent-skip layer needs a predefined p, which fits poorly when the series has no clear seasonality or when its period changes over time. LSTNet-Attn instead scores the hidden states over the last q steps against the most recent hidden state, with a dot product, cosine similarity or a small multilayer perceptron as the score. The weighted context vector and the last hidden state are concatenated and passed through a linear projection to give the branch output.

A linear path for scale

The authors argue that the nonlinear layers respond poorly when the input scale changes in a non-periodic way, so LSTNet adds a linear autoregressive path to handle local scaling. The autoregressive forecast for each variable is a weighted sum of its last \\(q_{ar}\\) values plus a bias, with coefficients \\(W^{ar}\\) and \\(b^{ar}\\) shared across all dimensions.

The final prediction adds the neural output and the autoregressive output, so the neural part supplies the nonlinear component. The combined forecast is \\(\\hat{Y}_t = h^D_t + h^L_t\\).

Squared and absolute losses

The default objective is the squared Frobenius error between the targets at time t and the predictions made for them h steps earlier, summed over the training time stamps. The authors report that Linear SVR dominates Linear Ridge on certain datasets, which motivates an epsilon-insensitive objective as an alternative to the squared loss.

With epsilon set to zero, that objective reduces to an absolute L1 loss that sums the absolute errors over training stamps and variables. The authors expect this loss to be more robust to anomalies in real time series, and the validation set decides between the squared and absolute losses. Parameters are optimized with Adam, and dropout is applied after each layer except the input and output layers at a rate of 0.1 or 0.2.

Datasets, splits and metrics

Four public datasets are used: Traffic, Solar-Energy, Electricity and Exchange-Rate. Traffic has 17,544 time steps and 862 variables sampled hourly, Solar-Energy has 52,560 steps and 137 variables sampled every 10 minutes, Electricity has 26,304 steps and 321 variables sampled hourly, and Exchange-Rate has 7,588 steps and 8 variables sampled daily.

Splits are chronological, with 60% for training, 20% for validation and 20% for testing.

Autocorrelation plots show repeating daily and weekly structure for Traffic and Electricity, and repetition for Solar-Energy, while Exchange-Rate shows mostly short-term continuity. Every method is tuned by grid search on the validation split, with the window size q searched over \\{20, 21, \\ldots, 29\\} where applicable. Forecast horizons are 3, 6, 12 and 24 steps, which means hours for Electricity and Traffic, minutes for Solar-Energy and days for Exchange-Rate.

The evaluation covers nine methods, including the proposed ones, on four benchmark datasets. RSE scales the root mean squared error by the spread of the ground truth so that results are comparable across data scales, with lower values better, while CORR averages the correlation over variables, with higher values better.

Table 2 comparison at four horizons

Table 2 reports RSE and CORR for each method on each dataset and horizon. Counting bold-faced best results, LSTNet-Skip has 17 and LSTNet-Attn has 7, while the rest of the methods have between 0 and 3.

At horizon 24, the text reports RSE gains over RNN-GRU of 9.2% on Solar-Energy, 11.7% on Traffic and 22.2% on Electricity. The text attributes these gains to the framework's handling of complex repeating patterns, but it does not say which LSTNet variant produces each percentage. The horizon-24 columns of Table 2 for RNN-GRU and both LSTNet variants allow readers to check the figures.

The authors describe the gains as strongest on the datasets with periodic patterns and at larger horizons. They also say that when the period is unclear, LSTNet-Attn can be used in place of LSTNet-skip and still gives considerable improvement over the baselines. Each cell of Table 2 is a single value without an interval.

Where LSTNet is not the best

On Exchange-Rate the text says LSTNet is slightly worse than AR and LRidge. The authors link this to the autocorrelation analysis, since that dataset shows little long-term repetition for the repetition-based components to exploit. When no repetitive pattern exists, the authors say LSTNet performs comparably with AR and LRidge.

Comparing univariate AR with multivariate baselines, the multivariate methods are stronger on Solar-Energy and Traffic and weaker on the other datasets. The authors attribute the weaker cases to richer inputs causing overfitting, and they credit the autoregressive component for the more stable behaviour of LSTNet.

Which components matter

LSTw/oskip removes the Recurrent-skip and attention components, LSTw/oCNN removes the convolutional component from LSTNet-skip, and LSTw/oAR removes the autoregressive component from LSTNet-skip. Baselines are tuned to similar parameter counts so that model size does not explain the gains.

Removing the AR component produced the largest performance drops on most datasets. Removing the Skip or CNN components produced big drops on some datasets but not on all. The best result on each dataset came from either LST-Skip or LST-Attn. A drop after removal indicates that the removed piece contributes under these settings.

The authors interpret the role of AR as robustness to scale change and point to an electricity series plotted from hour 1 to 5000. The true consumption rises suddenly around the 1000th hour, LSTNet-Skip follows that change, and LSTw/oAR does not react properly.

Simulated scale change

The simulation generates an autoregressive process with a random coefficient vector and Gaussian noise whose mean steps up by \\(\\mu_0\\) every T time stamps. The noise mean is \\(\\lfloor t/T \\rfloor \\mu_0\\) with unit variance, and the series is split chronologically into training and test parts. On the test split RNN-GRU does not follow the shifted scale, while LSTNet fits the test split much better, and both fit the training split.

The text reports this comparison only as a figure, without numerical values. The authors read the failure as the neural part being insensitive to violated scale fluctuations, with the AR component making the adjustment. The simulation compares only RNN-GRU and LSTNet, so it does not isolate the AR component.

Mixed daily and weekly patterns on one sensor

Figure 7 compares VAR and LSTNet on one output variable of the Traffic dataset. The true series takes different shapes on Fridays and Saturdays, and another shape on Sundays and Mondays. VAR predictions depend only on the previous day, so its Saturday and Monday peaks miss the ground truth, while LSTNet separates the weekday and weekend patterns.

The comparison covers one output variable and is read visually, and the text reports no metric value for it.

Limitations

The skip length p is set by hand and tuned on the validation dataset, and choosing it automatically is left as an open problem. Where no clear period exists, p has to be tuned, and the authors offer temporal attention as the alternative. The convolution treats every variable dimension equally, and rich attribute information is not used; the authors name integrating it as a further problem.

LSTNet trails AR and LRidge on Exchange-Rate. The ablation results are reported for Solar-Energy, Traffic and Electricity. The Traffic and single-variable Electricity comparisons are shown as figures.

Paper info

Authors
Guokun Lai, Wei-Cheng Chang, Yiming Yang, Hanxiao Liu
Venue
arXiv · Preprint
First published
2017-3-21
Added
2026-11-12
Updated
2018-4-18
Version
v3
arXiv
1703.07015
Category
cs.LG
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Guokun Lai, Wei-Cheng Chang, Yiming Yang, Hanxiao Liu (2017). Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks. arXiv:1703.07015v3. https://arxiv.org/abs/1703.07015v3

BibTeX
@misc{lai2017modeling,
  title = {{Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks}},
  author = {Guokun Lai and Wei-Cheng Chang and Yiming Yang and Hanxiao Liu},
  year = {2017},
  eprint = {1703.07015},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.07015v3}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up