# LSTM vs. GRU vs. Bidirectional RNN for script generation

arXiv: https://arxiv.org/abs/1908.04332 · HTML: https://mlsanity.com/paper/1908.04332/

## Key facts

- Cited by 7 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 12 Aug 2019.

## Built on by (most cited first, 7 of 7)

- [Arrows of Time for Large Language Models](https://mlsanity.com/paper/2401.17505/) (2024)
- [Multi-task Hierarchical Adversarial Inverse Reinforcement Learning](https://mlsanity.com/paper/2305.12633/) (2023)
- [The Belief State Transformer](https://mlsanity.com/paper/2410.23506/) (2024)
- [PaCMO: Partner Dependent Human Motion Generation in Dyadic Human Activity using Neural Operators](https://mlsanity.com/paper/2211.16210/) (2022)
- [Controlled Cue Generation for Play Scripts](https://mlsanity.com/paper/2112.06953/) (2021)
- [Generative Enriched Sequential Learning (ESL) Approach for Molecular Design via Augmented Domain Knowledge](https://mlsanity.com/paper/2204.02474/) (2022)
- [Adversarial Machine Learning in Text Analysis and Generation](https://mlsanity.com/paper/2101.08675/) (2021)

## Abstract (arXiv)

Scripts are an important part of any TV series. They narrate movements, actions and expressions of characters. In this paper, a case study is presented on how different sequence to sequence deep learning models perform in the task of generating new conversations between characters as well as new scenarios on the basis of a script (previous conversations). A comprehensive comparison between these models, namely, LSTM, GRU and Bidirectional RNN is presented. All the models are designed to learn the sequence of recurring characters from the input sequence. Each input sequence will contain, say "n" characters, and the corresponding targets will contain the same number of characters, except, they will be shifted one character to the right. In this manner, input and output sequences are generated and used to train the models. A closer analysis of explored models performance and efficiency is delineated with the help of graph plots and generated texts by taking some input string. These graphs describe both, intraneural performance and interneural model performance for each model.
