跳到正文
论文阅读馆THE RESEARCH LIBRARY 查找论文
← 论文库AI 研究与应用 / 绘本与图像一致性导出 ↗

PAPER / 2024

StoryImager:一致的故事可视化与补全的统一高效框架

StoryImager: A Unified and Efficient Framework for Coherent Story Visualization and Completion

Ming Tao · Bing-Kun Bao · Hao Tang · Yaowei Wang · Changsheng Xu

ECCV · 2024

30 秒读懂

系统把故事画面组织成storyboard,并用Target-Mask标记需要生成的位置。训练时只给目标画面的潜变量加噪声,在这些位置计算去噪损失;未遮住的图保留为视觉条件。全部遮住对应从文字生成,保留首帧对应续写,保留其他已知帧则可以补缺。掩码改变的是已知条件,不能把这些任务的分数当成相同难度的比较。

把故事逐帧画出来,容易出现前后人物和场景不一致,也不方便利用后面已经存在的画面补前面的空缺。StoryImager希望用同一框架处理从文字生成故事图、给定画面续写和补齐缺失画面,而不是为每一种任务单独维护模型。这里的输出是故事图像序列,不是连续视频。

先说结论

StoryImager用目标画面掩码把生成、续写和补缺统一起来,再结合局部文字与全局故事特征生成连贯故事图。效率优势来自论文设置下的统一框架,不能误读成双卡训练降为单卡。 (原文:PDF p.2, Introduction;PDF p.7, Section 3.3;PDF p.8, Section 3.4; Figure 4;PDF p.10, experimental setup;PDF p.11, Table 1;PDF p.12, Table 2;PDF p.10, Section 4.1; Implementation Details)

论文为什么要做这件事

把故事逐帧画出来,容易出现前后人物和场景不一致,也不方便利用后面已经存在的画面补前面的空缺。StoryImager希望用同一框架处理从文字生成故事图、给定画面续写和补齐缺失画面,而不是为每一种任务单独维护模型。这里的输出是故事图像序列,不是连续视频。 (原文:PDF p.2, Introduction)

核心方法到底怎么运转

系统把故事画面组织成storyboard,并用Target-Mask标记需要生成的位置。训练时只给目标画面的潜变量加噪声,在这些位置计算去噪损失;未遮住的图保留为视觉条件。全部遮住对应从文字生成,保留首帧对应续写,保留其他已知帧则可以补缺。掩码改变的是已知条件,不能把这些任务的分数当成相同难度的比较。 (原文:PDF p.7, Section 3.3)

局部文字和整个故事分别对齐

Frame-Story交叉注意力分成局部与整体两条路径:每幅图对齐自己的文字描述,整个storyboard再与全局故事特征融合。前者帮助当前画面画对内容,后者让不同画面共享上下文。这是生成器内部的信息融合设计,不是额外找一个读完历史的大模型给每张图作判断。 (原文:PDF p.8, Section 3.4; Figure 4)

实验怎样检验这个方法

实验使用Pororo-SV和Flintstones-SV,图像组织成四图storyboard。训练冻结VAE和文字编码器,并在扩散模型上进行适配;模型训练使用八张RTX A6000。该设定研究的是短故事图像,不是长电影生成。 (原文:PDF p.10, experimental setup)

结果说明了什么

Pororo-SV的story visualization设置中,StoryImager的FID是15.63,AR-LDM为16.59;FSD分别为28.13与35.33,低值更好。表内还分别报告continuation与completion。给定首帧和给定其他画面的条件不同,不能挑其中最低的数字就声称在完全相同输入条件下进一步超越基线。 (原文:PDF p.11, Table 1)

效率表不能读成GPU数量

Table 2把AR-LDM列为不同任务对应的两个模型:训练显存38G+38G、时间52h+52h;StoryImager对应一个模型,显存12G、时间30h。这里的加号不能解释成双卡训练变单卡训练。推理列另报AR-LDM 14.5s与StoryImager 8.0s;这是论文给定实现、任务和硬件条件下的效率比较,不是任意长故事的耗时承诺。 (原文:PDF p.12, Table 2)

