Papers › ShallowStream: Index Shallow then Answer Deep for Streaming Video Understanding

ShallowStream: Index Shallow then Answer Deep for Streaming Video Understanding

2 Sep 2026arXiv:2609.02780added by Syntology

Jitai Hao, Ke Yang, Qiang Huang, Jun Yu

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Streaming video understanding is a critical capability for real-world applications, including embodied intelligence, autonomous driving, industrial monitoring, surveillance and early warning, and wearable assistants. However, processing continuous video streams with multimodal large language models (MLLMs) is computationally expensive. Existing efforts have explored reducing streaming overhead through visual token pruning, token merging, quantization, on-demand frame retrieval, and context offloading. However, most existing methods overlook the dimension of model depth. Repeatedly executing full-depth MLLM prefill over incoming frames is prohibitively expensive, incurring substantial computational overhead and causing the KV cache to grow at a rate directly proportional to the prefill depth. To address these challenges, we propose ShallowStream, a novel framework that leverages the shallow layers of an MLLM to simultaneously perform frame encoding and retrieval index building. During stream processing, ShallowStream maintains an always-on lightweight index using the KV cache of shallow layers. During query-time answering, we leverage the attention scores generated by the shallow layers to score context frames and employ a diversity-aware selection strategy to retrieve precise and comprehensive evidence. ShallowStream achieves performance on par with the strongest existing streaming methods, while reducing per-frame prefill latency and 10-second end-to-end latency by up to 52.1x and 11.9x, respectively. Our code is available at https://github.com/CURRENTF/ShallowStream.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2609.02780")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: found in paper text by Syntology: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

CURRENTF/ShallowStream found in paper text by SyntologyMIT report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from CURRENTF/ShallowStream. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

evidence_retrieval_backend CURRENTF/ShallowStream/src/shallowstream/evidence_retrieval.py found in paper text by Syntology unverified MIT (permissive) · 1707680e670a3467 · report
expand_temporal_neighbors CURRENTF/ShallowStream/src/shallowstream/common.py found in paper text by Syntology unverified MIT (permissive) · fb334b5b18dbdbf5 · report
get_active_attn_implementation CURRENTF/ShallowStream/src/shallowstream/common.py found in paper text by Syntology unverified MIT (permissive) · 2bb3ac0a55e32d84 · report
query_source_label CURRENTF/ShallowStream/src/shallowstream/task_gate.py found in paper text by Syntology unverified MIT (permissive) · 95c5b5fcdd2339cf · report
resolve_evidence_query CURRENTF/ShallowStream/src/shallowstream/evidence_retrieval.py found in paper text by Syntology unverified MIT (permissive) · b12bd86017bd02b9 · report
resolve_task_gate_input CURRENTF/ShallowStream/src/shallowstream/task_gate.py found in paper text by Syntology unverified MIT (permissive) · b5c30a0496536e69 · report
score_history_attention_layers CURRENTF/ShallowStream/src/shallowstream/history_decay_gate.py found in paper text by Syntology unverified MIT (permissive) · 4d1f81e427cd525e · report
select_temporal_retrieval_ids CURRENTF/ShallowStream/src/shallowstream/common.py found in paper text by Syntology unverified MIT (permissive) · 21748ee34ea16431 · report
task_gate_input_metadata CURRENTF/ShallowStream/src/shallowstream/task_gate.py found in paper text by Syntology unverified MIT (permissive) · c031d5cfb1c94c17 · report
validate_evidence_retrieval_config CURRENTF/ShallowStream/src/shallowstream/evidence_retrieval.py found in paper text by Syntology unverified MIT (permissive) · 1ccf509c3b95fc2e · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2609.02780, was issued in September 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections