arXiv Machine Learning By Ruijie Li, Jiaxi Hu, Shiyu Wang, Yuxuan Liang

PHBA: Prefix-State Hybrid Block Attention

Read the original on arXiv Machine Learning →

PHBA (Prefix-State Hybrid Block Attention) is a new hybrid architecture that replaces local sliding‑window attention with top‑k block‑sparse retrieval, pairing each retrieved block with a compact prefix state that summarizes its preceding context. The prefix states are generated by a gated linear recurrence at block boundaries and are retrieved alongside the token blocks, enabling the model to combine precise long‑range evidence with compressed historical context in a single layer. A hardware‑aware Triton implementation streams routed token blocks and prefix states without materializing large intermediate tensors, and experiments demonstrate that PHBA outperforms strong linear and hybrid baselines in long‑context and retrieval performance while maintaining efficient training and inference.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Machine Learning
Oct 7

RAM-Net: Linear-Time Sequence Modeling with Sparsely Addressable State

RAM‑Net introduces a linear‑time sequence model that replaces dense access to a shared recurrent state with sparse, address‑based access. The model arranges the state as a fixed‑size array of independent slots and uses an Address Decoder to map each token’s key or query to a small subset of slots, thereby reducing inter‑token interference. Empirical results show that RAM‑Net outperforms strong recurrent baselines on fine‑grained long‑range retrieval, achieves the lowest perplexity in commonsense reasoning, and accesses far fewer state elements per step than competing models.

By Kaicheng Xiao, Haotian Li, Liran Dong, Guoliang Xing
arXiv Machine Learning
Sep 24

Attention Routing Stabilizes Early: Working-Set Inference for Recurrent Language Models

The paper investigates how attention dynamics evolve across recurrent depth in language models, finding that attention support stabilizes early while hidden states and outputs take longer. It proposes WISE, a training‑free method that uses full attention in early steps and then reuses the discovered sparse working set for later steps, preserving performance on multi‑hop QA tasks. Experiments show that WISE maintains quality up to 2K context, offers measurable speedups, and highlights the importance of recurrent discovery of attention support.

By Ke Wan, Chen Chen