Papers › Deep Reinforcement Learning For Sequence to Sequence Models

Deep Reinforcement Learning For Sequence to Sequence Models

24 May 2018arXiv:1805.09461archive 2025-07-28

Yaser Keneshloo, Tian Shi, Naren Ramakrishnan, Chandan K. Reddy

In recent times, sequence-to-sequence (seq2seq) models have gained a lot of popularity and provide state-of-the-art performance in a wide variety of tasks such as machine translation, headline generation, text summarization, speech to text conversion, and image caption generation. The underlying framework for all these models is usually a deep neural network comprising an encoder and a decoder. Although simple encoder-decoder models produce competitive results, many researchers have proposed additional improvements over these sequence-to-sequence models, e.g., using an attention-based model over the input, pointer-generation models, and self-attention models. However, such seq2seq models suffer from two common problems: 1) exposure bias and 2) inconsistency between train/test measurement. Recently, a completely novel point of view has emerged in addressing these two problems in seq2seq models, leveraging methods from reinforcement learning (RL). In this survey, we consider seq2seq problems from the RL point of view and provide a formulation combining the power of RL methods in decision-making with sequence-to-sequence models that enable remembering long-term memories. We present some of the most recent frameworks that combine concepts from RL and deep neural networks and explain how these two areas could benefit from each other in solving complex seq2seq tasks. Our work aims to provide insights into some of the problems that inherently arise with current approaches and how we can address them with better RL models. We also provide the source code for implementing most of the RL models discussed in this paper to support the complex task of abstractive text summarization.

PaperPDFCodeCode 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="1805.09461")

Code

Syntology Ran 3 of 17 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 2 ran with no contract checked.

By repository: official repository: 13 samples from 1 repository, 3 ran; community (archive-listed): 4 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

yaserkl/RLSeq2Seq officialmentioned in papermentioned on GitHubtfMIT report
IlyaGusev/summarus mentioned on GitHubpytorchApache-2.0 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

17 samples harvested; 3 ran; 0 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.

1ran · our draft was wrong
2ran
14unverified

Licence: 0 of the 17 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 2 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.

make_html_safe yaserkl/RLSeq2Seq/src/decode.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 84fcb74e05d73aff · report
rouge_l_sentence_level yaserkl/RLSeq2Seq/src/rouge.py official repository ran MIT (permissive) · 815c9f02431395eb · report
rouge_n yaserkl/RLSeq2Seq/src/rouge.py official repository ran MIT (permissive) · eb37c01f4067f842 · report
abstract2ids yaserkl/RLSeq2Seq/src/data.py official repository unverified MIT (permissive) · fe1c05743cd67af2 · report
article2ids yaserkl/RLSeq2Seq/src/data.py official repository unverified MIT (permissive) · ecb10763ebbfe0bd · report
outputids2words yaserkl/RLSeq2Seq/src/data.py official repository unverified MIT (permissive) · eca0776bc82826da · report
rouge_l_fscore yaserkl/RLSeq2Seq/src/rouge_tensor.py official repository unverified MIT (permissive) · 5c25a03c38e34377 · report
rouge_l_sentence_level yaserkl/RLSeq2Seq/src/rouge_tensor.py official repository unverified MIT (permissive) · 77afbbd9f4048865 · report
rouge_l_summary_level yaserkl/RLSeq2Seq/src/rouge.py official repository unverified MIT (permissive) · 86e27006cb76b7f8 · report
rouge_n yaserkl/RLSeq2Seq/src/rouge_tensor.py official repository unverified MIT (permissive) · eb5c66f55e72516a · report
scheduled_sampling yaserkl/RLSeq2Seq/src/attention_decoder.py official repository unverified MIT (permissive) · 85555d564514df13 · report
scheduled_sampling_vocab_dist yaserkl/RLSeq2Seq/src/attention_decoder.py official repository unverified MIT (permissive) · ef954b98b08bfa56 · report
sort_hyps yaserkl/RLSeq2Seq/src/beam_search.py official repository unverified MIT (permissive) · 8891bb52fbe37510 · report
find_acs IlyaGusev/summarus/summarus/util/extraction_score.py community (archive-listed) unverified Apache-2.0 (permissive) · 67be1a4ec1456244 · report
fix_missing_period IlyaGusev/summarus/summarus/readers/cnn_dailymail_reader.py community (archive-listed) unverified Apache-2.0 (permissive) · d99eeb1146fb3504 · report
get_article_and_abstract IlyaGusev/summarus/summarus/readers/cnn_dailymail_reader.py community (archive-listed) unverified Apache-2.0 (permissive) · 99ff57fcf802c668 · report
hashhex IlyaGusev/summarus/summarus/readers/cnn_dailymail_reader.py community (archive-listed) unverified Apache-2.0 (permissive) · 7d38d9759f7037fa · report

Tasks

Abstractive Text SummarizationCaption GenerationDecision MakingDecoderDeep Reinforcement LearningHeadline GenerationMachine TranslationReinforcement LearningReinforcement Learning (RL)Speech-to-TextText Summarizationreinforcement-learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

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