这篇论文哪里最强,哪里最危险

实现采用四幅画面组成的storyboard,并在Pororo-SV与Flintstones-SV这类特定数据上研究一致性。原文写明模型训练使用八张RTX A6000,不支持把效率表解读成单卡即可复现全部训练。短故事图像实验也没有证明任意长序列、复杂新人物或所有真实场景都能稳定保持一致。 (原文:PDF p.10, Section 4.1; Implementation Details)

读完后记住这三件事

掩码指定哪些图已知、哪些图待生成。局部与全局信息共同指导画面。比较分数先固定输入任务,比较效率要分清模型数、显存和硬件数。 (原文:PDF p.2, Introduction;PDF p.7, Section 3.3;PDF p.8, Section 3.4; Figure 4;PDF p.10, experimental setup;PDF p.11, Table 1;PDF p.12, Table 2;PDF p.10, Section 4.1; Implementation Details)

代码从哪里读

原始来源入口。本轮已打开官方仓库,可见代码与数据目录;README有采样说明,但训练及评估小节信息有限。没有据此宣称完整训练可一键复现。

原文证据

将主张放回条件与原文定位中理解。

定义

为什么不把每幅图单独画完

原文摘录
2 M. Tao, BK. Bao et al. Fig. 1: (a) Existing models adopt the auto-regressive generative approach, which re- stricts usability in many scenarios. And the users need to switch between models to meet their current requirements (b) Our proposed StoryImager unifies different tasks into one model, which is more comprehensive to tackle various generative requirements. beyond generating a single image to generating a sequence of story images, a task referred to as story visualization. Unlike single text-to-image generation, story visualization aims to generate coherent and visually appealing story images based on a sequence of story de- scriptions. The task requires the model to capture the essence of the story and the relationships between different story descriptions and then translate them into realistic images that tell a story in a coherent manner. Some work expanded this task by introducing story continuation to generate subsequent story images based on both given story descriptions and historical frames. The importance of story visualization and continuation lies in its potential applications in enter- tainment, education, and multimedia storytelling. Although impressive results have been presented in previous work [22,26,29], they still suffer from three flaws. First, the capabilities of current models are limited. The autoregressive generative architecture they adopted [22,26,29] only supports frame-by-frame generation due to unidirectional attention. It restricts the applicability of models in scenarios that require referencing future or bidi- rectional frames, such as story backtracking, insertion, and replacement. This limitation prevents users from making arbitrary modifications and extensions based on existing story frames. Second, existing models are trained and inferred independently for different tasks. The current story image generation task in- cludes Story Visualization and Story Continuation. However, existing methods tackle them as two independent tasks. They train two independent models and infer separately. Figure 1(a) shows that independent models require users to store, load, and specify different large models for each requirement. Thus, it increases the complexity of usage and increases hardware requirements. Third, current models introduce large multimodal models such as BLIP [16] to encode history story captions and frames, then stack extracted hidden states directly, as shown in Figure 2(a). The additional large models and stacked long hidden states enlarge the story model and bring an extremely high computing budget. To address the above issues, we propose a novel unified story visualization and completion framework named StoryImager. For the first issue, we further extend the scope of the tasks and categorize them into story visualization and comple- tion based on the different given conditions. Story visualization is only condi- tioned on story captions, whereas story completion is conditioned on both story captions or images provided at any arbitrary frame. The new scope fulfills the synthesis requirements and makes the task more comprehensive. Under the new

条件:仅限本地原始PDF的 Introduction;不同表格与实验不合并

指标:把故事逐帧画出来,容易出现前后人物和场景不一致,也不方便利用后面已经存在的画面补前面的空缺。StoryImager希望用同一框架处理从文字生成故事图、给定画面续写和补齐缺失画面,而不是为每一种任务单独维护模型。这里的输出是故事图像序列,不是连续视频。

原文第 2 页 ↗PDF p.2, Introduction

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

方法

用掩码明确哪些画面要生成

