Manuscript Offprint

arXiv:2610.17355

WIRE: Weight Space Implicit Representation Encoding of Frozen Video LLMs

Ameen Ali, Tamim Zoabi, Lior Wolf, Chaim Baskin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Video language models represent a video as a long sequence of visual embeddings in a decoder's input. Every visual embedding is processed by every decoder layer during prefill, stored in the key value cache, and attended by every generated token, so a long video raises prefill, memory, and generation cost at once. We present WIRE (Weight Space Implicit Representation Encoding), which reduces this recurring cost by moving part of the video conditioned computation of a frozen video language model from its input activations into a temporary low rank update of its weights. WIRE keeps a short explicit visual context, so the update acts as a correction rather than a replacement of the video. WIRE first compresses the full resolution embeddings of each frame into a small set of carrier tokens using a question conditioned bidirectional selective scan, and physically contracts the decoder input so every decoder layer, cache entry, and decoding step operates on the shorter sequence. Hypernetworks at selected decoder layers read the compressed forward pass together with a readout of the full resolution features removed by contraction and generate LoRA updates to the attention and feedforward projections. The updates are merged after prefill, so autoregressive decoding runs the unmodified frozen backbone. On Qwen3-VL-8B, WIRE with 16 carrier tokens per frame contracts the visual stream by 3.5×3.5\times, reduces decoder prefill time by 3.35×3.35\times at 256 frames and 4.14×4.14\times at 1024 frames, shrinks the key value cache proportionally, and keeps per token decoding latency approximately constant. Across nine benchmark settings at 256 frames, it obtains the highest average accuracy among efficient video language models we evaluate under a common 256 frame budget. A paired update analysis toggles only the generated update while holding the compressed visual context fixed. Applying the generated update raises whole benchmark accuracy on Video-MME, MVBench, and LongVideoBench by up to +4.4 points, with the largest gains on compression sensitive capabilities such as counting and action count, establishing that the generated update does task relevant work beyond the carrier tokens.

Project Page Github Code

1 INTRODUCTION

Video language models represent a sampled video as visual embeddings in the input sequence of a decoder only language model (Zhang et al., 2025d; Bai et al., 2025a; Li et al., 2025; 2026; Cheng et al., 2024; Ye et al., 2025a; Liu et al., 2024a; Zhang et al., 2025a): a vision encoder maps each frame to a spatial grid of embeddings, interleaved with timestamps and question text. This simple, effective interface has a structural cost. Every visual embedding is processed by every decoder layer during prefill, occupies a key value (KV) cache position, and is attended by every output token, so a video that occupies thousands of input positions inflates prefill compute, KV cache memory, and per token generation cost all at once.

Existing efficient video language models cut this cost by pruning, merging, resampling, or sparsifying the visual sequence, or by selecting frames (Chen et al., 2024; Yang et al., 2024; Islam et al.,

Figure

Figure

Figure 1: Latency versus video length. Times are measured on one B200 GPU at batch size one in bfloat16, excluding video file decoding. Left: total model time to first token. Right: decoder prefill only. WIRE contracts the sequence before the first decoder layer, so its advantage grows with frame count and it continues to run beyond input lengths where several baselines exhaust memory.

2025; Shen et al., 2025; Tao et al., 2025; Ren et al., 2025; Song et al., 2026; Qin et al., 2025; Jiang et al., 2025). These shorten the decoder input, but all retained visual information still flows through the activation stream, is reprocessed by the full decoder, and must contain enough to answer every question. At strong compression, a compact visual sequence can lose information needed for counting, action recognition, temporal ordering, and questions grounded in a particular subtitle or event.

WIRE (Weight Space Implicit Representation Encoding) explores a complementary pathway, a temporary input conditioned weight update that carries a video conditioned correction rather than a standalone representation of the video. Unlike activations, whose cost grows with sequence length and output tokens, such an update is computed once and merged before decoding.

Let V denote a video, q its question, X the original multimodal decoder input, C a visual context compressor, and fθf_{\theta} a frozen video language model. WIRE learns a compressor and a video question conditioned update Δθ(V,q)\Delta\theta(V, q) such that

fθ+Δθ(V,q)(y∣C(X))≈fθ(y∣X).(1)f_{\theta+\Delta\theta(V,q)}\big(y\mid\mathcal{C}(X)\big)\approx f_{\theta}\big(y\mid X\big). \tag{1}

The contracted input C(X)\mathcal{C}(X) retains a small, spatially organized set of visual carrier tokens, and the generated update changes how the frozen decoder processes them and the question.

Our contributions are threefold. First, we introduce a frozen video LLM architecture that pairs physical visual token contraction with per example weight space adaptation, so sequence length reduction reaches every decoder layer, cache entry, and decoding step, separating WIRE both from methods that keep all retained evidence in the activation stream. Second, we train the compressor and hypernetworks by context distillation (Hinton et al., 2015; Snell et al., 2022) from the same frozen backbone on the uncompressed input. Third, we provide an accuracy versus latency frontier across nine video benchmark settings and a large paired update analysis (Section 5.2) that toggles only the generated update at fixed compressed context, measuring whether it does task relevant work beyond the carrier tokens; whether that work is video specific we leave as a hypothesis. Figure 1 shows that because WIRE contracts the sequence before the first decoder layer, its prefill and time to first token advantage widens with frame count.

References (96)