Backward and Forward Language Modeling for Constrained Sentence Generation
Not on the map. Why?
Abstract (arXiv)
Recent language models, especially those based on recurrent neural networks (RNNs), make it possible to generate natural language from a learned probability. Language generation has wide applications including machine translation, summarization, question answering, conversation systems, etc. Existing methods typically learn a joint probability of words conditioned on additional information, which is (either statically or dynamically) fed to RNN's hidden layer. In many applications, we are likely to impose hard constraints on the generated texts, i.e., a particular word must appear in the sentence. Unfortunately, existing approaches could not solve this problem. In this paper, we propose a novel backward and forward language model. Provided a specific word, we use RNNs to generate previous words and future words, either simultaneously or asynchronously, resulting in two model variants. In this way, the given word could appear at any position in the sentence. Experimental results show that the generated texts are comparable to sequential LMs in quality.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). First posted on arXiv 21 Dec 2015.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 5; 2022: 2; 2023: 0; 2024: 1; 2025: 1.
9 papers.
- 2021A Plug-and-Play Method for Controlled Text Generationcited by 56
- 2021Parallel Refinements for Lexically Constrained Text Generation with BARTcited by 24
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Contextcited by 21
- 2024Arrows of Time for Large Language Modelscited by 20
- 2022Why is constrained neural language generation particularly challenging?cited by 19
- 2021Show Me How To Revise: Improving Lexically Constrained Sentence Generation with XLNetcited by 10
- 2021Transformer-based Lexically Constrained Headline Generationcited by 3
- 2025A Survey of Pun Generation: Datasets, Evaluations and Methodologiescited by 2
- 2021Spiral Language Modelingcited by 0
- 2025A Survey of Pun Generation: Datasets, Evaluations and Methodologies7 Jul 2025
- 2024Arrows of Time for Large Language Models30 Jan 2024
- 2022Why is constrained neural language generation particularly challenging?11 Jun 2022
- 2022AmbiPun: Generating Humorous Puns with Ambiguous Context4 May 2022
- 2021Spiral Language Modeling20 Dec 2021
- 2021Parallel Refinements for Lexically Constrained Text Generation with BART26 Sep 2021
- 2021A Plug-and-Play Method for Controlled Text Generation20 Sep 2021
- 2021Transformer-based Lexically Constrained Headline Generation15 Sep 2021
- 2021Show Me How To Revise: Improving Lexically Constrained Sentence Generation with XLNet13 Sep 2021