arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.25209cs.CVcs.AI
收藏

通过层适应性O.O.D校正实现免费午餐长视频生成

Free-Lunch Long Video Generation via Layer-Adaptive O.O.D Correction

Westlake University(西湖大学)

Jiahao Tian, Chenxi Song, Wei Cheng, Chi Zhang

AI总结:

本文提出FreeLOC框架,通过层适应性机制解决长视频生成中的O.O.D问题,提升时序一致性和视觉质量。

摘要:

生成长视频时,使用预训练的视频扩散模型会面临显著挑战。直接应用这些模型进行长视频推理常导致视觉质量下降。本文发现,这一问题主要源于两个分布外(O.O.D)问题:帧级相对位置O.O.D和上下文长度O.O.D。为解决这些问题,我们提出FreeLOC,一种无需训练的层适应性框架,引入两个核心技术:基于视频的相对位置重编码(VRPR)用于帧级相对位置O.O.D,采用多粒度策略逐层重编码时间相对位置以对齐模型预训练分布;以及分层稀疏注意力(TSA)用于上下文长度O.O.D,通过在不同时间尺度上结构化注意力密度来保留局部细节和长程依赖。关键在于引入层适应性探测机制,识别每个Transformer层对这些O.O.D问题的敏感性,实现选择性高效应用。大量实验表明,我们的方法显著优于现有无需训练的方法,在时序一致性和视觉质量上取得最佳成果。代码可在https://github.com/Westlake-AGI-Lab/FreeLOC获取。

英文摘要:

Generating long videos using pre-trained video diffusion models, which are typically trained on short clips, presents a significant challenge. Directly applying these models for long-video inference often leads to a notable degradation in visual quality. This paper identifies that this issue primarily stems from two out-of-distribution (O.O.D) problems: frame-level relative position O.O.D and context-length O.O.D. To address these challenges, we propose FreeLOC, a novel training-free, layer-adaptive framework that introduces two core techniques: Video-based Relative Position Re-encoding (VRPR) for frame-level relative position O.O.D, a multi-granularity strategy that hierarchically re-encodes temporal relative positions to align with the model's pre-trained distribution, and Tiered Sparse Attention (TSA) for context-length O.O.D, which preserves both local detail and long-range dependencies by structuring attention density across different temporal scales. Crucially, we introduce a layer-adaptive probing mechanism that identifies the sensitivity of each transformer layer to these O.O.D issues, allowing for the selective and efficient application of our methods. Extensive experiments demonstrate that our approach significantly outperforms existing training-free methods, achieving state-of-the-art results in both temporal consistency and visual quality. Code is available at https://github.com/Westlake-AGI-Lab/FreeLOC.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