原文摘录
StoryImager 7 3.3 Target Frame Masking Strategy Previous story image generative models focus on story visualization and continu- ation. Story continuation is a variant of story visualization that shares the same goal but incorporates a source frame (i.e., the first frame) to guide the generation of subsequent frames. However, the information in a single source frame is lim- ited, and such a setup restricts the application scenarios of the model. Moreover, existing methods tackle story visualization and continuation as two independent tasks. They train two independent models separately. This not only increases the training burden, but also introduces complexity for users, who must constantly switch between models to meet their specific requirements when generating long story images. Therefore, we extend the story image generative task and introduce the Target Frame Masking Strategy (Target-Mask) for training and inference to unify story visualization and completion. In the forward process, the Target-Mask randomly samples a binary mask m to indicate the desired frames for generation. In the case of story visualization, the mask consists entirely of True, indicating that all frames are target generation frames. For story completion, only the frames requiring completion are marked True in m, while the rest of the frames remain unmasked. This strategy enables us to generate specific frames based on current requirements selectively. Then the Target-Mask applies a masked noising process on the latent of storyboard x. We define x0 = x and only add noise on the latent of masked frames instead of the whole latent: &\tilde {x}_t = \sqrt {\bar {\alpha }_t} x_0 + \sqrt {1-\bar {\alpha }_t}\epsilon \\ \nonumber &x_t = \tilde {x}_t \odot m + x_0 \odot (1-m), where ϵ ∼ N (0, I) and t is the timestep in the forward process. The Target-Mask enables the model to utilize visual information in given story frames and learn to recover masked frames x0 ⊙ m. This ensures that generated frames in the mask m are consistent with the given frames. Following [10] we train a network ϵθ to predict the noise ϵ from the noisy xt : \mathcal {L}_{\text {DM}} = \mathbb {E}_{ \epsilon \sim \mathcal {N}(0, I)}\left [\|m \odot \epsilon - m \odot \epsilon _\theta (x_t, t, s)\|_2^2\right ]. (2) where s is the story caption. The typical training scheme used in stable diffusion is predicting the loss on the whole latent. Since our target is to predict masked story frames according to given frames and story captions, we only calculate the loss on masked frames. In the inference phase, we apply a masked noising process on the target frames in storyboard xT = ϵ ⊙ m + x0 ⊙ (1 − m), where T is the number of sampling steps. The unmasked frames are kept from the denoising process at each step. Then we reverse the diffusion process and obtain the completed storyboard x0 . By incorporating Target-Mask, our approach enhances the flexibility and adaptability of the model for both story visualization and completion tasks. It allows us to generate complete storyboards or fill in missing frames seamlessly,

条件:仅限本地原始PDF的 Section 3.3;不同表格与实验不合并

指标:系统把故事画面组织成storyboard,并用Target-Mask标记需要生成的位置。训练时只给目标画面的潜变量加噪声,在这些位置计算去噪损失;未遮住的图保留为视觉条件。全部遮住对应从文字生成,保留首帧对应续写,保留其他已知帧则可以补缺。掩码改变的是已知条件,不能把这些任务的分数当成相同难度的比较。

原文第 7 页 ↗PDF p.7, Section 3.3

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

方法

局部文字和整个故事分别对齐

原文摘录
8 M. Tao, BK. Bao et al. Fig. 4: (a) The architecture of Frame-Story Cross Attention Module. It decomposes the cross-attention module into story-level and frame-level cross-attention to enable local image fidelity and global story coherence. (b) The proposed Contextual Feature Extractor summarizes the whole text information, extracts global contextual informa- tion, and predicts the frame-aware latent prior for the U-Net. based on the provided context and requirements. Compared with previous meth- ods, our masking strategy unifies different tasks in one framework and extends the ability of the story image generative model. It simplifies the training com- plexity and user interaction process, ensuring a streamlined and user-friendly experience in creating coherent story images. 3.4 Frame-Story Cross Attention Module To ensure that the generated story images in the storyboard possess both realis- tic visual content and overall narrative coherence, we introduce a novel module called Frame-Story Cross Attention Module (Frame-Story CAM). As illustrated in Figure 4(a), the Frame-Story CAM decomposes the pretrained cross-attention modules of the diffusion model in each layer into two components: the cross- attention mechanism between local frames and the corresponding word embed- dings, and the cross-attention mechanism between the entire storyboard and the extracted contextual story features. At the frame level, the cross-attention mechanism divides the encoded latent features into four smaller frame-specific latent features at each layer, aligning with the sequence of frames in the storyboard. Then these frame-specific la- tent features are flattened to the batch dimension. Simultaneously, the word embeddings extracted from each story caption are also arranged in the order of frames and flattened to the batch dimension. Finally, we fuse the flattened frame-specific latent features and their corresponding word embeddings through a cross-attention mechanism. This process incorporates the textual information from each story caption into the visual features of each local story frame, thereby facilitating seamless alignment between the visual and textual information for each local story frame. At the storyboard level, the cross-attention mechanism performs feature fu- sion between the entire encoded latent features and the global contextual fea- tures extracted by the Contextual Feature Extractor (Context-FE). This fusion ensures consistency between the overall visual representation of the story images and the global storylines.

