QASK-Edit: Adaptive Sparse Attention Across Queries and Key Sources for Efficient Video Editing
Hengrui Liu, Wenbo Xu, Ziqi Sheng, Wei lu
Abstract
Diffusion Transformers (DiTs) have achieved strong performance in generation based video editing, but suffer from high inference latency due to the long token sequences formed by conditioning inputs and generated videos. Although training-free sparse attention reduces this cost, existing methods typically apply a fixed retention ratio or a single threshold shared across all tokens. In this work, we view video editing as conditional generation and identify a key insight: attention demand varies significantly both across different key sources (e.g., source videos, reference images, audio, text, and generated videos) and across queries within each source. Motivated by this, we propose QASK-Edit (Query-Adaptive Sparsity over Key Sources for Video Editing), a training-free sparse attention framework that allocates computation independently for each query and key source. Specifically, for each query, QASK-Edit considers both the attention mass and approximation risk of each block. It then evaluates candidate routing thresholds against each key source's risk budget, choosing exact computation or approximations to dynamically adjust sparsity for each query. Extensive experiments on three video editing models demonstrate that QASK-Edit achieves up to 1.46× end-to-end speedup over dense attention pipeline while preserving both editing quality and unedited region fidelity. Furthermore, QASK-Edit generalizes directly to Reference-to-Video generation, delivering up to 1.36× speedup while maintaining generation quality.
Create a lesson
Related papers
MoHA: Model-Conditioned Harness Adaptation for Long-Video Agents
Shared title terminology · Jianghan Chao, Wenhui Tan, Hang Su et al.
SAVIOR: Sample-efficient Adaptation of Vision-Language Models for OCR Representation
Shared title terminology · Akshata A Bhat, Sharath Naganna, Saiful Haq et al.
Parameter-Efficient Adaptation of Qwen3-VL for Handwritten Mathematical Expression Recognition
Shared title terminology · Manh Tuan Ha, Xuan Bao Viet Tran, Vo Minh Dat Nguyen et al.
SGAR: Feed-Forward 3D Reconstruction via Sparse Geometry-Guided Attention
Shared title terminology · Aoxiang Fan, Maria Pilligua, Corentin Dumery et al.
AdaPixFlow: Learning Continuous-Time 3D Dynamics Across Scenes from Sparse Multi-view Observations
Shared title terminology · Hrishikesh Viswanath, Aniket Bera
ConserveEdit: Source-Anchored Transactions for Drift-Bounded Iterative Image Editing
Shared title terminology · Shuyang Jiang, Fucheng Deng, Yuchuan Luo et al.