Every picture tells a story: Image-grounded controllable stylistic story generation

Holy Lovenia, Bryan Wilie, Romain Barraud, Samuel Cahyawijaya, Willy Chung, Pascale Fung · DOI

Introduction

While AI has made significant strides in factual image captioning, generating a creative, stylized narrative from a single image remains a complex challenge. Researchers from HKUST have introduced the Plug-and-Play Story Teller (PPST) framework to bridge this gap. Unlike traditional models that require massive datasets of paired images and stories, PPST leverages pre-trained visual and language models to generate coherent, image-grounded stories in specific genres like action or romance.

The authors identify three primary hurdles in this field:

  1. Data Scarcity: High-quality datasets pairing images with full-length stories are rare.
  2. Coherence: Long-form AI-generated text often lacks logical consistency.
  3. Stylistic Control: Maintaining a specific "voice" (e.g., a gritty thriller) while staying grounded in visual cues is difficult.

The PPST Framework

The PPST architecture is modular and "plug-and-play," designed to avoid the computational cost of retraining large-scale models.

The PPST framework architecture, showing the visual encoder, mapping network, and stylistic story decoder.

The system consists of three main components:

  • Visual Encoder: Utilizes CLIP to extract semantic embeddings from the input image.
  • Mapping Network: A small network that translates CLIP’s visual features into a "visual prefix"—a prompt format that the language model can interpret.
  • Stylistic Decoder: This component uses Plug-and-Play Conversational Model (PPCM) adapters. These are lightweight, trainable layers inserted into a pre-trained GPT-2 model, allowing the model to adopt a specific style without fine-tuning the entire multi-billion parameter model.

Training without Paired Data

A key innovation of PPST is its ability to learn content and style separately. To overcome the lack of image-story pairs, the researchers used:

  • MS-COCO: A standard image-captioning dataset to train the mapping network to recognize visual objects and actions.
  • BookCorpus: A collection of over 11,000 books. The authors filtered this into 16 genres, specifically using Romance and Action passages to train the stylistic adapters.

By decoupling content (learned from captions) and style (learned from books), the model can synthesize a stylized narrative for an image it has never seen in a story context.

Evaluation and Results

The PPST framework was compared against the Image2Story baseline using both automatic metrics and human evaluation.

Human evaluation results for image-story relevance across different PPST variants and the baseline.

Automatic metrics showed that PPST variants significantly outperformed the baseline. In terms of CLIPScore (measuring text-image alignment), the Action-styled PPST achieved 69.21, compared to the baseline's 59.95.

Human evaluations further validated these results:

  • Relevance: The Action-styled model achieved a high relevance score of 3.5/5, indicating successful grounding of the narrative in the image.
  • Coherence: The "Non-styled" PPST was rated most coherent (3.12/5), suggesting a trade-off where heavy stylistic constraints can slightly impact logical flow.
  • Style Fitness: The model was more effective at capturing the "Action" vibe (2.78/5) than "Romance" (1.91/5), likely because action writing relies on high-energy verbs that are easier to extract than the subtle emotional context of romance.

Limitations and Future Directions

While PPST represents a significant step forward, it still faces challenges common to large language models, such as occasional "hallucinations" or repetitive text. The intensity of the style can also vary, as the adapters were trained on general book paragraphs that may not always be "genre-heavy."

Future research will focus on hierarchical planning to improve long-term coherence, enhancing the model's understanding of cause-and-effect, and moving beyond broad genres to specific authorial voices.

Summary updated

BibTeX
@inproceedings{lovenia2022every,
  author = {Holy Lovenia and Bryan Wilie and Romain Barraud and Samuel Cahyawijaya and Willy Chung and Pascale Fung},
  title = {{Every picture tells a story: Image-grounded controllable stylistic story generation}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2022},
}
Figure