条件:仅限本地原始PDF的 Section 3.4; Figure 4;不同表格与实验不合并

指标:Frame-Story交叉注意力分成局部与整体两条路径:每幅图对齐自己的文字描述,整个storyboard再与全局故事特征融合。前者帮助当前画面画对内容,后者让不同画面共享上下文。这是生成器内部的信息融合设计,不是额外找一个读完历史的大模型给每张图作判断。

原文第 8 页 ↗PDF p.8, Section 3.4; Figure 4

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

方法

实验怎样检验这个方法

原文摘录
10 M. Tao, BK. Bao et al. 4 Experiments 4.1 Datasets We evaluate our approach on two challenging datasets: Pororo-SV [13] and Flintstones-SV [8]. Each story in these two datasets contains five consecutive frames. The Pororo-SV dataset consists of 10191/2334/2208 samples in the train- ing, validation, and testing sets, respectively. The Flintstones-SV dataset con- sists of 20132/2071/2309 samples in the training, validation, and testing sets, respectively. The image resolution of these two datasets is 128 × 128. We resize the images to 248 and pad them with 4 pixels, resulting in a final image size of 256×256. The storyboard consists of four-story images with a resolution of 512×512. Each image of Pororo-SV and Flintstones-SV corresponds to 1 story description. The partitioning of these two datasets into training, validation, and testing subsets is conducted in line with the established practices in previous studies [22, 26, 29]. 4.2 Training and Evaluation Details Our method is based on the stable diffusion model with publicly available check- points v1.5. We freeze the pretrained autoencoder and text encoder and finetune the U-Net through LoRA with α = 4, r = 128. We use the AdamW optimizer to train our model. We set the learning rate 0.001 for the U-Net and 0.0001 for the Contextual Feature Extractor. All models were trained on 8 × NVIDIA RTX A6000 GPUs. The network is trained 300 epochs and 150 epochs on Pororo-SV and Flintstones-SV for about 20 hours. Following the previous story visualization and continuation works [14, 22, 26, 29], we adopt the Fréchet Inception Distance (FID) [9] to evaluate the image fidelity of synthesized story images. We also adopt the Fréchet Story Distance (FSD) [14, 37] to evaluate the overall quality of the story image sequence. Different from FID, the FSD considers temporal consistency. The FID and FSD provide a robust measure to evaluate image fi- delity and story consistency of synthesized story image sequences. During the evaluation, we sample images using the DDIM scheduler [35] for 50 inference steps with a guidance scale set to 6.0 and crop the generated images from the storyboard. In addition, we also conduct large-scale human evaluations regarding visual quality, visual consistency, and story relevance. 4.3 Quantitative Evaluation To evaluate the performance of our proposed StoryImager, we compare it with several state-of-the-art story visualization and continuation methods [14, 20, 22, 26, 37], which have achieved impressive results. The comparison results for Pororo-SV and Flintstones-SV are shown in Table 1. From the table, we can ob- serve that our StoryImager achieves better FID and FSD against other models on both story visualization and continuation tasks. Our model also surpasses the recently proposed Causal-Story [36], which even adopts additional causal

条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并

