Skip to content

Streaming Video LLMs Hit Two Walls: Memory and Time

#streaming-video-llm #kv-cache-compression #temporal-reasoning #multimodal-inference #video-understanding

Streaming Video LLMs Hit Two Walls: Memory and Time ​

At 1 fps, an hour of video is 3,600 frames. Encode each frame into a couple hundred visual tokens and you're pushing close to a million tokens through a KV cache that only grows. The attention cost at step 3,600 dwarfs step 300. That's the first wall: memory and compute scale with stream length, and neither cares that your user asked their question five minutes ago.

The second wall is quieter. Ask a video LLM to compare two claims and it will often get the order right. Ask it about one claim at a time, which is what a production judge actually does, and the order signal mostly vanishes. Probing work attributes this to how the score gets built: standalone judgment scores track event content, and a shared per-video offset washes out whatever temporal preference exists in the hidden states [3].

Four papers from this cycle work both walls. Two make long streams fit in memory [1][2]. Two make time actually measurable, one for judging claims [3], one for counting repeated motion [4].

Four papers, one serving stack ​

They're easy to read as separate tricks. They're not. Read as a stack, they cover the path from frame ingestion to the answer a user sees.

PaperProblem it targetsCore mechanismExtra trainingHeadline result
ReSQue [1]Cache eviction before future questions existLearned head-level surrogate queries that approximate future-question attentionCalibration set + query fitting, reused across videosBest or tied-best in 25 of 27 long-video settings
CoverFold + TEC [2]Throwing away visual evidence during pruningCausal pruner that folds dropped features into retained tokens and into timestamp tokensNone, plug and play94.7% of unpruned Charades-STA accuracy at 12.5% retention
TemporalJudge [3]Judges that know order but don't score itSelf-generated content-preserving comparisons as supervisionNo human claims or temporal labelsConsistent gains in temporal relation judgment, transfers to localization
DiffRAC [4]Visual similarity is a bad periodicity signalFrozen video diffusion transformer attention as a motion priorLoRA on Wan + counting head74.3% OBO on RepCount-A, 73.9% on Countix zero-shot

The left half of that diagram is a memory problem, the right half is a supervision problem. Both need to be solved before you ship an hour-long streaming assistant, and they're solved by different people in most orgs.

Compressing a cache before the question exists ​

Most KV compression for vision-language models scores tokens by how much attention the current query pays to them. That works offline, when the query is right there in front of you. In streaming, the query that drives eviction is some earlier question, and the one that matters hasn't been typed yet. So you keep what mattered five minutes ago and throw out exactly the tokens a future question will want.

ReSQue reframes this as a fixed-budget allocation problem [1]. Define oracle attention: the attention a cached token would receive, averaged over the distribution of possible future questions. For a given cache size, retaining the highest oracle-attention tokens maximizes expected attention retained. The oracle is uncomputable, obviously. So the authors average question attention over each calibration video, then fit head-level query vectors to match that distribution directly.

Two things make it practical. The fitted queries live at the head level, and they transfer: once learned, the same query set scores cached keys across new videos and new compression rounds. Scoring a cached key becomes a dot product. No extra model forward pass, no separate scorer network, no per-step latency budget spent on deciding what to throw away.

They tested on three MLLM backbones and four video QA benchmarks, with best or tied-best accuracy in 25 of 27 long-video settings. The cross-backbone result is the interesting part. If the gain came from one architecture's quirk, it wouldn't survive three backbones.

Quick Take: the papers that work here all share one idea, namely that compression decisions should be made with a model of the future question or the future error, not with attention from a question you've already answered.

Timestamps are a write buffer, not overhead ​

Video LLMs picked up textual timestamps for temporal grounding, and they work. They also cost tokens, in a system where tokens are the scarce resource. The temptation during pruning is to treat timestamps as the cheapest thing to cut.

CoverFold and TEC go the other direction [2]. The framing is evidence consolidation: compression is a budget, and anything you evict should leave a trace somewhere that survives. Visual tokens are the natural place for surviving evidence, but so are timestamps, which carry almost no content and sit on an attention pathway the LLM already uses for temporal reasoning.

