先说结论
Make-A-Story 把“记得之前画过谁”放进扩散生成过程,帮助从含代词的故事文本生成连续图像。角色一致性改善很清楚,但背景指标并非一致向好,也不能把故事图像当作连续视频。 (原文:PDF p.7, Section 4;PDF p.5, Memory-attention Module;PDF p.7, experimental setup;PDF p.5, Table 2, Flintstones rows;PDF p.5, Table 2, MUGEN rows;PDF p.7, Evaluation Metrics; Baselines)
指标:Make-A-Story 研究的是把连续的故事句子变成连续图像。真实叙述会说“他”“她”“他们”,而不是每句话重复人名;如果模型每次只读当前句子,就可能不知道该画谁。作者因此把角色共指引入故事生成评测,修改 FlintstonesSV、MUGEN 和 PororoSV 的描述,让代词引用成为实际测试内容。
条件:仅限本地原始PDF的 Section 4;不同表格与实验不合并
PDF p.7, Section 4 · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:方法叫 Story-LDM,是带视觉记忆的自回归潜在扩散模型:先生成前面的故事图,再逐张生成后面的图。生成当前图时,当前句子的表示作为查询,历史句子作为键,历史图像的潜在特征作为值;注意力根据文本关联取出此前画面中的相关信息,在去噪过程中持续提供条件。因此,模型不只是“记住聊天”,而是在图像生成内部利用前文与前图的对应关系,帮助延续角色和场景。输出是故事图像序列,不是带连续动作的视频。
条件:仅限本地原始PDF的 Memory-attention Module;不同表格与实验不合并
PDF p.5, Memory-attention Module · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:作者修改故事描述中的角色引用,构造含代词的测试,并与不带自回归记忆的潜在扩散模型比较。分类器分别测角色和背景的准确率及 F1,FID 衡量图像分布。这样能区分身份、背景与图像质量,而不是靠一张示例图判断全部效果。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.7, experimental setup · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:在同样使用共指文本的 FlintstonesSV 设置下,Story-LDM 的角色准确率为 69.19,基线 LDM 为 57.38;角色 F1 为 86.59 对 78.68,FID 为 69.49 对 87.39(越低越好)。但背景准确率是 35.21 对 44.19,反而下降;背景 F1 则是 28.80 对 28.25。不能把这一组结果概括为“背景指标全部变好”或“全部变差”。另外,不含共指文本的 LDM 角色准确率为 79.86,那是更容易的输入条件,不能与共指任务直接当作同条件胜负。
条件:仅限本地原始PDF的 Table 2, Flintstones rows;不同表格与实验不合并
PDF p.5, Table 2, Flintstones rows · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:在 MUGEN 的共指设置下,角色准确率为 93.40 对 31.39,背景准确率为 92.19 对 15.74,Story-LDM 都高于 LDM。这与 Flintstones 的背景准确率退步形成对照:视觉记忆确实有用,但作用大小和方向取决于场景、引用方式与评价指标,而不是统一改善一切。
条件:仅限本地原始PDF的 Table 2, MUGEN rows;不同表格与实验不合并
PDF p.5, Table 2, MUGEN rows · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:结果主要依靠微调的 Inception 分类器评估角色、背景,并用 FID 评估生成图像分布。它们能验证特定的一致性表现,却没有直接测量故事是否有趣、情节是否合理,更不能据此保证真实摄影人物的长期身份一致性。读这篇时最值得保留的是“把历史视觉信息接入当前生成”的机制,以及角色收益与背景指标之间的差别。
条件:仅限本地原始PDF的 Evaluation Metrics; Baselines;不同表格与实验不合并
PDF p.7, Evaluation Metrics; Baselines · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
论文为什么要做这件事
Make-A-Story 研究的是把连续的故事句子变成连续图像。真实叙述会说“他”“她”“他们”,而不是每句话重复人名;如果模型每次只读当前句子,就可能不知道该画谁。作者因此把角色共指引入故事生成评测,修改 FlintstonesSV、MUGEN 和 PororoSV 的描述,让代词引用成为实际测试内容。 (原文:PDF p.7, Section 4)
指标:Make-A-Story 研究的是把连续的故事句子变成连续图像。真实叙述会说“他”“她”“他们”,而不是每句话重复人名;如果模型每次只读当前句子,就可能不知道该画谁。作者因此把角色共指引入故事生成评测,修改 FlintstonesSV、MUGEN 和 PororoSV 的描述,让代词引用成为实际测试内容。
条件:仅限本地原始PDF的 Section 4;不同表格与实验不合并
PDF p.7, Section 4 · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
核心方法到底怎么运转
方法叫 Story-LDM,是带视觉记忆的自回归潜在扩散模型:先生成前面的故事图,再逐张生成后面的图。生成当前图时,当前句子的表示作为查询,历史句子作为键,历史图像的潜在特征作为值;注意力根据文本关联取出此前画面中的相关信息,在去噪过程中持续提供条件。因此,模型不只是“记住聊天”,而是在图像生成内部利用前文与前图的对应关系,帮助延续角色和场景。输出是故事图像序列,不是带连续动作的视频。 (原文:PDF p.5, Memory-attention Module)
指标:方法叫 Story-LDM,是带视觉记忆的自回归潜在扩散模型:先生成前面的故事图,再逐张生成后面的图。生成当前图时,当前句子的表示作为查询,历史句子作为键,历史图像的潜在特征作为值;注意力根据文本关联取出此前画面中的相关信息,在去噪过程中持续提供条件。因此,模型不只是“记住聊天”,而是在图像生成内部利用前文与前图的对应关系,帮助延续角色和场景。输出是故事图像序列,不是带连续动作的视频。
条件:仅限本地原始PDF的 Memory-attention Module;不同表格与实验不合并
PDF p.5, Memory-attention Module · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
实验怎样检验这个方法
作者修改故事描述中的角色引用,构造含代词的测试,并与不带自回归记忆的潜在扩散模型比较。分类器分别测角色和背景的准确率及 F1,FID 衡量图像分布。这样能区分身份、背景与图像质量,而不是靠一张示例图判断全部效果。 (原文:PDF p.7, experimental setup)
指标:作者修改故事描述中的角色引用,构造含代词的测试,并与不带自回归记忆的潜在扩散模型比较。分类器分别测角色和背景的准确率及 F1,FID 衡量图像分布。这样能区分身份、背景与图像质量,而不是靠一张示例图判断全部效果。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.7, experimental setup · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
结果说明了什么
在同样使用共指文本的 FlintstonesSV 设置下,Story-LDM 的角色准确率为 69.19,基线 LDM 为 57.38;角色 F1 为 86.59 对 78.68,FID 为 69.49 对 87.39(越低越好)。但背景准确率是 35.21 对 44.19,反而下降;背景 F1 则是 28.80 对 28.25。不能把这一组结果概括为“背景指标全部变好”或“全部变差”。另外,不含共指文本的 LDM 角色准确率为 79.86,那是更容易的输入条件,不能与共指任务直接当作同条件胜负。 (原文:PDF p.5, Table 2, Flintstones rows)
指标:在同样使用共指文本的 FlintstonesSV 设置下,Story-LDM 的角色准确率为 69.19,基线 LDM 为 57.38;角色 F1 为 86.59 对 78.68,FID 为 69.49 对 87.39(越低越好)。但背景准确率是 35.21 对 44.19,反而下降;背景 F1 则是 28.80 对 28.25。不能把这一组结果概括为“背景指标全部变好”或“全部变差”。另外,不含共指文本的 LDM 角色准确率为 79.86,那是更容易的输入条件,不能与共指任务直接当作同条件胜负。
条件:仅限本地原始PDF的 Table 2, Flintstones rows;不同表格与实验不合并
PDF p.5, Table 2, Flintstones rows · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
收益随数据集改变
在 MUGEN 的共指设置下,角色准确率为 93.40 对 31.39,背景准确率为 92.19 对 15.74,Story-LDM 都高于 LDM。这与 Flintstones 的背景准确率退步形成对照:视觉记忆确实有用,但作用大小和方向取决于场景、引用方式与评价指标,而不是统一改善一切。 (原文:PDF p.5, Table 2, MUGEN rows)
指标:在 MUGEN 的共指设置下,角色准确率为 93.40 对 31.39,背景准确率为 92.19 对 15.74,Story-LDM 都高于 LDM。这与 Flintstones 的背景准确率退步形成对照:视觉记忆确实有用,但作用大小和方向取决于场景、引用方式与评价指标,而不是统一改善一切。
条件:仅限本地原始PDF的 Table 2, MUGEN rows;不同表格与实验不合并
PDF p.5, Table 2, MUGEN rows · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
这篇论文哪里最强,哪里最危险
结果主要依靠微调的 Inception 分类器评估角色、背景,并用 FID 评估生成图像分布。它们能验证特定的一致性表现,却没有直接测量故事是否有趣、情节是否合理,更不能据此保证真实摄影人物的长期身份一致性。读这篇时最值得保留的是“把历史视觉信息接入当前生成”的机制,以及角色收益与背景指标之间的差别。 (原文:PDF p.7, Evaluation Metrics; Baselines)
指标:结果主要依靠微调的 Inception 分类器评估角色、背景,并用 FID 评估生成图像分布。它们能验证特定的一致性表现,却没有直接测量故事是否有趣、情节是否合理,更不能据此保证真实摄影人物的长期身份一致性。读这篇时最值得保留的是“把历史视觉信息接入当前生成”的机制,以及角色收益与背景指标之间的差别。
条件:仅限本地原始PDF的 Evaluation Metrics; Baselines;不同表格与实验不合并
PDF p.7, Evaluation Metrics; Baselines · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
读完后记住这三件事
这篇解决含代词故事的图像生成,而非编故事或生成连续视频。当前文本关联历史文本并读取历史视觉特征,逐张生成。角色收益不能掩盖 Flintstones 背景准确率下降,评价也只覆盖被测数据与指标。 (原文:PDF p.7, Section 4;PDF p.5, Memory-attention Module;PDF p.7, experimental setup;PDF p.5, Table 2, Flintstones rows;PDF p.5, Table 2, MUGEN rows;PDF p.7, Evaluation Metrics; Baselines)
指标:Make-A-Story 研究的是把连续的故事句子变成连续图像。真实叙述会说“他”“她”“他们”,而不是每句话重复人名;如果模型每次只读当前句子,就可能不知道该画谁。作者因此把角色共指引入故事生成评测,修改 FlintstonesSV、MUGEN 和 PororoSV 的描述,让代词引用成为实际测试内容。
条件:仅限本地原始PDF的 Section 4;不同表格与实验不合并
PDF p.7, Section 4 · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:方法叫 Story-LDM,是带视觉记忆的自回归潜在扩散模型:先生成前面的故事图,再逐张生成后面的图。生成当前图时,当前句子的表示作为查询,历史句子作为键,历史图像的潜在特征作为值;注意力根据文本关联取出此前画面中的相关信息,在去噪过程中持续提供条件。因此,模型不只是“记住聊天”,而是在图像生成内部利用前文与前图的对应关系,帮助延续角色和场景。输出是故事图像序列,不是带连续动作的视频。
条件:仅限本地原始PDF的 Memory-attention Module;不同表格与实验不合并
PDF p.5, Memory-attention Module · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:作者修改故事描述中的角色引用,构造含代词的测试,并与不带自回归记忆的潜在扩散模型比较。分类器分别测角色和背景的准确率及 F1,FID 衡量图像分布。这样能区分身份、背景与图像质量,而不是靠一张示例图判断全部效果。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.7, experimental setup · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:在同样使用共指文本的 FlintstonesSV 设置下,Story-LDM 的角色准确率为 69.19,基线 LDM 为 57.38;角色 F1 为 86.59 对 78.68,FID 为 69.49 对 87.39(越低越好)。但背景准确率是 35.21 对 44.19,反而下降;背景 F1 则是 28.80 对 28.25。不能把这一组结果概括为“背景指标全部变好”或“全部变差”。另外,不含共指文本的 LDM 角色准确率为 79.86,那是更容易的输入条件,不能与共指任务直接当作同条件胜负。
条件:仅限本地原始PDF的 Table 2, Flintstones rows;不同表格与实验不合并
PDF p.5, Table 2, Flintstones rows · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:在 MUGEN 的共指设置下,角色准确率为 93.40 对 31.39,背景准确率为 92.19 对 15.74,Story-LDM 都高于 LDM。这与 Flintstones 的背景准确率退步形成对照:视觉记忆确实有用,但作用大小和方向取决于场景、引用方式与评价指标,而不是统一改善一切。
条件:仅限本地原始PDF的 Table 2, MUGEN rows;不同表格与实验不合并
PDF p.5, Table 2, MUGEN rows · PDF p.5
Dataset Method w/ ref. text Char-acc (↑) Char-F1 (↑) BG-acc (↑) BG-F1 (↑) FID (↓) VLCStoryGAN [34] × 27.73 42.01 4.83 16.49 120.85 MUGEN Flintstones LDM [45] × 79.86 92.33 48.02 37.86 61.40 LDM [45] X 57.38 78.68 44.19 28.25 87.39 Story-LDM (Ours) X 69.19 86.59 35.21 28.80 69.49 LDM [45] X 31.39 21.28 15.74 18.66 120.99 Story-LDM (Ours) X 93.40 95.60 92.19 92.37 62.16 Table 2. Quantitative results. Experimental results on the FlintstoneSV and the MUGEN datasets. is weighted by the similarity between the textual representa- sentence Sm and the keys K which represent the previous tion and the encoded frame representation Zm (cf . Fig. 2a). sentences S<m is used to weight the feature representations For sequential generation, the model in addition to the Z<m . The aggregated representation now contains the in- current state, requires information from all the previous formation relevant for the current frame Zm from the al- states. To enable this, the diffusion process for any frame ready generated story-line (see Fig. 2b). That is, our mech- representation Zm is conditioned on the visual represen- anism based on the similarity of the current sentence to the tations of the previous frames Z0 , . . . , Zm−1 as well as previous sentences in the story, identifies the features in the sentence descriptions S0 , . . . , Sm . This conditioning is the previous frames which are of importance to the context realized through a novel Memory-attention module which of the current frame. This may include recurrence of cer- forms the basis of our autoregressive approach. tain semantics with-in the story such as characters or back- grounds. In all, this formulation of the diffusion process Memory-attention Module. To capture the spatio- allows us to maintain temporal consistency as we amplify temporal interactions across multiple frames and sentences the visual feature information from the sequence of story for a story, in our conditional diffusion model, we condi- already generated. This allows the model to implicitly cap- tion the frame Zm not only on the corresponding text Sm ture temporal dependencies in storylines for resolving am- but also on the previous texts Si , for i ∈ {0, . . . m − 1}. biguities in character and background information. This conditioning is applied throughout the T time-steps Given the above conditioning, the objective for the story of the diffusion process for Zm . The conditional denois- latent diffusion model for a single frame is formalized as ing autoencoder thus models the conditional distribution Lstory−LDM = EZ,,t k − θm (Zm ≤m , Z<m , t)k22 , t ,S p(Zm | Z<m , S≤m ). The (conditional) generative process (8) of our Story-LDM approach over the T steps of the diffusion process for a single frame is thus given by where θm are the denoising autoencoders for the frame m. Having formalized the diffusion process for single frame p(Zm |Z<m , S≤m ) = p(Zm T |Z <m , S≤m ) generation, the generative process for the entire story-line T Y (6) using Eq. (6) for autoregressive conditional frame genera- p(Zm m i−1 |Zi , Z <m , S≤m ). tion, is given by i=1 M Y The key motivation for this approach is to propagate the p(Z 0:M |S0:M 0 ) = p(Z | S ) 0 p(Zm | Z<m , S≤i ). semantic (visual and textual) features from the already pro- i=m cessed story-line based on the relevance of the current de- (9) scription to the previous frames as well as the previous de- Notably, the conditioning is applied to the all states scriptions. We achieve this by implementing a special at- within the diffusion process i.e., for all Zm t , t ∈ {1, . . . T } tention layer, called memory-attention module. Similar to at each diffusion step, we apply the cross attention as well the cross-attention layer, we utilize the attention mechanism as the memory attention module allowing us effectively cap- based on the key, query and value formulation. In this case ture the temporal context. Eq. (4) becomes, Network Architecture. To generate visual storylines, in Q = WQ .f (Sm ), K = WK .f (S<m ), our Story-LDM, we first introduce an autoregressive struc- (7) V = WV .fˆ(Z<m ), ture and modify the two-dimensional U-Net in [45] to so as to process the temporal information in the storyline. As where fˆ(.) is applied to align the dimensions of the val- shown in Fig. 2a, the frame encoder, E equipped with the ues, V with the keys, K. In the memory attention module, positional information of the frame in the sequence, is ap- the relevance the query Q which depends on the current plied to get the low-dimensional representation Zm for all
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:结果主要依靠微调的 Inception 分类器评估角色、背景,并用 FID 评估生成图像分布。它们能验证特定的一致性表现,却没有直接测量故事是否有趣、情节是否合理,更不能据此保证真实摄影人物的长期身份一致性。读这篇时最值得保留的是“把历史视觉信息接入当前生成”的机制,以及角色收益与背景指标之间的差别。
条件:仅限本地原始PDF的 Evaluation Metrics; Baselines;不同表格与实验不合并
PDF p.7, Evaluation Metrics; Baselines · PDF p.7
Fred is standing in a 4. Datasets and Evaluation Metrics Fred is in the living room. Fred is saying something in the Wilma and Fred are talking while in the room, talking to someone off camera room. room. right. In this paper, we formulate story generation with co- Ground Truth references to actors and backgrounds across frames. Datasets. Since reference resolution has not been studied in story generation, to validate our approach on this much harder task, we construct the following datasets: (i) We take DuCo an existing story-generation dataset – FlintstonesSV [16], and modify the sentences by replacing the named entities (characters) with references where possible; including pro- nouns such as he, she, or they (cf . Fig. 1). This dataset VLC contains 20132-training, 2071-validation and 2309-test sto- ries with 7 main characters and 323 backgrounds. (ii) MU- GEN [19] is a video dataset collected from the open– sourced platform game CoinRun [7]. The dataset is divided Ours into 104, 796-train and 11, 802 test stories with 96 to 602 frames. We extend the MUGEN dataset by introducing Figure 5. Qualitative Comparison on Story Generation. Com- two additional characters Lisa and Jhon (we rename Mu- parison on the FlintstonesSV dataset visual story generation. gen to Tony). We construct stories of four frames and cor- Fred is talking on the Barney sits beside Fred and Barney are Fred and Barney responding text, ensuring consistent co-referencing in the television in the living Fred as he talks in sitting in a room. are in the living room dressed as a an angry manner in room. story; each story has 3 such references. Moreover, we aug- superhero. the living room. ment the existing two backgrounds (Planet and Snow) with Ground Truth four additional backgrounds: Sand, Dirt, Grass and Stone. (iii) We also modify existing PororoSV [30] dataset which contains 10191/2334/2208 train/val/test set. Similarly, we reference characters by pro-nouns to generate more natu- StoryGANc ral story. We show in Fig. 1, example stories from the two modified datasets and enlist the complete statistics in Tab. 1. Evaluation Metrics. To measure the consistency of the StoryDALL-E characters as well as the backgrounds in the generated sto- ries, we consider following evaluation metrics: (i) Charac- (prefix) ter Classification: Following [34], we consider fine-tuned Inception-v3 to measure the classification accuracy and StoryDALL-E F1-score. Frame accuracy evaluates the character match to the ground-truth and F1-score measures the quality of gen- (finetuned) erated characters in the predicted images. (ii) Background Classification: Similar to character classification, we use fine-tuned Inception-v3 to measure the correspondence of Ours the background to the ground-truth and consider F1-score as a measure of quality. (iii) Frechet Inception Distance (FID): Figure 6. Comparison to Story Continuation. Comparison on To assess the quality of images,we consider FID score [20] the FlintstonesSV dataset for story continuation. Prior work uses which is the distance between feature vectors from real and first frame as additional input to the model; our model does not. generated images. GEN, PororoSV and FlintstonesSV datasets. The parame- 5. Experiments ters of the diffusion model within the Story-LDM are ini- tialized with the pre-trained LDM [45]. Similarly, for the In this section, we evaluate our Story-LDM approach for textual embedding, we use BERT-tokenizer [9] and use the consistent story generation with reference resolution. pre-trained text-transformer from LDM. Baselines. We construct a strong baseline with the LDM3 [45] which contains a cross-attention layer to gen- Quantitative Results. Table 2 shows quantitative results erate text-to-image based story, without using our proposed for consistent story generation on the FlintstoneSV dataset. autoregressive memory modules as our baselines for MU- We compare the performance of our approach (row 4) to the LDM [45] which we train/test with both original (row 3 https://github.com/CompVis/latent-diffusion 2) as well as the co-referenced (row 3) descriptions. Fur-
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
代码从哪里读
原始来源入口。已确认官方公开仓库入口。先核对故事数据与共指文本设置,再找记忆注意力的实现;本轮只核验入口,不声称已核对具体函数、权重完整性或重跑实验。