指标:实验使用Pororo-SV和Flintstones-SV,图像组织成四图storyboard。训练冻结VAE和文字编码器,并在扩散模型上进行适配;模型训练使用八张RTX A6000。该设定研究的是短故事图像,不是长电影生成。

原文第 10 页 ↗PDF p.10, experimental setup

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

结果

质量比较必须固定任务

原文摘录
StoryImager 11 Table 1: The results of FID and FSD compared with the state-of-the-art models on the test set of Pororo-SV and Flintstones-SV. %indicates that the model does not support this task. Story Visualization Story Continuation Story Completion Dataset Method FID ↓ FSD ↓ FID ↓ FSD ↓ FID ↓ FSD ↓ StoryGAN [17] 78.64 94.53 % % % % CP-CSV [37] 67.76 71.51 % % % % DUCO [21] 95.17 171.70 % % % % VLC [20] 94.30 122.07 % % % % WL-SV [14] 56.08 52.50 % % % % Pororo-SV [13] StoryDALL-E [22] % % 25.90 45.70 % % MEGA-StoryDALL-E [22] % % 23.48 - % % Make-A-Story [29] 27.33 51.20 22.66 44.22 % % AR-LDM [26] 16.59 35.33 17.40 37.52 % % Causal-Story [36] 16.28 - 16.98 - % % StoryImager (Ours) 15.63 28.13 15.45 27.10 14.72 26.77 StoryGAN [17] 90.55 122.71 % % % % StoryGANc [22] - - 90.29 - % % WL-SV [14] 72.37 91.30 % % % % Flintstones-SV [8] StoryDALL-E [22] % % 26.49 54.30 % % MEGA-StoryDALL-E [22] % % 23.58 - % % Make-A-Story [29] 36.55 53.10 23.74 52.08 % % AR-LDM [26] 23.59 39.70 19.28 43.32 % % Causal-Story [36] - - 19.03 - % % StoryImager (Ours) 22.27 36.51 18.32 35.33 18.11 34.20 reasoning to the AR-LDM framework. The improvements are more obvious in FSD, which evaluates the overall coherence of the synthesized story images. The results demonstrate that our model excels at synthesizing high-fidelity and contextually coherent story images. Furthermore, our model has the ability to perform story completion, a capability that was absent in previous models. In the story completion testing, we randomly mask parts of the story image and then predict the missing portions. This testing process does not include story visualization. We list the performance of StoryImager on the story completion task, which is a unique feature of our model. To demonstrate the efficiency of our framework, we conducted a compar- ison with the state-of-the-art AR-LDM framework [26]. AR-LDM utilizes an autoregressive approach for story image generation and has been adopted as a foundational framework [36]. Table 3 presents the cost which is evaluated on 8× and 1× A6000 with batch size 1 for training and inference, respectively. We assess resource and time requirements of inference on a single GPU, as it bet- ter reflects the usage of most users. As shown in Table 3, our model achieves improved performance and extended tasks while reducing hardware and time re- quirements. The results indicate that our model is a more effective and efficient framework for story visualization and completion.

条件:仅限本地原始PDF的 Table 1;不同表格与实验不合并

指标:Pororo-SV的story visualization设置中,StoryImager的FID是15.63,AR-LDM为16.59;FSD分别为28.13与35.33,低值更好。表内还分别报告continuation与completion。给定首帧和给定其他画面的条件不同,不能挑其中最低的数字就声称在完全相同输入条件下进一步超越基线。

原文第 11 页 ↗PDF p.11, Table 1

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

结果

效率表不能读成GPU数量