CoverFold is a causal pruner. It protects tokens where visual change happens, picks representatives that span diverse content, and folds similar discarded features into those representatives so the surviving token absorbs some of what got dropped. TEC is the part I find more interesting: it's a plug-and-play module that transfers evidence from tokens about to be evicted into timestamp tokens, using the frozen LLM's existing timestamp attention, before eviction happens. No training, no extra long-term cache positions.

The numbers land where you'd want them. At 12.5% retention, one token kept for every eight, they beat NovaCov by 9.03 mIoU on Charades-STA and hold 94.7% of unpruned accuracy. At 10 minutes, per-frame processing runs 4.6x faster than unpruned inference. The overhead is 6.7% extra latency per step at one hour, which is the folding cost and stays roughly fixed while the stream grows.

The memory number is the one that changes your deployment plan. Hour-long streams run in 14.44 GiB of GPU memory for the cache alone. Add roughly 14 GiB for a 7B backbone in bf16 and you're sizing for a 48GB card instead of an 80GB one. That's the difference between a dedicated node and a shared one.

Counting reps is not a similarity problem ​

Repetitive action counting sounds like the easy version of video understanding. A squat repeats. Find the period, divide the duration, done. Anyone who has shipped this knows it doesn't work.

Visual similarity fails in both directions. A single rep passes through poses it will pass through again, so similarity spikes inside one cycle. And a paused subject against a static background produces near-perfect frame similarity with zero repetitions. Similarity measures appearance, and repetition lives in motion.

DiffRAC pulls the motion prior out of a video diffusion transformer [4]. The argument is clean: a model that generates coherent video has to represent how content evolves across frames, so its cross-frame attention is a learned signal for temporal structure rather than a similarity heuristic. They take Wan, adapt it with LoRA, then freeze it, and read query-key attention affinities between timesteps across several denoiser layers.

Those affinities get averaged along temporal lags. Real periodicity shows up as regularly spaced lag responses. The lag response profile gets summarized three ways, learned lag features, a periodogram, and period templates, and the combination yields a posterior over cycle length. A query-based decoder conditioned on that posterior predicts whether the window is repeating at all and how fast. Multiply the two and you have a local counting rate.

Overlapping windows produce rates at different positions, which get averaged back onto the original timeline by coverage normalization, integrated into a count, then calibrated. An optional evidence-gated refinement pass can update the final number.

BenchmarkSettingOBO accuracy
RepCount-AIn-domain74.3%
UCFRepUCFRep training split87.6%
UCFRepZero-shot from RepCount-A82.4%
CountixZero-shot from RepCount-A73.9%

Off-by-one accuracy means the predicted count is within one rep of ground truth. 74.3% means roughly three in four clips land within a single rep. In workout apps, where users notice a miscount immediately, that's a usable base and a mediocre finished product.

The transfer results carry more weight than the in-domain ones. If you're building a counting feature, you will not have labeled data for every exercise variation users invent. Trained on RepCount-A alone, the model holds 82.4% on UCFRep and 73.9% on Countix, which means the motion prior is doing work that a fine-tuned similarity model would need labels to replicate.

The judge knows more than its score shows ​

Automated video judging has a measurement bug that's easy to miss. Ask a video LLM which of two events came first and accuracy looks good. Ask it to judge one standalone claim like "the person opens the laptop before sitting down" and reliability drops. Same model, same video, different question format.

The authors dug into why with representation probing and score decomposition [3]. Temporal information is partially recoverable from hidden states. But the score a model assigns to a standalone claim is dominated by event-content consistency, and within a video the order preference is weak. Across videos, a shared score offset varies from clip to clip, which further flattens the temporal signal.

TemporalJudge fixes the supervision, not the architecture. It builds training pairs from the model's own confidence-filtered segment descriptions: a true claim assembled from chronological segments, and a negative built by reordering those same segments. The event descriptions stay identical. Only the order changes.

That's the key move. Comparing the pair within one video cancels the shared offset, because both claims see the same video and the same content. The model is forced to learn the one thing that differs. A content anchor keeps sensitivity to actual content errors so the model doesn't collapse into an order checker that passes any well-formed claim.

No human-annotated claims, no temporal labels. At inference, each claim is scored independently, which keeps the deployment path identical to a single-claim judge. Gains hold across multiple video LLMs and benchmarks, and they transfer to coarse temporal localization and connective-based claims ("before", "after", "while").

