Mohit Bansal, Darryl Hannan, Adyasha Maharana
We lifted 3 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| adymaharana/storydalle | — | 2 of 3 |
| Function | Status | Where it lives |
|---|---|---|
| Block | Ran | adymaharana/storydalle/story-dalle/dalle/models/stage2/transformer.py code served (permissive licence) · get_code("5f34dd7c6d84070b") |
| MultiHeadSelfAttention | Ran | adymaharana/storydalle/story-dalle/dalle/models/stage2/transformer.py code served (permissive licence) · get_code("c354cf95a9627777") |
| Transformer1d | Not yet run | adymaharana/storydalle/story-dalle/dalle/models/stage2/transformer.py code served (permissive licence) · get_code("b446857df78ea96c") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Recent advances in text-to-image synthesis have led to large pretrained transformers with excellent capabilities to generate visualizations from a given text. However, these models are ill-suited for specialized tasks like story visualization, which requires an agent to produce a sequence of images given a corresponding sequence of captions, forming a narrative. Moreover, we find that the story visualization task fails to accommodate generalization to unseen plots and characters in new narratives. Hence, we first propose the task of story continuation, where the generated visual story is conditioned on a source image, allowing for better generalization to narratives with new characters. Then, we enhance or 'retro-fit' the pretrained text-to-image synthesis models with task-specific modules for (a) sequential image generation and (b) copying relevant elements from an initial frame. We explore full-model finetuning, as well as prompt-based tuning for parameter-efficient adaptation, of the pretrained model. We evaluate our approach StoryDALL-E on two existing datasets, PororoSV and FlintstonesSV, and introduce a new dataset DiDeMoSV collected from a video-captioning dataset. We also develop a model StoryGANc based on Generative Adversarial Networks (GAN) for story continuation, and compare with the StoryDALL-E model to demonstrate the advantages of our approach. We show that our retro-fitting approach outperforms GAN-based models for story continuation. We also demonstrate that the 'retro-fitting' approach facilitates copying of visual elements from the source image and improved continuity in visual frames. Finally, our analysis suggests that pretrained transformers struggle with comprehending narratives containing multiple characters, and translating them into appropriate imagery. Our work encourages future research into story continuation and largescale models for the task.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2209.06192")
get_code_for_paper("2209.06192")
have("2209.06192")
Connect an agent — have() is free.