Lune

EMNLP2020Top-tier venue

MEGATRON-CNTRL: Controllable Story Generation with External Knowledge Using Large-Scale Language Models

Peng Xu, Mostofa Patwary, Mohammad Shoeybi, Raul Puri, Pascale Fung, Anima Anandkumar, Bryan Catanzaro

Abstract

Existing pre-trained large language models have shown unparalleled generative capabilities. However, they are not controllable. In this paper, we propose MEGATRON-CNTRL, a novel framework that uses large-scale language models and adds control to text generation by incorporating an external knowledge base. Our framework consists of a keyword predictor, a knowledge retriever, a contextual knowledge ranker, and a conditional text generator. As we do not have access to groundtruth supervision for the knowledge ranker, we make use of weak supervision from sentence embedding. The empirical results show that our model generates more fluent, consistent, and coherent stories with less repetition and higher diversity compared to prior work on the ROC story dataset. We showcase the controllability of our model by replacing the keywords used to generate stories and re-running the generation process. Human evaluation results show that 77.5% of these stories are successfully controlled by the new keywords. Furthermore, by scaling our model from 124 million to 8.3 billion parameters we demonstrate that larger models improve both the quality of generation (from 74.5% to 93.0% for consistency) and controllability (from 77.5% to 91.5%).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

25 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Developer-Intent Driven Code Comment Generation cites Dense Passage Retrieval for Open-Domain Question Answering
  • Co-Writing Screenplays and Theatre Scripts with Language Models: Evaluation by Industry Professionals cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
  • Co-Writing Screenplays and Theatre Scripts with Language Models: Evaluation by Industry Professionals cites TaleBrush: Sketching Stories with Generative Pretrained Language Models
  • TaleBrush: Sketching Stories with Generative Pretrained Language Models cites Plug and Play Language Models: A Simple Approach to Controlled Text Generation
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers25

  1. Co-Writing Screenplays and Theatre Scripts with Language Models: Evaluation by Industry ProfessionalsPiotr Mirowski, Kory W. Mathewson, Jaylen Pittman, Richard EvansCHI 2023 · 235 citations
  2. TaleBrush: Sketching Stories with Generative Pretrained Language ModelsJohn Joon Young Chung, Wooseok Kim, Kang Min Yoo, Hwaran Lee et al.CHI 2022 · 202 citations
  3. Enhanced Story Comprehension for Large Language Models through Dynamic Document-Based Knowledge GraphsBerkeley R. Andrus, Yeganeh Nasiri, Shilong Cui, Benjamin Cullen et al.AAAI 2022 · 46 citations
  4. Developer-Intent Driven Code Comment GenerationFangwen Mu, Xiao Chen, Lin Shi, Song Wang et al.ICSE 2023 · 25 citations
  5. DiscoDVT: Generating Long Text with Discourse-Aware Discrete Variational TransformerHaozhe Ji, Minlie HuangEMNLP 2021 · 17 citations

Builds on3

  1. Plug and Play Language Models: A Simple Approach to Controlled Text GenerationSumanth Dathathri, Andrea Madotto, Janice Lan, Jane Hung et al.ICLR 2020 · 1,166 citations
  2. Dense Passage Retrieval for Open-Domain Question AnsweringVladimir Karpukhin, Barlas Oguz, Sewon Min, Patrick Lewis et al.EMNLP 2020 · 142 citations
  3. Large Scale Multi-Actor Generative Dialog ModelingAlex Boyd, Raul Puri, Mohammad Shoeybi, Mostofa Patwary et al.ACL 2020 · 1 citation

Related papers

  1. Multi-Stage Prompting for Knowledgeable Dialogue GenerationZihan Liu, Mostofa Patwary, Ryan Prenger, Shrimai Prabhumoye et al.ACL Findings 2022 · 45 citations
  2. RSA-Control: A Pragmatics-Grounded Lightweight Controllable Text Generation FrameworkYifan Wang, Vera DembergEMNLP 2024 · 2 citations
  3. A Controllable Model of Grounded Response GenerationZeqiu Wu, Michel Galley, Chris Brockett, Yizhe Zhang et al.AAAI 2021 · 89 citations
  4. Stylized Story Generation with Style-Guided PlanningXiangzhe Kong, Jialiang Huang, Ziquan Tung, Jian Guan et al.ACL Findings 2021 · 24 citations
  5. Text Generation with Diffusion Language Models: A Pre-training Approach with Continuous Paragraph DenoiseZhenghao Lin, Yeyun Gong, Yelong Shen, Tong Wu et al.ICML 2023 · 107 citations
Dusk over the sea between two cliffs drawn in fine vertical lines