Editor’s introduction
The study evaluates a model that converts image sequences into visual embeddings and uses a sequence of question-answer pairs as a narrative blueprint. Raters assessed stories across dimensions including relevance, fluency, coherence, and interestingness, with the blueprint-based model showing superior performance compared to state-of-the-art planning and baseline systems. The evaluation included human-written ground truth stories for benchmarking. However, the model has limitations: visual concepts may not always align clearly with text, and hallucinations can occur when visual features are misidentified. The study relies on human ratings and does not fully address semantic fidelity or grounding accuracy in all cases.
Introduction
Visual storytelling is commonly modeled as a two-stage process. The image sequence is first encoded into a representation which typically includes image embeddings and detected objects. Subsequently, a decoder generates a story token by token based on the encoding of the image sequence. Recent work has mainly focused on enhancing the first stage of the generation process e.g., by leveraging external knowledge sources. Advanced representations for image sequences have also been explored, such as scene graphs and story graphs. Despite recent progress, these methods struggle to produce meaningful narratives, are prone to hallucination and repetition, often generate vague sentences, and have difficulty identifying salient visual concepts.
We fine-tune pretrained language models to generate blueprints from image sequences and the stories based on them. We showcase two types of storytelling models, which vary in how the planning mechanism is implemented. A top-down model generates the blueprint first and then continues to generate the corresponding story in one go, whereas an integrated model interleaves planning with text generation rather than determining a plan in advance; generation is iteratively conditioned on the image input, the blueprint and the story generated so far. Experiments on the VIST benchmark show that blueprint-based models generate more coherent, interesting, and human-like stories compared to the state of the art and large language models (LLMs) like GPT-3.5, according to automatic and human evaluation.
Visual Storytelling
A cited study introduced visual storytelling as a vehicle for developing AI tools with human-like understanding of grounded event structure and linguistic abilities that go beyond descriptive language. While earlier work employed simple encoder-decoder architectures (using CNNs to extract visual features and RNNs to generate text), more recent methods leverage external resources (e.g., ConceptNet) as a way of instilling commonsense reasoning skills. Sometimes, scene graphs are also used to model relations between objects. To our knowledge, none of these approaches make use of plan-based decoding. construct a graph representing the image sequence (based on training data and external resources) and identify the highest scoring path as the best storyline encapsulated therein. The storyline can be viewed as a form of planning, however, on the encoder side.
Most existing approaches train Transformer models from scratch, with the exception of, who employ a vanilla BART model as a baseline without task-specific adaptation. In contrast, our work leverages the language modeling and generalization capabilities of pretrained language models for visual storytelling.
Planning and Generation
In the domain of automatic story generation, planning has been effective at capturing the content and structure of stories. The generation process is often decomposed into two stages, namely planning an outline and then elaborating on it, e.g., by filling in specific details of a story. Plans have been represented as a sequence of event or phrase keywords, character actions, plot structures, and more elaborate descriptions including details about the setting of the story, its characters, and main plot points.
The idea of having a separate planning stage has also been explored for other text generation tasks including summarization and data-to-text generation. Our work is closest to who propose the use of question-answer pairs as intermediate plans for summarization. However, their approach is designed for descriptive text. Our work extends their framework to a multimodal setting, where the input consists of image sequences, and the output are narratives characterized by more abstract and figurative language.
Blueprint Annotation
The generation of question-answer pairs involves two steps, namely answer extraction and question generation. In the context of storytelling, capturing key events is crucial for a compelling narrative. While noun phrases and named entities are commonly recognized as significant content units in other tasks such as summarization, verb phrases also play a vital role in conveying story dynamics, actions, and relationships. Therefore, in addition to named entities and noun phrases, we also extract verb phrases as answer candidates using the spaCy library.
We then generate questions for answer candidates with a T5 model fine-tuned on the SQuAD reading comprehension dataset. The answer and the story are provided as context to predict the corresponding question. We decontextualize stories by replacing pronouns with their corresponding head mentions, using a state-of-the-art coreference resolution model.
Question-answer pairs are subsequently filtered to eliminate noise which is unavoidable due to the automatic preprocessing steps mentioned above. We thus remove any question-answer pairs where the answer is already present in the question. We also employ a round-trip consistency check which discards questions if they yield answers different from those used to generate them.
Blueprint Models
Our approach leverages the generation capabilities of pre-trained sequence-to-sequence models. As our backbone model, we employ BART-base which has been fine-tuned for text generation. We adapt this model to our visual storytelling task in two ways. Aside from enabling the generation of blueprints, we convert the image sequence to a visual prefix which the pretrained language model can interpret. The pretrained language model is prompted with this prefix to generate the blueprint, and eventually the story.
Iterative Planning
This model employs an incremental generation strategy to create the story. Rather than generating in one step a global blueprint and the story, planning and generation are interleaved. At each time step, the iterative model considers the image sequence and context from previous steps, including the blueprint and story generated so far. We gradually construct the blueprint and its corresponding story sentence-by-sentence; our planning is informed by generation and vice versa, which we argue should be mutually beneficial (they are conditioned on each other).
Comparison Systems
We compared our models against several baselines and state-of-the-art visual storytelling models. These included a vanilla BART-base model with the same encoder and visual prefix as ours but no planning (VP-BART; it generates the story directly in an autoregressive manner without the blueprint). KG-Story predicts a set of words representative of the image sequence, enriches them using external knowledge graphs, and generates stories based on the enriched word set. PR-VIST is a state-of-the-art model which constructs a graph representing the relations between elements in the image sequence, identifies the best storyline captured therein, and proceeds to generate a story based on it. The process of constructing the story graph can be viewed as a form of planning. Along similar lines, build a common sense knowledge graph capturing concepts in the image sequence, and use MCSM, a Maximal Clique Selection Module to identify which ones to write a story about. They use BART-large to generate the story based on selected concepts (and image features).
We also compared against an LLM that generates stories via prompting. We provide GPT-3.5 with a visual prefix, namely the concepts identified in the image sequence, and a prompt which explains how to create the blueprint and generate the story together with examples (in-context learning). Details on the prompt can be found in Appendix A.
Automatic Evaluation
We evaluated our stories using BLEU, ROUGE, METEOR, and CIDER, mainly to compare to previous work. Several studies have demonstrated the inadequacy of lexical matching metrics: they correlate poorly with human judgments, and not do effectively measure the semantic similarity to human-written stories or the lexical richness of the generated stories.
We further employ story-specific metrics to assess story quality aspects such as diversity, fluency, naturalness, and grounding. Specifically, we use two types of trigram repetition metrics. Intra-story repetition is a fluency metric, it measures the proportion of trigrams repeated within a story. Inter-story repetition examines trigram repetition across stories. This metric evaluates diversity, high intra-story repetition suggests that the model tends to generate the same story even when conditioned on different image sequences. We also use MAUVE to measure the naturalness of the generated stories. MAUVE is a recently introduced automatic metric for open-ended generation which has high correlation with human judgements. It computes the similarity of the distribution of human-written text and machine-generated text.
To quantify the extent to which the generated story is grounded, i.e., whether it accurately represents the content of the image sequence, we measure concept precision and recall. Precision measures the number of words in the generated story that align with the detected concept set, while recall assesses the number of words in the detected concept set that are present in the generated story.
Finally, for our own models we also evaluate whether the generated stories are faithful to their blueprint. Drawing inspiration from recent studies on summary evaluation, we measure how well the generated story answers questions from the predicted blueprint. We utilize a RoBERTa-based QA model finetuned on the SQuAD dataset.
Pretrained Language Models Produce Better Stories
We observe that models based on pretrained language models (i.e., our models and MCSM, outperform models trained from scratch (i.e., KG-Story and PR-VIST) in terms of trigram-repetition scores and MAUVE. This indicates that we can maintain strong language modeling capabilities while enabling pretrained language models to process visual signals effectively.
The Visual Prefix is an Effective Interface between Image and Text
MCSM is the only existing model that utilizes a pretrained language model for visual storytelling. However, our baseline model (VP-BART) demonstrates superior performance in most story-specific metrics. Remarkably, this is achieved using a smaller pretrained model (BART-base, 140M parameters); MCSM is built on top of BART-large (400M parameters). This highlights the effectiveness of our visual prefix, indicating it successfully translates the image sequence into a space that BART can understand.
Blueprint Models are Most Grounded
Our models outperform comparison systems in terms of concept grounding. This confirms that an intermediate planning step allows the model to effectively select salient concepts based on the visual prefix. The top-down model in particular achieves the highest concept grounding recall, it stays close to the image sequence, accurately describing the information conveyed therein. The higher lexical matching scores further support this observation. The iterative blueprint model achieves the best concept grounding precision (excluding GPT-3.5 models) which in turn suggests that the stories generated by this model exhibit a stronger grounding to the images with fewer hallucinations.
The Iterative Model Generates Most Natural and Faithful Stories
Despite not achieving the highest scores in lexical matching metrics, the iterative blueprint model stands out in terms of MAUVE evaluation. Compared to other models, it generates more natural stories, closer to those written by humans. This finding suggests that humans might employ a similar iterative planning strategy, at least for the short stories considered here; they construct a narrative gradually rather than a global plan which they subsequently convert into a story.
GPT-3.5 Struggles with Blueprints
We also compared our approach to GPT-3.5, which we adapted to our task with in-context learning. A GPT-3.5 model enhanced with blueprints performs well at concept grounding, i.e., it generates stories which talk about what is depicted in the image. However, these stories are neither human-like (see the very low MAUVE score) nor faithful to the intermediate blueprints (in fact they are 10% less faithful compared to our iterative model). This suggests that GPT-3.5 tends to ignore the plan, despite being explicitly prompted with blueprints.
Human Evaluation
We conducted a judgment elicitation study to further evaluate the stories generated by our models. Specifically, we compared the best performing blueprint model (iterative) and three other systems: (a) PR-VIST, which represents the current planning-based state of the art; (b) VP-BART, our proposed model without blueprints; and (c) ground truth stories written by humans. Raters were shown an image sequence, alongside two stories and were asked to provide pairwise references along the following dimensions: Relevance, Fluency, Coherence, Interestingness, and Overall. The full instructions are given in Appendix A. We recruited nine native English speakers and elicited preferences for 100 stories (three judgments per story).
The blueprint model excels in terms of interestingness and grounding, indicating its effectiveness in creating engaging and memorable stories. Our model’s superior grounding performance aligns with our hypothesis that blueprints serve not only as a planning strategy but also as a visual concept selector. This is due to the way blueprints are structured (as answer-question pairs), which explicitly forces the model to first identify salient visual concepts and then generate questions based on them.
Limitations
While our proposed model demonstrates effective story generation, it has certain limitations. Firstly, the grounding relation between the visual concepts and the corresponding text may not always be clear, leading to potential ambiguity in the generated stories. Furthermore, the model can sometimes suffer from hallucinations due to falsely detected visual concepts.
It is worth noting that our model was built on top of BART-base. It would be beneficial to investigate the performance of larger models, as they could potentially enhance the quality of the planning component and overall storytelling capability.
Large Language Models
This paper uses large pretrained language models, which have been shown to be subject to a variety of biases, to occasionally generate toxic language, and to hallucinate content. Model output used for the human evaluation study (Section 6) was screened by the authors for harmful content.
Experimental Participants
The departmental ethics panel judged our human evaluation study to be exempt from ethical approval, as all participants were employees of the University of X, and as such were protected by employment law. Participants were paid at the standard hourly rate for tutors and demonstrators at the university.
Evaluation Procedure
We initially conducted a pilot study, based on which we devised our instructions. Subsequently, 100 image sequences were randomly selected from the test set, leading to a total of 300 pairwise comparisons. We employed the expertise of 9 native speakers who triple-annotated the 300 pairwise comparisons, resulting in a total of 900 judgments.
Relevance
Relevance captures whether the sentences in the stories relate to the input images. For each sentence, if the sentence accurately describes the content of a specific image (i.e., not imagining something that does not exist in the image), it will be marked as relevance. Otherwise, if the sentence does not correspond to an image or is too vague, it will be not marked as relevance.
Coherence
Coherence assesses whether the story makes sense. A coherent story flows well, the sentences are related, and logically connected. In contrast, an incoherent story would be more or less incomprehensible, without any logical connection between its sentences.


