Skip to content

PHBA: Prefix-State Hybrid Block Attention

Oct 2026 · 0 citations · 36 references
Computer Science

TL;DR

This work introduces Prefix-State Hybrid Block Attention (PHBA), which replaces local sliding-window attention with top-k block-sparse retrieval and couples each retrieved block with a compact prefix state summarizing its preceding context.

Abstract

Hybrid architectures combining linear sequence models with softmax attention provide an effective balance between efficient long-context modeling and precise token retrieval. Existing designs such as Native Hybrid Attention (NHA) combine compressed long-term states with sliding-window attention, but their exact attention is restricted to a fixed local window. In this work, we introduce Prefix-State Hybrid Block Attention (PHBA), which replaces local sliding-window attention with top-k block-sparse retrieval and couples each retrieved block with a compact prefix state summarizing its preceding context. The prefix states are constructed by a gated linear recurrence at block boundaries and retrieved together with the corresponding token blocks, allowing the model to combine precise long-range evidence with compressed historical context within a unified layer. We further develop a hardware-aware Triton implementation that streams routed token blocks and prefix states without materializing large intermediate tensors. Experiments show that PHBA improves long-context and retrieval performance over strong linear and hybrid baselines while retaining efficient training and inference.

View source

Similar papers

Preprint Nov 2026

Bilateral Log-Linear Attention

Sequence models represent past context at different resolutions, using token-level keys and values, fixed-size recurrent states, or hierarchies of compressed summaries. Full attention supports strong associative recall but requires quadratic work during training and prefill and a linearly growing key-value cache during...

Kazi Ashik Islam, Guo-Jing Cong · 0 citations
#natural language process... Preprint Oct 2026

HLA: Expressive Hybrid Linear Attention via Chunk-Wise Dynamic Mixing

Linear attention enables efficient long-context autoregressive decoding by compressing history into recurrent states, but this compression can make selective access to sparse and distant information difficult. Existing chunk-based extensions increase memory capacity, yet learned chunk-mixing coefficients may remain fix...

Zhuo-Kun Chen, Xi Lin, Xi-Yu Wu et al. · 0 citations
Conference Oct 2026

Hybrid Knowledge Distillation for Prefix Compression in Pre-trained Language Models

Prompt-based learning has emerged as an effective paradigm for the parameter-efficient adaptation of pre-trained language models. However, existing methods typically rely on long continuous prefixes, which not only occupy the limited context window but also reduce effective input capacity. Furthermore, aggressively com...

Hong-Tao Zhu, Dai-Dai Liu, Xin Gu et al. · 0 citations
#artificial intelligence Preprint Oct 2026

SparseGDN: Chunk Sparse in Linear Attention

Gated Delta Networks (GDNs) offer linear-time sequence modeling, yet long-context prefill remains costly due to dense intra-chunk computation, recurrent-state updates, and intermediate state storage. We introduce SparseGDN, a hardware-aware framework that combines structured intra-chunk approximation with input-depende...

Jie-Dong Zhuang, Peng Zhao, Jia-Lin Tang et al. · 1 citation
#artificial intelligence Preprint Nov 2026

Anchor: Augmented Cross-Layer Recurrent State for Long-Context Retrieval in Test-Time Training

Parameter-efficient linearization turns a pretrained autoregressive Transformer into an efficient model by hybridizing sliding-window attention (SWA) with a constant-size recurrent memory. But does every layer's recurrent state contribute to long-context retrieval? Investigating an SWA and Test-Time Training (TTT) hybr...

Vimal William, Yuan-Zhe Li, Danella Zhao et al. · 0 citations
Preprint Oct 2026

Improving the Expressive Power of Hybrid Sequence Models via Multi-Hop Retrieval

Hybrid architectures offer a promising approach to efficient language modeling by combining a small number of full-attention layers with a larger number of efficient sequence layers, such as sparse attention and recurrent layers. While full-attention layers maintain a KV cache that grows linearly with sequence length,...

Yam Eitan, Gilad Yehudai, Haggai Maron · 0 citations

Related blog posts

MIT News · Artificial Intelligence Dec 1, 2026

A new form of memory helps robots learn complex skills

The method uses large vision-language models to teach smaller models how to remember key details about a robot’s surroundings, making the machines more reactive and resourceful.

Microsoft Research Blog Nov 30, 2026

Forgotten, or just hidden? Stress testing how AI models unlearn

When AI “forgets,” is the information really gone? Standard tests can suggest an AI model has successfully forgotten specific information. A controlled Microsoft Research study found a different picture when researchers changed the questions and used strategic prompts. The findings point to a gap between looking like information is forgotten and making it resistant to recovery. The post Forgotten, or just hidden? Stress testing how AI models unlearn appeared first on Microsoft Research.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.