VideoGrain: Modulating Space-Time Attention for Multi-grained Video Editing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Xiangpeng, Zhu, Linchao, Fan, Hehe, Yang, Yi
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913705133867008
author Yang, Xiangpeng
Zhu, Linchao
Fan, Hehe
Yang, Yi
author_facet Yang, Xiangpeng
Zhu, Linchao
Fan, Hehe
Yang, Yi
contents Recent advancements in diffusion models have significantly improved video generation and editing capabilities. However, multi-grained video editing, which encompasses class-level, instance-level, and part-level modifications, remains a formidable challenge. The major difficulties in multi-grained editing include semantic misalignment of text-to-region control and feature coupling within the diffusion model. To address these difficulties, we present VideoGrain, a zero-shot approach that modulates space-time (cross- and self-) attention mechanisms to achieve fine-grained control over video content. We enhance text-to-region control by amplifying each local prompt's attention to its corresponding spatial-disentangled region while minimizing interactions with irrelevant areas in cross-attention. Additionally, we improve feature separation by increasing intra-region awareness and reducing inter-region interference in self-attention. Extensive experiments demonstrate our method achieves state-of-the-art performance in real-world scenarios. Our code, data, and demos are available at https://knightyxp.github.io/VideoGrain_project_page/
format Preprint
id arxiv_https___arxiv_org_abs_2502_17258
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle VideoGrain: Modulating Space-Time Attention for Multi-grained Video Editing
Yang, Xiangpeng
Zhu, Linchao
Fan, Hehe
Yang, Yi
Computer Vision and Pattern Recognition
Recent advancements in diffusion models have significantly improved video generation and editing capabilities. However, multi-grained video editing, which encompasses class-level, instance-level, and part-level modifications, remains a formidable challenge. The major difficulties in multi-grained editing include semantic misalignment of text-to-region control and feature coupling within the diffusion model. To address these difficulties, we present VideoGrain, a zero-shot approach that modulates space-time (cross- and self-) attention mechanisms to achieve fine-grained control over video content. We enhance text-to-region control by amplifying each local prompt's attention to its corresponding spatial-disentangled region while minimizing interactions with irrelevant areas in cross-attention. Additionally, we improve feature separation by increasing intra-region awareness and reducing inter-region interference in self-attention. Extensive experiments demonstrate our method achieves state-of-the-art performance in real-world scenarios. Our code, data, and demos are available at https://knightyxp.github.io/VideoGrain_project_page/
title VideoGrain: Modulating Space-Time Attention for Multi-grained Video Editing
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2502.17258