What Makes A Good Story? Designing Composite Rewards for Visual Storytelling

Junjie Hu, Yu Cheng, Zhe Gan, Jingjing Liu, Jianfeng Gao, Graham Neubig

Introduction

Visual storytelling represents a significant advancement over standard image captioning. While captioning focuses on describing a single image in isolation, visual storytelling requires a model to interpret a sequence of images—a photo stream—and generate a cohesive, engaging narrative. This task demands not only visual recognition but also an understanding of narrative flow and thematic consistency.

The Limitations of Standard Metrics

Historically, visual storytelling models have been trained using Maximum Likelihood Estimation (MLE) or fine-tuned via Reinforcement Learning (RL) to optimize for standard translation metrics like BLEU, ROUGE, or CIDEr. However, these metrics are often poor proxies for human judgment in creative writing. Because they rely on n-gram overlap, models can "game" these metrics by generating safe, generic, and highly repetitive phrases. This often leads to a phenomenon known as mode collapse, where the model defaults to boilerplate text like "we had a great time" to maximize its statistical score at the expense of narrative quality.

Comparison between a story optimized for BLEU (BLEU-RL) and a human reference, illustrating the repetition problem.

The ReCo-RL Framework

To bridge the gap between automatic metrics and human perception, the authors introduce ReCo-RL. This framework utilizes a hierarchical encoder-decoder architecture designed to manage the complexity of multi-image narratives.

At its core, the system uses a ResNet-101 encoder to extract visual features ($v_1, v_2, ...$) from the photo stream. The decoder is split into two specialized components:

  • The Manager (RNN): This high-level controller looks at the entire sequence of images and previous sentences to output a sentence-level "goal vector" ($g_t$).
  • The Worker (RNN): This component takes the goal vector and generates the actual words of the sentence step-by-step.
Overview of the ReCo-RL hierarchical architecture and the composite reward components.

Designing Composite Rewards

The primary innovation of ReCo-RL is its use of a composite reward function during RL fine-tuning. Instead of optimizing for a single metric, the model is rewarded for three pillars of a good story:

  1. Relevance: To ensure the story is grounded in the images, the model is rewarded for generating n-grams that match high-frequency entities (identified via POS tagging) found in human reference stories.
  2. Coherence: To ensure logical flow, the authors repurpose a pre-trained BERT model. By fine-tuning BERT on a Next Sentence Prediction (NSP) task, they use its output probability as a reward signal to encourage smooth transitions between adjacent sentences.
  3. Expressiveness: To prevent repetitive "safe" phrases, this reward penalizes n-gram overlap between the current sentence and all previously generated sentences in the story, forcing the model to use a more diverse vocabulary.

Experimental Results

The model was evaluated on the Visual Storytelling (VIST) dataset, which contains over 210,000 photos organized into Flickr albums.

Quantitative Performance

While a baseline optimized purely for BLEU (BLEU-RL) achieved a higher BLEU-4 score (14.4 vs. 12.4), ReCo-RL significantly outperformed all baselines on the authors' targeted metrics for Relevance, Coherence, and Expressiveness. This highlights the trade-off between traditional n-gram metrics and qualitative storytelling traits.

Human Evaluation

In pairwise comparisons conducted via Amazon Mechanical Turk, human judges overwhelmingly preferred ReCo-RL over the state-of-the-art AREL baseline. ReCo-RL was judged superior in Relevance (62.2% vs 27.6%), Coherence (58.7% vs 31.3%), and Expressiveness (58.6% vs 32.4%). The resulting stories were found to be more natural, better at tracking subjects across frames, and free from the repetitive boilerplate text common in earlier models.

Conclusion and Future Work

ReCo-RL demonstrates that breaking down the concept of a "good story" into computable heuristics—Relevance, Coherence, and Expressiveness—allows RL to effectively bridge the gap between statistical training and human-like generation. While currently limited by its reliance on reference-based relevance, future iterations may incorporate direct visual grounding. The authors intend to apply this composite reward framework to other complex generation tasks, such as table-to-text and prompt-based storytelling.

Summary updated

BibTeX
@inproceedings{hu2020what,
  author = {Junjie Hu and Yu Cheng and Zhe Gan and Jingjing Liu and Jianfeng Gao and Graham Neubig},
  title = {{What Makes A Good Story? Designing Composite Rewards for Visual Storytelling}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i05.6305},
}
Figure