原文摘录
12 M. Tao, BK. Bao et al. Table 2: The computational cost and time requirements of AR-LDM and our Story- Imager on Pororo-SV dataset. Training Inference Method GPU-Memory Time Tasks Models GPU-Memory Speed Tasks Models AR-LDM [26] 38G+38G 52h+52h 2 2 16G+16G 14.5s 2 2 StoryImager 12G 30h >2 1 8G 8.0s >2 1 Fig. 5: Comparison of story visualization results between Make-A-Story, AR-LDM, and our proposed StoryImager on Flintstones-SV and Pororo-SV datasets. 4.4 Qualitative Evaluation Figures 5 and 6 show examples of visual comparisons between our StoryImager, AR-LDM [26], and Make-A-Story [29] on story visualization and continuation tasks, respectively. For story visualization, the characters and backgrounds syn- thesized by AR-LDM and Make-A-Story are not consistent with other frames. As the synthesized story images are shown in Figure 5 of Pororo-SV, the ap- pearance of “Poby” and the background of “Loopy” are inconsistent with other frames. The same issue exists in the Flintstones-SV dataset as well, such as the disappearance of “couch” in the second frames and the transformation of the “television”. For story continuation, we also observed the inconsistent issue of AR-LDM and Make-A-Story. Additionally, there is a potential for the visual features from the first frame to be disregarded during the generation of subse- quent frames. Compared with AR-LDM and Make-A-Story, our StoryImager can synthesize contextual coherent images during story visualization and incorporate the visual features from the first frame during the story continuation. Moreover, we show the story completion capability of StoryImager, as illus- trated in Figure 7. Our StoryImager is the first story completion model. It can generate the first frame based on given frames and the textual description of the target frame, enabling story backtracking functionality. Additionally, our model supports adding new frames to the current story image, achieving story infilling.

条件:仅限本地原始PDF的 Table 2;不同表格与实验不合并

指标:Table 2把AR-LDM列为不同任务对应的两个模型:训练显存38G+38G、时间52h+52h;StoryImager对应一个模型,显存12G、时间30h。这里的加号不能解释成双卡训练变单卡训练。推理列另报AR-LDM 14.5s与StoryImager 8.0s;这是论文给定实现、任务和硬件条件下的效率比较,不是任意长故事的耗时承诺。

原文第 12 页 ↗PDF p.12, Table 2

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

限制

实验规模限制长故事结论

原文摘录
10 M. Tao, BK. Bao et al. 4 Experiments 4.1 Datasets We evaluate our approach on two challenging datasets: Pororo-SV [13] and Flintstones-SV [8]. Each story in these two datasets contains five consecutive frames. The Pororo-SV dataset consists of 10191/2334/2208 samples in the train- ing, validation, and testing sets, respectively. The Flintstones-SV dataset con- sists of 20132/2071/2309 samples in the training, validation, and testing sets, respectively. The image resolution of these two datasets is 128 × 128. We resize the images to 248 and pad them with 4 pixels, resulting in a final image size of 256×256. The storyboard consists of four-story images with a resolution of 512×512. Each image of Pororo-SV and Flintstones-SV corresponds to 1 story description. The partitioning of these two datasets into training, validation, and testing subsets is conducted in line with the established practices in previous studies [22, 26, 29]. 4.2 Training and Evaluation Details Our method is based on the stable diffusion model with publicly available check- points v1.5. We freeze the pretrained autoencoder and text encoder and finetune the U-Net through LoRA with α = 4, r = 128. We use the AdamW optimizer to train our model. We set the learning rate 0.001 for the U-Net and 0.0001 for the Contextual Feature Extractor. All models were trained on 8 × NVIDIA RTX A6000 GPUs. The network is trained 300 epochs and 150 epochs on Pororo-SV and Flintstones-SV for about 20 hours. Following the previous story visualization and continuation works [14, 22, 26, 29], we adopt the Fréchet Inception Distance (FID) [9] to evaluate the image fidelity of synthesized story images. We also adopt the Fréchet Story Distance (FSD) [14, 37] to evaluate the overall quality of the story image sequence. Different from FID, the FSD considers temporal consistency. The FID and FSD provide a robust measure to evaluate image fi- delity and story consistency of synthesized story image sequences. During the evaluation, we sample images using the DDIM scheduler [35] for 50 inference steps with a guidance scale set to 6.0 and crop the generated images from the storyboard. In addition, we also conduct large-scale human evaluations regarding visual quality, visual consistency, and story relevance. 4.3 Quantitative Evaluation To evaluate the performance of our proposed StoryImager, we compare it with several state-of-the-art story visualization and continuation methods [14, 20, 22, 26, 37], which have achieved impressive results. The comparison results for Pororo-SV and Flintstones-SV are shown in Table 1. From the table, we can ob- serve that our StoryImager achieves better FID and FSD against other models on both story visualization and continuation tasks. Our model also surpasses the recently proposed Causal-Story [36], which even adopts additional causal

