Papers
Factorized Context Attention: From Emulated to Native Grid Probing
Factorized Context Attention makes grid-probed sparse attention native and training-free, avoiding repeated input encoding when extending a frozen model’s context reach.

- arXiv
- 2611.32423 · Preprint · not peer-reviewed
- Published
- 2026-11-24
- Authors
- Mohamed Eltahir, Manar Eyad, Yara Alzahrani, Fatimah Albesher, Duaa M. Tahir, Tanveer Hussain, Naeemullah Khan
In plain words
A model that reads a long document or video all at once can become less accurate, take longer, or exceed its context window. Grid probing addresses this by asking the same question about multiple short parts of the input, but it repeatedly re-encodes those parts.
AI summary
Overview
- Research area: Computer vision and long-context inference, including video question answering, text understanding, and image grounding.
- Technical level: Intermediate.
- Scope: The paper introduces Factorized Context Attention (FCA), a training-free way to reproduce grid-probing reads inside a frozen model so it can handle long inputs and repeated questions more efficiently.
What This Paper Is About
A model that reads a long document or video all at once can become less accurate, take longer, or exceed its context window. Grid probing addresses this by asking the same question about multiple short parts of the input, but it repeatedly re-encodes those parts. FCA aims to keep grid probing’s short-span reads while encoding the input once and reusing it.
Key Contributions
- A distinction between emulated and native attention: Grid probing emulates an attention pattern by making separate prompts for different spans; FCA runs a comparable pattern inside the model’s attention layers.
- A training-free method for reusing an input encoding: FCA stores the context’s keys and values once, then answers requests using masked reads of local and strided spans.
- A position scheme for span reads: Its “stair positions” let both local and strided spans appear in an order and position range suitable for the model.
- Evaluation across text, video, and images: The paper compares FCA with grid-probing methods and other reference approaches, measuring accuracy, cost, long-input reach, repeated-question speed, and evidence localization.
Main Findings
- Long-video accuracy: On LongVideoBench with InternVL3.5-2B, FCA’s select read reached 56.3% accuracy, compared with 46.4% for the monolithic read—about a 10-point gain—and ran in less than half the time of GridProbe in the reported comparison.
- Long-text accuracy: On InfiniteBench En.MC, FCA’s select read was 79.0% on all questions with Qwen3-4B, versus 65.5% for the monolithic read. With Llama-3.1-8B, the corresponding results were 79.0% and 67.7%. The paper describes FCA’s advantage over the monolithic read on long novels as 9 to 14 points.
- Reading beyond the model’s window: In a needle-finding test, FCA found nearly all tested needles in contexts up to four times the model’s window, while a monolithic read could not access text beyond the portion it could hold. FCA also found needles in videos of up to 2,025 frames.
- Faster later questions: On the text task, FCA answered later questions in a tenth to a seventh of Periscope’s time in the reported comparison. On SCBench, it answered later turns five to seven times faster than Periscope while maintaining similar open-question results and staying within about three points on multiple-choice questions.
- Evidence localization: On RefCOCOg, FCA’s image map placed its expected evidence inside the target box for 71.5% of expressions, compared with 68.5% for AnswerMap strips. FCA used one image encoding for the map, rather than 16, and produced later maps in less time.
- Trade-offs remain: FCA needs access to the model’s attention layers and keeps the full input encoding in memory. Its strided reads are approximate because blocks are encoded with their local spans, not with the other blocks in their strided span.
Methodology in Plain English
The researchers start from grid probing. It divides an input into blocks arranged conceptually as a grid, then makes two kinds of short reads: local spans, which cover neighboring blocks, and strided spans, which sample blocks across the input. The results from these reads are combined to score answer options and, when needed, identify which parts of the input support an answer.
Grid probing makes a separate model call for each span, encoding the span again each time. FCA instead encodes the context once, storing the information the attention layers use to read it. For a question, it creates masked reads that let each copy of the question access one local or strided span, runs those reads together in a batch, and combines their scores.
FCA assigns blocks “stair positions”: positions that increase by the same amount across both rows and columns of the conceptual grid. This is intended to preserve the order of blocks within either kind of span while keeping their positions within the model’s trained range. The main approximation is that a strided read gathers blocks whose encodings were formed within their local spans.
Why This Matters
Research impact: FCA offers a way to apply structured, multi-span reading to existing frozen models rather than training a new model with a sparse-attention architecture. It also connects prompt-based methods such as grid probing to attention patterns that can be run within a model.
Potential applications:
- Long-video question answering: Answer questions about events or details in videos that are too long for one model read.
- Long-document analysis: Find evidence in books or other long texts, including when the input exceeds the model’s context window.
- Multi-turn assistants: Reuse an encoded document or video when a user asks several questions about the same input.
- Image grounding and visual question answering: Produce maps that indicate which regions of an image support an answer.
Industry relevance: Reusing an input encoding can reduce the cost of repeated questions about the same material, while short-span reads can help with inputs that challenge a model’s context window. FCA is most applicable where the model’s attention layers are accessible and enough memory is available to retain the encoded input; grid probing may be preferable for closed models or tight memory budgets.
Future Directions
- Train models specifically for this pattern: The paper suggests studying whether training with FCA’s attention pattern can improve its accuracy or reduce its approximation.
- Run other prompting strategies natively: The authors propose investigating whether prompting-based methods beyond grid probing can be implemented inside attention layers.
- Emulate other training-free attention patterns: The paper raises the possibility of translating other prompt-level reading strategies into native attention.
- Scale the reusable store: The authors point to storing new rows as input arrives, distributing the store across devices, or querying it as an index.
Target Audience
This paper is most useful for researchers and engineers working on long-context language or vision-language models, efficient inference, video question answering, document analysis, or visual grounding. Readers interested in frozen-model methods will also find it relevant, particularly if they can access attention layers and need to handle repeated questions or inputs beyond a model’s usual context window.
Authors’ abstract
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…
The full abstract on arXivRelated papers
- Vote-in-Context: Turning VLMs into Zero-Shot Rank Fusers 2025-11-03 · cs.CV · Also by Mohamed Eltahir, Naeemullah Khan +1
- MJev-Spatial: System One Spatial Intelligence via Native Attention Matching 2026-10-15 · cs.CV · Key terms of the title in common
- Probing Negation Understanding in Vision-Language Models With Object Attention 2026-10-14 · cs.CV · Key terms of the title in common
- Point-Focused Attention Meets Context-Scan State Space: Robust Biological Visual Perception for Point Cloud Representation 2026-10-08 · cs.CV · Key terms of the title in common
- Prism: Dynamic Sparse Attention for Native 2K Joint Video-Audio Generation Model Training 2026-10-04 · cs.CV · Key terms of the title in common