Papers › Sequence to Sequence Learning with Neural Networks

Sequence to Sequence Learning with Neural Networks

10 Sep 2014NeurIPS 2014 12arXiv:1409.3215archive 2025-07-28

Ilya Sutskever, Oriol Vinyals, Quoc V. Le

Deep Neural Networks (DNNs) are powerful models that have achieved excellent performance on difficult learning tasks. Although DNNs work well whenever large labeled training sets are available, they cannot be used to map sequences to sequences. In this paper, we present a general end-to-end approach to sequence learning that makes minimal assumptions on the sequence structure. Our method uses a multilayered Long Short-Term Memory (LSTM) to map the input sequence to a vector of a fixed dimensionality, and then another deep LSTM to decode the target sequence from the vector. Our main result is that on an English to French translation task from the WMT'14 dataset, the translations produced by the LSTM achieve a BLEU score of 34.8 on the entire test set, where the LSTM's BLEU score was penalized on out-of-vocabulary words. Additionally, the LSTM did not have difficulty on long sentences. For comparison, a phrase-based SMT system achieves a BLEU score of 33.3 on the same dataset. When we used the LSTM to rerank the 1000 hypotheses produced by the aforementioned SMT system, its BLEU score increases to 36.5, which is close to the previous best result on this task. The LSTM also learned sensible phrase and sentence representations that are sensitive to word order and are relatively invariant to the active and the passive voice. Finally, we found that reversing the order of the words in all source sentences (but not target sentences) improved the LSTM's performance markedly, because doing so introduced many short term dependencies between the source and the target sentence which made the optimization problem easier.

PaperPDFConference PDFCodeCode Syntology ran

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

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="1409.3215")

Code

Syntology Ran 11 of 25 code samples harvested from 8 repositories linked to this paper; 14 have no recorded run. Of those that ran: 3 ran · honoured contract; 8 ran · our draft was wrong.

By repository: community (archive-listed): 25 samples from 8 repositories, 11 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

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

2023-MindSpore-1/ms-code-197 mentioned on GitHubmindspore report
2023-MindSpore-1/ms-code-198 mentioned on GitHubmindspore report
2023-MindSpore-1/ms-code-200 mentioned on GitHubmindspore report
2023-MindSpore-1/ms-code-61 mentioned on GitHubmindsporeApache-2.0 report
2023-MindSpore-1/ms-code-62 mentioned on GitHubmindsporeApache-2.0 report
AMNAALMGLY/NLP mentioned on GitHub report
ArushiSinghal/NMT-assignment1 mentioned on GitHubpytorch report
CGCL-codes/naturalcc mentioned on GitHubpytorchMIT report
Chatha-Sphere/pno-ai mentioned on GitHubpytorch report
Guillem96/pointer-nn-pytorch mentioned on GitHubpytorch report
Mind23-2/MindCode-73 mentioned on GitHubmindspore report
TEAMLAB-Lecture/deep_nlp_101 mentioned on GitHubtf report
VishalFun/Keras_practice mentioned on GitHub report
a1085728420/seq2seq-mindspore mentioned on GitHubmindsporeApache-2.0 report
bentrevett/pytorch-seq2seq mentioned on GitHubpytorchMIT report
cosmoquester/seq2seq mentioned on GitHubtf report
dksifoua/Neural-Machine-Translation mentioned on GitHubpytorch report
dltcls/g2p_pytorch_wiktionary mentioned on GitHubpytorch report
dongdong199408/teachchatrobot mentioned on GitHubtf report
farizrahman4u/seq2seq mentioned on GitHub report
francescodisalvo05/66DaysOfData mentioned on GitHubpytorch report
giovanniguidi/Seq-2-Seq-OCR mentioned on GitHub report
hnt4499/seq2seq mentioned on GitHubpytorch report
isi-nlp/Zoph_RNN mentioned on GitHub report
jklafka/noisy-nets mentioned on GitHubpytorch report
karlie38/torchstudy mentioned on GitHubpytorch report
kingcong/gpu_gru mentioned on GitHubmindsporenot reachable when probed 2026-09-18 — repositories for recent papers often appear after camera-ready report
kirillermolov/ChatBot mentioned on GitHubtf report
la-serene/English-German-Translation-System mentioned on GitHubtfApache-2.0 report
lakshmichaitanyach/project_2 mentioned on GitHubtf report
laserene/English-German-Translation-System mentioned on GitHubtfApache-2.0 report
macournoyer/neuralconvo mentioned on GitHubtorch report
matken11235/keras-seq2seq mentioned on GitHubtf report
minsoo9506/NLP-study mentioned on GitHubpytorch report
mits58/Pointer-Networks mentioned on GitHubMIT report
mlennox/summarisers mentioned on GitHubtf report
moon23k/LSTM_Anchors mentioned on GitHubpytorch report
moon23k/RNN_Seq2Seq mentioned on GitHubpytorch report
nouhadziri/THRED mentioned on GitHubtfMIT report
sayhitosandy/Chatbot mentioned on GitHubtf report
starry91/NMT-Lab mentioned on GitHub report
trqminh/seq2seq mentioned on GitHubpytorch report
umeiko/mindspore-seq2seq mentioned on GitHubmindspore report
vGkatsis/Chat_Bot_DL mentioned on GitHubpytorch report
weiylu/NLP mentioned on GitHubtfMIT report
yangyucheng000/ascend_gru mentioned on GitHubmindsporeApache-2.0 report
yash-nishaant/Seq2Seq-Chatbot mentioned on GitHubtf report
yscope75/CS2225.CH2001020 mentioned on GitHubpytorch 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.