条件:仅限本地原始PDF的 Section 4.1; Implementation Details;不同表格与实验不合并

指标:实现采用四幅画面组成的storyboard,并在Pororo-SV与Flintstones-SV这类特定数据上研究一致性。原文写明模型训练使用八张RTX A6000,不支持把效率表解读成单卡即可复现全部训练。短故事图像实验也没有证明任意长序列、复杂新人物或所有真实场景都能稳定保持一致。

原文第 10 页 ↗PDF p.10, Section 4.1; Implementation Details

以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

读完,试着回答

论文研究什么问题?

把故事逐帧画出来,容易出现前后人物和场景不一致,也不方便利用后面已经存在的画面补前面的空缺。StoryImager希望用同一框架处理从文字生成故事图、给定画面续写和补齐缺失画面,而不是为每一种任务单独维护模型。这里的输出是故事图像序列,不是连续视频。

已有方法缺口在哪里?

把长文本生成或评价当成单步任务,会掩盖中间机制及其失效条件。

输入是什么?

每帧故事描述、可选已知画面及目标掩码

机制是什么?

系统把故事画面组织成storyboard,并用Target-Mask标记需要生成的位置。训练时只给目标画面的潜变量加噪声,在这些位置计算去噪损失;未遮住的图保留为视觉条件。全部遮住对应从文字生成,保留首帧对应续写,保留其他已知帧则可以补缺。掩码改变的是已知条件,不能把这些任务的分数当成相同难度的比较。

输出是什么?

Pororo-SV的story visualization设置中,StoryImager的FID是15.63,AR-LDM为16.59;FSD分别为28.13与35.33,低值更好。表内还分别报告continuation与completion。给定首帧和给定其他画面的条件不同,不能挑其中最低的数字就声称在完全相同输入条件下进一步超越基线。

适用边界是什么?

实现采用四幅画面组成的storyboard,并在Pororo-SV与Flintstones-SV这类特定数据上研究一致性。原文写明模型训练使用八张RTX A6000,不支持把效率表解读成单卡即可复现全部训练。短故事图像实验也没有证明任意长序列、复杂新人物或所有真实场景都能稳定保持一致。

还有什么未解决?

更换模型、文本分布或评价者后,主要观察是否仍能成立?

技术附录

问题与已有方法

问题设定

把故事逐帧画出来,容易出现前后人物和场景不一致,也不方便利用后面已经存在的画面补前面的空缺。StoryImager希望用同一框架处理从文字生成故事图、给定画面续写和补齐缺失画面,而不是为每一种任务单独维护模型。这里的输出是故事图像序列,不是连续视频。 把长文本生成或评价当成单步任务,会掩盖中间机制及其失效条件。

方法与组成

核心思路

系统把故事画面组织成storyboard,并用Target-Mask标记需要生成的位置。训练时只给目标画面的潜变量加噪声,在这些位置计算去噪损失;未遮住的图保留为视觉条件。全部遮住对应从文字生成,保留首帧对应续写,保留其他已知帧则可以补缺。掩码改变的是已知条件,不能把这些任务的分数当成相同难度的比较。

主要发现

  • 标题

    质量比较必须固定任务

    证据

    Pororo-SV的story visualization设置中,StoryImager的FID是15.63,AR-LDM为16.59;FSD分别为28.13与35.33,低值更好。表内还分别报告continuation与completion。给定首帧和给定其他画面的条件不同,不能挑其中最低的数字就声称在完全相同输入条件下进一步超越基线。

    限制

    以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

    原文定位

    PDF p.11, Table 1

  • 标题

    效率表不能读成GPU数量

    证据

    Table 2把AR-LDM列为不同任务对应的两个模型:训练显存38G+38G、时间52h+52h;StoryImager对应一个模型,显存12G、时间30h。这里的加号不能解释成双卡训练变单卡训练。推理列另报AR-LDM 14.5s与StoryImager 8.0s;这是论文给定实现、任务和硬件条件下的效率比较,不是任意长故事的耗时承诺。

    限制

    以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。

    原文定位

    PDF p.12, Table 2

