NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Following the Tracks: Connected Token Selection for Long-Video Question Answering

Video language models, which answer questions about a video by feeding its frames to a large language model, cannot afford to look at every frame. A one-hour video at 30 frames per second is over 100,000 frames. So these models keep a small subset. Most keep evenly spaced frames. Newer methods rank frames or image patches by how well each one matches the question and keep the top scorers. Either way, every unit is scored on its own. A question like "why did the boy drop the cup?" is not answered by any single frame or patch. It is answered by a chain: a hand, the cup, the hand moving, the cup falling. That chain runs through space and time, and ranking pieces independently tends to keep its endpoints and drop its middle.

This note proposes to select connected structures instead of independent pieces, borrowing the central lesson of graph-network interpretability: meaning lives in connected subgraphs, not in isolated nodes or edges. Concretely, we treat the video's patch tokens as nodes of a graph. Edges link spatial neighbours within a frame and corresponding regions across neighbouring frames. Under a fixed token budget, we select a small number of connected spatiotemporal "tubes" and hand only those to the language model. The second ingredient addresses information lost at sampling time. When a tube's cross-frame edge breaks between two sampled frames because the region changed too much to be matched, we treat the break as evidence that something happened in the gap, and we sample the intervening frames. Connectivity therefore does two jobs. It decides which evidence to keep, and it decides where to spend extra sampling. The selected tubes also serve as an explanation of the answer, and because the model sees nothing else, deletion tests can check that explanation directly.

Core Claim

We claim that, at equal token budgets and with identical relevance scores, requiring the kept tokens to form a few connected spatiotemporal components improves accuracy on causal and temporal questions and on event-boundary localization. We also claim it produces explanations with higher deletion fidelity than independent top-scoring token or frame selection. The claim is deliberately narrow. The gain should come from connectivity along correspondence edges, and it should not be matched by the cheaper trick of keeping contiguous time windows. The decisive experiments below are built to separate those two.

Where This Sits

Subgraph interpretability supplies the method and the motivating evidence. SubgraphX searches over connected subgraphs with Monte Carlo tree search and scores them with Shapley values. It found that connected explanations isolate real functional groups on MUTAG, where edge masking produced fragments. That finding motivates us, but tree search is far too slow for thousands of video tokens, so we do not reuse the search. L2XGNN trains a scorer, a discrete solver that enforces a connected-subgraph constraint, and a predictor that sees only the selected subgraph, with gradients passed through the solver by implicit maximum-likelihood estimation. It matched full-graph accuracy using 40–70% of edges. We reuse this three-stage design almost directly, with a frozen video language model as the predictor.

The information-bottleneck explainers, VGIB and the GIB line it stabilizes, compress a graph to its most predictive subgraph but impose no connectivity. We treat VGIB-style noise injection as an alternative scorer, not the core mechanism. TempME is the closest graph-side work. It extracts connected temporal motifs from timestamped interaction logs, but it assumes all events are already recorded. In video, the events that fall between sampled frames were never recorded, and that missing data is exactly the problem we target.

On the video side, the selectors we compete with all score units independently. Flexible Frame Selection learns a variable-size frame subset with a straight-through estimator. AKS balances prompt relevance against temporal coverage by recursive splitting. FlexSelect ranks individual tokens by attention at an intermediate layer. A.I.R. comes nearest to our gap-filling idea: once a VLM confirms a frame is relevant, it densely samples that frame's neighbourhood. Its densification is triggered by relevance, not by broken correspondence, and it adds repeated VLM calls. Video-STR makes relation graphs central to video reasoning, but the graphs are written as text inside the model's reasoning trace over 16–32 uniform frames. SPORTU shows that such free-text rationales can hallucinate events, which is why we put structure in the input selection rather than the output text. UAL-Bench and EgoSchema motivate the sampling half of the proposal. The first shows that sparse sampling blocks precise boundary localization. The second's "temporal certificate," the stretch a human must watch to answer, is long enough (median ~100s) that independent keyframes plausibly fragment it.

