Papers › Sequence to Sequence Learning with Neural Networks
Sequence to Sequence Learning with Neural Networks
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.
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):
get_harvested_code_for_paper(arxiv_id="1409.3215")get_code(code_sha256="…")with a sample'scode_sha256from the list belowget_citation_path(paper_1="1409.3215", paper_2="…")with another paper's arXiv id or titleget_concepts_for_paper(arxiv_id="1409.3215")
Code
Syntology 25 code samples harvested from 8 repositories linked to this paper: 21 ran (of which 0 constructed an object rather than computing a result; 13 with no instrument failure: 3 honoured, 0 violated, 10 with no contract checked; 8 where Syntology's instrument failed) · 4 unverified. Where Syntology's instrument failed: 8 where our contract draft was wrong; failures of Syntology's instrument, not of the code.
By repository: community (archive-listed): 25 samples from 8 repositories, 21 ran (13 with no instrument failure; 8 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 11 of its repositories that Syntology harvested for other papers:
- 2023-MindSpore-1/ms-code-62, community (archive-listed): harvested for another paper, listed under the repository
- Chatha-Sphere/pno-ai, community (archive-listed): harvested for another paper, listed under the repository
- advaithsrao/Chatbot_Seq2seq_model, community (archive-listed): harvested for another paper, listed under the repository
- cosmoquester/seq2seq, community (archive-listed): harvested for another paper, listed under the repository
- dewanderelex/LanguageTranslation, community (archive-listed): harvested for another paper, listed under the repository
- dksifoua/Neural-Machine-Translation, community (archive-listed): harvested for another paper, listed under the repository
- littleflow3r/Japanese_English_Machine_Translation_Seq2Seq, community (archive-listed): harvested for another paper, listed under the repository
- munir-bd/Korean-POS-Tagger-LSTM, community (archive-listed): harvested for another paper, listed under the repository
- nouhadziri/THRED, community (archive-listed): harvested for another paper, listed under the repository
- lvyufeng/mindspore-nlp-tutorial, community (archive-listed): harvested for another paper, listed under the repository
- mindspore-ai/models, community (archive-listed): harvested for another paper, listed under the repository
Levels written between 2026-09-22 and 2026-09-26 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.
74 repositories listed; official and paper-mentioned ones first.
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
25 samples harvested: 21 ran (of which 0 constructed an object rather than computing a result; 13 with no instrument failure: 3 honoured, 0 violated, 10 with no contract checked; 8 where Syntology's instrument failed) · 4 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.
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; 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.
A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity. A census tag appears when Syntology's census ran implementations with that name on one shared input per bucket: it gives how many were compared, from how many papers, and how many distinct outputs they produced, and names this sample's bucket when this sample was one of them.
1e7dce39d953aaa5 · report
fixture: signature instance:SampleInstance/0/?, tokenizer_src:MockTokenizer/0/?, tokenizer_trg:MockTokenizer/0/?, max_seq_length:int/0/int, bucket:list/1/int · returned tuple · level recorded 2026-09-24 b9e24c3e3e0e88a7 · report
fixture: signature args:Namespace/0/?, cfg:dict/0/? · returned dict · level recorded 2026-09-22 738456e1b7388e7e · report
fixture: signature parser:ArgumentParser/0/?, cfg:dict/0/?, helper:dict/0/?, choices:dict/0/?, cfg_path:str/0/str · returned Namespace · level recorded 2026-09-24 96a9939953d5992d · report
fixture: signature yaml_path:str/0/str · returned tuple · level recorded 2026-09-25 796b2511367209ba · report
fixture: signature batch_size:int/0/int, min_len:int/0/int, max_len:int/0/int · returned tuple · level recorded 2026-09-22 census: 8 implementations from 9 papers, 7 distinct outputs across 5 buckets, one shared input per bucket data.py ran · honoured contract fingerprinted GPL-3.0 (copyleft) · pointer only ·
8b887331144b7967 · report
fixture: signature min_length:int/0/int, max_length:int/0/int · returned tuple · level recorded 2026-09-22 98d5880d13c72280 · report
fixture: signature s:str/0/str · returned str · level recorded 2026-09-22 449b4c4b43a64aca · report
fixture: signature s:str/0/str · returned str · level recorded 2026-09-22 10dca0b4c48e590f · report
e06ad5de44fed837 · report
fixture: signature result_npy_addr:str/0/str · returned ndarray · level recorded 2026-09-26 80d2a0f8303dc622 · report
0f26a596e83c5565 · report
fixture: signature model:callable/0/? · returned int · level recorded 2026-09-22 2a74b7a19b47b566 · report
fixture: signature argv:list/1/str · returned Namespace · level recorded 2026-09-22 f7dc02b250498341 · report
fixture: signature text:str/0/str, lang:str/0/str · returned str · level recorded 2026-09-26 8f313e40a3c2781f · report
fixture: signature model_name:str/0/str, save_path:str/0/str · returned tuple · level recorded 2026-09-26 a6697bcb0adf201d · report
fixture: signature tokenizer:MockTokenizer/0/? · returned list · level recorded 2026-09-26 81ea9cff1f78cbfc · report
fixture: signature tokenizer:MockTokenizer/0/? · returned dict · level recorded 2026-09-26 a083cb6994fa7695 · report
fixture: signature model_name:str/0/str, save_path:str/0/str · returned bool · level recorded 2026-09-26 a092c91e31ab7f49 · report
fixture: signature path:str/0/str · returned dict · level recorded 2026-09-26 26859637d0f6ef9e · report
2be8d8a248dd1ac5 · report
0249f2927bd76913 · report
fixture: signature s:str/0/str · returned str · level recorded 2026-09-22 52625852fa241e82 · report
fixture: signature lang1:str/0/str, lang2:str/0/str, reverse:bool/0/bool · returned tuple · level recorded 2026-09-22 a2ec1e65cd2e8ef4 · report
fixture: signature s:str/0/str · returned str · level recorded 2026-09-22 8eaa3f3c2fa1ed5d · report
fixture: signature text:str/0/str · returned str · level recorded 2026-09-22 Tasks
Results from the paper archive 2025-07-28
| Task | Dataset | Model | Metric | Value | Rank at snapshot | Leaderboard | Report |
|---|---|---|---|---|---|---|---|
| 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
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