先说结论
StoryAgent关注用户指定人物能否跨镜头保持原样。真正的技术不只在代理分工,还在先移除再重绘人物的分镜管线,以及用参考视频微调的LoRA-BE动画模型。它需要定制训练;公开数据实验还利用真实首帧背景,不能等同于从零生成整部故事。 (原文:PDF p.4, Figure 2; Section 3;PDF p.6, Figure 4; customized image animation;PDF p.7, Implementation Details; Evaluation on Public Datasets;PDF p.8, Table 1;PDF p.9, Table 2;PDF p.5, Observer)
指标:输入是故事提示和少量参考人物视频,故事设计、分镜生成、动画制作由管理器依次调度,观察者提供反馈。人物一致性有两种:不同镜头是否同一个人,单镜头运动中是否变脸。论文分别用分镜定制和视频定制处理,不能把静态分镜一致当成运动过程一致。
条件:本地全文 arXiv:2411.04925v2,Figure 2; Section 3;条件及比较对象见陈述
PDF p.4, Figure 2; Section 3 · PDF p.4
Print User Prompt & User Prompt Answer & Story Results & Reference Videos Story Results Reference Videos User Agent Manager Story Designer Agent Manager Ask for Check Answer “good” User Prompt: User Prompt: Story Results: Story Results: Write a story about Write a story Shot 1: Miffy wakes up Shot 1: Miffy wakes up one Miffy’s one day. about Miffy’s one bright morning … bright morning … one day. Shot 2: First stop is the Shot 2: First stop is the … Reference Videos: bustling town … Shot … Shot 3: Miffy explores Reference Videos: the enchanting forest … Shot 4: As the sun sets, Miffy relaxes on the … Observer Answer & Answer & Story Results & Storyboard Results Subject Masks Video Results & Reference Videos & Subject Masks & Storyboard Results Agent Manager Video Creator Agent Manager Storyboard Generator Video Results: Ask for Check Subject Masks of Ask for Check Storyboard Results: Answer “good” Answer “good” Reference Videos: Storyboard Story Results: Shot 1 Shot 2 Shot 3 Shot 4 Video 1 Video 2 Results: Shot 1: Miffy wakes … Shot 2: First stop is … Reference Subject Masks Shot 3: Miffy explores… Videos: of Reference Shot 4: As the sun … Videos: Observer Video 3 Video 4 Observer Figure 2: Our multi-agent framework’s video creation process. Yellow blocks represent the next agent’s input, while blue blocks indicate the current agent’s output. For example, the Storyboard Gen- erator (SG)’s input includes story results and reference videos, and its output consists of storyboard results and the subject mask of the reference videos. The Agent Manager (AM) automatically selects the next agent to execute upon receiving signals from different agents and may request the Observer to evaluate the results when other agents complete their tasks. this method achieves consistent image generation, generating storytelling videos for customized subjects remains a challenge for AesopAgent. 3 S TORYAGENT As depicted in Figure 2, StoryAgent takes as inputs a prompt and a few videos of the reference subjects, and employs the collaborative efforts of five agents: the agent manager, story designer, storyboard generator, video creator, and observer, to create highly consistent multi-shot storytelling videos. The workflow is segmented into three distinct steps: storyline generation, storyboard creation, and video generation. During storyline generation, the agent manager forwards the user-provided prompt to the story designer, who crafts a suitable storyline and detailed descriptions p = {p1 , · · · , pN } (where N represents the number of shots in the final storytelling video) outlining background scenes and protagonist actions. These results are then reviewed by the observer or user via the agent manager, and the process advances to the next step once the observer signals approval or the maximum chat rounds are reached. The second step focuses on generating the storyboard I = {I1 , · · · , IN }. Here, the agent manager provides the story descriptions p and protagonist videos Vref to the storyboard generator, which produces a series of images aligned with p and Vref . Similar to the previous step, the storyboard results undergo user or observer evaluation until they meet the desired criteria. Finally, the story descriptions p, storyboard Vref , and protagonist videos Vref are handed over to the video creator for synthesizing multi-shot storytelling videos. Instead of directly employing existing models, as done by Mora, the storyboard generator and the video creator agents utilize a novel storyboard generation pipeline and the proposed LoRA-BE customized generation method respectively to enhance both inter-shot and intra-shot consistency. In the subsequent section, we will delve into the definitions and implementations of the agents within our framework. 4
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:分镜先生成场景,移除初始人物,再用针对参考人物微调的StoryAnyDoor重绘。视频阶段在DynamiCrafter中加入LoRA参数和按注意力块区分的人物词嵌入,利用参考视频学习身份。它既改变可训练权重,也改变人物表示,而不是只靠更长的提示词描述衣服和脸。
条件:本地全文 arXiv:2411.04925v2,Figure 4; customized image animation;条件及比较对象见陈述
PDF p.6, Figure 4; customized image animation · PDF p.6
Print Block-wise embeddings a video of V1 Token embedding E D VAE Enc./Dec. Text … … Self-attn./cross-attn./temporal attn. lora a video of Vn encoder “A video of V ” ℕ … D E Augment E ℕ Gaussian noise video Cond. Trainable encoder Cross-attention maps Frozen V1 Vn Localization … Training only loss Figure 4: The illustration of our customized I2V generation method. Only the LoRA parameters inside each attention block and the block-wise token embeddings are trained to remember the subject. A localization loss is applied to enforce the tokens’ cross-attention maps to focus on the subject. background removed is selected, and StoryAnyDoor, fine-tuned based on AnyDoor with Vref , fills the mask locations M with the customized subject. Experiments in the following section prove that this strategy can effectively preserve the consistency of character details. Video Creator: LoRA-BE for Customized Image Animation. Given the reference videos Vref , the storyboard I, and the story descriptions p, the goal of the video creator is to animate the storyboard following the story descriptions p to form the storytelling videos with consistent subjects of in Vref . Theoretically, existing I2V methods, such as SVD (Blattmann et al., 2023b), and SparseCtrl (Guo et al., 2023a), can equip the agent to perform this task. However, these methods still face significant challenges in maintaining protagonist consistency, especially when the given subject is a cartoon character like Miffy. Inspired by the customized generation concept in image domain, we propose a concept learning method, named LoRA-BE, to achieve customized I2V generation. Our method is built upon a Latent Diffusion Model(LDM) (Ho et al., 2022)-based I2V generation model, DynamiCrafter(DC) (Xing et al., 2023). The modules in this method include a VAE encoder Ei and decoder Di , a text encoder ET , an image condition encoder Ec , and a 3D U-Net architecture U with self-attention, temporal attention, and cross-attention blocks within. We first introduce the inference process of the valina DC. As shown in Figure 4, a noisy video zT ∈ RF ×C×h×w is sampled from Gaussian distribution N, where F is the number of frames, and C, h, w represent the channel dimension, height, and width of the frame latent codes. Then the condition image In , i.e., the storyboard in our task, is encoded by E and contacted with zT as the input of U-Net U. Additionally, the condition image is also projected by the condition encoder Ec to extract image embedding. Similar to the text embedding extracted by the text encoder from the text prompt pn , the image embedding is injected into the video through the cross-attention block inside the U-Net. The output ϵT of U-Net will be used to denoise the noisy video zT following the backward process B of LDM. The denoising process for the n-th shot at step t can be written as: znt−1 = B(U([znt ; Ei (In )], ET (pn ), Ec (In )), znt , t) (1) where [·; ·] means the concatenation operation along the channel dimension. We will drop off the subscript n in the following content for simplicity. Although the reference image is encoded to provide the visual information of the reference protagonist, the existing pre-trained DC model still fails to preserve the consistency of the out-domain subject. Hence, we propose to enhance its customization ability of animating out-domain subjects by fine- tuning. Inspired by the conclusions of Mix-of-Show (Gu et al., 2023) that fine-tuning the embedding of the new token, e.g., <Miffy>, helps to capture the in-domain subject, and fine-tuning to shift the pre-trained model, i.e., LoRA (Ryu, 2023), helps to capture out-domain identity, we enhance DC’s customization ability from both aspects. Specifically, for each linear projection L(x) = W x in the self-attention, cross-attention, and temporal attention module, we add a few extra trainable parameters A and B to adjust the original projection to L(x) = W x + ∆W x = W x + BAx, thereby the generation domain of DC is shifted to the corresponding new subject after training. Moreover, we also train token embeddings for the new subject tokens. Unlike the Text Inversion (TI) method (Gal et al., 2022) which trains an embedding and injects the same embedding in all the cross-attention 6
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:公开数据测试为了对齐背景,拿真实视频首帧移除人物作为初始分镜,再重绘和动画化。因此这是有背景条件的比较,不能与无参考背景的自由故事生成直接混为一谈。训练还分别微调重绘器和视频定制模块,每换新人物都需要相应素材与适配成本。
条件:本地全文 arXiv:2411.04925v2,Implementation Details; Evaluation on Public Datasets;条件及比较对象见陈述
PDF p.7, Implementation Details; Evaluation on Public Datasets · PDF p.7
Print modules, we train different block-wise token embeddings. As there are 16 cross-attention modules in the U-Net, we add 16 new token embeddings e ∈ R16×d , where d represents the dimension of token embedding, for each new subject token, and each embedding is injected in only one cross-attention module. Consequently, to animate a new subject, only the LoRA parameters and 16 token embeddings are tuned to enhance the customized animation ability, where we use the given reference video Vref to fine-tuning the model. During training, the training sample v ∈ Vref is first projected into latent space by the AVE encoder z0 = E(v), then a noisy video is obtained by applying the forward process F of LDM on z0 with the sampled timestep t and Gaussian noises ϵ ∼ N(0, 1), zt = F(z0 , t, ϵ). The U-Net is trained to predict the noise ϵ̂ applied on z0 , so that zt can be recovered to z0 through the backward process. To reduce the interference of background information and make the trainable parameters focus on learning the identity of the new subject, we further introduce a localization loss Lloc applied on the across-attention maps. Specifically, the similarity map D ∈ RF ×h×w between the encoded subject token embedding and the latent videos is calculated for each cross-attention module, and the subject mask m is leveraged to maximize the values of D inside the subject locations. Hence, the overall training objective for the I2V generation can be formulated as follows: F 1 X L = Lldm + Lloc = ∥ϵ − U([zt ; z0 [1]], ET (p), Ec (v[1]))∥ − mean(D[f, m[f ] = 1]) (2) F f As a result, the trainable subject embeddings and LoRA parameters can focus more on the subject. 4 E XPERIMENTS Implementation Details. For storyboard generation, we employed AnyDoor as the redrawer and fine-tuned it to accommodate the new subject using the Adam optimizer with an initial learning rate of 1e-5. We selected 4-5 videos, each lasting 1-2 seconds, for every subject as reference videos, and conducted 20,000 fine-tuning steps. Regarding the training of the I2V model, we utilized DynamiCrafter (DC) (Xing et al., 2023) as the foundational model. We trained only the parameters of LoRA and block-wise token embeddings (LoRA-BE) using the Adam optimizer with a learning rate of 1e-4 for 400 epochs. All experiments were executed on an NVIDIA V100 GPU. Datasets and Metrics. We employed two publicly available storytelling datasets, PororoSV (Li et al., 2019) and FlintstonesSV (Maharana and Bansal, 2021), which include both story scripts and corresponding videos, for evaluating our method. From PororoSV, we selected 5 characters, and from FlintstonesSV, we chose 4 characters as the customized subjects. For the training set, we selected reference videos for each subject from one episode, simulating practical application scenarios. For the testing set, we curated 10 samples for each subject, each consisting of 4 shots highly relevant to the subject. To evaluate our method on these datasets, we utilized reference-based metrics such as FVD (Unterthiner et al., 2018), PSNR, SSIM (Wang et al., 2004), and LPIPS (Zhang et al., 2018). Additionally, to assess the generalization ability, we collected 8 other subjects from YouTube and open-source online websites to form an open-domain set. Story descriptions for this set were generated using ChatGPT. Since there is no ground truth for this set, we reported the results on non-reference metrics as outlined in Liu et al. (2023), including Inception Score (IS), text-video consistency (Clip-score), semantic consistency (Clip-temp), Warping error, and Average flow (Flow-score). Arrows next to the metric names indicate whether higher (↑) or lower (↓) values are better for that particular metric. For Flow-Score, the arrow is replaced with a rightwards arrow (→) as it is a neutral metric. 4.1 E VALUATION ON P UBLIC DATASETS Quantitative Results. The PororoSV (Li et al., 2019) and FlintstonesSV (Maharana and Bansal, 2021) datasets comprise story descriptions and corresponding videos, serving as ground truth for evaluating storytelling video generation methods. During testing, we generate a storyboard with a consistent background aligned with the ground-truth video. To achieve this, we use the first frame of each video with the subject removed as the initial storyboard. Subsequently, our storyboard generator redraws this initial storyboard to produce the final version. Finally, the generated storyboard is animated by the video creator agent to create a video of the subject. 7
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:PororoSV上本文FVD为2070.56,SVD为2634.01;FlintstonesSV上分别991.37与1864.91。两组都使用论文指定分镜条件,FVD越低越好。该结果支持这个受控动画任务中的改善,不是无条件的全故事生成胜率。
条件:本地全文 arXiv:2411.04925v2,Table 1;条件及比较对象见陈述
PDF p.8, Table 1 · PDF p.8
Print TI-SparseCtrl SVD StoryAgent (Ours) GT Loopy turns her head to Loopy shows no interest to her Pororo and Crong are apologizing Loopy remains still after her something that grabbed her friends Pororo and Crong who to Loopy for what they have done friends Pororo and Crong attention. are standing outside of her house. before. apologized. Figure 5: The Result visualization of three methods and the ground truth. The texts at the bottom are the story descriptions. The other two methods (the first 2 rows) fail to capture inter- and intra-shot consistency, our results (the 3rd row) are more approaching the ground truth (the 4th row). Table 1: Comparison results of storytelling video generation on PororoSV and FlintstonesSV datasets. Dataset Method FVD ↓ SSIM ↑ PSNR ↑ LPIPS↓ SVD 2634.01 0.5584 14.2813 0.3737 TI-Sparsectrl 4209.80 0.5042 12.2749 0.5646 PororoSV StoryAgent(ours) 2070.56 0.6995 17.5104 0.2535 SVD 1864.91 0.4460 14.5968 0.4023 TI-Sparsectrl 3277.96 0.5571 14.7053 0.4958 FlintstonesSV StoryAgent(ours) 991.37 0.6700 18.1169 0.2490 In this evaluation framework, employing one-stage methods that directly generate storytelling videos from story descriptions yields significant discrepancies in the background compared to ground-truth videos. To ensure fair comparisons, we employ two I2V methods in conjunction with our storyboard generation as benchmarks: 1) SVD (Blattmann et al., 2023b), an open-source tool endorsed by recent work (Yuan et al., 2024) for image animation; 2) TI-SparseCtrl, wherein we augment the customization generation ability of SparseCtrl (Guo et al., 2023a) by integrating the Text Inversion (TI)(Gal et al., 2022) technique. Table 1 presents results computed against ground-truth videos. Our method consistently outperforms others by a notable margin across both video quality and human perception metrics, as evidenced by the FVD and LPIPS scores. Moreover, the improvement in the SSIM metric indicates closer alignment of our results with ground-truth videos, affirming the enhanced consistency of characters in our generated results. Qualitative Results. To further elucidate the effectiveness of our approach, we qualitatively compare it with alternative methods in Figure 5. Our model demonstrates superior consistency compared to TI-SparseCtrl and SVD, closely resembling the ground truth. While TI-SparseCtrl, reliant on Text Inversion, struggles with maintaining consistency across shots, resulting in noticeable character variations, SVD manages to maintain inter-shot consistency but exhibits significant changes within shots, particularly evident in the 2nd and 3rd shots. Conversely, our method adeptly preserves both inter-shot and intra-shot consistency, thus affirming its effectiveness. Supplementary qualitative results are available in the Appendix. 4.2 E VALUATION ON O PEN - DOMAIN S UBJECTS Open-domain Dataset Results. In this experiment, we also qualitatively compare our method with other CSVG methods, the video generation performance is shown in Figure 1. Due to the recent work, StoryDiffusion (Zhou et al., 2024), did not release the codes for video generation, we compare its storyboard generation performance in Figure 6. For other T2V methods, TI-AnimateDiff 8
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:开放人物测试中本文CLIP-score为0.2053,DreamVideo为0.1843;但Inception Score本文2.6346,低于DreamVideo的3.4421。语义时间一致性本文0.9985,也低于Magic-Me的0.9992。不同指标不一致,不能把所有高一致性都解释为动作丰富或整体画质最佳。
条件:本地全文 arXiv:2411.04925v2,Table 2;条件及比较对象见陈述
PDF p.9, Table 2 · PDF p.9
Print Kitty strolls through the tranquil countryside. Kitty reaches rocky cliffs overlooking the ocean. Kitty explores a charming flower garden. Kitty watches the sunset from a hilltop. Reference Videos TI-AnimateDiff DreamVideo Magic-Me StoryDiffusion StoryAgent (Ours) Figure 6: Storyboard generation visualization on open-domain subject (Kitty). The other four methods fail to preserve the consistency of the reference subject across shots, while our method effectively improves the consistency between the referenced image and the generated image. Table 2: Comparison results of storytelling video generation on the open-domain dataset. Method Ours TI-SparseCtrl SVD TI-AnimateDiff DreamVideo Magic-Me IS ↑ 2.6346 2.4184 2.3831 2.4539 3.4421 2.3989 CLIP-score ↑ 0.2053 0.1963 0.2013 0.2023 0.1843 0.2003 CLIP-temp ↑ 0.9985 0.9969 0.9959 0.9990 0.9963 0.9992 Warping error ↓ 0.0184 0.0189 0.0264 0.0043 0.0208 0.0048 Flow-score → 2.4332 2.6334 5.2117 1.8184 5.1140 1.4092 (Guo et al., 2023b), DreamVideo (Wei et al., 2023), and Magic-Me (Ma et al., 2024), we use the first frames of the generated videos as the storyboard for comparison. As shown in Figure 1 and Figure 6, all these methods fail to capture inter-shot consistency. For the results of TI-AnimateDiff in Figure 6, the subject in the 3rd shot is different from the subject in the 4th shot. StoryDiffusion also cannot maintain the subject consistency across all shots. DreamVideo is unstable and produces unnatural content. Magic-Me even fails to maintain intra-shot subject consistency, as shown in the 4th shot of Figure 1. More importantly, all these methods cannot preserve the reference subject in the generated videos. In contrast, our storyboard generator, based on the storyboard of StoryDiffusion, replaced the subjects with the reference subjects through the proposed removal and redrawing strategy. Compared with other methods, the proposed storyboard generation pipeline effectively preserves the consistency between the referenced image and the generated image in detail, such as the clothes of the subject, thereby enhancing the inter-shot consistency of the storytelling video. Besides, as proved by Figure 1, the video creator storing the subject information in a few trainable parameters further helps to maintain intra-shot consistency. In addition to the subject consistency, we also report the quantitative results of all relevant methods, including TI-SparseCtrl and SVD using the storyboards from our agent, in Table 2. Our method outperforms other methods on text-video alignment while achieving comparable performances on other aspects like IS and semantic consistency (Clip-temp). These results indicate that our method can achieve high consistency while ensuring comparable video quality to other state-of-the-art methods. Therefore, the collaboration of multi-agents is a promising direction for achieving better results. 4.3 U SER STUDIES We conducted a user study on the results of different methods on the open-domain dataset and the Pororo dataset. We presented the results of different methods to the participants (They do not know which method each video comes from) and asked them to rate five aspects on a scale of 1-5: InteR-shot subject Consistency (IRC), IntrA-shot subject Consistency (IAC), Subject-Background Harmony (SBH), Text Alignment (TA) and Overall Quality (OQ). More details of the user studes can be seen in Appendix A.6. 9
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:论文坦言观察者中的视觉语言模型难以可靠区分真实和生成分镜,最后采用美学预测器,但仍认为自动质量判断不可靠,允许人工替代或直接省略观察者。故“有审查代理”不是质量保障已解决,审查能力也是方法的明显边界。
条件:本地全文 arXiv:2411.04925v2,Observer;条件及比较对象见陈述
PDF p.5, Observer · PDF p.5
Print Initial Initial Storyboards & Initial Storyboards & Story Results & StoryDiffusion Storyboards LangSAM Reference Videos New No Reference Frames StoryAnyDoor Reference Videos & Reference & Segmentation Subject & Segmentation Storyboard Generator Videos Masks Masks Yes Story Results: Reference Initial Storyboards: Segmentation Masks: Storyboard Results: Shot 1: Miffy Videos: wakes up … Train StoryAnyDoor Shot 2: First … with Reference Videos Shot … Shot 1 Shot 2 Shot 3 Shot 4 Target Masks on BG Subject Masks & Segmentation Masks Shot 1 Shot 2 Shot 3 Shot 4 Figure 3: The workflow diagrams of Storyboard Generator, along with the corresponding inputs (yellow blocks) and the outputs of their submodules (blue blocks). 3.1 LLM- BASED AGENTS Agent Manager. Customized Storytelling Video Generation (CSVG) is a multifaceted task that necessitates the orchestration of several subtasks, each requiring the cooperation of multiple agents to ensure their successful completion in a predefined sequence. To facilitate this coordination, we intro- duce an agent manager tasked with overseeing the agents’ activities and facilitating communication between them. Leveraging the capabilities of Large Language Models (LLM) such as GPT-4 (Achiam et al., 2023) and Llama (Touvron et al., 2023), the agent manager selects the next agent in line. This process involves presenting a prompt to the LLM, requesting the selection of the subsequent agent from a predetermined list of available agents within the agent manager. The prompt, referred to as the role message, is accompanied by contextual information detailing which agents have completed their tasks. Empowered by the LLM’s decision-making prowess, the agent manager ensures the orderly execution of tasks across various agents, thus streamlining the CSVG process. Story Designer. In order to craft captivating storyboards and storytelling videos, crafting detailed, immersive, and narrative-rich story descriptions is crucial. To accomplish this, we introduce a story designer agent, which harnesses the capabilities of Large Language Models (LLM). This agent offers flexibility in LLM selection, accommodating models like GPT-4, Claude (Anthropic, 2024), and Gemini (Team et al., 2023). By prompting the LLM with a role message tailored to the story designer’s specifications, including parameters such as the number of shots (N ), background descriptions, and protagonist actions, the story designer generates a script comprising n shots with corresponding story descriptions p = {p1 , · · · , pn }, ensuring the inclusion of desired narrative elements. Observer. The observer is an optional agent within the framework, and it acts as a critical evaluator, tasked with assessing the outputs of other agents, such as the storyboard generator, and signaling the agent manager to proceed or provide feedback for optimizing the results. At its core, this agent can utilize Aesthetic Quality Assessment (AQA) methods (Deng et al., 2017) or the general Multimodal Large Language Models (MLLMs), such as GPT-4 (Achiam et al., 2023) or LLaVA (Lin et al., 2023), capable of processing visual elements to score and determine their quality. However, existing MLLMs still have limited capability in evaluating images or videos. As demonstrated in our experiments in Appendix A.5, these models cannot distinguish between ground-truth and generated storyboards. Therefore, we implemented the LAION aesthetic predictor (Prabhudesai et al., 2024) as the core of this agent, which can effectively assess the quality of storyboards in certain cases and filter out some low-quality results. Nevertheless, current AQA methods remain unreliable. In practical applications, users have the option to replace this agent’s function with human evaluation or omit it altogether to generate storytelling videos. Since designing a robust quality assessment model is beyond the scope of this paper, we will leave it for future work. 3.2 V ISUAL AGENTS Storyboard Generator. Storyboard generation requires maintaining the subject’s consistency across shots. It is still a challenging task despite advancements in coherent image generation for storytelling (Wang et al., 2023; Zhou et al., 2024; Wang et al., 2024c) have been made. To address this, inspired by AnyDoor (Chen et al., 2023b), we propose a novel pipeline for storyboard generation that ensures subject consistency through removal and redrawing, as shown in Fig. 3. Initially, given detailed descriptions p = {p1 , · · · , pN }, we employ text-to-image diffusion models like StoryDiffusion (Zhou et al., 2024) to generate an initial storyboard sequence S = {s1 , · · · , sN }. During removal, each storyboard sn undergoes subject segmentation using algorithms like LangSAM, resulting in the subject mask M = {m1 , · · · , mN }. For redrawing, a user-provided subject image with its 5
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
论文为什么要做这件事
输入是故事提示和少量参考人物视频,故事设计、分镜生成、动画制作由管理器依次调度,观察者提供反馈。人物一致性有两种:不同镜头是否同一个人,单镜头运动中是否变脸。论文分别用分镜定制和视频定制处理,不能把静态分镜一致当成运动过程一致。 (原文:PDF p.4, Figure 2; Section 3)
指标:输入是故事提示和少量参考人物视频,故事设计、分镜生成、动画制作由管理器依次调度,观察者提供反馈。人物一致性有两种:不同镜头是否同一个人,单镜头运动中是否变脸。论文分别用分镜定制和视频定制处理,不能把静态分镜一致当成运动过程一致。
条件:本地全文 arXiv:2411.04925v2,Figure 2; Section 3;条件及比较对象见陈述
PDF p.4, Figure 2; Section 3 · PDF p.4
Print User Prompt & User Prompt Answer & Story Results & Reference Videos Story Results Reference Videos User Agent Manager Story Designer Agent Manager Ask for Check Answer “good” User Prompt: User Prompt: Story Results: Story Results: Write a story about Write a story Shot 1: Miffy wakes up Shot 1: Miffy wakes up one Miffy’s one day. about Miffy’s one bright morning … bright morning … one day. Shot 2: First stop is the Shot 2: First stop is the … Reference Videos: bustling town … Shot … Shot 3: Miffy explores Reference Videos: the enchanting forest … Shot 4: As the sun sets, Miffy relaxes on the … Observer Answer & Answer & Story Results & Storyboard Results Subject Masks Video Results & Reference Videos & Subject Masks & Storyboard Results Agent Manager Video Creator Agent Manager Storyboard Generator Video Results: Ask for Check Subject Masks of Ask for Check Storyboard Results: Answer “good” Answer “good” Reference Videos: Storyboard Story Results: Shot 1 Shot 2 Shot 3 Shot 4 Video 1 Video 2 Results: Shot 1: Miffy wakes … Shot 2: First stop is … Reference Subject Masks Shot 3: Miffy explores… Videos: of Reference Shot 4: As the sun … Videos: Observer Video 3 Video 4 Observer Figure 2: Our multi-agent framework’s video creation process. Yellow blocks represent the next agent’s input, while blue blocks indicate the current agent’s output. For example, the Storyboard Gen- erator (SG)’s input includes story results and reference videos, and its output consists of storyboard results and the subject mask of the reference videos. The Agent Manager (AM) automatically selects the next agent to execute upon receiving signals from different agents and may request the Observer to evaluate the results when other agents complete their tasks. this method achieves consistent image generation, generating storytelling videos for customized subjects remains a challenge for AesopAgent. 3 S TORYAGENT As depicted in Figure 2, StoryAgent takes as inputs a prompt and a few videos of the reference subjects, and employs the collaborative efforts of five agents: the agent manager, story designer, storyboard generator, video creator, and observer, to create highly consistent multi-shot storytelling videos. The workflow is segmented into three distinct steps: storyline generation, storyboard creation, and video generation. During storyline generation, the agent manager forwards the user-provided prompt to the story designer, who crafts a suitable storyline and detailed descriptions p = {p1 , · · · , pN } (where N represents the number of shots in the final storytelling video) outlining background scenes and protagonist actions. These results are then reviewed by the observer or user via the agent manager, and the process advances to the next step once the observer signals approval or the maximum chat rounds are reached. The second step focuses on generating the storyboard I = {I1 , · · · , IN }. Here, the agent manager provides the story descriptions p and protagonist videos Vref to the storyboard generator, which produces a series of images aligned with p and Vref . Similar to the previous step, the storyboard results undergo user or observer evaluation until they meet the desired criteria. Finally, the story descriptions p, storyboard Vref , and protagonist videos Vref are handed over to the video creator for synthesizing multi-shot storytelling videos. Instead of directly employing existing models, as done by Mora, the storyboard generator and the video creator agents utilize a novel storyboard generation pipeline and the proposed LoRA-BE customized generation method respectively to enhance both inter-shot and intra-shot consistency. In the subsequent section, we will delve into the definitions and implementations of the agents within our framework. 4
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
核心方法到底怎么运转
分镜先生成场景,移除初始人物,再用针对参考人物微调的StoryAnyDoor重绘。视频阶段在DynamiCrafter中加入LoRA参数和按注意力块区分的人物词嵌入,利用参考视频学习身份。它既改变可训练权重,也改变人物表示,而不是只靠更长的提示词描述衣服和脸。 (原文:PDF p.6, Figure 4; customized image animation)
指标:分镜先生成场景,移除初始人物,再用针对参考人物微调的StoryAnyDoor重绘。视频阶段在DynamiCrafter中加入LoRA参数和按注意力块区分的人物词嵌入,利用参考视频学习身份。它既改变可训练权重,也改变人物表示,而不是只靠更长的提示词描述衣服和脸。
条件:本地全文 arXiv:2411.04925v2,Figure 4; customized image animation;条件及比较对象见陈述
PDF p.6, Figure 4; customized image animation · PDF p.6
Print Block-wise embeddings a video of V1 Token embedding E D VAE Enc./Dec. Text … … Self-attn./cross-attn./temporal attn. lora a video of Vn encoder “A video of V ” ℕ … D E Augment E ℕ Gaussian noise video Cond. Trainable encoder Cross-attention maps Frozen V1 Vn Localization … Training only loss Figure 4: The illustration of our customized I2V generation method. Only the LoRA parameters inside each attention block and the block-wise token embeddings are trained to remember the subject. A localization loss is applied to enforce the tokens’ cross-attention maps to focus on the subject. background removed is selected, and StoryAnyDoor, fine-tuned based on AnyDoor with Vref , fills the mask locations M with the customized subject. Experiments in the following section prove that this strategy can effectively preserve the consistency of character details. Video Creator: LoRA-BE for Customized Image Animation. Given the reference videos Vref , the storyboard I, and the story descriptions p, the goal of the video creator is to animate the storyboard following the story descriptions p to form the storytelling videos with consistent subjects of in Vref . Theoretically, existing I2V methods, such as SVD (Blattmann et al., 2023b), and SparseCtrl (Guo et al., 2023a), can equip the agent to perform this task. However, these methods still face significant challenges in maintaining protagonist consistency, especially when the given subject is a cartoon character like Miffy. Inspired by the customized generation concept in image domain, we propose a concept learning method, named LoRA-BE, to achieve customized I2V generation. Our method is built upon a Latent Diffusion Model(LDM) (Ho et al., 2022)-based I2V generation model, DynamiCrafter(DC) (Xing et al., 2023). The modules in this method include a VAE encoder Ei and decoder Di , a text encoder ET , an image condition encoder Ec , and a 3D U-Net architecture U with self-attention, temporal attention, and cross-attention blocks within. We first introduce the inference process of the valina DC. As shown in Figure 4, a noisy video zT ∈ RF ×C×h×w is sampled from Gaussian distribution N, where F is the number of frames, and C, h, w represent the channel dimension, height, and width of the frame latent codes. Then the condition image In , i.e., the storyboard in our task, is encoded by E and contacted with zT as the input of U-Net U. Additionally, the condition image is also projected by the condition encoder Ec to extract image embedding. Similar to the text embedding extracted by the text encoder from the text prompt pn , the image embedding is injected into the video through the cross-attention block inside the U-Net. The output ϵT of U-Net will be used to denoise the noisy video zT following the backward process B of LDM. The denoising process for the n-th shot at step t can be written as: znt−1 = B(U([znt ; Ei (In )], ET (pn ), Ec (In )), znt , t) (1) where [·; ·] means the concatenation operation along the channel dimension. We will drop off the subscript n in the following content for simplicity. Although the reference image is encoded to provide the visual information of the reference protagonist, the existing pre-trained DC model still fails to preserve the consistency of the out-domain subject. Hence, we propose to enhance its customization ability of animating out-domain subjects by fine- tuning. Inspired by the conclusions of Mix-of-Show (Gu et al., 2023) that fine-tuning the embedding of the new token, e.g., <Miffy>, helps to capture the in-domain subject, and fine-tuning to shift the pre-trained model, i.e., LoRA (Ryu, 2023), helps to capture out-domain identity, we enhance DC’s customization ability from both aspects. Specifically, for each linear projection L(x) = W x in the self-attention, cross-attention, and temporal attention module, we add a few extra trainable parameters A and B to adjust the original projection to L(x) = W x + ∆W x = W x + BAx, thereby the generation domain of DC is shifted to the corresponding new subject after training. Moreover, we also train token embeddings for the new subject tokens. Unlike the Text Inversion (TI) method (Gal et al., 2022) which trains an embedding and injects the same embedding in all the cross-attention 6
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
解释性例子:让同一个玩偶在花园和海边活动,先生成背景与大致人物位置,再把人物替换成参考玩偶,最后学习玩偶运动时的身份特征。这比始终重复玩偶名字更具体,但也带来素材收集和微调成本。
解释性推断,不能当作论文直接支持的主张。
实验怎样检验这个方法
公开数据测试为了对齐背景,拿真实视频首帧移除人物作为初始分镜,再重绘和动画化。因此这是有背景条件的比较,不能与无参考背景的自由故事生成直接混为一谈。训练还分别微调重绘器和视频定制模块,每换新人物都需要相应素材与适配成本。 (原文:PDF p.7, Implementation Details; Evaluation on Public Datasets)
指标:公开数据测试为了对齐背景,拿真实视频首帧移除人物作为初始分镜,再重绘和动画化。因此这是有背景条件的比较,不能与无参考背景的自由故事生成直接混为一谈。训练还分别微调重绘器和视频定制模块,每换新人物都需要相应素材与适配成本。
条件:本地全文 arXiv:2411.04925v2,Implementation Details; Evaluation on Public Datasets;条件及比较对象见陈述
PDF p.7, Implementation Details; Evaluation on Public Datasets · PDF p.7
Print modules, we train different block-wise token embeddings. As there are 16 cross-attention modules in the U-Net, we add 16 new token embeddings e ∈ R16×d , where d represents the dimension of token embedding, for each new subject token, and each embedding is injected in only one cross-attention module. Consequently, to animate a new subject, only the LoRA parameters and 16 token embeddings are tuned to enhance the customized animation ability, where we use the given reference video Vref to fine-tuning the model. During training, the training sample v ∈ Vref is first projected into latent space by the AVE encoder z0 = E(v), then a noisy video is obtained by applying the forward process F of LDM on z0 with the sampled timestep t and Gaussian noises ϵ ∼ N(0, 1), zt = F(z0 , t, ϵ). The U-Net is trained to predict the noise ϵ̂ applied on z0 , so that zt can be recovered to z0 through the backward process. To reduce the interference of background information and make the trainable parameters focus on learning the identity of the new subject, we further introduce a localization loss Lloc applied on the across-attention maps. Specifically, the similarity map D ∈ RF ×h×w between the encoded subject token embedding and the latent videos is calculated for each cross-attention module, and the subject mask m is leveraged to maximize the values of D inside the subject locations. Hence, the overall training objective for the I2V generation can be formulated as follows: F 1 X L = Lldm + Lloc = ∥ϵ − U([zt ; z0 [1]], ET (p), Ec (v[1]))∥ − mean(D[f, m[f ] = 1]) (2) F f As a result, the trainable subject embeddings and LoRA parameters can focus more on the subject. 4 E XPERIMENTS Implementation Details. For storyboard generation, we employed AnyDoor as the redrawer and fine-tuned it to accommodate the new subject using the Adam optimizer with an initial learning rate of 1e-5. We selected 4-5 videos, each lasting 1-2 seconds, for every subject as reference videos, and conducted 20,000 fine-tuning steps. Regarding the training of the I2V model, we utilized DynamiCrafter (DC) (Xing et al., 2023) as the foundational model. We trained only the parameters of LoRA and block-wise token embeddings (LoRA-BE) using the Adam optimizer with a learning rate of 1e-4 for 400 epochs. All experiments were executed on an NVIDIA V100 GPU. Datasets and Metrics. We employed two publicly available storytelling datasets, PororoSV (Li et al., 2019) and FlintstonesSV (Maharana and Bansal, 2021), which include both story scripts and corresponding videos, for evaluating our method. From PororoSV, we selected 5 characters, and from FlintstonesSV, we chose 4 characters as the customized subjects. For the training set, we selected reference videos for each subject from one episode, simulating practical application scenarios. For the testing set, we curated 10 samples for each subject, each consisting of 4 shots highly relevant to the subject. To evaluate our method on these datasets, we utilized reference-based metrics such as FVD (Unterthiner et al., 2018), PSNR, SSIM (Wang et al., 2004), and LPIPS (Zhang et al., 2018). Additionally, to assess the generalization ability, we collected 8 other subjects from YouTube and open-source online websites to form an open-domain set. Story descriptions for this set were generated using ChatGPT. Since there is no ground truth for this set, we reported the results on non-reference metrics as outlined in Liu et al. (2023), including Inception Score (IS), text-video consistency (Clip-score), semantic consistency (Clip-temp), Warping error, and Average flow (Flow-score). Arrows next to the metric names indicate whether higher (↑) or lower (↓) values are better for that particular metric. For Flow-Score, the arrow is replaced with a rightwards arrow (→) as it is a neutral metric. 4.1 E VALUATION ON P UBLIC DATASETS Quantitative Results. The PororoSV (Li et al., 2019) and FlintstonesSV (Maharana and Bansal, 2021) datasets comprise story descriptions and corresponding videos, serving as ground truth for evaluating storytelling video generation methods. During testing, we generate a storyboard with a consistent background aligned with the ground-truth video. To achieve this, we use the first frame of each video with the subject removed as the initial storyboard. Subsequently, our storyboard generator redraws this initial storyboard to produce the final version. Finally, the generated storyboard is animated by the video creator agent to create a video of the subject. 7
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
结果说明了什么
PororoSV上本文FVD为2070.56,SVD为2634.01;FlintstonesSV上分别991.37与1864.91。两组都使用论文指定分镜条件,FVD越低越好。该结果支持这个受控动画任务中的改善,不是无条件的全故事生成胜率。 (原文:PDF p.8, Table 1)
指标:PororoSV上本文FVD为2070.56,SVD为2634.01;FlintstonesSV上分别991.37与1864.91。两组都使用论文指定分镜条件,FVD越低越好。该结果支持这个受控动画任务中的改善,不是无条件的全故事生成胜率。
条件:本地全文 arXiv:2411.04925v2,Table 1;条件及比较对象见陈述
PDF p.8, Table 1 · PDF p.8
Print TI-SparseCtrl SVD StoryAgent (Ours) GT Loopy turns her head to Loopy shows no interest to her Pororo and Crong are apologizing Loopy remains still after her something that grabbed her friends Pororo and Crong who to Loopy for what they have done friends Pororo and Crong attention. are standing outside of her house. before. apologized. Figure 5: The Result visualization of three methods and the ground truth. The texts at the bottom are the story descriptions. The other two methods (the first 2 rows) fail to capture inter- and intra-shot consistency, our results (the 3rd row) are more approaching the ground truth (the 4th row). Table 1: Comparison results of storytelling video generation on PororoSV and FlintstonesSV datasets. Dataset Method FVD ↓ SSIM ↑ PSNR ↑ LPIPS↓ SVD 2634.01 0.5584 14.2813 0.3737 TI-Sparsectrl 4209.80 0.5042 12.2749 0.5646 PororoSV StoryAgent(ours) 2070.56 0.6995 17.5104 0.2535 SVD 1864.91 0.4460 14.5968 0.4023 TI-Sparsectrl 3277.96 0.5571 14.7053 0.4958 FlintstonesSV StoryAgent(ours) 991.37 0.6700 18.1169 0.2490 In this evaluation framework, employing one-stage methods that directly generate storytelling videos from story descriptions yields significant discrepancies in the background compared to ground-truth videos. To ensure fair comparisons, we employ two I2V methods in conjunction with our storyboard generation as benchmarks: 1) SVD (Blattmann et al., 2023b), an open-source tool endorsed by recent work (Yuan et al., 2024) for image animation; 2) TI-SparseCtrl, wherein we augment the customization generation ability of SparseCtrl (Guo et al., 2023a) by integrating the Text Inversion (TI)(Gal et al., 2022) technique. Table 1 presents results computed against ground-truth videos. Our method consistently outperforms others by a notable margin across both video quality and human perception metrics, as evidenced by the FVD and LPIPS scores. Moreover, the improvement in the SSIM metric indicates closer alignment of our results with ground-truth videos, affirming the enhanced consistency of characters in our generated results. Qualitative Results. To further elucidate the effectiveness of our approach, we qualitatively compare it with alternative methods in Figure 5. Our model demonstrates superior consistency compared to TI-SparseCtrl and SVD, closely resembling the ground truth. While TI-SparseCtrl, reliant on Text Inversion, struggles with maintaining consistency across shots, resulting in noticeable character variations, SVD manages to maintain inter-shot consistency but exhibits significant changes within shots, particularly evident in the 2nd and 3rd shots. Conversely, our method adeptly preserves both inter-shot and intra-shot consistency, thus affirming its effectiveness. Supplementary qualitative results are available in the Appendix. 4.2 E VALUATION ON O PEN - DOMAIN S UBJECTS Open-domain Dataset Results. In this experiment, we also qualitatively compare our method with other CSVG methods, the video generation performance is shown in Figure 1. Due to the recent work, StoryDiffusion (Zhou et al., 2024), did not release the codes for video generation, we compare its storyboard generation performance in Figure 6. For other T2V methods, TI-AnimateDiff 8
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
开放人物测试中本文CLIP-score为0.2053,DreamVideo为0.1843;但Inception Score本文2.6346,低于DreamVideo的3.4421。语义时间一致性本文0.9985,也低于Magic-Me的0.9992。不同指标不一致,不能把所有高一致性都解释为动作丰富或整体画质最佳。 (原文:PDF p.9, Table 2)
指标:开放人物测试中本文CLIP-score为0.2053,DreamVideo为0.1843;但Inception Score本文2.6346,低于DreamVideo的3.4421。语义时间一致性本文0.9985,也低于Magic-Me的0.9992。不同指标不一致,不能把所有高一致性都解释为动作丰富或整体画质最佳。
条件:本地全文 arXiv:2411.04925v2,Table 2;条件及比较对象见陈述
PDF p.9, Table 2 · PDF p.9
Print Kitty strolls through the tranquil countryside. Kitty reaches rocky cliffs overlooking the ocean. Kitty explores a charming flower garden. Kitty watches the sunset from a hilltop. Reference Videos TI-AnimateDiff DreamVideo Magic-Me StoryDiffusion StoryAgent (Ours) Figure 6: Storyboard generation visualization on open-domain subject (Kitty). The other four methods fail to preserve the consistency of the reference subject across shots, while our method effectively improves the consistency between the referenced image and the generated image. Table 2: Comparison results of storytelling video generation on the open-domain dataset. Method Ours TI-SparseCtrl SVD TI-AnimateDiff DreamVideo Magic-Me IS ↑ 2.6346 2.4184 2.3831 2.4539 3.4421 2.3989 CLIP-score ↑ 0.2053 0.1963 0.2013 0.2023 0.1843 0.2003 CLIP-temp ↑ 0.9985 0.9969 0.9959 0.9990 0.9963 0.9992 Warping error ↓ 0.0184 0.0189 0.0264 0.0043 0.0208 0.0048 Flow-score → 2.4332 2.6334 5.2117 1.8184 5.1140 1.4092 (Guo et al., 2023b), DreamVideo (Wei et al., 2023), and Magic-Me (Ma et al., 2024), we use the first frames of the generated videos as the storyboard for comparison. As shown in Figure 1 and Figure 6, all these methods fail to capture inter-shot consistency. For the results of TI-AnimateDiff in Figure 6, the subject in the 3rd shot is different from the subject in the 4th shot. StoryDiffusion also cannot maintain the subject consistency across all shots. DreamVideo is unstable and produces unnatural content. Magic-Me even fails to maintain intra-shot subject consistency, as shown in the 4th shot of Figure 1. More importantly, all these methods cannot preserve the reference subject in the generated videos. In contrast, our storyboard generator, based on the storyboard of StoryDiffusion, replaced the subjects with the reference subjects through the proposed removal and redrawing strategy. Compared with other methods, the proposed storyboard generation pipeline effectively preserves the consistency between the referenced image and the generated image in detail, such as the clothes of the subject, thereby enhancing the inter-shot consistency of the storytelling video. Besides, as proved by Figure 1, the video creator storing the subject information in a few trainable parameters further helps to maintain intra-shot consistency. In addition to the subject consistency, we also report the quantitative results of all relevant methods, including TI-SparseCtrl and SVD using the storyboards from our agent, in Table 2. Our method outperforms other methods on text-video alignment while achieving comparable performances on other aspects like IS and semantic consistency (Clip-temp). These results indicate that our method can achieve high consistency while ensuring comparable video quality to other state-of-the-art methods. Therefore, the collaboration of multi-agents is a promising direction for achieving better results. 4.3 U SER STUDIES We conducted a user study on the results of different methods on the open-domain dataset and the Pororo dataset. We presented the results of different methods to the participants (They do not know which method each video comes from) and asked them to rate five aspects on a scale of 1-5: InteR-shot subject Consistency (IRC), IntrA-shot subject Consistency (IAC), Subject-Background Harmony (SBH), Text Alignment (TA) and Overall Quality (OQ). More details of the user studes can be seen in Appendix A.6. 9
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
这篇论文哪里最强,哪里最危险
论文坦言观察者中的视觉语言模型难以可靠区分真实和生成分镜,最后采用美学预测器,但仍认为自动质量判断不可靠,允许人工替代或直接省略观察者。故“有审查代理”不是质量保障已解决,审查能力也是方法的明显边界。 (原文:PDF p.5, Observer)
指标:论文坦言观察者中的视觉语言模型难以可靠区分真实和生成分镜,最后采用美学预测器,但仍认为自动质量判断不可靠,允许人工替代或直接省略观察者。故“有审查代理”不是质量保障已解决,审查能力也是方法的明显边界。
条件:本地全文 arXiv:2411.04925v2,Observer;条件及比较对象见陈述
PDF p.5, Observer · PDF p.5
Print Initial Initial Storyboards & Initial Storyboards & Story Results & StoryDiffusion Storyboards LangSAM Reference Videos New No Reference Frames StoryAnyDoor Reference Videos & Reference & Segmentation Subject & Segmentation Storyboard Generator Videos Masks Masks Yes Story Results: Reference Initial Storyboards: Segmentation Masks: Storyboard Results: Shot 1: Miffy Videos: wakes up … Train StoryAnyDoor Shot 2: First … with Reference Videos Shot … Shot 1 Shot 2 Shot 3 Shot 4 Target Masks on BG Subject Masks & Segmentation Masks Shot 1 Shot 2 Shot 3 Shot 4 Figure 3: The workflow diagrams of Storyboard Generator, along with the corresponding inputs (yellow blocks) and the outputs of their submodules (blue blocks). 3.1 LLM- BASED AGENTS Agent Manager. Customized Storytelling Video Generation (CSVG) is a multifaceted task that necessitates the orchestration of several subtasks, each requiring the cooperation of multiple agents to ensure their successful completion in a predefined sequence. To facilitate this coordination, we intro- duce an agent manager tasked with overseeing the agents’ activities and facilitating communication between them. Leveraging the capabilities of Large Language Models (LLM) such as GPT-4 (Achiam et al., 2023) and Llama (Touvron et al., 2023), the agent manager selects the next agent in line. This process involves presenting a prompt to the LLM, requesting the selection of the subsequent agent from a predetermined list of available agents within the agent manager. The prompt, referred to as the role message, is accompanied by contextual information detailing which agents have completed their tasks. Empowered by the LLM’s decision-making prowess, the agent manager ensures the orderly execution of tasks across various agents, thus streamlining the CSVG process. Story Designer. In order to craft captivating storyboards and storytelling videos, crafting detailed, immersive, and narrative-rich story descriptions is crucial. To accomplish this, we introduce a story designer agent, which harnesses the capabilities of Large Language Models (LLM). This agent offers flexibility in LLM selection, accommodating models like GPT-4, Claude (Anthropic, 2024), and Gemini (Team et al., 2023). By prompting the LLM with a role message tailored to the story designer’s specifications, including parameters such as the number of shots (N ), background descriptions, and protagonist actions, the story designer generates a script comprising n shots with corresponding story descriptions p = {p1 , · · · , pn }, ensuring the inclusion of desired narrative elements. Observer. The observer is an optional agent within the framework, and it acts as a critical evaluator, tasked with assessing the outputs of other agents, such as the storyboard generator, and signaling the agent manager to proceed or provide feedback for optimizing the results. At its core, this agent can utilize Aesthetic Quality Assessment (AQA) methods (Deng et al., 2017) or the general Multimodal Large Language Models (MLLMs), such as GPT-4 (Achiam et al., 2023) or LLaVA (Lin et al., 2023), capable of processing visual elements to score and determine their quality. However, existing MLLMs still have limited capability in evaluating images or videos. As demonstrated in our experiments in Appendix A.5, these models cannot distinguish between ground-truth and generated storyboards. Therefore, we implemented the LAION aesthetic predictor (Prabhudesai et al., 2024) as the core of this agent, which can effectively assess the quality of storyboards in certain cases and filter out some low-quality results. Nevertheless, current AQA methods remain unreliable. In practical applications, users have the option to replace this agent’s function with human evaluation or omit it altogether to generate storytelling videos. Since designing a robust quality assessment model is beyond the scope of this paper, we will leave it for future work. 3.2 V ISUAL AGENTS Storyboard Generator. Storyboard generation requires maintaining the subject’s consistency across shots. It is still a challenging task despite advancements in coherent image generation for storytelling (Wang et al., 2023; Zhou et al., 2024; Wang et al., 2024c) have been made. To address this, inspired by AnyDoor (Chen et al., 2023b), we propose a novel pipeline for storyboard generation that ensures subject consistency through removal and redrawing, as shown in Fig. 3. Initially, given detailed descriptions p = {p1 , · · · , pN }, we employ text-to-image diffusion models like StoryDiffusion (Zhou et al., 2024) to generate an initial storyboard sequence S = {s1 , · · · , sN }. During removal, each storyboard sn undergoes subject segmentation using algorithms like LangSAM, resulting in the subject mask M = {m1 , · · · , mN }. For redrawing, a user-provided subject image with its 5
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
代码从哪里读
已核验作者展示仓库可以访问。这是演示材料入口,不能据此声称实现代码已完整开放。本次未安装、运行作者代码,也没有验证复现成功。
读完后记住这三件事
它解决指定人物的跨镜头与镜头内一致性;核心包含重绘和实际微调;比较时必须记住真实背景条件与不可靠的自动观察者。 (原文:PDF p.4, Figure 2; Section 3;PDF p.6, Figure 4; customized image animation;PDF p.7, Implementation Details; Evaluation on Public Datasets;PDF p.8, Table 1;PDF p.9, Table 2;PDF p.5, Observer)
指标:输入是故事提示和少量参考人物视频,故事设计、分镜生成、动画制作由管理器依次调度,观察者提供反馈。人物一致性有两种:不同镜头是否同一个人,单镜头运动中是否变脸。论文分别用分镜定制和视频定制处理,不能把静态分镜一致当成运动过程一致。
条件:本地全文 arXiv:2411.04925v2,Figure 2; Section 3;条件及比较对象见陈述
PDF p.4, Figure 2; Section 3 · PDF p.4
Print User Prompt & User Prompt Answer & Story Results & Reference Videos Story Results Reference Videos User Agent Manager Story Designer Agent Manager Ask for Check Answer “good” User Prompt: User Prompt: Story Results: Story Results: Write a story about Write a story Shot 1: Miffy wakes up Shot 1: Miffy wakes up one Miffy’s one day. about Miffy’s one bright morning … bright morning … one day. Shot 2: First stop is the Shot 2: First stop is the … Reference Videos: bustling town … Shot … Shot 3: Miffy explores Reference Videos: the enchanting forest … Shot 4: As the sun sets, Miffy relaxes on the … Observer Answer & Answer & Story Results & Storyboard Results Subject Masks Video Results & Reference Videos & Subject Masks & Storyboard Results Agent Manager Video Creator Agent Manager Storyboard Generator Video Results: Ask for Check Subject Masks of Ask for Check Storyboard Results: Answer “good” Answer “good” Reference Videos: Storyboard Story Results: Shot 1 Shot 2 Shot 3 Shot 4 Video 1 Video 2 Results: Shot 1: Miffy wakes … Shot 2: First stop is … Reference Subject Masks Shot 3: Miffy explores… Videos: of Reference Shot 4: As the sun … Videos: Observer Video 3 Video 4 Observer Figure 2: Our multi-agent framework’s video creation process. Yellow blocks represent the next agent’s input, while blue blocks indicate the current agent’s output. For example, the Storyboard Gen- erator (SG)’s input includes story results and reference videos, and its output consists of storyboard results and the subject mask of the reference videos. The Agent Manager (AM) automatically selects the next agent to execute upon receiving signals from different agents and may request the Observer to evaluate the results when other agents complete their tasks. this method achieves consistent image generation, generating storytelling videos for customized subjects remains a challenge for AesopAgent. 3 S TORYAGENT As depicted in Figure 2, StoryAgent takes as inputs a prompt and a few videos of the reference subjects, and employs the collaborative efforts of five agents: the agent manager, story designer, storyboard generator, video creator, and observer, to create highly consistent multi-shot storytelling videos. The workflow is segmented into three distinct steps: storyline generation, storyboard creation, and video generation. During storyline generation, the agent manager forwards the user-provided prompt to the story designer, who crafts a suitable storyline and detailed descriptions p = {p1 , · · · , pN } (where N represents the number of shots in the final storytelling video) outlining background scenes and protagonist actions. These results are then reviewed by the observer or user via the agent manager, and the process advances to the next step once the observer signals approval or the maximum chat rounds are reached. The second step focuses on generating the storyboard I = {I1 , · · · , IN }. Here, the agent manager provides the story descriptions p and protagonist videos Vref to the storyboard generator, which produces a series of images aligned with p and Vref . Similar to the previous step, the storyboard results undergo user or observer evaluation until they meet the desired criteria. Finally, the story descriptions p, storyboard Vref , and protagonist videos Vref are handed over to the video creator for synthesizing multi-shot storytelling videos. Instead of directly employing existing models, as done by Mora, the storyboard generator and the video creator agents utilize a novel storyboard generation pipeline and the proposed LoRA-BE customized generation method respectively to enhance both inter-shot and intra-shot consistency. In the subsequent section, we will delve into the definitions and implementations of the agents within our framework. 4
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:分镜先生成场景,移除初始人物,再用针对参考人物微调的StoryAnyDoor重绘。视频阶段在DynamiCrafter中加入LoRA参数和按注意力块区分的人物词嵌入,利用参考视频学习身份。它既改变可训练权重,也改变人物表示,而不是只靠更长的提示词描述衣服和脸。
条件:本地全文 arXiv:2411.04925v2,Figure 4; customized image animation;条件及比较对象见陈述
PDF p.6, Figure 4; customized image animation · PDF p.6
Print Block-wise embeddings a video of V1 Token embedding E D VAE Enc./Dec. Text … … Self-attn./cross-attn./temporal attn. lora a video of Vn encoder “A video of V ” ℕ … D E Augment E ℕ Gaussian noise video Cond. Trainable encoder Cross-attention maps Frozen V1 Vn Localization … Training only loss Figure 4: The illustration of our customized I2V generation method. Only the LoRA parameters inside each attention block and the block-wise token embeddings are trained to remember the subject. A localization loss is applied to enforce the tokens’ cross-attention maps to focus on the subject. background removed is selected, and StoryAnyDoor, fine-tuned based on AnyDoor with Vref , fills the mask locations M with the customized subject. Experiments in the following section prove that this strategy can effectively preserve the consistency of character details. Video Creator: LoRA-BE for Customized Image Animation. Given the reference videos Vref , the storyboard I, and the story descriptions p, the goal of the video creator is to animate the storyboard following the story descriptions p to form the storytelling videos with consistent subjects of in Vref . Theoretically, existing I2V methods, such as SVD (Blattmann et al., 2023b), and SparseCtrl (Guo et al., 2023a), can equip the agent to perform this task. However, these methods still face significant challenges in maintaining protagonist consistency, especially when the given subject is a cartoon character like Miffy. Inspired by the customized generation concept in image domain, we propose a concept learning method, named LoRA-BE, to achieve customized I2V generation. Our method is built upon a Latent Diffusion Model(LDM) (Ho et al., 2022)-based I2V generation model, DynamiCrafter(DC) (Xing et al., 2023). The modules in this method include a VAE encoder Ei and decoder Di , a text encoder ET , an image condition encoder Ec , and a 3D U-Net architecture U with self-attention, temporal attention, and cross-attention blocks within. We first introduce the inference process of the valina DC. As shown in Figure 4, a noisy video zT ∈ RF ×C×h×w is sampled from Gaussian distribution N, where F is the number of frames, and C, h, w represent the channel dimension, height, and width of the frame latent codes. Then the condition image In , i.e., the storyboard in our task, is encoded by E and contacted with zT as the input of U-Net U. Additionally, the condition image is also projected by the condition encoder Ec to extract image embedding. Similar to the text embedding extracted by the text encoder from the text prompt pn , the image embedding is injected into the video through the cross-attention block inside the U-Net. The output ϵT of U-Net will be used to denoise the noisy video zT following the backward process B of LDM. The denoising process for the n-th shot at step t can be written as: znt−1 = B(U([znt ; Ei (In )], ET (pn ), Ec (In )), znt , t) (1) where [·; ·] means the concatenation operation along the channel dimension. We will drop off the subscript n in the following content for simplicity. Although the reference image is encoded to provide the visual information of the reference protagonist, the existing pre-trained DC model still fails to preserve the consistency of the out-domain subject. Hence, we propose to enhance its customization ability of animating out-domain subjects by fine- tuning. Inspired by the conclusions of Mix-of-Show (Gu et al., 2023) that fine-tuning the embedding of the new token, e.g., <Miffy>, helps to capture the in-domain subject, and fine-tuning to shift the pre-trained model, i.e., LoRA (Ryu, 2023), helps to capture out-domain identity, we enhance DC’s customization ability from both aspects. Specifically, for each linear projection L(x) = W x in the self-attention, cross-attention, and temporal attention module, we add a few extra trainable parameters A and B to adjust the original projection to L(x) = W x + ∆W x = W x + BAx, thereby the generation domain of DC is shifted to the corresponding new subject after training. Moreover, we also train token embeddings for the new subject tokens. Unlike the Text Inversion (TI) method (Gal et al., 2022) which trains an embedding and injects the same embedding in all the cross-attention 6
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:公开数据测试为了对齐背景,拿真实视频首帧移除人物作为初始分镜,再重绘和动画化。因此这是有背景条件的比较,不能与无参考背景的自由故事生成直接混为一谈。训练还分别微调重绘器和视频定制模块,每换新人物都需要相应素材与适配成本。
条件:本地全文 arXiv:2411.04925v2,Implementation Details; Evaluation on Public Datasets;条件及比较对象见陈述
PDF p.7, Implementation Details; Evaluation on Public Datasets · PDF p.7
Print modules, we train different block-wise token embeddings. As there are 16 cross-attention modules in the U-Net, we add 16 new token embeddings e ∈ R16×d , where d represents the dimension of token embedding, for each new subject token, and each embedding is injected in only one cross-attention module. Consequently, to animate a new subject, only the LoRA parameters and 16 token embeddings are tuned to enhance the customized animation ability, where we use the given reference video Vref to fine-tuning the model. During training, the training sample v ∈ Vref is first projected into latent space by the AVE encoder z0 = E(v), then a noisy video is obtained by applying the forward process F of LDM on z0 with the sampled timestep t and Gaussian noises ϵ ∼ N(0, 1), zt = F(z0 , t, ϵ). The U-Net is trained to predict the noise ϵ̂ applied on z0 , so that zt can be recovered to z0 through the backward process. To reduce the interference of background information and make the trainable parameters focus on learning the identity of the new subject, we further introduce a localization loss Lloc applied on the across-attention maps. Specifically, the similarity map D ∈ RF ×h×w between the encoded subject token embedding and the latent videos is calculated for each cross-attention module, and the subject mask m is leveraged to maximize the values of D inside the subject locations. Hence, the overall training objective for the I2V generation can be formulated as follows: F 1 X L = Lldm + Lloc = ∥ϵ − U([zt ; z0 [1]], ET (p), Ec (v[1]))∥ − mean(D[f, m[f ] = 1]) (2) F f As a result, the trainable subject embeddings and LoRA parameters can focus more on the subject. 4 E XPERIMENTS Implementation Details. For storyboard generation, we employed AnyDoor as the redrawer and fine-tuned it to accommodate the new subject using the Adam optimizer with an initial learning rate of 1e-5. We selected 4-5 videos, each lasting 1-2 seconds, for every subject as reference videos, and conducted 20,000 fine-tuning steps. Regarding the training of the I2V model, we utilized DynamiCrafter (DC) (Xing et al., 2023) as the foundational model. We trained only the parameters of LoRA and block-wise token embeddings (LoRA-BE) using the Adam optimizer with a learning rate of 1e-4 for 400 epochs. All experiments were executed on an NVIDIA V100 GPU. Datasets and Metrics. We employed two publicly available storytelling datasets, PororoSV (Li et al., 2019) and FlintstonesSV (Maharana and Bansal, 2021), which include both story scripts and corresponding videos, for evaluating our method. From PororoSV, we selected 5 characters, and from FlintstonesSV, we chose 4 characters as the customized subjects. For the training set, we selected reference videos for each subject from one episode, simulating practical application scenarios. For the testing set, we curated 10 samples for each subject, each consisting of 4 shots highly relevant to the subject. To evaluate our method on these datasets, we utilized reference-based metrics such as FVD (Unterthiner et al., 2018), PSNR, SSIM (Wang et al., 2004), and LPIPS (Zhang et al., 2018). Additionally, to assess the generalization ability, we collected 8 other subjects from YouTube and open-source online websites to form an open-domain set. Story descriptions for this set were generated using ChatGPT. Since there is no ground truth for this set, we reported the results on non-reference metrics as outlined in Liu et al. (2023), including Inception Score (IS), text-video consistency (Clip-score), semantic consistency (Clip-temp), Warping error, and Average flow (Flow-score). Arrows next to the metric names indicate whether higher (↑) or lower (↓) values are better for that particular metric. For Flow-Score, the arrow is replaced with a rightwards arrow (→) as it is a neutral metric. 4.1 E VALUATION ON P UBLIC DATASETS Quantitative Results. The PororoSV (Li et al., 2019) and FlintstonesSV (Maharana and Bansal, 2021) datasets comprise story descriptions and corresponding videos, serving as ground truth for evaluating storytelling video generation methods. During testing, we generate a storyboard with a consistent background aligned with the ground-truth video. To achieve this, we use the first frame of each video with the subject removed as the initial storyboard. Subsequently, our storyboard generator redraws this initial storyboard to produce the final version. Finally, the generated storyboard is animated by the video creator agent to create a video of the subject. 7
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:PororoSV上本文FVD为2070.56,SVD为2634.01;FlintstonesSV上分别991.37与1864.91。两组都使用论文指定分镜条件,FVD越低越好。该结果支持这个受控动画任务中的改善,不是无条件的全故事生成胜率。
条件:本地全文 arXiv:2411.04925v2,Table 1;条件及比较对象见陈述
PDF p.8, Table 1 · PDF p.8
Print TI-SparseCtrl SVD StoryAgent (Ours) GT Loopy turns her head to Loopy shows no interest to her Pororo and Crong are apologizing Loopy remains still after her something that grabbed her friends Pororo and Crong who to Loopy for what they have done friends Pororo and Crong attention. are standing outside of her house. before. apologized. Figure 5: The Result visualization of three methods and the ground truth. The texts at the bottom are the story descriptions. The other two methods (the first 2 rows) fail to capture inter- and intra-shot consistency, our results (the 3rd row) are more approaching the ground truth (the 4th row). Table 1: Comparison results of storytelling video generation on PororoSV and FlintstonesSV datasets. Dataset Method FVD ↓ SSIM ↑ PSNR ↑ LPIPS↓ SVD 2634.01 0.5584 14.2813 0.3737 TI-Sparsectrl 4209.80 0.5042 12.2749 0.5646 PororoSV StoryAgent(ours) 2070.56 0.6995 17.5104 0.2535 SVD 1864.91 0.4460 14.5968 0.4023 TI-Sparsectrl 3277.96 0.5571 14.7053 0.4958 FlintstonesSV StoryAgent(ours) 991.37 0.6700 18.1169 0.2490 In this evaluation framework, employing one-stage methods that directly generate storytelling videos from story descriptions yields significant discrepancies in the background compared to ground-truth videos. To ensure fair comparisons, we employ two I2V methods in conjunction with our storyboard generation as benchmarks: 1) SVD (Blattmann et al., 2023b), an open-source tool endorsed by recent work (Yuan et al., 2024) for image animation; 2) TI-SparseCtrl, wherein we augment the customization generation ability of SparseCtrl (Guo et al., 2023a) by integrating the Text Inversion (TI)(Gal et al., 2022) technique. Table 1 presents results computed against ground-truth videos. Our method consistently outperforms others by a notable margin across both video quality and human perception metrics, as evidenced by the FVD and LPIPS scores. Moreover, the improvement in the SSIM metric indicates closer alignment of our results with ground-truth videos, affirming the enhanced consistency of characters in our generated results. Qualitative Results. To further elucidate the effectiveness of our approach, we qualitatively compare it with alternative methods in Figure 5. Our model demonstrates superior consistency compared to TI-SparseCtrl and SVD, closely resembling the ground truth. While TI-SparseCtrl, reliant on Text Inversion, struggles with maintaining consistency across shots, resulting in noticeable character variations, SVD manages to maintain inter-shot consistency but exhibits significant changes within shots, particularly evident in the 2nd and 3rd shots. Conversely, our method adeptly preserves both inter-shot and intra-shot consistency, thus affirming its effectiveness. Supplementary qualitative results are available in the Appendix. 4.2 E VALUATION ON O PEN - DOMAIN S UBJECTS Open-domain Dataset Results. In this experiment, we also qualitatively compare our method with other CSVG methods, the video generation performance is shown in Figure 1. Due to the recent work, StoryDiffusion (Zhou et al., 2024), did not release the codes for video generation, we compare its storyboard generation performance in Figure 6. For other T2V methods, TI-AnimateDiff 8
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:开放人物测试中本文CLIP-score为0.2053,DreamVideo为0.1843;但Inception Score本文2.6346,低于DreamVideo的3.4421。语义时间一致性本文0.9985,也低于Magic-Me的0.9992。不同指标不一致,不能把所有高一致性都解释为动作丰富或整体画质最佳。
条件:本地全文 arXiv:2411.04925v2,Table 2;条件及比较对象见陈述
PDF p.9, Table 2 · PDF p.9
Print Kitty strolls through the tranquil countryside. Kitty reaches rocky cliffs overlooking the ocean. Kitty explores a charming flower garden. Kitty watches the sunset from a hilltop. Reference Videos TI-AnimateDiff DreamVideo Magic-Me StoryDiffusion StoryAgent (Ours) Figure 6: Storyboard generation visualization on open-domain subject (Kitty). The other four methods fail to preserve the consistency of the reference subject across shots, while our method effectively improves the consistency between the referenced image and the generated image. Table 2: Comparison results of storytelling video generation on the open-domain dataset. Method Ours TI-SparseCtrl SVD TI-AnimateDiff DreamVideo Magic-Me IS ↑ 2.6346 2.4184 2.3831 2.4539 3.4421 2.3989 CLIP-score ↑ 0.2053 0.1963 0.2013 0.2023 0.1843 0.2003 CLIP-temp ↑ 0.9985 0.9969 0.9959 0.9990 0.9963 0.9992 Warping error ↓ 0.0184 0.0189 0.0264 0.0043 0.0208 0.0048 Flow-score → 2.4332 2.6334 5.2117 1.8184 5.1140 1.4092 (Guo et al., 2023b), DreamVideo (Wei et al., 2023), and Magic-Me (Ma et al., 2024), we use the first frames of the generated videos as the storyboard for comparison. As shown in Figure 1 and Figure 6, all these methods fail to capture inter-shot consistency. For the results of TI-AnimateDiff in Figure 6, the subject in the 3rd shot is different from the subject in the 4th shot. StoryDiffusion also cannot maintain the subject consistency across all shots. DreamVideo is unstable and produces unnatural content. Magic-Me even fails to maintain intra-shot subject consistency, as shown in the 4th shot of Figure 1. More importantly, all these methods cannot preserve the reference subject in the generated videos. In contrast, our storyboard generator, based on the storyboard of StoryDiffusion, replaced the subjects with the reference subjects through the proposed removal and redrawing strategy. Compared with other methods, the proposed storyboard generation pipeline effectively preserves the consistency between the referenced image and the generated image in detail, such as the clothes of the subject, thereby enhancing the inter-shot consistency of the storytelling video. Besides, as proved by Figure 1, the video creator storing the subject information in a few trainable parameters further helps to maintain intra-shot consistency. In addition to the subject consistency, we also report the quantitative results of all relevant methods, including TI-SparseCtrl and SVD using the storyboards from our agent, in Table 2. Our method outperforms other methods on text-video alignment while achieving comparable performances on other aspects like IS and semantic consistency (Clip-temp). These results indicate that our method can achieve high consistency while ensuring comparable video quality to other state-of-the-art methods. Therefore, the collaboration of multi-agents is a promising direction for achieving better results. 4.3 U SER STUDIES We conducted a user study on the results of different methods on the open-domain dataset and the Pororo dataset. We presented the results of different methods to the participants (They do not know which method each video comes from) and asked them to rate five aspects on a scale of 1-5: InteR-shot subject Consistency (IRC), IntrA-shot subject Consistency (IAC), Subject-Background Harmony (SBH), Text Alignment (TA) and Overall Quality (OQ). More details of the user studes can be seen in Appendix A.6. 9
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:论文坦言观察者中的视觉语言模型难以可靠区分真实和生成分镜,最后采用美学预测器,但仍认为自动质量判断不可靠,允许人工替代或直接省略观察者。故“有审查代理”不是质量保障已解决,审查能力也是方法的明显边界。
条件:本地全文 arXiv:2411.04925v2,Observer;条件及比较对象见陈述
PDF p.5, Observer · PDF p.5
Print Initial Initial Storyboards & Initial Storyboards & Story Results & StoryDiffusion Storyboards LangSAM Reference Videos New No Reference Frames StoryAnyDoor Reference Videos & Reference & Segmentation Subject & Segmentation Storyboard Generator Videos Masks Masks Yes Story Results: Reference Initial Storyboards: Segmentation Masks: Storyboard Results: Shot 1: Miffy Videos: wakes up … Train StoryAnyDoor Shot 2: First … with Reference Videos Shot … Shot 1 Shot 2 Shot 3 Shot 4 Target Masks on BG Subject Masks & Segmentation Masks Shot 1 Shot 2 Shot 3 Shot 4 Figure 3: The workflow diagrams of Storyboard Generator, along with the corresponding inputs (yellow blocks) and the outputs of their submodules (blue blocks). 3.1 LLM- BASED AGENTS Agent Manager. Customized Storytelling Video Generation (CSVG) is a multifaceted task that necessitates the orchestration of several subtasks, each requiring the cooperation of multiple agents to ensure their successful completion in a predefined sequence. To facilitate this coordination, we intro- duce an agent manager tasked with overseeing the agents’ activities and facilitating communication between them. Leveraging the capabilities of Large Language Models (LLM) such as GPT-4 (Achiam et al., 2023) and Llama (Touvron et al., 2023), the agent manager selects the next agent in line. This process involves presenting a prompt to the LLM, requesting the selection of the subsequent agent from a predetermined list of available agents within the agent manager. The prompt, referred to as the role message, is accompanied by contextual information detailing which agents have completed their tasks. Empowered by the LLM’s decision-making prowess, the agent manager ensures the orderly execution of tasks across various agents, thus streamlining the CSVG process. Story Designer. In order to craft captivating storyboards and storytelling videos, crafting detailed, immersive, and narrative-rich story descriptions is crucial. To accomplish this, we introduce a story designer agent, which harnesses the capabilities of Large Language Models (LLM). This agent offers flexibility in LLM selection, accommodating models like GPT-4, Claude (Anthropic, 2024), and Gemini (Team et al., 2023). By prompting the LLM with a role message tailored to the story designer’s specifications, including parameters such as the number of shots (N ), background descriptions, and protagonist actions, the story designer generates a script comprising n shots with corresponding story descriptions p = {p1 , · · · , pn }, ensuring the inclusion of desired narrative elements. Observer. The observer is an optional agent within the framework, and it acts as a critical evaluator, tasked with assessing the outputs of other agents, such as the storyboard generator, and signaling the agent manager to proceed or provide feedback for optimizing the results. At its core, this agent can utilize Aesthetic Quality Assessment (AQA) methods (Deng et al., 2017) or the general Multimodal Large Language Models (MLLMs), such as GPT-4 (Achiam et al., 2023) or LLaVA (Lin et al., 2023), capable of processing visual elements to score and determine their quality. However, existing MLLMs still have limited capability in evaluating images or videos. As demonstrated in our experiments in Appendix A.5, these models cannot distinguish between ground-truth and generated storyboards. Therefore, we implemented the LAION aesthetic predictor (Prabhudesai et al., 2024) as the core of this agent, which can effectively assess the quality of storyboards in certain cases and filter out some low-quality results. Nevertheless, current AQA methods remain unreliable. In practical applications, users have the option to replace this agent’s function with human evaluation or omit it altogether to generate storytelling videos. Since designing a robust quality assessment model is beyond the scope of this paper, we will leave it for future work. 3.2 V ISUAL AGENTS Storyboard Generator. Storyboard generation requires maintaining the subject’s consistency across shots. It is still a challenging task despite advancements in coherent image generation for storytelling (Wang et al., 2023; Zhou et al., 2024; Wang et al., 2024c) have been made. To address this, inspired by AnyDoor (Chen et al., 2023b), we propose a novel pipeline for storyboard generation that ensures subject consistency through removal and redrawing, as shown in Fig. 3. Initially, given detailed descriptions p = {p1 , · · · , pN }, we employ text-to-image diffusion models like StoryDiffusion (Zhou et al., 2024) to generate an initial storyboard sequence S = {s1 , · · · , sN }. During removal, each storyboard sn undergoes subject segmentation using algorithms like LangSAM, resulting in the subject mask M = {m1 , · · · , mN }. For redrawing, a user-provided subject image with its 5
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。