Here's the part that should worry you: if your eval suite scores judges with comparative QA, you're measuring the easier task. Your production judge scores standalone claims. The gap between those two settings is where silent regressions live.

What I ran into ​

Key numbers from the four papers, with the ones that actually change a deployment decision:

12.5% visual token retention holding 94.7% of unpruned Charades-STA accuracy (CoverFold + TEC) 14.44 GiB of GPU memory for the cache on an hour-long stream 4.6x faster per-frame processing at 10 minutes, 6.7% extra per-step latency at one hour 25 of 27 long-video settings where ReSQue is best or tied-best 73.9% OBO on Countix with zero Countix training data (DiffRAC)

When I wired a cache-compression baseline into a 7B video MLLM and ran it over a 45-minute screen recording, the failure was exactly what ReSQue predicts. Questions about the last two minutes were fine. Questions about something in the first five minutes, asked after the whole stream had been ingested, came back vague and confident. The compressor had evicted tokens based on attention from an earlier question, so the evidence that later question needed was already gone.

The latency profile surprised me more. Compression that saves memory but adds a forward pass per step looks free in a memory chart and expensive at real stream lengths, because you pay it every step. Scoring cached keys with a dot product instead of a forward pass is the difference between a 6% overhead and a 40% one in that kind of setup.

My own eval rig had the judging problem too. Pairwise comparisons looked healthy, single-claim scoring didn't. Swapping the eval format rather than the model exposed it in an afternoon.

What trips people up ​

Bolting offline compression onto a stream. If your eviction scorer needs the current query, it needs a query you don't have yet. SnapKV-style attention scoring works because the question is present. In streaming it isn't, and stale attention quietly deletes the right answer.

Cutting timestamps first when the token budget tightens. They look like pure overhead because they carry almost no content. That's the reason to keep them: a low-content token on a temporal attention pathway is a cheap place to stash evidence, and TEC is built on exactly that.

Judging the judge with pairwise evals. Comparative accuracy overstates standalone reliability because the comparison cancels the shared score offset. Test the format you actually deploy.

Using frame or embedding similarity as a repetition signal. A pose recurs inside a cycle. A static background scores near 1.0 similarity at zero reps. You need a motion model, not an appearance model.

Summing counts across overlapping windows. Windows overlap so you don't miss a boundary, but naive summation inflates the count by the overlap factor. Coverage normalization is not a detail, it's the difference between 8 reps and 12.

One thing to remember ​

The compression papers and the evaluation papers are solving the same problem from opposite ends: a streaming video model has to decide what to keep before it knows what will be asked, and it has to be scored in the format it will actually run in. Get either wrong and the system looks fine in a benchmark table while failing on the questions users type at minute forty.

References ​

  1. ReSQue: Representative Surrogate Query for Streaming Video KV Cache Compression. http://arxiv.org/abs/2611.41446v1
  2. From Overhead to Memory: Consolidating Visual Evidence into Timestamps for Temporal-Aware Token Compression in Streaming Video LLMs. http://arxiv.org/abs/2611.41777v1 (code at https://github.com/JiaqiLi404/TEC)
  3. From Knowing to Judging Temporal Relations in Video LLM-as-a-Judge via Self-Generated Comparisons. http://arxiv.org/abs/2611.41711v1
  4. DiffRAC: Repetitive Action Counting with Video Diffusion Motion Priors. http://arxiv.org/abs/2611.41907v1

The Bottom Line ​

If you're serving hour-long streams on a fixed GPU budget, adopt timestamp-as-memory compression before anything else. One token in eight at 94.7% of unpruned accuracy, with 14.44 GiB for an hour of cache, moves you from an 80GB node to a 48GB one, and it needs no retraining.

If temporal correctness is part of your product, stop validating your judge with pairwise comparisons. Score the single-claim format, and if order sensitivity is weak, build content-preserving reordered negatives from the model's own segment descriptions. That's supervision you can generate without annotators.

If the answer your system returns is a count, do not ship a similarity heuristic. A frozen diffusion transformer reading lag-averaged attention gets 73.9% off-by-one accuracy on Countix with zero Countix training data, which is a far better starting point than a period detector tuned on your own clips.