先说结论
VideoDirectorGPT先用语言模型规划多场景视频,再通过实体和布局条件指导视频生成。它改善了跨场景一致性与部分画质指标,但仍有空间控制失败和指标间权衡。 (原文:PDF p.1, Abstract; Introduction;PDF p.5, Section 3.2;PDF p.8, experimental setup;PDF p.8, Table 2; Table 3;PDF p.10, Limitations; Table 4)
指标:连续故事视频不只是逐段生成好看的短片:同一个对象跨场景需要保持身份,动作与位置还要服从故事安排。VideoDirectorGPT把这个问题拆成先做视频计划,再按计划生成画面。它让语言模型负责结构化规划,让视频模型负责成像,两者不是同一个模型。
条件:仅限本地原始PDF的 Abstract; Introduction;不同表格与实验不合并
PDF p.1, Abstract; Introduction · PDF p.1
Published as a conference paper at COLM 2024 V IDEO D IRECTOR GPT: Consistent Multi-Scene Video Generation via LLM-Guided Planning Han Lin Abhay Zala Jaemin Cho Mohit Bansal UNC Chapel Hill {hanlincs, aszala, jmincho, mbansal}@cs.unc.edu https://videodirectorgpt.github.io/ Abstract arXiv:2309.15091v2 [cs.CV] 12 Jul 2024 Recent text-to-video (T2V) generation methods have seen significant ad- vancements. However, the majority of these works focus on producing short video clips of a single event (i.e., single-scene videos). Meanwhile, recent large language models (LLMs) have demonstrated their capability in generating layouts and programs to control downstream visual modules. This prompts an important question: can we leverage the knowledge em- bedded in these LLMs for temporally consistent long video generation? In this paper, we propose V IDEO D IRECTOR GPT, a novel framework for con- sistent multi-scene video generation that uses the knowledge of LLMs for video content planning and grounded video generation. Specifically, given a single text prompt, we first ask our video planner LLM (GPT-4) to expand it into a ‘video plan’, which includes the scene descriptions, the entities with their respective layouts, the background for each scene, and consistency groupings of the entities. Next, guided by this video plan, our video gen- erator, named Layout2Vid, has explicit control over spatial layouts and can maintain temporal consistency of entities across multiple scenes, while being trained only with image-level annotations. Our experiments demon- strate that our proposed V IDEO D IRECTOR GPT framework substantially improves layout and movement control in both single- and multi-scene video generation and can generate multi-scene videos with consistency, while achieving competitive performance with SOTAs in open-domain single-scene T2V generation. Detailed ablation studies, including dynamic adjustment of layout control strength with an LLM and video generation with user-provided images, confirm the effectiveness of each component of our framework and its future potential. 1 Introduction Text-to-video (T2V) generation has achieved rapid progress following the success of text- to-image (T2I) generation. Most works in T2V generation focus on producing short videos (e.g., 16 frames at 2fps) from the given text prompts (Wang et al., 2023b; He et al., 2022; Ho et al., 2022; Singer et al., 2023; Zhou et al., 2022). Recent studies on long video generation (Blattmann et al., 2023b; Yin et al., 2023; Villegas et al., 2023; He et al., 2023) aim at generating long videos of a few minutes with holistic visual consistency. Although these works could generate longer videos, the generated videos often display the continuation or repetitive patterns of a single action (e.g., driving a car) instead of transitions and dynamics of multiple changing actions/events (e.g., five steps about how to make caraway cakes). Meanwhile, large language models (LLMs) (Brown et al., 2020; OpenAI, 2023; Touvron et al., 2023a;b; Chowdhery et al., 2022) have demonstrated their capability in generating layouts and programs to control visual modules (Dı́dac et al., 2023; Gupta & Kembhavi, 2023), especially image generation models (Cho et al., 2023b; Feng et al., 2023). This raises an interesting question: Can we leverage the knowledge embedded in these LLMs for planning consistent multi-scene video generation? 1
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:Layout2Vid在预训练视频生成器上增加布局控制。每个实体的条件信息结合边界框位置、文本特征和图像特征;场景文字提供当前画面的内容约束,共享实体条件帮助跨场景保持外观。这里的图像特征在推理时可以从文字转换得到,也可来自用户示例图。模型不是只凭一个角色名字就保证每个镜头完全相同。
条件:仅限本地原始PDF的 Section 3.2;不同表格与实验不合并
PDF p.5, Section 3.2 · PDF p.5
Published as a conference paper at COLM 2024 et al., 2023b), we adopt the [ x0 , y0 , x1 , y1 ] format for bounding boxes, where each coordinate is normalized to fall within the range [0,1]. For in-context examples, we present 0.05 as the minimum unit for the bounding box, equivalent to a 20-bin quantization. 3.2 Video Generation: Generating Videos from Video Plans with Layout2Vid Preliminaries. Given a T frame video x ∈ RT ×3× H ×W with video caption c, we first ′ ′ uses an autoencoder to encode the video into latents z = E ( x) ∈ RT ×C× H ×W , where ′ ′ C = 4 represents the number of latent channels, and H = H/8, W = W/8 represent the spatial dimension of the latents. In Latent diffusion model (LDM) (Rombach et al., 2022), the forward process is a fixedp diffusion process which gradually adds noise to the latent variable z: q(zt |zt−1 ) = N (zt ; 1 − β t zt−1 , β t I ), where β t ∈ (0, 1) is the variance schedule with t ∈ {1, ..., T }. The reverse process gradually produces less noisy samples z T −1 , z T −2 , ..., z0 starting from z T through a learnable denoiser model ϵθ. With t as a timestep uniformly sampled from {1, ..., T }, the training objective of our Layout2Vid can be expressed as: minθ LLDM = Ez,ϵ∼ N (0,I ),t ∥ϵ − ϵθ (zt , t, c)∥22 . Layout2Vid: Layout-guided T2V generation. We implement Layout2Vid by integrating layout control capability into ModelScopeT2V (Wang et al., 2023b), a public T2V gener- ation model based on Stable Diffusion (Rombach et al., 2022). The diffusion UNet in ModelScopeT2V consists of a series of spatio-temporal blocks, each containing four mod- ules: spatial convolution, temporal convolution, spatial attention, and temporal attention. Compared with ModelScopeT2V, our Layout2Vid enables layout-guided video generation with explicit spatial control over a list of entities represented by their bounding boxes, as well as visual and text content. We build upon the 2D attention to create the guided 2D attention (see Fig. 9 in Appendix D). As shown in Fig. 3 (c), the guided 2D attention takes two conditional inputs to modulate the visual latent representation: (1) grounding tokens, conditioned with gated self-attention (Li et al., 2023), and (2) text tokens that describe the current scene, conditioned with cross-attention. Temporally consistent entity grounding with image+text embeddings. While previous layout-guided T2I generation models commonly used only the CLIP text embedding for layout control (Li et al., 2023; Yang et al., 2023), we use the CLIP image embedding in addition to the CLIP text embedding for entity grounding. We demonstrate in our ablation studies (see Appendix H) that this method is more effective than using either text-only or image-only grounding. As depicted below, the grounding token for the ith entity, hi , is a 2-layer MLP which fuses CLIP image embeddings fimg (ei ), CLIP text embeddings ftext (ei ), and Fourier features (Mildenhall et al., 2021) of the bounding box li = [ x0 , y0 , x1 , y1 ]. We use learnable linear projection layers, denoted as Pimg/text , on the visual/text features, which we found helpful for faster convergence during training. hi = MLP(Pimg ( fimg (ei )), Ptext ( ftext (ei )), Fourier(li )) The training and inference procedure of our Layout2Vid are presented in Fig. 3 parts (a) and (b) respectively. During training, the image embeddings fimg (e) are obtained by encoding the image crop of the entities with CLIP image encoder. During inference, since all the inputs are in text format (e.g., from the video plan), we employ Karlo (Lee et al., 2022), a public implementation of unCLIP Prior (Ramesh et al., 2022) to transform the CLIP text embedding into its corresponding CLIP image embedding. Moreover, our image embeddings can also be obtained from user-provided exemplars during inference by simply encode the images with the CLIP image encoder. Parameter and data-efficient training. During training, we only update the parameters of the guided 2D attention (13% of total parameters) to inject layout guidance capabilities into the pretrained T2V backbone while preserving its original video generation capabil- ities. Such strategy allows us to efficiently train the model with only image-level layout annotations, while still equipped with multi-scene temporal consistency via shared entity grounding tokens. Training and inference details are shown in Appendix D. 5
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:作者冻结原有生成骨干,只训练引导注意力相关参数,占总参数的13%,并使用图像级布局标注。这说明它利用预训练能力减少新增训练负担,而不是整个系统免训练。语言模型规划位置与视频模型遵守位置也是两个环节:计划合理不代表最后画面必然遵守。
条件:仅限本地原始PDF的 Section 3.2;不同表格与实验不合并
PDF p.5, Section 3.2 · PDF p.5
Published as a conference paper at COLM 2024 et al., 2023b), we adopt the [ x0 , y0 , x1 , y1 ] format for bounding boxes, where each coordinate is normalized to fall within the range [0,1]. For in-context examples, we present 0.05 as the minimum unit for the bounding box, equivalent to a 20-bin quantization. 3.2 Video Generation: Generating Videos from Video Plans with Layout2Vid Preliminaries. Given a T frame video x ∈ RT ×3× H ×W with video caption c, we first ′ ′ uses an autoencoder to encode the video into latents z = E ( x) ∈ RT ×C× H ×W , where ′ ′ C = 4 represents the number of latent channels, and H = H/8, W = W/8 represent the spatial dimension of the latents. In Latent diffusion model (LDM) (Rombach et al., 2022), the forward process is a fixedp diffusion process which gradually adds noise to the latent variable z: q(zt |zt−1 ) = N (zt ; 1 − β t zt−1 , β t I ), where β t ∈ (0, 1) is the variance schedule with t ∈ {1, ..., T }. The reverse process gradually produces less noisy samples z T −1 , z T −2 , ..., z0 starting from z T through a learnable denoiser model ϵθ. With t as a timestep uniformly sampled from {1, ..., T }, the training objective of our Layout2Vid can be expressed as: minθ LLDM = Ez,ϵ∼ N (0,I ),t ∥ϵ − ϵθ (zt , t, c)∥22 . Layout2Vid: Layout-guided T2V generation. We implement Layout2Vid by integrating layout control capability into ModelScopeT2V (Wang et al., 2023b), a public T2V gener- ation model based on Stable Diffusion (Rombach et al., 2022). The diffusion UNet in ModelScopeT2V consists of a series of spatio-temporal blocks, each containing four mod- ules: spatial convolution, temporal convolution, spatial attention, and temporal attention. Compared with ModelScopeT2V, our Layout2Vid enables layout-guided video generation with explicit spatial control over a list of entities represented by their bounding boxes, as well as visual and text content. We build upon the 2D attention to create the guided 2D attention (see Fig. 9 in Appendix D). As shown in Fig. 3 (c), the guided 2D attention takes two conditional inputs to modulate the visual latent representation: (1) grounding tokens, conditioned with gated self-attention (Li et al., 2023), and (2) text tokens that describe the current scene, conditioned with cross-attention. Temporally consistent entity grounding with image+text embeddings. While previous layout-guided T2I generation models commonly used only the CLIP text embedding for layout control (Li et al., 2023; Yang et al., 2023), we use the CLIP image embedding in addition to the CLIP text embedding for entity grounding. We demonstrate in our ablation studies (see Appendix H) that this method is more effective than using either text-only or image-only grounding. As depicted below, the grounding token for the ith entity, hi , is a 2-layer MLP which fuses CLIP image embeddings fimg (ei ), CLIP text embeddings ftext (ei ), and Fourier features (Mildenhall et al., 2021) of the bounding box li = [ x0 , y0 , x1 , y1 ]. We use learnable linear projection layers, denoted as Pimg/text , on the visual/text features, which we found helpful for faster convergence during training. hi = MLP(Pimg ( fimg (ei )), Ptext ( ftext (ei )), Fourier(li )) The training and inference procedure of our Layout2Vid are presented in Fig. 3 parts (a) and (b) respectively. During training, the image embeddings fimg (e) are obtained by encoding the image crop of the entities with CLIP image encoder. During inference, since all the inputs are in text format (e.g., from the video plan), we employ Karlo (Lee et al., 2022), a public implementation of unCLIP Prior (Ramesh et al., 2022) to transform the CLIP text embedding into its corresponding CLIP image embedding. Moreover, our image embeddings can also be obtained from user-provided exemplars during inference by simply encode the images with the CLIP image encoder. Parameter and data-efficient training. During training, we only update the parameters of the guided 2D attention (13% of total parameters) to inject layout guidance capabilities into the pretrained T2V backbone while preserving its original video generation capabil- ities. Such strategy allows us to efficiently train the model with only image-level layout annotations, while still equipped with multi-scene temporal consistency via shared entity grounding tokens. Training and inference details are shown in Appendix D. 5
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:实验把开放域视频与多场景故事分开:开放域对照使用同一生成骨干与测试提示,多场景则检查连续场景中的对象一致性。不能拿不同数据集的一致性与画质指标相互替代。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.8, experimental setup · PDF p.8
Published as a conference paper at COLM 2024 ActivityNet Captions Coref-SV HiREST Method FVD (↓) FID (↓) Consistency (↑) Consistency (↑) FVD (↓) FID (↓) ModelScopeT2V 980 18.12 46.0 16.3 1322 23.79 ModelScopeT2V (with GT co-reference; oracle) - - - 37.9 - - ModelScopeT2V (with prompts from our video plan) - - - - 918 18.96 V IDEO D IRECTOR GPT (Ours) 805 16.50 64.8 42.8 733 18.54 Table 3: Multi-scene video generation with multiple input text (ActivityNet Captions and Coref-SV) and single sentence (HiREST). GT co-reference: replacing co-reference pronouns in Coref-SV with the original object names (e.g., “his friends” may become “dog’s friends”). Prompts from our video plan: an enhanced benchmark for ModelScopeT2V using scene descriptions from our video plan. plan guides the Layout2Vid module to correctly locate and move the ‘pear’ in the accurate direction, whereas the ‘pear’ in the ModelScopeT2V video is not moved and just gets grabbed. In Appendix J, we show additional examples (see Fig. 13) where for static objects (e.g., a bottle), movement is often depicted via camera motion, whereas for objects that can naturally move (e.g., airplane), our V IDEO D IRECTOR GPT directly shows object movements. Open-domain results. Table 2 presents the FVD, FID, and CLIPSIM scores on MSR-VTT. It’s MSR-VTT Method worth noting that our model is built on the pre- FVD (↓) FID (↓) CLIPSIM (↑) trained ModelScopeT2V backbone. Despite this, Different arch / Training data our method demonstrates good improvements NUWA − 47.68 0.2439 CogVideo (Chinese) − 24.78 0.2614 in FVD and competitive scores in FID and CLIP- CogVideo (English) 1294 23.59 0.2631 SIM. In addition, our method achieves better MagicVideo 1290 − − VideoLDM − − 0.2929 or comparable performance to models trained Make-A-Video − 13.17 0.3049 with larger video data (e.g., Make-A-Video) or Same video backbone & Test prompts † with higher resolution (e.g., VideoLDM). Eval- ModelScopeT2V V IDEO D IRECTOR GPT 683 550 12.32 12.22 0.2909 0.2860 uation results on UCF-101 are presented in Ap- pendix I, where we achieve significant improve- Table 2: Comparison results on MSR- ment in FVD (ModelScopeT2V 1093 vs. Ours 748) and similar performance in the Inception VTT. ModelScopeT2V† : Our replication Score (ModelScopeT2V 19.49 vs. Ours 19.42). on the same 2990 random test prompts. 5.2 Multi-Scene Video Generation Multiple sentences to multi-scene videos generation (ActivityNet Captions / Coref-SV). As shown in the left two blocks of Table 3, our V IDEO D IRECTOR GPT outperforms Mod- elScopeT2V in visual quality (FVD/FID) and multi-scene object temporal consistency. No- tably, for Coref-SV, our V IDEO D IRECTOR GPT achieves higher object consistency than ModelScopeT2V even with GT co-reference (where pronouns are replaced with their orig- inal noun counterparts, acting as oracle information; e.g., “she picked up ...” becomes “cat picked up ...”). As we do not have ground-truth videos for Coref-SV, we only use it to evaluate consistency when co-references are used across scenes. Fig. 5 (left) shows a video generation example from Coref-SV, where the LLM-generated video plan can guide the Layout2Vid module to generate the same mouse across scenes consistently, whereas ModelScopeT2V generates a hand and a dog instead of a mouse in later scenes. Single sentences to multi-scene videos generation (HiREST). The right block of Table 3 shows our V IDEO D IRECTOR GPT achieves better visual quality scores (FVD/FID) than ModelScopeT2V on the HiREST dataset. Moreover, by comparing with an enhanced Mod- elScopeT2V benchmark, where videos are generated from each scene description in our GPT-4-produced video plan, we demonstrate the effectiveness of prompts generated by GPT-4. However, it still performs worse than our V IDEO D IRECTOR GPT, also showing the effectiveness of our Layout2Vid. As shown in Fig. 5 (right), our LLM can generate a step-by-step video plan from a single prompt and our Layout2Vid can generate consistent videos following the plan, showing how to make caraway cakes (a British seed cake). In 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:同骨干、同测试提示的MSR-VTT比较中,FVD由683降至550,FID由12.32降至12.22,两个指标都以低为好;但文本视频相似度CLIPSIM由0.2909变成0.2860,略低。另一个多场景测试Coref-SV中,一致性分数由ModelScopeT2V的16.3提高到42.8;加强了指代信息的基线为37.9。不同数据集和指标不能混成一个总成功率。
条件:仅限本地原始PDF的 Table 2; Table 3;不同表格与实验不合并
PDF p.8, Table 2; Table 3 · PDF p.8
Published as a conference paper at COLM 2024 ActivityNet Captions Coref-SV HiREST Method FVD (↓) FID (↓) Consistency (↑) Consistency (↑) FVD (↓) FID (↓) ModelScopeT2V 980 18.12 46.0 16.3 1322 23.79 ModelScopeT2V (with GT co-reference; oracle) - - - 37.9 - - ModelScopeT2V (with prompts from our video plan) - - - - 918 18.96 V IDEO D IRECTOR GPT (Ours) 805 16.50 64.8 42.8 733 18.54 Table 3: Multi-scene video generation with multiple input text (ActivityNet Captions and Coref-SV) and single sentence (HiREST). GT co-reference: replacing co-reference pronouns in Coref-SV with the original object names (e.g., “his friends” may become “dog’s friends”). Prompts from our video plan: an enhanced benchmark for ModelScopeT2V using scene descriptions from our video plan. plan guides the Layout2Vid module to correctly locate and move the ‘pear’ in the accurate direction, whereas the ‘pear’ in the ModelScopeT2V video is not moved and just gets grabbed. In Appendix J, we show additional examples (see Fig. 13) where for static objects (e.g., a bottle), movement is often depicted via camera motion, whereas for objects that can naturally move (e.g., airplane), our V IDEO D IRECTOR GPT directly shows object movements. Open-domain results. Table 2 presents the FVD, FID, and CLIPSIM scores on MSR-VTT. It’s MSR-VTT Method worth noting that our model is built on the pre- FVD (↓) FID (↓) CLIPSIM (↑) trained ModelScopeT2V backbone. Despite this, Different arch / Training data our method demonstrates good improvements NUWA − 47.68 0.2439 CogVideo (Chinese) − 24.78 0.2614 in FVD and competitive scores in FID and CLIP- CogVideo (English) 1294 23.59 0.2631 SIM. In addition, our method achieves better MagicVideo 1290 − − VideoLDM − − 0.2929 or comparable performance to models trained Make-A-Video − 13.17 0.3049 with larger video data (e.g., Make-A-Video) or Same video backbone & Test prompts † with higher resolution (e.g., VideoLDM). Eval- ModelScopeT2V V IDEO D IRECTOR GPT 683 550 12.32 12.22 0.2909 0.2860 uation results on UCF-101 are presented in Ap- pendix I, where we achieve significant improve- Table 2: Comparison results on MSR- ment in FVD (ModelScopeT2V 1093 vs. Ours 748) and similar performance in the Inception VTT. ModelScopeT2V† : Our replication Score (ModelScopeT2V 19.49 vs. Ours 19.42). on the same 2990 random test prompts. 5.2 Multi-Scene Video Generation Multiple sentences to multi-scene videos generation (ActivityNet Captions / Coref-SV). As shown in the left two blocks of Table 3, our V IDEO D IRECTOR GPT outperforms Mod- elScopeT2V in visual quality (FVD/FID) and multi-scene object temporal consistency. No- tably, for Coref-SV, our V IDEO D IRECTOR GPT achieves higher object consistency than ModelScopeT2V even with GT co-reference (where pronouns are replaced with their orig- inal noun counterparts, acting as oracle information; e.g., “she picked up ...” becomes “cat picked up ...”). As we do not have ground-truth videos for Coref-SV, we only use it to evaluate consistency when co-references are used across scenes. Fig. 5 (left) shows a video generation example from Coref-SV, where the LLM-generated video plan can guide the Layout2Vid module to generate the same mouse across scenes consistently, whereas ModelScopeT2V generates a hand and a dog instead of a mouse in later scenes. Single sentences to multi-scene videos generation (HiREST). The right block of Table 3 shows our V IDEO D IRECTOR GPT achieves better visual quality scores (FVD/FID) than ModelScopeT2V on the HiREST dataset. Moreover, by comparing with an enhanced Mod- elScopeT2V benchmark, where videos are generated from each scene description in our GPT-4-produced video plan, we demonstrate the effectiveness of prompts generated by GPT-4. However, it still performs worse than our V IDEO D IRECTOR GPT, also showing the effectiveness of our Layout2Vid. As shown in Fig. 5 (right), our LLM can generate a step-by-step video plan from a single prompt and our Layout2Vid can generate consistent videos following the plan, showing how to make caraway cakes (a British seed cake). In 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:论文报告了边界框重叠过多时控制不佳,以及难以做到背景完全静止而物体独立运动等问题。控制强度也涉及画质与布局遵从的权衡。因此,最值得记住的是显式计划和共享实体条件带来了可测的改善,而不是跨场景身份、动作或物理正确性已经得到保证。
条件:仅限本地原始PDF的 Limitations; Table 4;不同表格与实验不合并
PDF p.10, Limitations; Table 4 · PDF p.10
Published as a conference paper at COLM 2024 # Denoising steps with lay- MSR-VTT ActionBench-Direction out guidance (out of 50) FVD (↓) FID (↓) CLIPSIM (↑) Move Direction Acc. (%) α = 0.1 (5 steps) 550 12.22 0.2860 46.5 α = 0.2 (10 steps) 588 17.25 0.2700 59.8 α = 0.3 (15 steps) 593 17.17 0.2702 57.8 LLM-Dynamic-α (5-15 steps) 523 13.75 0.2790 56.8 Table 4: Ablation of the denoising steps with layout guidance (via guided 2D attentions) in # steps with layout guidance MSR-VTT and ActionBench-Direction prompts, where α = # total steps . MSR-VTT ActionBench-Directions LLMs FVD (↓) FID (↓) CLIPSIM (↑) #Samples (↑) Movement Direction Acc (%) #Samples (↑) Fine-tuned LLaMA2-7B 580 12.69 0.2851 2749 35.8 537 LLaMA2-13B 556 12.40 0.2854 2786 53.3 561 Zero-shot LLaMA2-13B 573 13.47 0.2792 2236 - 82 GPT-3.5-turbo 558 12.27 0.2852 2990 49.0 600 GPT-4 (default) 550 12.22 0.2860 2990 59.8 600 Table 5: Ablation of video generation with video plans generated from different LLMs on MSR-VTT and ActionBench-Directions. ActionBench-Directions, we also report the number of samples whose output layouts can be successfully parsed (e.g., #Samples). Evaluation setup details are given in Appendix H. Table 5 shows that zero-shot LLaMA2-13B struggles to generate layouts that can be suc- cessfully parsed (e.g., only 82 out of 600). It also achieves worse scores on all three metrics (FID, FVD, and CLIPSIM) on MSR-VTT, as well as the movement direction accuracy on ActionBench-Directions, which shows that GPT models have stronger in-context learning skills and can generate more reasonable layouts. On the other hand, all scores can be improved by fine-tuning on layouts generated by GPT-4. Fine-tuning open-sourced LLMs can be a future direction worthwhile to explore. Another point to note is that GPT-3.5-turbo and GPT-4 achieve very similar performance on MSR-VTT, but GPT-3.5-turbo performs significantly worse than GPT-4 on ActionBench-Directions. This suggests that GPT-3.5-turbo is less effective at handling prompts requiring strong layout control compared to GPT-4. Challenging cases. The bounding box-based control of our method poses two main chal- lenges. Firstly, some objects might not follow the bounding box control well when there are too many overlapping bounding boxes. For example, in Fig. 5 right, the “hand mixer” and “unsalted butter”, which have relatively small bounding box sizes, do not follow the box control well. Secondly, the control of whether the background is static or moving is usually determined by the prior knowledge of the video generation model. For example, as shown in Fig. 13, it’s hard for Layout2Vid to generate a moving bottle with a static background and a moving boat with a completely static background (see paragraph “Object movement prompts with different types of objects” in Appendix J.2 for details). 5.4 Human Evaluation Human Preference (%) ↑ Evaluation category Human preference. We conduct a hu- ModelScopeT2V Tie Ours man evaluation study on the multi-scene Quality 50 34 16 videos generated by both our V IDEO D IREC - Text-Video Alignment Object Consistency 58 62 36 28 6 10 TOR GPT and ModelScopeT2V on the Coref- SV dataset. We show 50 videos to 10 crowd- Table 6: Human preference on multi-scene annotators from AMT1 to rate each video videos generated with Coref-SV prompts. (56 annotators in total, 10 annotators per video) and calculate human preferences for each video with average ratings. Table 6 shows that the multi-scene videos (with Coref-SV prompts) generated by our V IDEO D IRECTOR GPT 1Amazon Mechanical Turk: https://www.mturk.com 10
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
论文为什么要做这件事
连续故事视频不只是逐段生成好看的短片:同一个对象跨场景需要保持身份,动作与位置还要服从故事安排。VideoDirectorGPT把这个问题拆成先做视频计划,再按计划生成画面。它让语言模型负责结构化规划,让视频模型负责成像,两者不是同一个模型。 (原文:PDF p.1, Abstract; Introduction)
指标:连续故事视频不只是逐段生成好看的短片:同一个对象跨场景需要保持身份,动作与位置还要服从故事安排。VideoDirectorGPT把这个问题拆成先做视频计划,再按计划生成画面。它让语言模型负责结构化规划,让视频模型负责成像,两者不是同一个模型。
条件:仅限本地原始PDF的 Abstract; Introduction;不同表格与实验不合并
PDF p.1, Abstract; Introduction · PDF p.1
Published as a conference paper at COLM 2024 V IDEO D IRECTOR GPT: Consistent Multi-Scene Video Generation via LLM-Guided Planning Han Lin Abhay Zala Jaemin Cho Mohit Bansal UNC Chapel Hill {hanlincs, aszala, jmincho, mbansal}@cs.unc.edu https://videodirectorgpt.github.io/ Abstract arXiv:2309.15091v2 [cs.CV] 12 Jul 2024 Recent text-to-video (T2V) generation methods have seen significant ad- vancements. However, the majority of these works focus on producing short video clips of a single event (i.e., single-scene videos). Meanwhile, recent large language models (LLMs) have demonstrated their capability in generating layouts and programs to control downstream visual modules. This prompts an important question: can we leverage the knowledge em- bedded in these LLMs for temporally consistent long video generation? In this paper, we propose V IDEO D IRECTOR GPT, a novel framework for con- sistent multi-scene video generation that uses the knowledge of LLMs for video content planning and grounded video generation. Specifically, given a single text prompt, we first ask our video planner LLM (GPT-4) to expand it into a ‘video plan’, which includes the scene descriptions, the entities with their respective layouts, the background for each scene, and consistency groupings of the entities. Next, guided by this video plan, our video gen- erator, named Layout2Vid, has explicit control over spatial layouts and can maintain temporal consistency of entities across multiple scenes, while being trained only with image-level annotations. Our experiments demon- strate that our proposed V IDEO D IRECTOR GPT framework substantially improves layout and movement control in both single- and multi-scene video generation and can generate multi-scene videos with consistency, while achieving competitive performance with SOTAs in open-domain single-scene T2V generation. Detailed ablation studies, including dynamic adjustment of layout control strength with an LLM and video generation with user-provided images, confirm the effectiveness of each component of our framework and its future potential. 1 Introduction Text-to-video (T2V) generation has achieved rapid progress following the success of text- to-image (T2I) generation. Most works in T2V generation focus on producing short videos (e.g., 16 frames at 2fps) from the given text prompts (Wang et al., 2023b; He et al., 2022; Ho et al., 2022; Singer et al., 2023; Zhou et al., 2022). Recent studies on long video generation (Blattmann et al., 2023b; Yin et al., 2023; Villegas et al., 2023; He et al., 2023) aim at generating long videos of a few minutes with holistic visual consistency. Although these works could generate longer videos, the generated videos often display the continuation or repetitive patterns of a single action (e.g., driving a car) instead of transitions and dynamics of multiple changing actions/events (e.g., five steps about how to make caraway cakes). Meanwhile, large language models (LLMs) (Brown et al., 2020; OpenAI, 2023; Touvron et al., 2023a;b; Chowdhery et al., 2022) have demonstrated their capability in generating layouts and programs to control visual modules (Dı́dac et al., 2023; Gupta & Kembhavi, 2023), especially image generation models (Cho et al., 2023b; Feng et al., 2023). This raises an interesting question: Can we leverage the knowledge embedded in these LLMs for planning consistent multi-scene video generation? 1
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
核心方法到底怎么运转
Layout2Vid在预训练视频生成器上增加布局控制。每个实体的条件信息结合边界框位置、文本特征和图像特征;场景文字提供当前画面的内容约束,共享实体条件帮助跨场景保持外观。这里的图像特征在推理时可以从文字转换得到,也可来自用户示例图。模型不是只凭一个角色名字就保证每个镜头完全相同。 (原文:PDF p.5, Section 3.2)
指标:Layout2Vid在预训练视频生成器上增加布局控制。每个实体的条件信息结合边界框位置、文本特征和图像特征;场景文字提供当前画面的内容约束,共享实体条件帮助跨场景保持外观。这里的图像特征在推理时可以从文字转换得到,也可来自用户示例图。模型不是只凭一个角色名字就保证每个镜头完全相同。
条件:仅限本地原始PDF的 Section 3.2;不同表格与实验不合并
PDF p.5, Section 3.2 · PDF p.5
Published as a conference paper at COLM 2024 et al., 2023b), we adopt the [ x0 , y0 , x1 , y1 ] format for bounding boxes, where each coordinate is normalized to fall within the range [0,1]. For in-context examples, we present 0.05 as the minimum unit for the bounding box, equivalent to a 20-bin quantization. 3.2 Video Generation: Generating Videos from Video Plans with Layout2Vid Preliminaries. Given a T frame video x ∈ RT ×3× H ×W with video caption c, we first ′ ′ uses an autoencoder to encode the video into latents z = E ( x) ∈ RT ×C× H ×W , where ′ ′ C = 4 represents the number of latent channels, and H = H/8, W = W/8 represent the spatial dimension of the latents. In Latent diffusion model (LDM) (Rombach et al., 2022), the forward process is a fixedp diffusion process which gradually adds noise to the latent variable z: q(zt |zt−1 ) = N (zt ; 1 − β t zt−1 , β t I ), where β t ∈ (0, 1) is the variance schedule with t ∈ {1, ..., T }. The reverse process gradually produces less noisy samples z T −1 , z T −2 , ..., z0 starting from z T through a learnable denoiser model ϵθ. With t as a timestep uniformly sampled from {1, ..., T }, the training objective of our Layout2Vid can be expressed as: minθ LLDM = Ez,ϵ∼ N (0,I ),t ∥ϵ − ϵθ (zt , t, c)∥22 . Layout2Vid: Layout-guided T2V generation. We implement Layout2Vid by integrating layout control capability into ModelScopeT2V (Wang et al., 2023b), a public T2V gener- ation model based on Stable Diffusion (Rombach et al., 2022). The diffusion UNet in ModelScopeT2V consists of a series of spatio-temporal blocks, each containing four mod- ules: spatial convolution, temporal convolution, spatial attention, and temporal attention. Compared with ModelScopeT2V, our Layout2Vid enables layout-guided video generation with explicit spatial control over a list of entities represented by their bounding boxes, as well as visual and text content. We build upon the 2D attention to create the guided 2D attention (see Fig. 9 in Appendix D). As shown in Fig. 3 (c), the guided 2D attention takes two conditional inputs to modulate the visual latent representation: (1) grounding tokens, conditioned with gated self-attention (Li et al., 2023), and (2) text tokens that describe the current scene, conditioned with cross-attention. Temporally consistent entity grounding with image+text embeddings. While previous layout-guided T2I generation models commonly used only the CLIP text embedding for layout control (Li et al., 2023; Yang et al., 2023), we use the CLIP image embedding in addition to the CLIP text embedding for entity grounding. We demonstrate in our ablation studies (see Appendix H) that this method is more effective than using either text-only or image-only grounding. As depicted below, the grounding token for the ith entity, hi , is a 2-layer MLP which fuses CLIP image embeddings fimg (ei ), CLIP text embeddings ftext (ei ), and Fourier features (Mildenhall et al., 2021) of the bounding box li = [ x0 , y0 , x1 , y1 ]. We use learnable linear projection layers, denoted as Pimg/text , on the visual/text features, which we found helpful for faster convergence during training. hi = MLP(Pimg ( fimg (ei )), Ptext ( ftext (ei )), Fourier(li )) The training and inference procedure of our Layout2Vid are presented in Fig. 3 parts (a) and (b) respectively. During training, the image embeddings fimg (e) are obtained by encoding the image crop of the entities with CLIP image encoder. During inference, since all the inputs are in text format (e.g., from the video plan), we employ Karlo (Lee et al., 2022), a public implementation of unCLIP Prior (Ramesh et al., 2022) to transform the CLIP text embedding into its corresponding CLIP image embedding. Moreover, our image embeddings can also be obtained from user-provided exemplars during inference by simply encode the images with the CLIP image encoder. Parameter and data-efficient training. During training, we only update the parameters of the guided 2D attention (13% of total parameters) to inject layout guidance capabilities into the pretrained T2V backbone while preserving its original video generation capabil- ities. Such strategy allows us to efficiently train the model with only image-level layout annotations, while still equipped with multi-scene temporal consistency via shared entity grounding tokens. Training and inference details are shown in Appendix D. 5
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
控制模块仍需要训练
作者冻结原有生成骨干,只训练引导注意力相关参数,占总参数的13%,并使用图像级布局标注。这说明它利用预训练能力减少新增训练负担,而不是整个系统免训练。语言模型规划位置与视频模型遵守位置也是两个环节:计划合理不代表最后画面必然遵守。 (原文:PDF p.5, Section 3.2)
指标:作者冻结原有生成骨干,只训练引导注意力相关参数,占总参数的13%,并使用图像级布局标注。这说明它利用预训练能力减少新增训练负担,而不是整个系统免训练。语言模型规划位置与视频模型遵守位置也是两个环节:计划合理不代表最后画面必然遵守。
条件:仅限本地原始PDF的 Section 3.2;不同表格与实验不合并
PDF p.5, Section 3.2 · PDF p.5
Published as a conference paper at COLM 2024 et al., 2023b), we adopt the [ x0 , y0 , x1 , y1 ] format for bounding boxes, where each coordinate is normalized to fall within the range [0,1]. For in-context examples, we present 0.05 as the minimum unit for the bounding box, equivalent to a 20-bin quantization. 3.2 Video Generation: Generating Videos from Video Plans with Layout2Vid Preliminaries. Given a T frame video x ∈ RT ×3× H ×W with video caption c, we first ′ ′ uses an autoencoder to encode the video into latents z = E ( x) ∈ RT ×C× H ×W , where ′ ′ C = 4 represents the number of latent channels, and H = H/8, W = W/8 represent the spatial dimension of the latents. In Latent diffusion model (LDM) (Rombach et al., 2022), the forward process is a fixedp diffusion process which gradually adds noise to the latent variable z: q(zt |zt−1 ) = N (zt ; 1 − β t zt−1 , β t I ), where β t ∈ (0, 1) is the variance schedule with t ∈ {1, ..., T }. The reverse process gradually produces less noisy samples z T −1 , z T −2 , ..., z0 starting from z T through a learnable denoiser model ϵθ. With t as a timestep uniformly sampled from {1, ..., T }, the training objective of our Layout2Vid can be expressed as: minθ LLDM = Ez,ϵ∼ N (0,I ),t ∥ϵ − ϵθ (zt , t, c)∥22 . Layout2Vid: Layout-guided T2V generation. We implement Layout2Vid by integrating layout control capability into ModelScopeT2V (Wang et al., 2023b), a public T2V gener- ation model based on Stable Diffusion (Rombach et al., 2022). The diffusion UNet in ModelScopeT2V consists of a series of spatio-temporal blocks, each containing four mod- ules: spatial convolution, temporal convolution, spatial attention, and temporal attention. Compared with ModelScopeT2V, our Layout2Vid enables layout-guided video generation with explicit spatial control over a list of entities represented by their bounding boxes, as well as visual and text content. We build upon the 2D attention to create the guided 2D attention (see Fig. 9 in Appendix D). As shown in Fig. 3 (c), the guided 2D attention takes two conditional inputs to modulate the visual latent representation: (1) grounding tokens, conditioned with gated self-attention (Li et al., 2023), and (2) text tokens that describe the current scene, conditioned with cross-attention. Temporally consistent entity grounding with image+text embeddings. While previous layout-guided T2I generation models commonly used only the CLIP text embedding for layout control (Li et al., 2023; Yang et al., 2023), we use the CLIP image embedding in addition to the CLIP text embedding for entity grounding. We demonstrate in our ablation studies (see Appendix H) that this method is more effective than using either text-only or image-only grounding. As depicted below, the grounding token for the ith entity, hi , is a 2-layer MLP which fuses CLIP image embeddings fimg (ei ), CLIP text embeddings ftext (ei ), and Fourier features (Mildenhall et al., 2021) of the bounding box li = [ x0 , y0 , x1 , y1 ]. We use learnable linear projection layers, denoted as Pimg/text , on the visual/text features, which we found helpful for faster convergence during training. hi = MLP(Pimg ( fimg (ei )), Ptext ( ftext (ei )), Fourier(li )) The training and inference procedure of our Layout2Vid are presented in Fig. 3 parts (a) and (b) respectively. During training, the image embeddings fimg (e) are obtained by encoding the image crop of the entities with CLIP image encoder. During inference, since all the inputs are in text format (e.g., from the video plan), we employ Karlo (Lee et al., 2022), a public implementation of unCLIP Prior (Ramesh et al., 2022) to transform the CLIP text embedding into its corresponding CLIP image embedding. Moreover, our image embeddings can also be obtained from user-provided exemplars during inference by simply encode the images with the CLIP image encoder. Parameter and data-efficient training. During training, we only update the parameters of the guided 2D attention (13% of total parameters) to inject layout guidance capabilities into the pretrained T2V backbone while preserving its original video generation capabil- ities. Such strategy allows us to efficiently train the model with only image-level layout annotations, while still equipped with multi-scene temporal consistency via shared entity grounding tokens. Training and inference details are shown in Appendix D. 5
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
实验怎样检验这个方法
实验把开放域视频与多场景故事分开:开放域对照使用同一生成骨干与测试提示,多场景则检查连续场景中的对象一致性。不能拿不同数据集的一致性与画质指标相互替代。 (原文:PDF p.8, experimental setup)
指标:实验把开放域视频与多场景故事分开:开放域对照使用同一生成骨干与测试提示,多场景则检查连续场景中的对象一致性。不能拿不同数据集的一致性与画质指标相互替代。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.8, experimental setup · PDF p.8
Published as a conference paper at COLM 2024 ActivityNet Captions Coref-SV HiREST Method FVD (↓) FID (↓) Consistency (↑) Consistency (↑) FVD (↓) FID (↓) ModelScopeT2V 980 18.12 46.0 16.3 1322 23.79 ModelScopeT2V (with GT co-reference; oracle) - - - 37.9 - - ModelScopeT2V (with prompts from our video plan) - - - - 918 18.96 V IDEO D IRECTOR GPT (Ours) 805 16.50 64.8 42.8 733 18.54 Table 3: Multi-scene video generation with multiple input text (ActivityNet Captions and Coref-SV) and single sentence (HiREST). GT co-reference: replacing co-reference pronouns in Coref-SV with the original object names (e.g., “his friends” may become “dog’s friends”). Prompts from our video plan: an enhanced benchmark for ModelScopeT2V using scene descriptions from our video plan. plan guides the Layout2Vid module to correctly locate and move the ‘pear’ in the accurate direction, whereas the ‘pear’ in the ModelScopeT2V video is not moved and just gets grabbed. In Appendix J, we show additional examples (see Fig. 13) where for static objects (e.g., a bottle), movement is often depicted via camera motion, whereas for objects that can naturally move (e.g., airplane), our V IDEO D IRECTOR GPT directly shows object movements. Open-domain results. Table 2 presents the FVD, FID, and CLIPSIM scores on MSR-VTT. It’s MSR-VTT Method worth noting that our model is built on the pre- FVD (↓) FID (↓) CLIPSIM (↑) trained ModelScopeT2V backbone. Despite this, Different arch / Training data our method demonstrates good improvements NUWA − 47.68 0.2439 CogVideo (Chinese) − 24.78 0.2614 in FVD and competitive scores in FID and CLIP- CogVideo (English) 1294 23.59 0.2631 SIM. In addition, our method achieves better MagicVideo 1290 − − VideoLDM − − 0.2929 or comparable performance to models trained Make-A-Video − 13.17 0.3049 with larger video data (e.g., Make-A-Video) or Same video backbone & Test prompts † with higher resolution (e.g., VideoLDM). Eval- ModelScopeT2V V IDEO D IRECTOR GPT 683 550 12.32 12.22 0.2909 0.2860 uation results on UCF-101 are presented in Ap- pendix I, where we achieve significant improve- Table 2: Comparison results on MSR- ment in FVD (ModelScopeT2V 1093 vs. Ours 748) and similar performance in the Inception VTT. ModelScopeT2V† : Our replication Score (ModelScopeT2V 19.49 vs. Ours 19.42). on the same 2990 random test prompts. 5.2 Multi-Scene Video Generation Multiple sentences to multi-scene videos generation (ActivityNet Captions / Coref-SV). As shown in the left two blocks of Table 3, our V IDEO D IRECTOR GPT outperforms Mod- elScopeT2V in visual quality (FVD/FID) and multi-scene object temporal consistency. No- tably, for Coref-SV, our V IDEO D IRECTOR GPT achieves higher object consistency than ModelScopeT2V even with GT co-reference (where pronouns are replaced with their orig- inal noun counterparts, acting as oracle information; e.g., “she picked up ...” becomes “cat picked up ...”). As we do not have ground-truth videos for Coref-SV, we only use it to evaluate consistency when co-references are used across scenes. Fig. 5 (left) shows a video generation example from Coref-SV, where the LLM-generated video plan can guide the Layout2Vid module to generate the same mouse across scenes consistently, whereas ModelScopeT2V generates a hand and a dog instead of a mouse in later scenes. Single sentences to multi-scene videos generation (HiREST). The right block of Table 3 shows our V IDEO D IRECTOR GPT achieves better visual quality scores (FVD/FID) than ModelScopeT2V on the HiREST dataset. Moreover, by comparing with an enhanced Mod- elScopeT2V benchmark, where videos are generated from each scene description in our GPT-4-produced video plan, we demonstrate the effectiveness of prompts generated by GPT-4. However, it still performs worse than our V IDEO D IRECTOR GPT, also showing the effectiveness of our Layout2Vid. As shown in Fig. 5 (right), our LLM can generate a step-by-step video plan from a single prompt and our Layout2Vid can generate consistent videos following the plan, showing how to make caraway cakes (a British seed cake). In 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
结果说明了什么
同骨干、同测试提示的MSR-VTT比较中,FVD由683降至550,FID由12.32降至12.22,两个指标都以低为好;但文本视频相似度CLIPSIM由0.2909变成0.2860,略低。另一个多场景测试Coref-SV中,一致性分数由ModelScopeT2V的16.3提高到42.8;加强了指代信息的基线为37.9。不同数据集和指标不能混成一个总成功率。 (原文:PDF p.8, Table 2; Table 3)
指标:同骨干、同测试提示的MSR-VTT比较中,FVD由683降至550,FID由12.32降至12.22,两个指标都以低为好;但文本视频相似度CLIPSIM由0.2909变成0.2860,略低。另一个多场景测试Coref-SV中,一致性分数由ModelScopeT2V的16.3提高到42.8;加强了指代信息的基线为37.9。不同数据集和指标不能混成一个总成功率。
条件:仅限本地原始PDF的 Table 2; Table 3;不同表格与实验不合并
PDF p.8, Table 2; Table 3 · PDF p.8
Published as a conference paper at COLM 2024 ActivityNet Captions Coref-SV HiREST Method FVD (↓) FID (↓) Consistency (↑) Consistency (↑) FVD (↓) FID (↓) ModelScopeT2V 980 18.12 46.0 16.3 1322 23.79 ModelScopeT2V (with GT co-reference; oracle) - - - 37.9 - - ModelScopeT2V (with prompts from our video plan) - - - - 918 18.96 V IDEO D IRECTOR GPT (Ours) 805 16.50 64.8 42.8 733 18.54 Table 3: Multi-scene video generation with multiple input text (ActivityNet Captions and Coref-SV) and single sentence (HiREST). GT co-reference: replacing co-reference pronouns in Coref-SV with the original object names (e.g., “his friends” may become “dog’s friends”). Prompts from our video plan: an enhanced benchmark for ModelScopeT2V using scene descriptions from our video plan. plan guides the Layout2Vid module to correctly locate and move the ‘pear’ in the accurate direction, whereas the ‘pear’ in the ModelScopeT2V video is not moved and just gets grabbed. In Appendix J, we show additional examples (see Fig. 13) where for static objects (e.g., a bottle), movement is often depicted via camera motion, whereas for objects that can naturally move (e.g., airplane), our V IDEO D IRECTOR GPT directly shows object movements. Open-domain results. Table 2 presents the FVD, FID, and CLIPSIM scores on MSR-VTT. It’s MSR-VTT Method worth noting that our model is built on the pre- FVD (↓) FID (↓) CLIPSIM (↑) trained ModelScopeT2V backbone. Despite this, Different arch / Training data our method demonstrates good improvements NUWA − 47.68 0.2439 CogVideo (Chinese) − 24.78 0.2614 in FVD and competitive scores in FID and CLIP- CogVideo (English) 1294 23.59 0.2631 SIM. In addition, our method achieves better MagicVideo 1290 − − VideoLDM − − 0.2929 or comparable performance to models trained Make-A-Video − 13.17 0.3049 with larger video data (e.g., Make-A-Video) or Same video backbone & Test prompts † with higher resolution (e.g., VideoLDM). Eval- ModelScopeT2V V IDEO D IRECTOR GPT 683 550 12.32 12.22 0.2909 0.2860 uation results on UCF-101 are presented in Ap- pendix I, where we achieve significant improve- Table 2: Comparison results on MSR- ment in FVD (ModelScopeT2V 1093 vs. Ours 748) and similar performance in the Inception VTT. ModelScopeT2V† : Our replication Score (ModelScopeT2V 19.49 vs. Ours 19.42). on the same 2990 random test prompts. 5.2 Multi-Scene Video Generation Multiple sentences to multi-scene videos generation (ActivityNet Captions / Coref-SV). As shown in the left two blocks of Table 3, our V IDEO D IRECTOR GPT outperforms Mod- elScopeT2V in visual quality (FVD/FID) and multi-scene object temporal consistency. No- tably, for Coref-SV, our V IDEO D IRECTOR GPT achieves higher object consistency than ModelScopeT2V even with GT co-reference (where pronouns are replaced with their orig- inal noun counterparts, acting as oracle information; e.g., “she picked up ...” becomes “cat picked up ...”). As we do not have ground-truth videos for Coref-SV, we only use it to evaluate consistency when co-references are used across scenes. Fig. 5 (left) shows a video generation example from Coref-SV, where the LLM-generated video plan can guide the Layout2Vid module to generate the same mouse across scenes consistently, whereas ModelScopeT2V generates a hand and a dog instead of a mouse in later scenes. Single sentences to multi-scene videos generation (HiREST). The right block of Table 3 shows our V IDEO D IRECTOR GPT achieves better visual quality scores (FVD/FID) than ModelScopeT2V on the HiREST dataset. Moreover, by comparing with an enhanced Mod- elScopeT2V benchmark, where videos are generated from each scene description in our GPT-4-produced video plan, we demonstrate the effectiveness of prompts generated by GPT-4. However, it still performs worse than our V IDEO D IRECTOR GPT, also showing the effectiveness of our Layout2Vid. As shown in Fig. 5 (right), our LLM can generate a step-by-step video plan from a single prompt and our Layout2Vid can generate consistent videos following the plan, showing how to make caraway cakes (a British seed cake). In 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
这篇论文哪里最强,哪里最危险
论文报告了边界框重叠过多时控制不佳,以及难以做到背景完全静止而物体独立运动等问题。控制强度也涉及画质与布局遵从的权衡。因此,最值得记住的是显式计划和共享实体条件带来了可测的改善,而不是跨场景身份、动作或物理正确性已经得到保证。 (原文:PDF p.10, Limitations; Table 4)
指标:论文报告了边界框重叠过多时控制不佳,以及难以做到背景完全静止而物体独立运动等问题。控制强度也涉及画质与布局遵从的权衡。因此,最值得记住的是显式计划和共享实体条件带来了可测的改善,而不是跨场景身份、动作或物理正确性已经得到保证。
条件:仅限本地原始PDF的 Limitations; Table 4;不同表格与实验不合并
PDF p.10, Limitations; Table 4 · PDF p.10
Published as a conference paper at COLM 2024 # Denoising steps with lay- MSR-VTT ActionBench-Direction out guidance (out of 50) FVD (↓) FID (↓) CLIPSIM (↑) Move Direction Acc. (%) α = 0.1 (5 steps) 550 12.22 0.2860 46.5 α = 0.2 (10 steps) 588 17.25 0.2700 59.8 α = 0.3 (15 steps) 593 17.17 0.2702 57.8 LLM-Dynamic-α (5-15 steps) 523 13.75 0.2790 56.8 Table 4: Ablation of the denoising steps with layout guidance (via guided 2D attentions) in # steps with layout guidance MSR-VTT and ActionBench-Direction prompts, where α = # total steps . MSR-VTT ActionBench-Directions LLMs FVD (↓) FID (↓) CLIPSIM (↑) #Samples (↑) Movement Direction Acc (%) #Samples (↑) Fine-tuned LLaMA2-7B 580 12.69 0.2851 2749 35.8 537 LLaMA2-13B 556 12.40 0.2854 2786 53.3 561 Zero-shot LLaMA2-13B 573 13.47 0.2792 2236 - 82 GPT-3.5-turbo 558 12.27 0.2852 2990 49.0 600 GPT-4 (default) 550 12.22 0.2860 2990 59.8 600 Table 5: Ablation of video generation with video plans generated from different LLMs on MSR-VTT and ActionBench-Directions. ActionBench-Directions, we also report the number of samples whose output layouts can be successfully parsed (e.g., #Samples). Evaluation setup details are given in Appendix H. Table 5 shows that zero-shot LLaMA2-13B struggles to generate layouts that can be suc- cessfully parsed (e.g., only 82 out of 600). It also achieves worse scores on all three metrics (FID, FVD, and CLIPSIM) on MSR-VTT, as well as the movement direction accuracy on ActionBench-Directions, which shows that GPT models have stronger in-context learning skills and can generate more reasonable layouts. On the other hand, all scores can be improved by fine-tuning on layouts generated by GPT-4. Fine-tuning open-sourced LLMs can be a future direction worthwhile to explore. Another point to note is that GPT-3.5-turbo and GPT-4 achieve very similar performance on MSR-VTT, but GPT-3.5-turbo performs significantly worse than GPT-4 on ActionBench-Directions. This suggests that GPT-3.5-turbo is less effective at handling prompts requiring strong layout control compared to GPT-4. Challenging cases. The bounding box-based control of our method poses two main chal- lenges. Firstly, some objects might not follow the bounding box control well when there are too many overlapping bounding boxes. For example, in Fig. 5 right, the “hand mixer” and “unsalted butter”, which have relatively small bounding box sizes, do not follow the box control well. Secondly, the control of whether the background is static or moving is usually determined by the prior knowledge of the video generation model. For example, as shown in Fig. 13, it’s hard for Layout2Vid to generate a moving bottle with a static background and a moving boat with a completely static background (see paragraph “Object movement prompts with different types of objects” in Appendix J.2 for details). 5.4 Human Evaluation Human Preference (%) ↑ Evaluation category Human preference. We conduct a hu- ModelScopeT2V Tie Ours man evaluation study on the multi-scene Quality 50 34 16 videos generated by both our V IDEO D IREC - Text-Video Alignment Object Consistency 58 62 36 28 6 10 TOR GPT and ModelScopeT2V on the Coref- SV dataset. We show 50 videos to 10 crowd- Table 6: Human preference on multi-scene annotators from AMT1 to rate each video videos generated with Coref-SV prompts. (56 annotators in total, 10 annotators per video) and calculate human preferences for each video with average ratings. Table 6 shows that the multi-scene videos (with Coref-SV prompts) generated by our V IDEO D IRECTOR GPT 1Amazon Mechanical Turk: https://www.mturk.com 10
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
读完后记住这三件事
先做视频计划,再用Layout2Vid执行。共享实体条件帮助跨场景一致,而不是保证一致。效果应逐项看指标,也要看布局和运动失效。 (原文:PDF p.1, Abstract; Introduction;PDF p.5, Section 3.2;PDF p.8, experimental setup;PDF p.8, Table 2; Table 3;PDF p.10, Limitations; Table 4)
指标:连续故事视频不只是逐段生成好看的短片:同一个对象跨场景需要保持身份,动作与位置还要服从故事安排。VideoDirectorGPT把这个问题拆成先做视频计划,再按计划生成画面。它让语言模型负责结构化规划,让视频模型负责成像,两者不是同一个模型。
条件:仅限本地原始PDF的 Abstract; Introduction;不同表格与实验不合并
PDF p.1, Abstract; Introduction · PDF p.1
Published as a conference paper at COLM 2024 V IDEO D IRECTOR GPT: Consistent Multi-Scene Video Generation via LLM-Guided Planning Han Lin Abhay Zala Jaemin Cho Mohit Bansal UNC Chapel Hill {hanlincs, aszala, jmincho, mbansal}@cs.unc.edu https://videodirectorgpt.github.io/ Abstract arXiv:2309.15091v2 [cs.CV] 12 Jul 2024 Recent text-to-video (T2V) generation methods have seen significant ad- vancements. However, the majority of these works focus on producing short video clips of a single event (i.e., single-scene videos). Meanwhile, recent large language models (LLMs) have demonstrated their capability in generating layouts and programs to control downstream visual modules. This prompts an important question: can we leverage the knowledge em- bedded in these LLMs for temporally consistent long video generation? In this paper, we propose V IDEO D IRECTOR GPT, a novel framework for con- sistent multi-scene video generation that uses the knowledge of LLMs for video content planning and grounded video generation. Specifically, given a single text prompt, we first ask our video planner LLM (GPT-4) to expand it into a ‘video plan’, which includes the scene descriptions, the entities with their respective layouts, the background for each scene, and consistency groupings of the entities. Next, guided by this video plan, our video gen- erator, named Layout2Vid, has explicit control over spatial layouts and can maintain temporal consistency of entities across multiple scenes, while being trained only with image-level annotations. Our experiments demon- strate that our proposed V IDEO D IRECTOR GPT framework substantially improves layout and movement control in both single- and multi-scene video generation and can generate multi-scene videos with consistency, while achieving competitive performance with SOTAs in open-domain single-scene T2V generation. Detailed ablation studies, including dynamic adjustment of layout control strength with an LLM and video generation with user-provided images, confirm the effectiveness of each component of our framework and its future potential. 1 Introduction Text-to-video (T2V) generation has achieved rapid progress following the success of text- to-image (T2I) generation. Most works in T2V generation focus on producing short videos (e.g., 16 frames at 2fps) from the given text prompts (Wang et al., 2023b; He et al., 2022; Ho et al., 2022; Singer et al., 2023; Zhou et al., 2022). Recent studies on long video generation (Blattmann et al., 2023b; Yin et al., 2023; Villegas et al., 2023; He et al., 2023) aim at generating long videos of a few minutes with holistic visual consistency. Although these works could generate longer videos, the generated videos often display the continuation or repetitive patterns of a single action (e.g., driving a car) instead of transitions and dynamics of multiple changing actions/events (e.g., five steps about how to make caraway cakes). Meanwhile, large language models (LLMs) (Brown et al., 2020; OpenAI, 2023; Touvron et al., 2023a;b; Chowdhery et al., 2022) have demonstrated their capability in generating layouts and programs to control visual modules (Dı́dac et al., 2023; Gupta & Kembhavi, 2023), especially image generation models (Cho et al., 2023b; Feng et al., 2023). This raises an interesting question: Can we leverage the knowledge embedded in these LLMs for planning consistent multi-scene video generation? 1
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:Layout2Vid在预训练视频生成器上增加布局控制。每个实体的条件信息结合边界框位置、文本特征和图像特征;场景文字提供当前画面的内容约束,共享实体条件帮助跨场景保持外观。这里的图像特征在推理时可以从文字转换得到,也可来自用户示例图。模型不是只凭一个角色名字就保证每个镜头完全相同。
条件:仅限本地原始PDF的 Section 3.2;不同表格与实验不合并
PDF p.5, Section 3.2 · PDF p.5
Published as a conference paper at COLM 2024 et al., 2023b), we adopt the [ x0 , y0 , x1 , y1 ] format for bounding boxes, where each coordinate is normalized to fall within the range [0,1]. For in-context examples, we present 0.05 as the minimum unit for the bounding box, equivalent to a 20-bin quantization. 3.2 Video Generation: Generating Videos from Video Plans with Layout2Vid Preliminaries. Given a T frame video x ∈ RT ×3× H ×W with video caption c, we first ′ ′ uses an autoencoder to encode the video into latents z = E ( x) ∈ RT ×C× H ×W , where ′ ′ C = 4 represents the number of latent channels, and H = H/8, W = W/8 represent the spatial dimension of the latents. In Latent diffusion model (LDM) (Rombach et al., 2022), the forward process is a fixedp diffusion process which gradually adds noise to the latent variable z: q(zt |zt−1 ) = N (zt ; 1 − β t zt−1 , β t I ), where β t ∈ (0, 1) is the variance schedule with t ∈ {1, ..., T }. The reverse process gradually produces less noisy samples z T −1 , z T −2 , ..., z0 starting from z T through a learnable denoiser model ϵθ. With t as a timestep uniformly sampled from {1, ..., T }, the training objective of our Layout2Vid can be expressed as: minθ LLDM = Ez,ϵ∼ N (0,I ),t ∥ϵ − ϵθ (zt , t, c)∥22 . Layout2Vid: Layout-guided T2V generation. We implement Layout2Vid by integrating layout control capability into ModelScopeT2V (Wang et al., 2023b), a public T2V gener- ation model based on Stable Diffusion (Rombach et al., 2022). The diffusion UNet in ModelScopeT2V consists of a series of spatio-temporal blocks, each containing four mod- ules: spatial convolution, temporal convolution, spatial attention, and temporal attention. Compared with ModelScopeT2V, our Layout2Vid enables layout-guided video generation with explicit spatial control over a list of entities represented by their bounding boxes, as well as visual and text content. We build upon the 2D attention to create the guided 2D attention (see Fig. 9 in Appendix D). As shown in Fig. 3 (c), the guided 2D attention takes two conditional inputs to modulate the visual latent representation: (1) grounding tokens, conditioned with gated self-attention (Li et al., 2023), and (2) text tokens that describe the current scene, conditioned with cross-attention. Temporally consistent entity grounding with image+text embeddings. While previous layout-guided T2I generation models commonly used only the CLIP text embedding for layout control (Li et al., 2023; Yang et al., 2023), we use the CLIP image embedding in addition to the CLIP text embedding for entity grounding. We demonstrate in our ablation studies (see Appendix H) that this method is more effective than using either text-only or image-only grounding. As depicted below, the grounding token for the ith entity, hi , is a 2-layer MLP which fuses CLIP image embeddings fimg (ei ), CLIP text embeddings ftext (ei ), and Fourier features (Mildenhall et al., 2021) of the bounding box li = [ x0 , y0 , x1 , y1 ]. We use learnable linear projection layers, denoted as Pimg/text , on the visual/text features, which we found helpful for faster convergence during training. hi = MLP(Pimg ( fimg (ei )), Ptext ( ftext (ei )), Fourier(li )) The training and inference procedure of our Layout2Vid are presented in Fig. 3 parts (a) and (b) respectively. During training, the image embeddings fimg (e) are obtained by encoding the image crop of the entities with CLIP image encoder. During inference, since all the inputs are in text format (e.g., from the video plan), we employ Karlo (Lee et al., 2022), a public implementation of unCLIP Prior (Ramesh et al., 2022) to transform the CLIP text embedding into its corresponding CLIP image embedding. Moreover, our image embeddings can also be obtained from user-provided exemplars during inference by simply encode the images with the CLIP image encoder. Parameter and data-efficient training. During training, we only update the parameters of the guided 2D attention (13% of total parameters) to inject layout guidance capabilities into the pretrained T2V backbone while preserving its original video generation capabil- ities. Such strategy allows us to efficiently train the model with only image-level layout annotations, while still equipped with multi-scene temporal consistency via shared entity grounding tokens. Training and inference details are shown in Appendix D. 5
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:作者冻结原有生成骨干,只训练引导注意力相关参数,占总参数的13%,并使用图像级布局标注。这说明它利用预训练能力减少新增训练负担,而不是整个系统免训练。语言模型规划位置与视频模型遵守位置也是两个环节:计划合理不代表最后画面必然遵守。
条件:仅限本地原始PDF的 Section 3.2;不同表格与实验不合并
PDF p.5, Section 3.2 · PDF p.5
Published as a conference paper at COLM 2024 et al., 2023b), we adopt the [ x0 , y0 , x1 , y1 ] format for bounding boxes, where each coordinate is normalized to fall within the range [0,1]. For in-context examples, we present 0.05 as the minimum unit for the bounding box, equivalent to a 20-bin quantization. 3.2 Video Generation: Generating Videos from Video Plans with Layout2Vid Preliminaries. Given a T frame video x ∈ RT ×3× H ×W with video caption c, we first ′ ′ uses an autoencoder to encode the video into latents z = E ( x) ∈ RT ×C× H ×W , where ′ ′ C = 4 represents the number of latent channels, and H = H/8, W = W/8 represent the spatial dimension of the latents. In Latent diffusion model (LDM) (Rombach et al., 2022), the forward process is a fixedp diffusion process which gradually adds noise to the latent variable z: q(zt |zt−1 ) = N (zt ; 1 − β t zt−1 , β t I ), where β t ∈ (0, 1) is the variance schedule with t ∈ {1, ..., T }. The reverse process gradually produces less noisy samples z T −1 , z T −2 , ..., z0 starting from z T through a learnable denoiser model ϵθ. With t as a timestep uniformly sampled from {1, ..., T }, the training objective of our Layout2Vid can be expressed as: minθ LLDM = Ez,ϵ∼ N (0,I ),t ∥ϵ − ϵθ (zt , t, c)∥22 . Layout2Vid: Layout-guided T2V generation. We implement Layout2Vid by integrating layout control capability into ModelScopeT2V (Wang et al., 2023b), a public T2V gener- ation model based on Stable Diffusion (Rombach et al., 2022). The diffusion UNet in ModelScopeT2V consists of a series of spatio-temporal blocks, each containing four mod- ules: spatial convolution, temporal convolution, spatial attention, and temporal attention. Compared with ModelScopeT2V, our Layout2Vid enables layout-guided video generation with explicit spatial control over a list of entities represented by their bounding boxes, as well as visual and text content. We build upon the 2D attention to create the guided 2D attention (see Fig. 9 in Appendix D). As shown in Fig. 3 (c), the guided 2D attention takes two conditional inputs to modulate the visual latent representation: (1) grounding tokens, conditioned with gated self-attention (Li et al., 2023), and (2) text tokens that describe the current scene, conditioned with cross-attention. Temporally consistent entity grounding with image+text embeddings. While previous layout-guided T2I generation models commonly used only the CLIP text embedding for layout control (Li et al., 2023; Yang et al., 2023), we use the CLIP image embedding in addition to the CLIP text embedding for entity grounding. We demonstrate in our ablation studies (see Appendix H) that this method is more effective than using either text-only or image-only grounding. As depicted below, the grounding token for the ith entity, hi , is a 2-layer MLP which fuses CLIP image embeddings fimg (ei ), CLIP text embeddings ftext (ei ), and Fourier features (Mildenhall et al., 2021) of the bounding box li = [ x0 , y0 , x1 , y1 ]. We use learnable linear projection layers, denoted as Pimg/text , on the visual/text features, which we found helpful for faster convergence during training. hi = MLP(Pimg ( fimg (ei )), Ptext ( ftext (ei )), Fourier(li )) The training and inference procedure of our Layout2Vid are presented in Fig. 3 parts (a) and (b) respectively. During training, the image embeddings fimg (e) are obtained by encoding the image crop of the entities with CLIP image encoder. During inference, since all the inputs are in text format (e.g., from the video plan), we employ Karlo (Lee et al., 2022), a public implementation of unCLIP Prior (Ramesh et al., 2022) to transform the CLIP text embedding into its corresponding CLIP image embedding. Moreover, our image embeddings can also be obtained from user-provided exemplars during inference by simply encode the images with the CLIP image encoder. Parameter and data-efficient training. During training, we only update the parameters of the guided 2D attention (13% of total parameters) to inject layout guidance capabilities into the pretrained T2V backbone while preserving its original video generation capabil- ities. Such strategy allows us to efficiently train the model with only image-level layout annotations, while still equipped with multi-scene temporal consistency via shared entity grounding tokens. Training and inference details are shown in Appendix D. 5
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:实验把开放域视频与多场景故事分开:开放域对照使用同一生成骨干与测试提示,多场景则检查连续场景中的对象一致性。不能拿不同数据集的一致性与画质指标相互替代。
条件:仅限本地原始PDF的 experimental setup;不同表格与实验不合并
PDF p.8, experimental setup · PDF p.8
Published as a conference paper at COLM 2024 ActivityNet Captions Coref-SV HiREST Method FVD (↓) FID (↓) Consistency (↑) Consistency (↑) FVD (↓) FID (↓) ModelScopeT2V 980 18.12 46.0 16.3 1322 23.79 ModelScopeT2V (with GT co-reference; oracle) - - - 37.9 - - ModelScopeT2V (with prompts from our video plan) - - - - 918 18.96 V IDEO D IRECTOR GPT (Ours) 805 16.50 64.8 42.8 733 18.54 Table 3: Multi-scene video generation with multiple input text (ActivityNet Captions and Coref-SV) and single sentence (HiREST). GT co-reference: replacing co-reference pronouns in Coref-SV with the original object names (e.g., “his friends” may become “dog’s friends”). Prompts from our video plan: an enhanced benchmark for ModelScopeT2V using scene descriptions from our video plan. plan guides the Layout2Vid module to correctly locate and move the ‘pear’ in the accurate direction, whereas the ‘pear’ in the ModelScopeT2V video is not moved and just gets grabbed. In Appendix J, we show additional examples (see Fig. 13) where for static objects (e.g., a bottle), movement is often depicted via camera motion, whereas for objects that can naturally move (e.g., airplane), our V IDEO D IRECTOR GPT directly shows object movements. Open-domain results. Table 2 presents the FVD, FID, and CLIPSIM scores on MSR-VTT. It’s MSR-VTT Method worth noting that our model is built on the pre- FVD (↓) FID (↓) CLIPSIM (↑) trained ModelScopeT2V backbone. Despite this, Different arch / Training data our method demonstrates good improvements NUWA − 47.68 0.2439 CogVideo (Chinese) − 24.78 0.2614 in FVD and competitive scores in FID and CLIP- CogVideo (English) 1294 23.59 0.2631 SIM. In addition, our method achieves better MagicVideo 1290 − − VideoLDM − − 0.2929 or comparable performance to models trained Make-A-Video − 13.17 0.3049 with larger video data (e.g., Make-A-Video) or Same video backbone & Test prompts † with higher resolution (e.g., VideoLDM). Eval- ModelScopeT2V V IDEO D IRECTOR GPT 683 550 12.32 12.22 0.2909 0.2860 uation results on UCF-101 are presented in Ap- pendix I, where we achieve significant improve- Table 2: Comparison results on MSR- ment in FVD (ModelScopeT2V 1093 vs. Ours 748) and similar performance in the Inception VTT. ModelScopeT2V† : Our replication Score (ModelScopeT2V 19.49 vs. Ours 19.42). on the same 2990 random test prompts. 5.2 Multi-Scene Video Generation Multiple sentences to multi-scene videos generation (ActivityNet Captions / Coref-SV). As shown in the left two blocks of Table 3, our V IDEO D IRECTOR GPT outperforms Mod- elScopeT2V in visual quality (FVD/FID) and multi-scene object temporal consistency. No- tably, for Coref-SV, our V IDEO D IRECTOR GPT achieves higher object consistency than ModelScopeT2V even with GT co-reference (where pronouns are replaced with their orig- inal noun counterparts, acting as oracle information; e.g., “she picked up ...” becomes “cat picked up ...”). As we do not have ground-truth videos for Coref-SV, we only use it to evaluate consistency when co-references are used across scenes. Fig. 5 (left) shows a video generation example from Coref-SV, where the LLM-generated video plan can guide the Layout2Vid module to generate the same mouse across scenes consistently, whereas ModelScopeT2V generates a hand and a dog instead of a mouse in later scenes. Single sentences to multi-scene videos generation (HiREST). The right block of Table 3 shows our V IDEO D IRECTOR GPT achieves better visual quality scores (FVD/FID) than ModelScopeT2V on the HiREST dataset. Moreover, by comparing with an enhanced Mod- elScopeT2V benchmark, where videos are generated from each scene description in our GPT-4-produced video plan, we demonstrate the effectiveness of prompts generated by GPT-4. However, it still performs worse than our V IDEO D IRECTOR GPT, also showing the effectiveness of our Layout2Vid. As shown in Fig. 5 (right), our LLM can generate a step-by-step video plan from a single prompt and our Layout2Vid can generate consistent videos following the plan, showing how to make caraway cakes (a British seed cake). In 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:同骨干、同测试提示的MSR-VTT比较中,FVD由683降至550,FID由12.32降至12.22,两个指标都以低为好;但文本视频相似度CLIPSIM由0.2909变成0.2860,略低。另一个多场景测试Coref-SV中,一致性分数由ModelScopeT2V的16.3提高到42.8;加强了指代信息的基线为37.9。不同数据集和指标不能混成一个总成功率。
条件:仅限本地原始PDF的 Table 2; Table 3;不同表格与实验不合并
PDF p.8, Table 2; Table 3 · PDF p.8
Published as a conference paper at COLM 2024 ActivityNet Captions Coref-SV HiREST Method FVD (↓) FID (↓) Consistency (↑) Consistency (↑) FVD (↓) FID (↓) ModelScopeT2V 980 18.12 46.0 16.3 1322 23.79 ModelScopeT2V (with GT co-reference; oracle) - - - 37.9 - - ModelScopeT2V (with prompts from our video plan) - - - - 918 18.96 V IDEO D IRECTOR GPT (Ours) 805 16.50 64.8 42.8 733 18.54 Table 3: Multi-scene video generation with multiple input text (ActivityNet Captions and Coref-SV) and single sentence (HiREST). GT co-reference: replacing co-reference pronouns in Coref-SV with the original object names (e.g., “his friends” may become “dog’s friends”). Prompts from our video plan: an enhanced benchmark for ModelScopeT2V using scene descriptions from our video plan. plan guides the Layout2Vid module to correctly locate and move the ‘pear’ in the accurate direction, whereas the ‘pear’ in the ModelScopeT2V video is not moved and just gets grabbed. In Appendix J, we show additional examples (see Fig. 13) where for static objects (e.g., a bottle), movement is often depicted via camera motion, whereas for objects that can naturally move (e.g., airplane), our V IDEO D IRECTOR GPT directly shows object movements. Open-domain results. Table 2 presents the FVD, FID, and CLIPSIM scores on MSR-VTT. It’s MSR-VTT Method worth noting that our model is built on the pre- FVD (↓) FID (↓) CLIPSIM (↑) trained ModelScopeT2V backbone. Despite this, Different arch / Training data our method demonstrates good improvements NUWA − 47.68 0.2439 CogVideo (Chinese) − 24.78 0.2614 in FVD and competitive scores in FID and CLIP- CogVideo (English) 1294 23.59 0.2631 SIM. In addition, our method achieves better MagicVideo 1290 − − VideoLDM − − 0.2929 or comparable performance to models trained Make-A-Video − 13.17 0.3049 with larger video data (e.g., Make-A-Video) or Same video backbone & Test prompts † with higher resolution (e.g., VideoLDM). Eval- ModelScopeT2V V IDEO D IRECTOR GPT 683 550 12.32 12.22 0.2909 0.2860 uation results on UCF-101 are presented in Ap- pendix I, where we achieve significant improve- Table 2: Comparison results on MSR- ment in FVD (ModelScopeT2V 1093 vs. Ours 748) and similar performance in the Inception VTT. ModelScopeT2V† : Our replication Score (ModelScopeT2V 19.49 vs. Ours 19.42). on the same 2990 random test prompts. 5.2 Multi-Scene Video Generation Multiple sentences to multi-scene videos generation (ActivityNet Captions / Coref-SV). As shown in the left two blocks of Table 3, our V IDEO D IRECTOR GPT outperforms Mod- elScopeT2V in visual quality (FVD/FID) and multi-scene object temporal consistency. No- tably, for Coref-SV, our V IDEO D IRECTOR GPT achieves higher object consistency than ModelScopeT2V even with GT co-reference (where pronouns are replaced with their orig- inal noun counterparts, acting as oracle information; e.g., “she picked up ...” becomes “cat picked up ...”). As we do not have ground-truth videos for Coref-SV, we only use it to evaluate consistency when co-references are used across scenes. Fig. 5 (left) shows a video generation example from Coref-SV, where the LLM-generated video plan can guide the Layout2Vid module to generate the same mouse across scenes consistently, whereas ModelScopeT2V generates a hand and a dog instead of a mouse in later scenes. Single sentences to multi-scene videos generation (HiREST). The right block of Table 3 shows our V IDEO D IRECTOR GPT achieves better visual quality scores (FVD/FID) than ModelScopeT2V on the HiREST dataset. Moreover, by comparing with an enhanced Mod- elScopeT2V benchmark, where videos are generated from each scene description in our GPT-4-produced video plan, we demonstrate the effectiveness of prompts generated by GPT-4. However, it still performs worse than our V IDEO D IRECTOR GPT, also showing the effectiveness of our Layout2Vid. As shown in Fig. 5 (right), our LLM can generate a step-by-step video plan from a single prompt and our Layout2Vid can generate consistent videos following the plan, showing how to make caraway cakes (a British seed cake). In 8
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
指标:论文报告了边界框重叠过多时控制不佳,以及难以做到背景完全静止而物体独立运动等问题。控制强度也涉及画质与布局遵从的权衡。因此,最值得记住的是显式计划和共享实体条件带来了可测的改善,而不是跨场景身份、动作或物理正确性已经得到保证。
条件:仅限本地原始PDF的 Limitations; Table 4;不同表格与实验不合并
PDF p.10, Limitations; Table 4 · PDF p.10
Published as a conference paper at COLM 2024 # Denoising steps with lay- MSR-VTT ActionBench-Direction out guidance (out of 50) FVD (↓) FID (↓) CLIPSIM (↑) Move Direction Acc. (%) α = 0.1 (5 steps) 550 12.22 0.2860 46.5 α = 0.2 (10 steps) 588 17.25 0.2700 59.8 α = 0.3 (15 steps) 593 17.17 0.2702 57.8 LLM-Dynamic-α (5-15 steps) 523 13.75 0.2790 56.8 Table 4: Ablation of the denoising steps with layout guidance (via guided 2D attentions) in # steps with layout guidance MSR-VTT and ActionBench-Direction prompts, where α = # total steps . MSR-VTT ActionBench-Directions LLMs FVD (↓) FID (↓) CLIPSIM (↑) #Samples (↑) Movement Direction Acc (%) #Samples (↑) Fine-tuned LLaMA2-7B 580 12.69 0.2851 2749 35.8 537 LLaMA2-13B 556 12.40 0.2854 2786 53.3 561 Zero-shot LLaMA2-13B 573 13.47 0.2792 2236 - 82 GPT-3.5-turbo 558 12.27 0.2852 2990 49.0 600 GPT-4 (default) 550 12.22 0.2860 2990 59.8 600 Table 5: Ablation of video generation with video plans generated from different LLMs on MSR-VTT and ActionBench-Directions. ActionBench-Directions, we also report the number of samples whose output layouts can be successfully parsed (e.g., #Samples). Evaluation setup details are given in Appendix H. Table 5 shows that zero-shot LLaMA2-13B struggles to generate layouts that can be suc- cessfully parsed (e.g., only 82 out of 600). It also achieves worse scores on all three metrics (FID, FVD, and CLIPSIM) on MSR-VTT, as well as the movement direction accuracy on ActionBench-Directions, which shows that GPT models have stronger in-context learning skills and can generate more reasonable layouts. On the other hand, all scores can be improved by fine-tuning on layouts generated by GPT-4. Fine-tuning open-sourced LLMs can be a future direction worthwhile to explore. Another point to note is that GPT-3.5-turbo and GPT-4 achieve very similar performance on MSR-VTT, but GPT-3.5-turbo performs significantly worse than GPT-4 on ActionBench-Directions. This suggests that GPT-3.5-turbo is less effective at handling prompts requiring strong layout control compared to GPT-4. Challenging cases. The bounding box-based control of our method poses two main chal- lenges. Firstly, some objects might not follow the bounding box control well when there are too many overlapping bounding boxes. For example, in Fig. 5 right, the “hand mixer” and “unsalted butter”, which have relatively small bounding box sizes, do not follow the box control well. Secondly, the control of whether the background is static or moving is usually determined by the prior knowledge of the video generation model. For example, as shown in Fig. 13, it’s hard for Layout2Vid to generate a moving bottle with a static background and a moving boat with a completely static background (see paragraph “Object movement prompts with different types of objects” in Appendix J.2 for details). 5.4 Human Evaluation Human Preference (%) ↑ Evaluation category Human preference. We conduct a hu- ModelScopeT2V Tie Ours man evaluation study on the multi-scene Quality 50 34 16 videos generated by both our V IDEO D IREC - Text-Video Alignment Object Consistency 58 62 36 28 6 10 TOR GPT and ModelScopeT2V on the Coref- SV dataset. We show 50 videos to 10 crowd- Table 6: Human preference on multi-scene annotators from AMT1 to rate each video videos generated with Coref-SV prompts. (56 annotators in total, 10 annotators per video) and calculate human preferences for each video with average ratings. Table 6 shows that the multi-scene videos (with Coref-SV prompts) generated by our V IDEO D IRECTOR GPT 1Amazon Mechanical Turk: https://www.mturk.com 10
解释边界:以本段给出的指标、对照和限制解释;不外推为通用质量保证或已完成复现。
代码从哪里读
原始来源入口。本轮已打开作者项目页;它是论文、演示与实现入口,不把演示视频视为独立复现证据。未运行训练或生成实验。