MEGA Hub

SCOPE: Subspace Clustering with Online Per-Head Top-K Estimation for Sparse Video Attention

Authors

Do you know Qi Zhao?You can claim authorship or link another user.Do you know Qirui Li?You can claim authorship or link another user.Do you know Hanlin Tang?You can claim authorship or link another user.Do you know Yiduo Li?You can claim authorship or link another user.Do you know Zhen Guo?You can claim authorship or link another user.Do you know Cuifeng Shen?You can claim authorship or link another user.Do you know Chao Xu?You can claim authorship or link another user.Do you know Zhaosheng Chi?You can claim authorship or link another user.Do you know Xiaojin Lu?You can claim authorship or link another user.Do you know Kan Liu?You can claim authorship or link another user.Do you know Tao Lan?You can claim authorship or link another user.Do you know Lin Qu?You can claim authorship or link another user.Do you know Xi Li?You can claim authorship or link another user.

Abstract

Diffusion Transformers (DiTs) incur quadratic self-attention cost over spatiotemporal tokens. Existing training-free sparse attention methods often construct sparse masks from block-level or cluster-level proxy scores, which can obscure fine-grained differences among keys and miss high contribution keys under aggressive sparsity. Moreover, such proxy scores may yield overly concentrated softmax distributions, causing Top-$p$ to retain too few keys for some query clusters. Although a fixed Top-$k$ minimum alleviates this failure mode, a shared value cannot adapt to variations across heads and inputs. To address both limitations, we propose SCOPE, a training-free sparse attention framework that combines 3D-RoPE-aligned key subspace clustering with online per-head Top-$k$ estimation for efficient video-DiT inference. SCOPE partitions post-RoPE keys into temporal, height, and width subspaces, clusters them independently, and aggregates the corresponding centroid scores through lookup tables to obtain per key proxy scores for each query cluster. Building on existing hybrid Top-$p$/fixed Top-$k$ selection, SCOPE derives a head-specific Top-$k$ value online by averaging the initial retained key counts within each head, weighted by query cluster size, and selects additional keys only for query clusters whose initial retained key counts fall below this value. Sparse attention is then computed over the selected original keys and values. Across six model--task configurations, SCOPE consistently outperforms existing training-free baselines in both fidelity and latency, achieving up to a $1.99\times$ end-to-end speedup on 720p HunyuanVideo with $28.46$ dB PSNR relative to dense attention.

Community

00