Small Vision-Language Models
Small Vision-Language Models
Adapting Multimodal Large Language Models (MLLMs) for hour-long video understanding is severely
bottlenecked by context window limits. Dense visual streams quickly saturate input token budgets and
arXiv:2604.08120v1 [[Link]] 9 Apr 2026
exacerbate the lost-in-the-middle phenomenon. Existing efficiency heuristics, such as sparse sampling
or query-agnostic uniform pooling, blindly sacrifice fidelity. They frequently discard transient decisive
moments, blur fine-grained evidence, and waste representational bandwidth on irrelevant backgrounds.
In this paper, we propose Tempo, an efficient, query-aware framework that compresses long videos for
downstream understanding. Tempo leverages a Small Vision-Language Model (SVLM) to act as a
local temporal compressor. It casts visual token reduction as an early cross-modal distillation process,
generating compact, intent-aligned video representations in a single forward pass. To enforce strict
inference budgets without breaking causality, we introduce Adaptive Token Allocation (ATA). Exploiting
the SVLM’s inherent zero-shot relevance prior and empirical semantic front-loading, ATA acts as a
training-free, O(1) dynamic router. It allocates dense bandwidth to query-critical segments while
compressing redundancies into minimal temporal anchors to maintain the global storyline. Extensive
experiments demonstrate that our compact 6B architecture achieves state-of-the-art performance
with aggressive dynamic compression (0.5–16 tokens/frame). On the extreme-long LVBench (4101s),
Tempo scores 52.3 under a strict 8K visual token budget, outperforming proprietary baselines such as
GPT-4o and Gemini 1.5 Pro. Scaling to 2048 frames pushes performance to 53.7. Crucially, empirical
profiling reveals that Tempo frequently compresses hour-long videos to token counts substantially
below theoretical computational limits, proving that true long-form video understanding relies on
intent-driven efficiency rather than greedily padded context windows.
1 Introduction
The advancement of Multimodal Large Language Models (MLLMs) has significantly transformed visual
understanding, empowering systems to perform complex semantic analysis over images and short video
clips Liu et al. (2023, 2024a); Zhu et al. (2023); Li et al. (2024a); Bai et al. (2025); Li et al. (2025); Zhang
et al. (2024b, 2023). However, scaling these capabilities to hour-long videos remains challenging. The core
difficulty lies in the structural mismatch between the massive, continuous visual stream of long videos and the
rigidly bounded context windows of downstream LLMs. As temporal duration expands, raw visual tokens
quickly overwhelm the input capacity, severely diluting attention mechanisms and causing models to fail at
retrieving sparse evidence buried within extensive contexts Liu et al. (2024c).
To fit long video understanding into limited contexts, existing methods typically force one of two compromises.
A common approach is sparse frame sampling Xu et al. (2024a); Li et al. (2025); Lin et al. (2024a), which
reduces compute but inevitably risks skipping the transient yet decisive moments required to answer a specific
query. Alternatively, methods retain more frames but apply query-agnostic compression, such as uniform
1
Ours: Tempo
50 Ours: Tempo
VideoLLaMA3
Qwen2.5-VL
(13B)
6B 7B 8B 13B
U niform
20
1 2 4 6 8 16 64 256 2K
Pooling Average Visual Tokens per Frame (Log Scale)
(c) Efficiency vs. Performance (LVBench)
Blurred Fine-grained Evidence
16 toks
...
Temporal Anchors (~0.5 tok/f)
Smart
~0.5 toks
Temporal Anchors
Compressor
H ow many green Video Temporal Sequence (Frames)
mugs were on ...
Fine-grained Details (16 tok/frame)
(a) Existing Query-Agnostic Methods vs. Ours (Query-Aware) (b) Adaptive Token Allocation Visualized over Time
Figure 1 Tempo achieves SOTA long video understanding via query-aware Adaptive Token Allocation (ATA). (a) Motivation:
Query-agnostic methods either miss transient moments (sparse sampling) or blur details (uniform pooling). Tempo
instead utilizes a small vision-language model as a smart compressor for query-aware cross-modal distillation. (b)
Mechanism: ATA dynamically allocates high bandwidth (16 tokens/frame) to relevant segment for fine-grained details,
while compressing redundant contexts into minimal temporal anchors (∼0.5 tokens/frame) to maintain causality. (c)
Result: Leading performance on LVBench. Tempo-6B achieves superior accuracy at extreme compression rates (i.e., 4
or 6 tokens/frame), outperforming open-source models and proprietary baselines with a fraction of the context budget.
spatiotemporal pooling Maaz et al. (2024); Jiang et al. (2025) or token merging Bolya et al. (2022); Li
et al. (2024b); Jin et al. (2024). By compressing without knowing what the user will ask, these heuristics
often blur fine-grained evidence in query-critical segments while wasting representational bandwidth on
irrelevant backgrounds. In essence, most existing pipelines reduce visual evidence before interacting with the
language model, preventing the dynamic allocation of bandwidth to query-critical segments. Even pioneering
query-aware approaches (e.g., LongVU Shen et al. (2024)) rely on disjoint auxiliary feature-matching modules,
thereby decoupling the routing mechanism from the end-to-end multimodal pipeline.
We introduce Tempo, an efficient query-aware framework for long video understanding that natively learns to
compress videos for downstream text generation tasks. As its name suggests, Tempo acts as an intelligent
temporal compressor that dynamically distributes the rhythm of the video: it allocates high token bandwidth
to semantic beats relevant to the query while swiftly fast-forwarding through redundant contexts. Rather
than treating visual compression as a purely visual, query-agnostic operation Jiang et al. (2025); Li et al.
(2024b), Tempo casts this reduction as an early cross-modal semantic distillation process. Concretely, Tempo
leverages a Small Vision-Language Model (SVLM) as a local compressor, seamlessly bridging it with an LLM
for global understanding and response generation. By prepending the user query to the SVLM input, Tempo
performs a preliminary cross-modal distillation pass that produces compact video memory tokens aligned
with the user’s intent and is trained end-to-end with standard auto-regressive objectives.
A practical challenge is enforcing a strict token budget at inference time (e.g., representing a 1024-frame
video under an 8K visual token budget) without sacrificing either fine-grained evidence or global causal
structure. To this end, we propose Adaptive Token Allocation (ATA), a training-free inference strategy guided by
two key empirical properties of the Tempo architecture. (i) Zero-shot relevance prior and temporal anchors.
Inheriting from the base model’s extensive multimodal pre-training, the local compressor exhibits a zero-shot
ability to estimate query-video relevance without auxiliary supervision. ATA exploits this prior to allocate
budgets segment-wise, enabling an aggressive dynamic compression range (0.5–16 tokens per frame). Crucially,
instead of hard pruning, which breaks causality, ATA preserves dense representational bandwidth for relevant
segments while compressing redundant contexts into minimal temporal anchors (i.e., 4 tokens) to maintain
the global storyline. (ii) Semantic front-loading driven by causal attention. Our ablations empirically reveal
2
that under the SVLM’s causal attention, salient visual semantics natively concentrate into the earliest video
memory tokens. Consequently, a simple head truncation effectively isolates high-value evidence, avoiding lossy
spatial blurring with zero overhead.
In summary, our contributions are:
• Tempo: an end-to-end, query-aware compression framework for long video understanding. It directly
addresses the context window bottleneck by unifying an SVLM-based local compressor and an LLM-based
global decoder, performing query-conditioned cross-modal distillation in a single forward pass.
• ATA: a training-free, budget-aware inference strategy leveraging the local compressor’s inherent zero-shot
relevance prior and semantic front-loading. ATA dynamically dictates the optimal token allocation,
preserving fine-grained details for query-critical moments while compressing redundancies into minimal
temporal anchors to maintain global causal structure.
• Scaling Behaviors: an empirical analysis revealing that optimal resource allocation varies with the task
and video duration. While a 4K visual token budget acts as a sweet spot for standard long video tasks
(e.g., Video-MME Long, 30–60 mins), restrictive budgets ultimately limit performance on extreme-long
videos (e.g., LVBench, >1 hour). Scaling to larger capacities unlocks new performance peaks. Notably, in
practice we observe that Tempo allocates tokens largely based on semantic necessity, often compressing
hour-long videos far below the available token budget.
• Leading Performances: despite being a compact 6B model, Tempo sets a new state-of-the-art across long
video benchmarks. On challenging LVBench, it scores 52.3 under a 8K budget, outperforming proprietary
baseline (e.g., GPT-4o, Gemini 1.5 Pro) and open-source counterparts (e.g., VideoChat-Flash). Scaling
to 2048 frames with a 12K budget further pushes performance to 53.7, demonstrating robust hour-long
video understanding of our proposed Tempo.
2 Related Work
3
The Local Compressor
Inference-Only Bypass
The Global Decoder
Micro View - Causal Base Training-Free ATA Macro View - Time-Aware Sequence
n t i eo Segment Si
I pu V d
Zero-shot Relevance <t=0.0s> <t=2.0s> <t=4.0s>
hirel
... ...
ATA
User Query
Controller
Global Budget
Q
Bmax
Vision Encoder
(SVLM)
(e.g., SigLIP)
Intercept hirel
Large Language Model (e.g., Qwen3-4B)
Segment 1: High Score si
... G lobal Self-Attention
Sy stem
Visual Tokens User Query
Memory Tokens
...
Prompt Xi Q M (kmax=128)
Keep all details (ki = 128) G lobal Self-Attention
Segment 2: Low Score si
Causal Attention: M
e s to all conditions
att nd ...
Final Answer
Full Memory
Figure 2 Overview of the Tempo framework. Our unified architecture casts long video understanding as an end-to-end,
query-aware compression process. The Local Compressor (Left). For each segment, a Small Vision-Language Model
(SVLM) acts as a semantic temporal compressor. Under causal attention, learnable memory tokens M inherently
distill the preceding visual tokens Xi and user query Q. Inference-Only Bypass (Middle). During a single forward pass,
an Adaptive Token Allocation (ATA) controller intercepts the hidden state hrel i to compute a zero-shot relevance
score si . This enables an O(1) dynamic head truncation, allocating dense bandwidth to query-critical segments while
compressing redundancies into minimal temporal anchors to strictly satisfy a global budget Bmax . The Global Decoder
(Right). The compressed memory tokens are assembled into a highly sparse, time-aware sequence using explicit temporal
tags (e.g., <t=2.0s>). A global LLM synthesizes this condensed multimodal context to generate the final response.
leverages visual redundancy to hierarchically compress tokens, while Storm Jiang et al. (2025) applies temporal
and spatial pooling to fit tight token budgets. However, because these heuristics are completely agnostic
to the user’s textual query, they risk blurring semantic boundaries and discarding transient, fine-grained
segments that may be critical to the downstream question.
3 TEMPO
3.1 Overall
We target the fundamental bottleneck in long video MLLMs: the downstream LLM can only attend to a
limited number of visual tokens, while hour-long videos produce a massive, continuous stream. Tempo resolves
this mismatch by turning visual token reduction into an early cross-modal distillation problem.
4
Problem Setup. Given a long video V and a user query Q, we uniformly partition V into N temporal segments
S = {S1 , . . . , SN }. Our goal is to convert each Si into a compact set of query-conditioned video memory
tokens, with the total sequence bounded by a global inference budget Bmax , enabling the downstream LLM to
process the entire video and generate the final answer efficiently.
Architecture. Tempo constitutes a two-level generative hierarchy (Fig. 2): (1) an SVLM-based local compressor
Cϕ , and (2) an LLM-based global decoder Dθ . Concretely, the SVLM’s native vision encoder maps segment
Si to dense visual tokens Xi . Its causal attention then performs query-conditioned distillation, integrating
Xi and query Q into learnable memory tokens M. This yields a fixed-capacity representation Hi of exactly
kmax tokens. A linear projector maps Hi into the LLM’s embedding space as H̃i . Finally, the global LLM Dθ
consumes all memory tokens {H̃i }N i=1 alongside Q to auto-regressively decode the answer.
Training vs. Inference. Tempo is trained with a fixed per-segment capacity kmax to learn a strong query-aware
local compressor Cϕ . At inference, we additionally enforce a global budget Bmax . We therefore introduce ATA,
a training-free strategy that uses a zero-shot relevance prior extracted from the same SVLM forward pass to
allocate per-segment budgets ki ∈ [kmin , kmax ], followed by a constant-time head truncation.
SVLM Input Construction. For each segment Si , the SVLM constructs a single causal sequence comprising:
(i) a system prompt, (ii) visual tokens Xi (extracted via its native vision encoder), (iii) user query Q, and (iv)
learnable memory tokens M. Placing M last is critical: under causal attention, each memory token inherently
attends to all preceding visual and textual contexts. This conditions the SVLM to distill query-aligned evidence
into M. Extracting their final-layer hidden states yields the compressed representation Hi ∈ Rkmax ×ds .
Sequence Assembly & Temporal Grounding. To preserve temporal identity and causal order across the entire
video, we prepend an explicit textual timestamp (e.g., <t=2.0s>) to each segment when assembling the global
context. In practice, these temporal tags significantly stabilize long-range attribution (i.e., which evidence
comes from where) within the downstream global LLM.
End-to-End Learning. Let the ground-truth answer be A = {at }Tt=1 . The global Dθ receives all projected
segment memories {H̃i }N
i=1 in temporal order, optimized via standard auto-regressive next-token prediction:
T
X
log pθ at | a<t , Q, {H̃i }N (1)
LAR (θ, ϕ) = − i=1
t=1
Crucially, we do not impose auxiliary compression losses, routing networks, or heuristic token-dropping
regularizations during training. The fixed capacity of kmax memory tokens acts as a hard structural bottleneck.
The gradients back-propagated from LAR naturally compel the compressor Cϕ to discard query-irrelevant
backgrounds and pack the most predictive visual evidence into this bounded space.
Logit-Based Relevance Score. To explicitly elicit this prior during inference, we slightly augment our training
system prompt. Following the standard compression instruction, we append a strict binary directive: “Now,
before compressing, answer exactly ‘Yes’ or ‘No’: is this segment relevant to the Query?” Let hrel i ∈R
ds
be
5
Algorithm 1: Adaptive Token Allocation (ATA) at inference
Input: Segment memories {Hi }N
i=1 , relevance scores {si }i=1 , budget Bmax , bounds kmin , kmax
N
HATA
i ← Hi [1:ki ], ∀i ∈ {1, . . . , N };
return {HATA
i i=1 ;
}N
the final hidden state immediately preceding the model’s binary response. Using the SVLM’s frozen language
modeling head weights for the vocabulary tokens Yes (wyes ) and No (wno ), we compute a continuous relevance
probability si via logit difference Li et al. (2026):
si = σ (wyes − wno )⊤ hrel
i ∈ (0, 1), (2)
where σ(·) is the Sigmoid function. This O(1) projection avoids auto-regressive decoding overhead while
yielding a highly stable ranking signal.
Single-Pass Design. The score si and the compressed memory tokens Hi are extracted within a single forward
pass of Cϕ . As illustrated in the Inference-Only Bypass (Fig. 2), we simply intercept the hidden state hrel
i to
compute the zero-shot score, and then seamlessly continue the forward pass to extract Hi . This architectural
elegance guarantees that both the relevance routing signal and the compressed representations are rigorously
conditioned on the exact same multimodal context, achieving adaptive evaluation with effectively zero latency.
Stage 1: Contrastive Linear Allocation. To guarantee causal continuity across the entire video sequence, we
enforce a minimal temporal anchor for every segment, regardless of its relevance. We first normalize the raw
scores via Min-Max scaling: ŝi = (si − min(s))/(max(s) − min(s) + ϵ). To maximize the contrast between
query-critical events and irrelevant backgrounds, we linearly map these normalized scores to a target capacity:
Stage 2: Capacity-Aware Protection. Let Bbase = N ·kmin represent the foundational cost Prequired to maintain
the global temporal anchors. If the sum of ideal allocations satisfies the global limit ( i kiideal ≤ Bmax ), we
directly adopt {kiideal } to maximize sparsity. Otherwise, we distribute the residual budget Bres = Bmax − Bbase
proportionally based on the normalized scores:
$ %
ŝi
ki = kmin + Bres · PN . (4)
j=1 ŝj + ϵ
We then discretize {ki } and distribute any fractional remainders to strictly ensure ki ≤ Bmax (Alg. 1).
P
i
6
Head Truncation: Zero-Overhead Token Selection. Once the dynamic budget ki is allocated, we compress
the segment by simply slicing the memory sequence, i.e., HATA i = Hi [1:ki ]. Driven by the auto-regressive
nature of the SVLM’s causal attention, we empirically observe a semantic front-loading phenomenon: the
local compressor packs the most salient global evidence into the earliest generated memory tokens (Refer to
Sec. 4.3 – C). Consequently, this O(1) tensor slice naturally isolates high-value semantics without introducing
lossy spatiotemporal pooling. The final global sequence {H̃ATA i i=1 strictly conforms to Bmax , rendering
}N
memory footprints entirely predictable even for hour-long reasoning.
4 Experiments
Progressive Training Curriculum. We adopt a rigorous four-stage progressive training curriculum to ensure
stable optimization and context extrapolation:
• Stage 0 (Modality Alignment): We freeze both the SVLM and the LLM, exclusively optimizing the
linear projector on the standard LCS-558K dataset Liu et al. (2023). This establishes the fundamental
vision-language alignment, bridging the SVLM’s visual representations with the LLM’s text embedding.
• Stage 1 (Pre-training): We unfreeze the entire architecture and optimize it on a large-scale, curated
multimodal corpus comprising ∼2M images, ∼1.38M videos, and ∼143K pure text samples. During this
phase, videos are sparsely sampled at 8 frames, endowing the model with initial temporal perception.
• Stage 2 (Broad Supervised Fine-Tuning): To develop robust instruction-following and semantic-aware
temporal reasoning capabilities, we perform comprehensive SFT using a highly diverse data mixture
(∼0.93M images, ∼2.25M videos, and ∼71K text samples). In this stage, the temporal context is
systematically expanded, with the maximum number of sampled frames per video strictly capped at 128.
• Stage 3 (Long-Context SFT): To effectively extrapolate the context window, we freeze the SVLM and
exclusively fine-tune the global LLM on a high-quality subset of ∼384K samples from Stage 2. Here,
the maximum frame limit is extended to 384, enabling the LLM to handle long temporal sequences.
To curate our training data, we primarily follow the data mixtures established by VideoChat-Flash Li et al.
(2024b) and LLaVA-OneVision-1.5 An et al. (2025). All training datasets utilized throughout our progressive
curriculum are publicly accessible, ensuring full reproducibility.
Evaluation Benchmarks & Baselines. To evaluate Tempo’s long video understanding, we conduct comprehen-
sive experiments across four prominent benchmarks, i.e., LongVideoBench Wu et al. (2024), MLVU Zhou et al.
(2025), Video-MME Fu et al. (2025a), LVBench (extreme-long video) Wang et al. (2025a), spanning standard
long-form tasks to hour-long stress tests. We benchmark Tempo against widely adopted proprietary baselines
(e.g., GPT-4o, Gemini Pro 1.5), general open-weight MLLMs (e.g., InternVL, Qwen-VL), and specialized
long-video MLLMs (e.g., VideoChat-Flash, LongVA). All evaluations are conducted using the lmms-eval.
7
Table 1 Comparison with state-of-the-art MLLMs on long video benchmarks, highlighting Tempo’s superior accuracy and extreme
token efficiency. Bold and underline denote the best and second-best results among specialized long video MLLMs. “-”
indicates unavailable results. * indicates the average tokens per frame are dynamically adjusted. For our model, we
report the theoretical dynamic range (0.5–16) alongside the actual empirical average tokens per frame ( gray rows ),
demonstrating that Tempo inherently operates substantially below the maximum budget limits in practice.
Proprietary Models
GPT-4o Hurst et al. (2024) - - 66.7 64.6 71.9 65.3 30.8
Gemini 1.5 Pro Team et al. (2024) - - 64.0 - 75.0 67.4 33.1
under extreme efficiency. By routing evidence through ATA, Tempo strictly bounds visual tokens to 4K or
8K budgets. In practice, ATA dynamically distributes bandwidth so efficiently that the actual consumption
falls well below these limits (e.g., 2.9 tokens/frame on LVBench under the 4K budget). Remarkably, its
comparative advantage over specialized long video MLLMs amplifies as the temporal span extends.
Dominance in Ultra-Long Video Understanding. The most notable results emerge on the extreme-long
benchmark LVBench, a rigorous stress test for long-term memory and evidence retrieval. Operating strictly
within a 4K visual budget, Tempo achieves 52.7, outperforming the strongest 7B specialized MLLM, VideoChat-
Flash (48.2), by 4.5 points. Impressively, despite its compact capacity, Tempo eclipses proprietary systems in
this ultra-long setting, surpassing GPT-4o (30.8) and Gemini 1.5 Pro (33.1) by massive margins. This proves
that explicit query-aware compression is vastly superior to blindly feeding raw frames into expansive LLM
context windows, which often suffer from attention dilution.
Robustness Across Varied Temporal Contexts. This dominance consistently extends across other benchmarks.
On Video-MME, Tempo secures 67.8 under the 4K budget, exceeding VideoChat-Flash (65.3) and showing
massive improvement over its base model Qwen3-VL-2B (61.9). On the challenging Video-MME Long subset
(2386s), Tempo achieves 57.8. Similarly, Tempo delivers SOTA-level performances on MLVU (75.6) and
LongVideoBench (65.1 under 8K), asserting its robust generalization across diverse temporal scales and tasks.
8
Table 2 Ablation studies on Tempo’s core components. We decompose our framework across five dimensions: (A)
progressive training curriculum, (B) segment-level budget allocation, (C) intra-segment token reduction scheme, (D)
relevance scoring source, and (E) temporal continuity. Unless otherwise specified, all variants process videos uniformly
sampled at 2 FPS up to a maximum of 1024 frames, strictly bounded by an 8K visual token budget for fair comparison.
The default Tempo configuration is highlighted in gray . LongVB denotes LongVideoBench.
The “Less is More” Phenomenon. Crucially, Tempo’s performance under the 4K budget frequently matches
or exceeds the 8K budget (e.g., 52.7 vs. 52.3 on LVBench; 57.8 vs. 57.0 on Video-MME Long subset).
This counter-intuitive phenomenon powerfully validates our ATA strategy. Enforcing a stricter information
bottleneck filters out background distractors, forcing the LLM to focus purely on high-value semantic beats.
This actively mitigates the lost-in-the-middle phenomenon without requiring additional inference compute.
A. Progressive Training Curriculum. We first evaluate our training stages (Tab. 2A). Stopping after Stage
2 (w/o Long-Context SFT) yields sub-optimal performance on extreme-long benchmarks (e.g., 47.3 on
9
6 F D O L Q J % H K D Y L R U R I 7 H P S R 0 D [ L P X P ) U D P H V Y V 7 R N H Q % X G J H W V
7 R W D O , Q I H U H Q F H 9 L V X D O 7 R N H Q % X G J H W
. % X G J H W . % X G J H W . % X G J H W '