概念定位

是什么

系统把故事画面组织成storyboard,并用Target-Mask标记需要生成的位置。训练时只给目标画面的潜变量加噪声,在这些位置计算去噪损失;未遮住的图保留为视觉条件。全部遮住对应从文字生成,保留首帧对应续写,保留其他已知帧则可以补缺。掩码改变的是已知条件,不能把这些任务的分数当成相同难度的比较。

为什么重要

把故事逐帧画出来,容易出现前后人物和场景不一致,也不方便利用后面已经存在的画面补前面的空缺。StoryImager希望用同一框架处理从文字生成故事图、给定画面续写和补齐缺失画面,而不是为每一种任务单独维护模型。这里的输出是故事图像序列,不是连续视频。

图表导读

  • PDF 页

    11

    标题

    PDF p.11, Table 1

    解释

    Pororo-SV的story visualization设置中,StoryImager的FID是15.63,AR-LDM为16.59;FSD分别为28.13与35.33,低值更好。表内还分别报告continuation与completion。给定首帧和给定其他画面的条件不同,不能挑其中最低的数字就声称在完全相同输入条件下进一步超越基线。

  • PDF 页

    12

    标题

    PDF p.12, Table 2

    解释

    Table 2把AR-LDM列为不同任务对应的两个模型:训练显存38G+38G、时间52h+52h;StoryImager对应一个模型,显存12G、时间30h。这里的加号不能解释成双卡训练变单卡训练。推理列另报AR-LDM 14.5s与StoryImager 8.0s;这是论文给定实现、任务和硬件条件下的效率比较,不是任意长故事的耗时承诺。

核心概念

  • 名称

    用掩码明确哪些画面要生成

    解释

    系统把故事画面组织成storyboard,并用Target-Mask标记需要生成的位置。训练时只给目标画面的潜变量加噪声,在这些位置计算去噪损失;未遮住的图保留为视觉条件。全部遮住对应从文字生成,保留首帧对应续写,保留其他已知帧则可以补缺。掩码改变的是已知条件,不能把这些任务的分数当成相同难度的比较。

    原文定位

    PDF p.7, Section 3.3

    证据来源

    paper_supported

  • 名称

    局部文字和整个故事分别对齐

    解释

    Frame-Story交叉注意力分成局部与整体两条路径:每幅图对齐自己的文字描述,整个storyboard再与全局故事特征融合。前者帮助当前画面画对内容,后者让不同画面共享上下文。这是生成器内部的信息融合设计,不是额外找一个读完历史的大模型给每张图作判断。

    原文定位

    PDF p.8, Section 3.4; Figure 4

    证据来源

    paper_supported

章节阅读

  • 页码

    2

    作用

    problem

    关键问题

    为什么不把每幅图单独画完

    状态

    read

  • 页码

    7

    作用

    method

    关键问题

    用掩码明确哪些画面要生成

    状态

    read

  • 页码

    8

    作用

    method

    关键问题

    局部文字和整个故事分别对齐

    状态

    read

  • 页码

    10

    作用

    method

    关键问题

    实验怎样检验这个方法

    状态

    read

  • 页码

    11

    作用

    result

    关键问题

    质量比较必须固定任务

    状态

    read

  • 页码

    12

    作用

    result

    关键问题

    效率表不能读成GPU数量

    状态

    read

  • 页码

    10

    作用

    limitation

    关键问题

    实验规模限制长故事结论

    状态

    read

批判性阅读

最低充分结论

实现采用四幅画面组成的storyboard,并在Pororo-SV与Flintstones-SV这类特定数据上研究一致性。原文写明模型训练使用八张RTX A6000,不支持把效率表解读成单卡即可复现全部训练。短故事图像实验也没有证明任意长序列、复杂新人物或所有真实场景都能稳定保持一致。

继续阅读

相关论文

同一研究空间