Skip to main content
QUICK REVIEW

[Paper Review] MEGATRON-CNTRL: Controllable Story Generation with External Knowledge Using Large-Scale Language Models

Peng Xu, Mostofa Patwary|arXiv (Cornell University)|Oct 2, 2020
Topic ModelingComputer Science34 references12 citations
TL;DR

This paper proposes Megatron-Cntrl, a controllable story generation framework that integrates external knowledge via keyword-driven retrieval and contextual ranking to improve fluency, coherence, and control. By scaling from 124M to 8.3B parameters, the model achieves 93.0% consistency and 91.5% controllability in human evaluation, outperforming prior work on the ROC Story dataset.

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 ground-truth 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%).

Motivation & Objective

  • Address the lack of controllability and knowledge integration in large pre-trained language models for story generation.
  • Enable dynamic, fine-grained control over story generation using interpretable keywords derived from context.
  • Improve story quality by incorporating relevant external knowledge through a multi-stage framework.
  • Demonstrate that scaling large language models enhances both generation quality and controllability.

Proposed method

  • Use a keyword predictor to generate interpretable keywords for the next story sentence based on the current context.
  • Retrieve knowledge triples from an external knowledge base using the predicted keywords.
  • Apply a contextual knowledge ranker to filter and re-rank retrieved knowledge based on relevance to the story context.
  • Use weak supervision from sentence embeddings to train the knowledge ranker without ground-truth labels.
  • Condition the text generator on both the context and top-ranked knowledge sentences to produce coherent, knowledge-grounded story continuations.
  • Scale the model from 124M to 8.3B parameters to study the impact of model size on quality and controllability.

Experimental results

Research questions

  • RQ1Can external knowledge be effectively and dynamically incorporated into large language models to improve story generation quality?
  • RQ2To what extent can keyword-based control guide story generation while maintaining coherence and fluency?
  • RQ3How does model scaling affect both the quality of generated stories and the degree of controllability?
  • RQ4Can weak supervision from sentence embeddings effectively train a contextual knowledge ranker without ground-truth labels?

Key findings

  • Megatron-Cntrl generates stories with 74.5% consistency at 124M parameters, improving to 93.0% at 8.3B parameters.
  • Human evaluation shows 91.5% of stories are successfully controlled when keywords are replaced with their antonyms.
  • The model reduces repetition and increases diversity compared to prior state-of-the-art methods on the ROC Story dataset.
  • Controllability and story quality both improve significantly with model scaling, demonstrating a strong correlation between size and performance.
  • The contextual knowledge ranker, trained with weak supervision from sentence embeddings, effectively filters noisy knowledge and improves relevance.
  • The framework enables dynamic, fine-grained control over story generation through interpretable keywords, with successful antonym-based control in 77.5% of cases at 124M parameters and 91.5% at 8.3B parameters.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.