Code Syntology ran Syntology

25 samples harvested; 11 ran; 3 honoured the contract we drafted; 14 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

3ran · honoured contract
8ran · our draft was wrong
14unverified

Licence: 9 of the 25 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 8 repositories linked to this paper, official or community; each sample names its own and says which. “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. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (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 from a repository marked official are listed first. 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 four 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; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). 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.

batch Guillem96/pointer-nn-pytorch/data.py community (archive-listed) ran · honoured contract fingerprinted GPL-3.0 (copyleft) · pointer only · 796b2511367209ba · report
clean_text yash-nishaant/Seq2Seq-Chatbot/chatbot.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 8eaa3f3c2fa1ed5d · report
count_parameters hnt4499/seq2seq/seq2seq/model.py community (archive-listed) ran · honoured contract MIT (permissive) · 0f26a596e83c5565 · report
merge 2023-MindSpore-1/ms-code-61/model_utils/config.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · b9e24c3e3e0e88a7 · report
normalizeString IvanVassi/Seq2Seq-w-attention-dialogue-model/backend/inference.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 98d5880d13c72280 · report
normalize_string rileynwong/pytorch-seq2seq-joke2punchline/seq2seq.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 0249f2927bd76913 · report
parse_arguments hnt4499/seq2seq/scripts/train_and_evaluate.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 2a74b7a19b47b566 · report
readLangs rileynwong/pytorch-seq2seq-joke2punchline/seq2seq.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 52625852fa241e82 · report
sample Guillem96/pointer-nn-pytorch/data.py community (archive-listed) ran · honoured contract fingerprinted GPL-3.0 (copyleft) · pointer only · 8b887331144b7967 · report
unicodeToAscii IvanVassi/Seq2Seq-w-attention-dialogue-model/backend/inference.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · 449b4c4b43a64aca · report
unicode_to_ascii rileynwong/pytorch-seq2seq-joke2punchline/seq2seq.py community (archive-listed) ran · our draft was wrong fingerprinted no licence file found · pointer only · a2ec1e65cd2e8ef4 · report
calculate_sacrebleu a1085728420/seq2seq-mindspore/src/seq2seq_model/bleu_calculate.py community (archive-listed) unverified Apache-2.0 (permissive) · 80d2a0f8303dc622 · report
convert_to_tf_dataset la-serene/English-German-Translation-System/prepare_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 26859637d0f6ef9e · report
expand_contractions la-serene/English-German-Translation-System/clean_data.py community (archive-listed) unverified Apache-2.0 (permissive) · f7dc02b250498341 · report
get_instance_features 2023-MindSpore-1/ms-code-61/src/create_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 1e7dce39d953aaa5 · report
get_model_metadata la-serene/English-German-Translation-System/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 8f313e40a3c2781f · report
get_vocab la-serene/English-German-Translation-System/tokenizer.py community (archive-listed) unverified Apache-2.0 (permissive) · a6697bcb0adf201d · report
get_word_to_idx la-serene/English-German-Translation-System/tokenizer.py community (archive-listed) unverified Apache-2.0 (permissive) · 81ea9cff1f78cbfc · report
is_model_exist la-serene/English-German-Translation-System/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · a083cb6994fa7695 · report
load_result_data a1085728420/seq2seq-mindspore/src/seq2seq_model/bleu_calculate.py community (archive-listed) unverified Apache-2.0 (permissive) · e06ad5de44fed837 · report
parse_cli_to_yaml 2023-MindSpore-1/ms-code-61/model_utils/config.py community (archive-listed) unverified Apache-2.0 (permissive) · 738456e1b7388e7e · report
parse_yaml 2023-MindSpore-1/ms-code-61/model_utils/config.py community (archive-listed) unverified Apache-2.0 (permissive) · 96a9939953d5992d · report
prepr IvanVassi/Seq2Seq-w-attention-dialogue-model/backend/inference.py community (archive-listed) unverified no licence file found · pointer only · 10dca0b4c48e590f · report
retrieve_all_models la-serene/English-German-Translation-System/utils.py community (archive-listed) unverified Apache-2.0 (permissive) · a092c91e31ab7f49 · report
tokenize_dataset la-serene/English-German-Translation-System/prepare_data.py community (archive-listed) unverified Apache-2.0 (permissive) · 2be8d8a248dd1ac5 · report

Tasks

Machine TranslationSentenceTime Series ForecastingTraffic Prediction

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Machine Translation WMT2014 English-French SMT+LSTM5 BLEU score 36.5 #43 of 57 Archive leaderboard report
Machine Translation WMT2014 English-French LSTM BLEU score 34.8 #47 of 57 Archive leaderboard report
Time Series Forecasting PeMSD7 FC-LSTM 9 steps MAE 4.16 #4 of 7 Archive leaderboard report
Traffic Prediction PeMS-M FC-LSTM MAE (60 min) 4.16 #4 of 5 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

Introduced by this paper: Seq2Seq

LSTMSeq2SeqSigmoid ActivationTanh Activation

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