Manuscript Offprint

arXiv:2609.06712

RoLA: Rotary-Positioned Low-Rank Linear Attention for Efficient Diffusion Transformers

Zekun Zhang, Yixiang Cai, Yuxi Liu, Tengxu Sun, Tianle Liu, Zhoutong Wu, Haoyu Li, Baole Ai, Ang Wang, Jiamang Wang, Lin Qu, Kun Yuan

Abstract

Diffusion Transformers (DiTs) achieve strong video generation quality, but their dense spatiotemporal self-attention scales quadratically with sequence length and quickly becomes the dominant inference bottleneck. Sparse low-rank hybrids alleviate this cost by combining a local sparse branch with a global compressed branch. In video DiTs equipped with 3D Rotary Position Embeddings (RoPE), the global branch faces a structural compatibility issue: when RoPE is applied before a nonlinear feature map, the rotation and nonlinearity generally do not commute, making it difficult to keep a query-independent linear summary while preserving relative rotary geometry. Existing work often sidesteps this issue by replacing genuine cross-token global aggregation with coordinate-conditioned surrogates or learnable absolute positional modules. These compromises can be effective, but they approximate relative decay from absolute coordinates and introduce extra positional parameters. We propose RoLA, a rotary-positioned low-rank linear-attention branch that keeps genuine cross-token aggregation while remaining compatible with a reusable linear summary. The design applies RoPE outside the nonlinear low-rank feature map and reuses a truncated subset of the pre-trained rotary schedule matched to the low-rank bottleneck. This yields a linear-time low-rank global branch with relative positional behavior by design and no additional positional parameters; the full sparse-low-rank module still includes the fixed-sparsity sparse branch. Experiments on open-source video DiTs show that the resulting method remains competitive in generation quality at 90% sparsity while achieving 2.63× end-to-end inference speedup on Wan2.1-14B (720p, 81 frames, measured on an NVIDIA H100 GPU).

E-mail: zhangzekun@std.uestc.edu.cn caiixiang@bupt.edu.cn yuxiliu666@stu.pku.edu.cn kunyuan@pku.edu.cn

Date: September 9, 2026

Figure

Figure

Visual comparison of video generation quality across different attention methods.

  • Equal contribution. † Corresponding author. ‡ Project leader.

1 Introduction

Diffusion Transformers (DiTs) [16] have become a dominant backbone for high-fidelity video generation [6, 10, 19, 23]. However, their dense spatiotemporal self-attention scales quadratically with sequence length, making inference increasingly expensive as video resolution and duration grow. Sparse attention methods [20–22, 27] reduce this cost by computing only a selected subset of query-key interactions. While effective at moderate sparsity, aggressive sparsification often removes the global interactions required for semantic consistency, motion coherence, and stable scene layout.

Sparse-linear hybrids address this limitation by augmenting a sparse local branch with a cheap global branch [5, 25, 26]. In video DiTs, however, this design can encounter a structural compatibility issue. On the one hand, 3D Rotary Position Embeddings (RoPE) encode relative geometry through position-dependent rotations. On the other hand, linear attention relies on a query-independent global summary that can be reused across tokens. If RoPE is pushed through a nonlinear feature map in the usual way, the rotation and nonlinearity generally do not commute, so the resulting summary can become entangled with absolute positions. We refer to this tension as the RoPE Dilemma.

One practical workaround is to replace genuine cross-token aggregation in the global branch with coordinate-conditioned surrogates and learnable absolute positional modules [14]. This works, but it leaves two limitations. First, relative decay is approximated from absolute coordinates rather than represented by the global branch itself. Second, the design gives up the reusable linear-attention view of global context and introduces extra positional parameters.

This naturally raises the question: can we build a genuine linear global branch that remains compatible with 3D relative-position structure? We answer this question by rotating the already-compressed low-rank features after the nonlinearity. As a result, the branch keeps a reusable global summary while its pairwise interactions remain functions of relative offsets. We further reuse a truncated subset of the pre-trained rotary schedule that matches the low-rank bottleneck, avoiding any new positional module. Together, these two choices turn the compressed branch from an absolute-coordinate surrogate into a relative-position-aware linear branch, while preserving linear-time reuse and a hardware-friendly implementation. Although this outside-activation ordering is simple in isolation, making it work in a pre-trained 3D-RoPE video DiT requires resolving three coupled constraints: the limited rotary frequency budget of the low-rank bottleneck, stable fusion with a sparse branch on the backbone scale, and adaptation without disrupting pre-trained attention statistics. We refer to the resulting method as RoLA. We do not claim a new generic linear relative-position encoder; rather, RoLA is a video-DiT-specific sparse-global construction that makes post-activation RoPE compatible with a reusable low-rank global branch and a sparse deployment engine. Figure 1 summarizes the target operating regime: compared with dense attention and representative sparse or sparse-global baselines, the proposed method reduces attention cost and end-to-end latency while retaining a genuine global branch. These deployment-oriented results use a separate RTX 5090 long-sequence profiling setup; they illustrate scaling behavior rather than provide a direct latency counterpart to the H100-based main benchmark table.

Contributions. Our contributions are as follows:

  • Structural compatibility issue. In 3D-RoPE video DiTs, a genuine low-rank global branch must preserve relative-position geometry while remaining reusable as a query-independent linear summary. These two requirements conflict under the usual nonlinear linear-attention formulation.
  • Compatible rotary low-rank branch. The proposed branch applies RoPE after the nonlinear low-rank feature map and reuses a rank-truncated subset of the pre-trained rotary schedule. This preserves relative-position structure at the interaction level while keeping a reusable linear-time global summary, without introducing new positional parameters.
  • Mechanistic and empirical validation. Mechanism-level experiments on real features from mainstream open-source video models verify the branch's relative-position behavior, and generation experiments across representative backbones demonstrate favorable quality-efficiency trade-offs under high sparsity and full-stack inference.

References (28)