Knowledge-Enriched Attention Network With Group-Wise Semantic for Visual Storytelling

Tengpeng Li, Hanli Wang, Bin He, Chang Wen Chen

TL;DR

This paper introduces KAGS, a novel end-to-end framework for visual storytelling that generates coherent multi-sentence stories from image sequences. KAGS enhances story generation by incorporating external knowledge and capturing global semantic consistency, leading to more imaginative and contextually rich narratives than previous methods.

What Problem Does This Paper Address?

Visual storytelling, the task of generating a narrative from a sequence of images, is challenging because existing methods often focus on superficial image content and struggle to capture the implicit information, long-range dependencies, and global coherence needed for a fluent and imaginative story. This can result in rigid, disconnected, or uninspired descriptions. The paper aims to bridge this gap by developing a model that can leverage external knowledge and understand the overall context of an image sequence to produce more engaging and meaningful stories.

Methods

The proposed Knowledge-Enriched Attention Network with Group-Wise Semantic (KAGS) model is an end-to-end encoder-decoder framework with three key novel components:

  • Knowledge-Enriched Attention Network (KAN): This component extracts semantic labels and regional features from input images using a Faster-RCNN and ResNet backbone. It then leverages external knowledge graphs (like ConceptNet) to enrich these semantic labels with commonsense concepts. A cascade cross-modal attention (CCA) mechanism is employed to model dense interactions between visual and knowledge concepts, enabling the capture of both intra- and inter-modal correlations and enhancing feature representations.
  • Group-Wise Semantic Module (GSM): To address the lack of global consistency in image sequences, the GSM captures topic-aware global context. It utilizes a novel second-order pooling (SOP) technique to compute dense semantic interactions within convolutional features, regardless of their spatial positions. This module aggregates features from the entire image group to generate a global-visual aggregation vector, ensuring a coherent storyline.
  • Multi-modal Story Decoder: This component takes the enhanced knowledge concepts, attentive regional-visual features, and the global-visual aggregation vector as input. It uses a two-stream structure combining cross-attention (CA) and Long Short-Term Memory (LSTM) to reason about regional and global visual information, respectively, and then generates the story sentence by sentence.

Datasets

The primary dataset used for training and evaluation is the VIST (Visual Storytelling) dataset. This dataset is described as customized for visual storytelling, containing a large number of images and "Flicker albums" (groups of images). The paper notes that VIST is challenging due to the subjective nature of story descriptions, requiring emotional and imaginative concepts beyond explicit image content. For training, the dataset was preprocessed by removing broken photos, resulting in 40,098 training groups, 4,988 validation groups, and 5,050 testing groups, each typically consisting of 5 images and corresponding to one sentence.

Key Insights and Ideas

  • Bridging the "Imagination Gap": The core insight is that visual storytelling requires more than just describing what's visible. Incorporating external commonsense knowledge (via KAN) allows the model to infer implicit meanings, emotions, and relationships, leading to more imaginative and human-like narratives.
  • Global Coherence is Crucial: Simply processing images individually or sequentially isn't enough. The GSM's ability to capture long-range dependencies and global semantic consistency across an entire image sequence is vital for generating a coherent and flowing story, preventing disjointed descriptions.
  • End-to-End Learning for Synergy: By unifying the knowledge enrichment, semantic aggregation, and story generation modules into a single end-to-end framework, KAGS allows for joint optimization. This synergy ensures that each component learns to best support the others, leading to superior overall performance.
  • Second-Order Pooling for Richer Semantics: The novel SOP technique in GSM is key to capturing complex, non-linear feature interactions, which are essential for understanding the global context of an image group.

Key Results

  • Automatic Metrics: KAGS significantly outperforms state-of-the-art methods on the VIST dataset across multiple automatic evaluation metrics, including BLEU-1 (70.1), BLEU-2 (43.5), BLEU-3 (25.2), METEOR (36.2), ROUGE_L (31.4), and CIDEr (11.3). It achieves the best scores in six out of seven metrics, surpassing strong baselines like SGVST and IRW.
  • Qualitative Results: Visual comparisons demonstrate KAGS's ability to generate more emotional, imaginative, coherent, and accurate descriptions. For instance, KAGS can correctly infer emotions like "excited" for a graduation ceremony and capture the overall theme of an event, whereas other methods might provide generic or irrelevant descriptions.
  • Human Evaluation: Human evaluators rated KAGS stories as superior in terms of choice, relevance, expressiveness, and concreteness compared to XE-ss, AREL, VSCMR, and IRW. KAGS stories were found to better capture the storyline, produce imaginative words, and provide concrete descriptions, aspects often missed by automatic metrics.
  • Ablation Studies: Experiments show that removing KAN or GSM individually leads to significant performance degradation, highlighting the importance of both components. The full KAGS model, incorporating both KAN and GSM, consistently achieves the best results.

Limitations and Future Work

  • Limitations: The authors acknowledge that while KAGS significantly improves storytelling, there's still a gap between its generated stories and those of human storytellers, particularly in capturing nuanced human language styles and handling complex scenarios with multiple interwoven storylines or significant interference.
  • Future Work: The authors plan to explore:
  • Investigating reinforcement learning rewards correlated with human evaluation to further enhance natural expression.
  • Developing more effective frameworks for visual storytelling in complex, realistic scenarios with substantial interference.
  • Generating dense visual storytelling for image sequences that contain multiple storylines.

Summary updated

BibTeX
@article{li2023knowledge,
  author = {Tengpeng Li and Hanli Wang and Bin He and Chang Wen Chen},
  title = {{Knowledge-Enriched Attention Network With Group-Wise Semantic for Visual Storytelling}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2022.3230934},
}
Figure