Research Program

The candidate pool comes from a cheap first pass. Frames are decoded at a moderate rate (2–4 fps), and each is encoded by the host model's own vision encoder and pooled to a coarse grid, for example 4×4 as in the fast pathway of SlowFast-LLaVA. Each pooled cell is a node. Spatial edges join adjacent cells within a frame. Temporal edges join each cell to its best-matching cell in the next pooled frame, weighted by feature similarity, and only matches above a threshold $\tau$ are kept. No object detector or tracker is used, which keeps the method independent of external perception models.

Selection solves a budgeted connected-subgraph problem. Given node scores $s_v$, a token budget $B$, and a small component limit $C$, the selector keeps

$$ S^\star = \arg\max_{S} \sum_{v \in S} s_v \quad \text{subject to} \quad |S| \le B,\ \ \text{comp}(S) \le C, $$

where $\text{comp}(S)$ counts connected components of $S$ in the token graph. We solve this approximately by growing $C$ components from the top-scoring seeds along the highest-scoring frontier nodes. This greedy method is fast and deterministic, which is what I-MLE needs. Setting $C = B$ recovers independent top-$B$ selection exactly, so the connectivity constraint can be switched off with a single parameter.

Before the final token grid is built, a gap-filling step runs. Wherever a selected component reaches a temporal edge that was dropped (its similarity fell below $\tau$), we decode the frames between the two endpoints at full rate and re-run matching locally. We then extend the component through them, charging the new tokens against $B$. This is the direct response to temporal information loss: a broken track is a cheap, query-conditioned signal that an event may sit in the unsampled gap.

Node scores come in two versions, so the contribution of learning is separable from that of structure. The training-free version reuses FlexSelect's reference-layer attention scores. The learned version trains a small scorer end to end through the solver with I-MLE, keeping the host language model frozen, on the NExT-QA training split. The selected nodes are re-expanded to their full-resolution tokens and passed to the host model with their original frame positions; nothing else is passed. The host is LLaVA-Video-7B, which both AKS and FlexSelect report on, with Qwen2-VL as a second host.

Baselines

The naive reference points are uniform sampling at the same token budget, and uniform sampling at 32 frames. For the latter, Flexible Frame Selection reports 61.6% NExT-QA accuracy for its 32-frame uniform baseline, against 62.2% for FFS, with a 13.5× FLOP reduction. We run uniform sampling ourselves on the same host, prompts, and answer parsing, so that only the input tokens differ across methods.

The strongest frame-level competitor on long videos is AKS, run from its released code at ncTimTang/AKS. The file gives no Lacuna resource id for this repository. AKS reports 62.7% on LongVideoBench with LLaVA-Video-7B, above uniform-sampled LLaVA-Video-72B. We give AKS the same frame decoding rate and the same total visual-token budget as our method; our budget is counted in tokens, so AKS's frames are converted at the host's per-frame token cost. Beating AKS means exceeding its accuracy on LongVideoBench at matched tokens. The specific prediction is that the margin concentrates on the benchmark's relation-level questions rather than its perception-level ones.

The strongest token-level competitor is FlexSelect. It reports a +9.8-point LVBench gain for LLaVA-Video-7B, but the file does not give the absolute accuracy, so "no reported result found on Lacuna for FlexSelect's absolute LVBench accuracy," and we will reproduce it. FlexSelect is the most important comparison because our training-free version uses its exact scores. For question answering with reasoning-based selection, A.I.R. reports +7.0 points over uniform sampling on NExT-QA with QwenVL-2.5. We run it on Qwen2-VL with its default verification budget and report both accuracy and wall-clock time, since A.I.R. spends extra VLM calls that our method avoids.

Two ablations isolate the key ingredient. The first is the same scores with connectivity removed ($C = B$), which is FlexSelect-style independent selection with our budget accounting. The second is the same scores with connectivity defined only along time: each kept token drags in the same grid cell in adjacent frames, which yields contiguous temporal windows with no correspondence matching. A third ablation disables gap-filling. All methods share one token budget sweep (roughly 2k, 4k, and 8k visual tokens), one host checkpoint, and one tuning budget. For each, we tune its main hyperparameters on a held-out slice of the NExT-QA validation split, then freeze them for every benchmark.

