arXiv:2507.15728cs.CV2025-07

用压缩令牌生成长视频,解决时序不一致与内存瓶颈问题

TokensGen: Harnessing Condensed Tokens for Long Video Generation

  • 将长视频分解为片段控制、全局一致性与片段衔接三任务
  • 通过一次性生成所有视频令牌,实现跨片段内容统一
  • 适合影视创作与沉浸式模拟,可复用已有短视频模型

生成连贯的长视频是一项复杂挑战:尽管基于扩散的生成模型能生成视觉出色的短片段,但扩展至更长时间常导致内存瓶颈和长期不一致。本文提出TokensGen,一种新型两阶段框架,利用压缩令牌解决这些问题。方法将长视频生成拆解为三项核心任务:(1) 片段内语义控制,(2) 长期一致性控制,(3) 片段间平滑过渡。首先,训练To2V(Token-to-Video)——一个由文本和视频令牌引导的短视频扩散模型,其配备视频分词器,可将短片段压缩为语义丰富的令牌。其次,引入T2To(Text-to-Token),一个视频令牌扩散变换器,一次性生成全部令牌,确保跨片段全局一致性。最后,在推理阶段,采用自适应FIFO-Diffusion策略无缝连接相邻片段,降低边界伪影,提升过渡流畅性。实验表明,该方法显著增强长期时空与内容连贯性,且计算开销可控。通过利用压缩令牌和预训练短视频模型,本方法提供了一种可扩展、模块化的长视频生成方案,为叙事创作、影视制作及沉浸式仿真开辟新可能。

原文摘要 · Abstract (English)

Generating consistent long videos is a complex challenge: while diffusion-based generative models generate visually impressive short clips, extending them to longer durations often leads to memory bottlenecks and long-term inconsistency. In this paper, we propose TokensGen, a novel two-stage framework that leverages condensed tokens to address these issues. Our method decomposes long video generation into three core tasks: (1) inner-clip semantic control, (2) long-term consistency control, and (3) inter-clip smooth transition. First, we train To2V (Token-to-Video), a short video diffusion model guided by text and video tokens, with a Video Tokenizer that condenses short clips into semantically rich tokens. Second, we introduce T2To (Text-to-Token), a video token diffusion transformer that generates all tokens at once, ensuring global consistency across clips. Finally, during inference, an adaptive FIFO-Diffusion strategy seamlessly connects adjacent clips, reducing boundary artifacts and enhancing smooth transitions. Experimental results demonstrate that our approach significantly enhances long-term temporal and content coherence without incurring prohibitive computational overhead. By leveraging condensed tokens and pre-trained short video models, our method provides a scalable, modular solution for long video generation, opening new possibilities for storytelling, cinematic production, and immersive simulations. Please see our project page at https://vicky0522.github.io/tokensgen-webpage/ .

长视频生成扩散模型令牌压缩视频一致性

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。