Hierarchical Photo-Scene Encoder for Album Storytelling

Bairui Wang, Lin Ma, Wei Zhang, Wenhao Jiang, Feng Zhang

Abstract

Generating coherent narrative stories from photo albums is a complex task that requires understanding both individual image content and the broader temporal context of scenes. We present a hierarchical model developed by researchers from Shandong University and Tencent AI Lab. The framework utilizes a dual-level encoder—processing both individual photos and detected scenes—coupled with a reconstructor that ensures semantic grounding by mapping text back to visual features. Evaluating on the Visual Storytelling (VIST) dataset, our model (HPSR) achieves state-of-the-art results, demonstrating significant improvements in narrative consistency and visual relevance.

Introduction

While computer vision has made significant strides in image captioning—the task of describing the literal contents of a single image—album storytelling presents a much greater challenge. Unlike captioning, storytelling requires a model to synthesize a sequence of images into a coherent narrative.

Comparison between Album Storytelling and Image Captioning tasks.

In a typical photo album, images may be redundant or highly diverse. A successful narrative must identify "scenes," maintain logical flow between sentences, and generate "filler" sentences that provide narrative closure (e.g., "What a great ending to a great day!"). Existing models often struggle with the visual variance between photos and fail to maintain long-term coherence across a multi-sentence story.

Methodology

The proposed framework, Hierarchical Photo-Scene encoder + Reconstructor (HPSR), consists of three primary components designed to bridge the gap between visual data and narrative text.

1. Hierarchical Photo-Scene Encoder

The encoder operates at two distinct levels to capture both granular and global information:

  • Photo Encoder: Utilizes a ResNet-101 CNN to extract visual features, followed by a bidirectional Gated Recurrent Unit (Bi-GRU) to capture temporal relationships across the sequence of photos.
  • Scene Encoder: This component acts as a "scene detector" using a linear classifier to identify semantic discontinuities (boundaries) between photos. When a boundary is detected, a GRU summarizes the photos within that scene into a single representation, allowing the model to understand the album as a series of broader events rather than just isolated frames.

2. Attentive Decoder

The decoder employs an attention mechanism that dynamically weighs both individual photo representations and broader scene representations. This dual-level attention allows the model to decide when to focus on specific visual details and when to generate more general narrative transitions.

3. The Reconstructor

To ensure the generated text remains grounded in the visual input, the authors introduced a reconstructor based on "dual learning" principles. After the decoder generates a story, the reconstructor attempts to reproduce the original visual representations from the decoder's hidden states. This process acts as a powerful regularizer, preventing the model from "hallucinating" details unrelated to the photos.

Experimental Setup

The model was evaluated on the Visual Storytelling (VIST) dataset, which contains approximately 10,000 albums and 200,000 unique photos. Each album consists of five sequential photos paired with five human-written stories. Unlike standard captioning datasets like MS-COCO, VIST emphasizes narrative flow, social context, and emotional resonance.

Results and Discussion

The HPSR model outperformed previous state-of-the-art baselines across all standard evaluation metrics on the VIST dataset:

  • CIDEr: Achieved a score of 8.03, a significant improvement over the previous best of 7.38.
  • METEOR: Reached 34.43, indicating a high degree of alignment with human-like language.
  • BLEU-3/4: Showed consistent gains, reflecting better local phrase matching.

Qualitative analysis revealed that HPSR produces more specific and contextually aware stories. For instance, while baseline models might repetitively describe general happiness, HPSR can identify specific sub-events, such as "cutting the cake" during a wedding sequence.

Conclusion

By explicitly modeling scenes and employing a reconstructor for semantic grounding, the HPSR framework significantly advances the state of the art in album storytelling. While the scene detector remains sensitive to extreme visual variance, the hierarchical approach provides a robust foundation for future work in automated narrative generation. Future research may involve incorporating external knowledge bases to further enhance the model's understanding of complex social activities.

Summary updated

BibTeX
@inproceedings{wang2019hierarchical,
  author = {Bairui Wang and Lin Ma and Wei Zhang and Wenhao Jiang and Feng Zhang},
  title = {{Hierarchical Photo-Scene Encoder for Album Storytelling}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  doi = {10.1609/aaai.v33i01.33018909},
}
Figure