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

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

21 Mar 2017arXiv:1703.07015archive 2025-07-28

Guokun Lai, Wei-Cheng Chang, Yiming Yang, Hanxiao Liu

Multivariate time series forecasting is an important machine learning problem across many domains, including predictions of solar plant energy output, electricity consumption, and traffic jam situation. Temporal data arise in these real-world applications often involves a mixture of long-term and short-term patterns, for which traditional approaches such as Autoregressive models and Gaussian Process may fail. In this paper, we proposed a novel deep learning framework, namely Long- and Short-term Time-series network (LSTNet), to address this open challenge. LSTNet uses the Convolution Neural Network (CNN) and the Recurrent Neural Network (RNN) to extract short-term local dependency patterns among variables and to discover long-term patterns for time series trends. Furthermore, we leverage traditional autoregressive model to tackle the scale insensitive problem of the neural network model. In our evaluation on real-world data with complex mixtures of repetitive patterns, LSTNet achieved significant performance improvements over that of several state-of-the-art baseline methods. All the data and experiment codes are available online.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 7 code samples harvested from 3 repositories linked to this paper: 7 ran (of which 0 constructed an object rather than computing a result; 7 with no instrument failure: 0 honoured, 0 violated, 7 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code; here there are none.

By repository: official repository: 1 sample from 1 repository, 1 ran (1 with no instrument failure; 0 where Syntology's instrument failed); community (archive-listed): 6 samples from 2 repositories, 6 ran (6 with no instrument failure; 0 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

No sample is linked to this paper from 1 of its repositories that Syntology harvested for other papers:

Levels written between 2026-09-25 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

21 repositories listed; official and paper-mentioned ones first.

laiguokun/LSTNet officialmentioned in papermentioned on GitHubpytorchMITSyntology: 1 sample, 1 ran (0 instrument-failed) · 0 unverified report
laiguokun/multivariate-time-series-data officialmentioned in papermentioned on GitHubSyntology: not harvested report
Enforcer03/LSTNet mentioned on GitHubtfSyntology: not harvested report
GokulKarthik/LSTNet.pytorch mentioned on GitHubpytorchMITSyntology: not harvested report
Goochaozheng/LSTNet mentioned on GitHubpytorchMITSyntology: not harvested report
Liut2016/AwesomeDeepLearningGuidance-TimeSeriesData mentioned on GitHubpytorchSyntology: not harvested report
Vsooong/pattern_recognize mentioned on GitHubpytorchSyntology: not harvested report
Zhao-zi-jun/multivariate_prediction_master mentioned on GitHubpytorchSyntology: not harvested report
aaqib-ali/LSTNet_Pytorch mentioned on GitHubpytorchMITSyntology: not harvested report
appleparan/mise.py mentioned on GitHubpytorchMITSyntology: no sample linked to this paper (harvested for another paper). Syntology's graph links these samples to A Transformer-based Framework for Multivariate Time Series Representation Learning (arXiv:2010.02803; that paper's own run record: 23 ran (of which 0 constructed an object rather than computing a result; 19 with no instrument failure: 0 honoured, 0 violated, 19 with no contract checked; 4 where Syntology's instrument failed) · 9 unverified); nothing checks that they implement this paper's method. report
fbadine/LSTNet mentioned on GitHubtfSyntology: not harvested report
flaviagiammarino/lstnet-tensorflow mentioned on GitHubtfMITSyntology: 2 samples, 2 ran (0 instrument-failed) · 0 unverified report
hubtru/LTBoost mentioned on GitHubpytorchMITSyntology: not harvested report
opringle/multivariate_time_series_forecasting mentioned on GitHubmxnetSyntology: not harvested report
quocanuit/lstnet-solar-gen mentioned on GitHubpytorchMITSyntology: 4 samples, 4 ran (0 instrument-failed) · 0 unverified report
sw6-aau/LSTnet-demo mentioned on GitHubpytorchnot reachable when probed 2026-09-18 — repositories for recent papers often appear after camera-readySyntology: not harvested report
sw6-aau/gcp-fixed mentioned on GitHubpytorchnot reachable when probed 2026-09-18 — repositories for recent papers often appear after camera-readySyntology: not harvested report
sw6-aau/lastnet-backup mentioned on GitHubpytorchnot reachable when probed 2026-09-18 — repositories for recent papers often appear after camera-readySyntology: not harvested report
sw6-aau/production-gcp mentioned on GitHubpytorchnot reachable when probed 2026-09-18 — repositories for recent papers often appear after camera-readySyntology: not harvested report
zhaozijun102548/multivariate_prediction_master mentioned on GitHubpytorchSyntology: not harvested report
zyf0220/pattern_recognize mentioned on GitHubpytorchSyntology: not harvested report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

A paper named beside a repository with no sample linked to this paper is shown with that paper's own run record, not this paper's: “ran” means executed on a synthesized input, not that the code is correct, and “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Papers are listed in arXiv-id order, at most three per repository.

Code Syntology ran Syntology

7 samples harvested: 7 ran (of which 0 constructed an object rather than computing a result; 7 with no instrument failure: 0 honoured, 0 violated, 7 with no contract checked; 0 where Syntology's instrument failed) · 0 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page has not changed since , the first build that kept a record date for it; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

7ran

Licence: 0 of the 7 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 3 repositories linked to this paper, official or community; the list below is grouped by repository, each group headed by its name and what it is to the paper. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

laiguokun/LSTNet official repository 1 sample, 1 ran (0 instrument-failed) · 0 unverified
normal_std utils.py ran fingerprinted MIT (permissive) · 1ef18a710e2babf6 · report fixture: signature x:ndarray/1/float · returned float64 · level recorded 2026-09-25
flaviagiammarino/lstnet-tensorflow community (archive-listed) 2 samples, 2 ran (0 instrument-failed) · 0 unverified
get_training_sequences lstnet_tensorflow/utils.py ran MIT (permissive) · f7970af5000a7b6f · report fixture: returned tuple · level recorded 2026-09-26
kernel_regularizer lstnet_tensorflow/model.py ran MIT (permissive) · e1c6f9447ee6d80c · report fixture: signature regularizer:str/0/str, regularization_factor:float/0/float · returned L2 · level recorded 2026-09-26
quocanuit/lstnet-solar-gen community (archive-listed) 4 samples, 4 ran (0 instrument-failed) · 0 unverified
create_scaler predict.py ran MIT (permissive) · 5fb6852b1a1af7f2 · report fixture: signature data:ndarray/2/float · returned MinMaxScaler · level recorded 2026-09-26
format_datetime API/solar-app/solar_app.py ran MIT (permissive) · a559cf5116ae4a2f · report fixture: signature dt:datetime/0/? · returned str · level recorded 2026-09-26
generate_report data_preprocessing.py ran MIT (permissive) · c186a224ff408cda · report fixture: signature df:DataFrame/0/?, X:ndarray/2/float, y:ndarray/1/float, features:list/1/str, target:str/0/str, window:int/0/int, horizon:int/0/int, data_type:str/0/str · returned dict · level recorded 2026-09-26
process_best_params hyperparameter_tuning.py ran MIT (permissive) · 2e470dc1796859fc · report fixture: signature best:dict/0/?, space:dict/0/? · returned dict · level recorded 2026-09-26

Tasks

Multivariate Time Series ForecastingTime SeriesTime Series AnalysisTime Series ForecastingUnivariate Time Series Forecasting

Datasets

Introduced by this paper, per the archive.

Exchange

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Univariate Time Series Forecasting Electricity LST-Skip (3 step) RRSE 0.0864 #3 of 12 Archive leaderboard report
Univariate Time Series Forecasting Electricity LST-Skip (6 step) RRSE 0.0931 #7 of 12 Archive leaderboard report
Univariate Time Series Forecasting Electricity LST-Skip (24 step) RRSE 0.1007 #11 of 12 Archive leaderboard report
Univariate Time Series Forecasting Electricity LST-Skip (12 step) RRSE 0.1007 #12 of 12 Archive leaderboard report
Univariate Time Series Forecasting Solar-Power LST-Skip (24 step) RRSE 0.4643 #1 of 1 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

ConvolutionGaussian Process

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections