arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2511.14712cs.CV
收藏

FreeSwim: 重新审视滑动窗口注意力机制以实现无训练超高清视频生成

FreeSwim: Revisiting Sliding-Window Attention Mechanisms for Training-Free Ultra-High-Resolution Video Generation

School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院);Xi’an Jiaotong-Liverpool University(西安交通大学利物浦大学);Xi’an Jiaotong University(西安交通大学);National University of Singapore(新加坡国立大学)

Yunfeng Wu, Jiayi Song, Zhenxiong Tan, Zihao He, Songhua Liu

AI总结:

FreeSwim通过无训练滑动窗口注意力机制实现超高清视频生成,提升效率并保持视觉细节。

摘要:

现代基于Transformer的视频生成器中,注意力机制的二次时间与内存复杂度使得端到端训练超高清视频变得成本过高。受此限制的启发,我们提出了一种无训练方法,利用在原生尺度上预训练的视频扩散变换器来合成更高分辨率的视频,而无需任何额外训练或适应。我们方法的核心是一种向内滑动窗口注意力机制,这一机制源于一个关键观察:保持每个查询token的训练尺度感受野对于保持视觉保真度和细节至关重要。然而,朴素的局部窗口注意力往往导致重复内容,并在生成结果中表现出缺乏全局一致性。为克服这一挑战,我们设计了一种双路径流程,通过新颖的跨注意力覆盖策略来补充窗口注意力,使由局部注意力产生的语义内容能够被另一个具有完整感受野的分支引导,从而确保整体一致性。此外,为了提高效率,我们引入了跨注意力缓存策略,以避免频繁计算完整的3D注意力。广泛的实验表明,我们的方法在无训练范式下能够生成超高清视频,具有精细的视觉细节和高效率。同时,它在VBench上实现了优于训练方法的性能,具有竞争或改进的效率。代码可在:https://github.com/WillWu111/FreeSwim获取。

英文摘要:

The quadratic time and memory complexity of the attention mechanism in modern Transformer based video generators makes end-to-end training for ultra high resolution videos prohibitively expensive. Motivated by this limitation, we introduce a training-free approach that leverages video Diffusion Transformers pretrained at their native scale to synthesize higher resolution videos without any additional training or adaptation. At the core of our method lies an inward sliding window attention mechanism, which originates from a key observation: maintaining each query token's training scale receptive field is crucial for preserving visual fidelity and detail. However, naive local window attention, unfortunately, often leads to repetitive content and exhibits a lack of global coherence in the generated results. To overcome this challenge, we devise a dual-path pipeline that backs up window attention with a novel cross-attention override strategy, enabling the semantic content produced by local attention to be guided by another branch with a full receptive field and, therefore, ensuring holistic consistency. Furthermore, to improve efficiency, we incorporate a cross-attention caching strategy for this branch to avoid the frequent computation of full 3D attention. Extensive experiments demonstrate that our method delivers ultra-high-resolution videos with fine-grained visual details and high efficiency in a training-free paradigm. Meanwhile, it achieves superior performance on VBench, even compared to training-based alternatives, with competitive or improved efficiency. Codes are available at: https://github.com/WillWu111/FreeSwim

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

↑