Factorized Context Attention: From Emulated to Native Grid Probing
Abstract
Factorized Context Attention is a training-free block-sparse attention method that natively reproduces grid probing’s span-based attention pattern, encoding input once into a KV cache to match accuracy and extend context at lower cost across video, text, and image tasks.
Models read a book, an hour of video, or an image in one forward pass. As the context grows, this pass slows down, loses accuracy, and stops at the context window. Sparse attention is efficient, but keeps the other two limitations. Grid probing, a recent training-free method, recovers the accuracy and extends the reach by asking a frozen model the same question about short local and strided spans of the input, but every question repeats the whole computation, since each span is encoded again. Our insight is that grid probing is emulated attention, an attention pattern reproduced from outside the model through prompts, since each probe only restricts which part of the input the question can see. We introduce Factorized Context Attention (FCA), a training-free block-sparse attention that runs the same pattern natively, as the attention of the model itself. FCA encodes the input once into a KV cache, reads all spans as masked sequences in one batched forward, and uses a stair position schedule to keep every span inside the trained position range. Across long video understanding, long-context text inference and image grounding, FCA matches the accuracy and the reach of grid probing at a fraction of its cost. It gains about 10 points over the single pass on long video and 9 to 14 points on long novels, finds needles in videos of over a thousand frames and in texts four times the length of the window, and answers a later question about the same input in as little as a tenth of the time of grid probing. Native attention thus keeps what emulated attention gains without its cost, all with existing frozen language and vision-language models.
Community
Grid probing is attention in disguise, so we run it inside the model. Encode a book or an hour of video once, then answer each new question in as little as a tenth of the time. Training-free, frozen models.
This is an automated message from the Librarian Bot. I found the following papers similar to this paper.
The following papers were recommended by the Semantic Scholar API
- Prefilling-dLLM v2: Learned Chunk Routing for Long-Context Diffusion Language Models (2026)
- Hybrid Latent Attention for Looped Language Models (2026)
- Read Once, Answer Many: Parallel Prompting for Shared-Context LLM Inference (2026)
- PCRG: Training-Free Pruning and Caching of Reference Tokens for Video Generation (2026)
- Coarse Semantic Blocks for Efficient Training-Free Sparse Attention (2026)
- Multi-layer Indexer: Overlapping Selection and Attention in DeepSeek Sparse Attention (2026)
- HiSA: Sparsifying the Hidden Dimension of RoPE Attention in LLMs (2026)
Please give a thumbs up to this comment if you found it helpful!
If you want recommendations for any Paper on Hugging Face checkout this Space
You can directly ask Librarian Bot for paper recommendations by tagging it in a comment: @librarian-bot recommend
Models citing this paper 0
No model linking this paper
Datasets citing this paper 0
No dataset linking this paper
Spaces citing this paper 0
No Space linking this paper
Collections including this paper 0
No Collection including this paper