English

Why Any-Order Autoregressive Models Need Two-Stream Attention: A Structural-Semantic Tradeoff

Machine Learning 2026-02-19 v1 Computation and Language

Abstract

Any-order autoregressive models (AO-ARMs) offer a promising path toward efficient masked diffusion by enabling native key-value caching, but competitive performance has so far required two-stream attention, typically motivated as a means of decoupling token content from position. In this work, we argue that two-stream attention may be serving a more subtle role. We identify a structural-semantic tradeoff in any-order generation: the hidden representation at each step must simultaneously attend to semantically informative tokens for prediction and structurally recent tokens for summarization, objectives that compete for attention capacity in a single stream but can specialize across two streams. To isolate this tradeoff from position-content separation, we propose Decoupled RoPE, a modification to rotary position embeddings that provides target position information without revealing target content. Decoupled RoPE performs competitively at short sequence lengths--where semantic and structural proximity coincide--but degrades as sequence length increases and the two orderings diverge. These results suggest that the success of two-stream attention stems not merely from separating position from content, but from circumventing the deeper structural-semantic tradeoff inherent to any-order generation.

Keywords

Cite

@article{arxiv.2602.16092,
  title  = {Why Any-Order Autoregressive Models Need Two-Stream Attention: A Structural-Semantic Tradeoff},
  author = {Patrick Pynadath and Ruqi Zhang},
  journal= {arXiv preprint arXiv:2602.16092},
  year   = {2026}
}
R2 v1 2026-07-01T10:40:43.161Z