QASK-Edit: Adaptive Sparse Attention Across Queries and Key Sources for Efficient Video Editing

Hengrui Liu, Wenbo Xu, Ziqi Sheng, Wei lu
11/16/2026
cs.CV
diffusion-flow

No confident code implementation found for this paper.

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.

Show full abstract

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\times$ 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\times$ speedup while maintaining generation quality.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026qaskedit,
  title  = {QASK-Edit: Adaptive Sparse Attention Across Queries and Key Sources for Efficient Video Editing},
  author = {Hengrui Liu and Wenbo Xu and Ziqi Sheng and Wei lu},
  year   = {2026},
  eprint = {2611.20704},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2611.20704v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2611.20704.svg)](https://codeofpaper.com/paper/2611.20704)

Discussion