Enhancing Long-Video VLM Embeddings with Query-Aware Streaming Latent Reasoning
Organizations: Peking University · Renmin University of China
Abstract
Long-video embedding requires capturing sparse query-relevant evidence under a limited visual-token budget. Uniform sampling can miss brief events in videos spanning minutes or hours, whereas encoding more frames in a single context increases memory and computation. We introduce Query-Aware Streaming Latent Reasoning (QASLR), a post-training framework that accumulates evidence across clips while keeping the embedding size fixed. QASLR selects a bounded set of frames, restores their temporal order, and processes them clip by clip with a vision-language backbone. A compact set of persistent think tokens cross-attends to each clip's features, while an embed token reads out a normalized representation after every update. This design integrates evidence across multiple backbone calls without requiring all selected frames to share a single context. Training combines final contrastive learning, step-wise contrastive supervision, and final-embedding self-distillation. Intermediate supervision trains partial-video readouts for retrieval, while self-distillation regularizes them toward the final representation. Query-aware selection produces query-conditioned representations for candidate-set scoring and reranking, whereas query-independent selection enables reusable corpus indexing. Under the full training recipe, HourVideo retrieval Hit@1 increases from 54.2 to 70.7 and from 57.4 to 72.8 for 2B and 8B Qwen3-VL-Embedding backbones, respectively. Gains extend to the evaluated moment-retrieval and video-QA tasks, and the streaming head transfers to a second Qwen-family embedding backbone. These results support streaming latent aggregation as an effective approach to integrating long-video evidence into fixed-dimensional representations.
Figures & tables
| Retrieval-style tasks | ||||||
|---|---|---|---|---|---|---|
| Backbone | Method | HourVideo CLS | HourVideo Ret. | HourVideo MRet. | LVBench Ret. | LongVideoBench MRet. |
| Qwen3-VL 2B | Original | 51.1 / 85.1 | 54.2 / 77.1 | 24.3 / 62.2 | 65.4 / 98.1 | 34.2 |
| Single-round PT | 52.4 / 86.3 | 55.0 / 76.7 | 25.2 / 63.0 | 66.6 / 98.0 | 35.1 | |
| QASLR | 54.2 / 88.1 | 70.7 / 92.5 | 30.1 / 65.8 | 75.7 / 98.3 | 37.0 | |
| Qwen3-VL 8B | Original | 52.2 / 83.9 | 57.4 / 87.5 | 24.9 / 63.1 | 68.1 / 98.4 | 33.2 |
| Single-round PT | 53.0 / 84.3 | 57.8 / 88.4 | 25.6 / 63.8 | 69.2 / 98.1 | 34.5 | |
| Retrieval-style tasks | |||||
|---|---|---|---|---|---|
| Backbone | Method | HourVideo Ret. | LVBench Ret. | LongVideoBench MRet. | Avg. H@1 |
| Qwen3-VL 2B | Original | 54.2 / 77.1 | 65.4 / 98.1 | 34.2 | 51.3 |
| Single-round PT | 55.0 / 76.7 | 66.6 / 98.0 | 35.1 | 52.2 | |
| Single-round PT w/ sub-batching | 66.1 / 84.2 | 67.5 / 98.2 | 36.7 | 56.8 | |
| QASLR w/o sub-batching | 55.4 / 78.8 | 73.3 / 98.0 | 34.8 | 54.5 | |
| QASLR w/ sub-batching | 70.7 / 92.5 | 75.7 / 98.3 | 37.0 | 61.1 | |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| Input: training pairs , selected frame indices, VLM backbone , streaming head , temperature , loss weights . |
|---|
| 1. Sample a mini-batch of query-positive pairs. If interleaved sub-batching is enabled, group examples with similar task and input format into homogeneous sub-batches. |
| 2. For each streaming video item, decode selected frame indices from the original video and restore chronological order. |
| 3. Split selected frames into clips . |
| 4. For each clip , encode , where is the permitted conditioning input, omitted for query-independent video encoding. |
| 5. Compress valid hidden states into a fixed-size evidence bank . |
| 6. Initialize think-token memory and update it sequentially: . |
| Mode | Query-aware | Pre-indexable | First-stage R@ | Hit@1 | Latency (s) |
|---|---|---|---|---|---|
| Uniform, single-round | No | Yes | – | 55.0 | 0.18 |
| Uniform, QASLR + SB | No | Yes | – | 64.1 | 0.61 |
| Two-stage, single-round + SB | Yes | First stage | 95.8 | 66.1 | 1.26 |
| Two-stage, QASLR + SB | Yes | First stage | 95.8 | 70.7 | 1.72 |
| Aggregator | Ordered | Persistent memory | Ret. Hit@1 | QA Acc. |
|---|---|---|---|---|
| Mean pooling | Yes | No | 58.6 | 60.2 |
| Recurrent aggregator | Yes | Yes | 63.5 | 61.8 |
| Transformer aggregator | Yes | Yes | 66.2 | 62.7 |
| QASLR, shuffled clips | No | Yes | 64.1 | 61.6 |
| QASLR, reversed clips | No | Yes | 65.0 | 61.9 |
| QASLR, reset memory | Yes | No | 60.3 | 60.8 |
| Step loss | Distillation | 25% | 50% | 75% | Final | Mean H@1 |
|---|---|---|---|---|---|---|
| No | No | 43.8 | 54.6 | 62.8 | 67.9 | 57.3 |
| Yes | No | 49.7 | 59.8 | 66.5 | 69.8 | 61.5 |
| No | Yes | 51.2 | 61.7 | 67.9 | 70.1 | 62.7 |
| Yes | Yes | 55.6 | 64.8 | 69.1 | 70.7 | 65.1 |
Multimodal Embedding
Multimodal embedding maps text, images, audio, video, and other data into representations that support comparison and retrieval across modalities.
See all 159 papers