Why not just…?

Why not just keep more uniformly sampled frames, or pool them harder as SlowFast-LLaVA does? EgoSchema and LongVideoBench both report that open models often get worse as uniform frame counts grow, because extra frames dilute attention. Pooling keeps the frame rate query-agnostic, so a brief event between samples is still lost. We nonetheless include SlowFast-style dual-rate input at our budget as a baseline. If it matches our method on NExT-QA's temporal questions and on UAL-Bench onset accuracy, the gap-filling claim fails.

Why not just rank frames or tokens by relevance, as AKS or FlexSelect do? Their reported gains are real, and on descriptive questions we expect them to tie with us. The case against them is specific. NExT-QA's own analysis shows causal "why" questions sitting at 46–48%, barely above a 42% question-only baseline, which suggests that per-unit relevance does not capture interactions. The connectivity-off ablation settles this with scores held fixed. If connectivity does not help on causal and temporal questions at matched scores, the proposal is wrong.

Why not just keep contiguous time windows around the relevance peaks, as A.I.R.'s local densification effectively does? This is the most serious threat, because a contiguous clip is already "connected" in time and costs nothing to compute. Our bet is that correspondence edges matter. They let a kept tube follow a moving hand or cup across the frame while discarding the static background of those same frames, which a time window must pay for. The time-only-connectivity ablation, and the comparison with A.I.R. at matched tokens, test this directly. If windows match tubes, we will report that the benefit is temporal contiguity, and the spatial-correspondence machinery should be dropped.

Why not just caption each segment and let a text model reason? UAL-Bench reports that the modular BLIP2-LLaMA3 pipeline reaches 39.33% onset-within-1s on UAG-OOPS against 16.11% for the best end-to-end model, but at 35s versus 7s per video. That pipeline is a strong reference for localization. We report it alongside our method on UAL-Bench, and we count a win only if we close most of that accuracy gap at close to end-to-end latency.

Proposed Experiments

Question answering is evaluated on NExT-QA, broken down by causal, temporal, and descriptive question types. It is also evaluated on EgoSchema, LongVideoBench (split by perception versus relation level), Video-MME, and LVBench, all at the matched token budgets above. For EgoSchema, the file reports only relative gains, such as SlowFast-LLaVA's +11.4% over IG-VLM, so we reproduce every baseline on our host.

Boundary localization uses UAL-Bench, with two metrics. The first is R@1 at IoU ≥ 0.3 and onset-within-1s accuracy, obtained by asking the host for timestamps. The second is independent of the host's text output: whether the temporal span of the selected components overlaps the annotated unusual-activity interval. This second check measures the selector on its own and tests whether gap-filling fires where events actually are. We also report how often gap-filling is triggered, and what fraction of triggers land inside annotated intervals compared with a random-gap control. SPORTU-video foul detection, where GPT-4o reaches 57.8%, serves as a stress test of fast events.

Explanation quality is measured by deletion fidelity on NExT-QA and SPORTU-video. For each question, we remove the selected components from the full-rate token pool, backfill to the same budget with the next-best tokens, and measure the drop in answer accuracy. We compare this drop against removing an equal number of tokens chosen by independent selection with the same scores. Connected explanations should produce the larger drop, mirroring SubgraphX's fidelity result on graphs. A small human study will also ask annotators to judge whether the highlighted tubes contain the evidence for the answer.

The decisive checks are three. The first is that connectivity-on beats connectivity-off, with identical scores, on causal and temporal questions. The second is that correspondence tubes beat time-only windows at equal tokens. The third is that gap-filling raises UAL-Bench onset accuracy over the no-gap-filling ablation at a latency well below the modular pipeline's 35 seconds. If the first fails, the idea fails. If only the second fails, the result reduces to "select contiguous clips," and we will report it that way.