Daily AI Paper

Daily AI Paper

2026-11-18

Archived
2026-11-18

Spool: Low-Latency Streaming Inference for Hybrid Vision-Language Models

Rui Ning, Om Chabra, Hari Balakrishnan

arXiv:2611.23228v1

Streaming video understanding is a deceptively hard systems problem. Think about a robot watching the world through a camera, or a visual accessibility assistant describing what just happened in a live video feed. The model has to answer questions about recent frames quickly, because the scene is changing all the time, and the answer needs to reflect what is still relevant now, not what happened long ago. At the same time, the system can’t just keep every frame forever. It has a bounded context window, so as new video arrives, old frames must be evicted. That sounds straightforward for ordinary attention-based transformers, because attention stores per-token key-value entries. If a token expires, you can remove its cache entry. But hybrid vision-language models make this much trickier. These models mix attention with linear recurrent layers, such as Gated DeltaNet and Mamba-style layers. The recurrent layers do not keep separate memory per token. Instead, they compress the entire history into a single fixed-size state. That is great for long sequences in general, because memory does not grow with sequence length. But for a sliding window, it creates a problem: when the oldest frame leaves the window, its influence is still mixed into the recurrent state. To truly remove it, a conventional system has to replay the whole remaining window through the model. That is expensive, and in a streaming setting it creates exactly the kind of latency spikes you want to avoid. This paper is about solving that eviction problem for hybrid vision-language models. The key idea behind Spool is surprisingly elegant: instead of caching the recurrent state after each frame, cache how each frame transforms the state. For the kinds of recurrent layers studied here, the update is affine in the state. In plain terms, each frame applies a transformation that can be represented by multiplicative and additive coefficients. Because these transformations compose associatively, you can combine the effects of many frames without replaying them. So when the window advances, Spool can reconstruct the recurrent state for the active window by composing the cached per-frame transformations, while removing the influence of expired frames exactly within each recurrent layer. It helps to place this in the broader serving landscape. Modern inference engines like vLLM and SGLang already do a lot of work to reuse computation, especially through prefix caching. Prefix caching is effective when the beginning of the sequence stays fixed. But in a sliding window, the prefix changes every time the oldest frame is evicted. That invalidates the cache and forces recomputation. Attention layers have a workaround: they can evict individual key-value entries. Recurrent layers do not have that luxury. So the central question is not just how to keep the model fast, but how to maintain a moving window without rebuilding everything from scratch. Spool addresses that with two main mechanisms. The first is recurrent state reconstruction. During inference, it caches the coefficients that describe each frame’s effect on the recurrent state. Then, as the window slides, it uses those cached transformations to rebuild the recurrent state for the current window, rather than rerunning the full backbone. The paper emphasizes that this removal is exact within each recurrent layer. There is still a subtle residual effect, though, because earlier layers may have already computed cached inputs while the expired frame was present. That is similar to what happens with attention key-value eviction: once a token has influenced earlier computations, some residue can remain. The authors report that this residual effect has little practical impact on accuracy. The second mechanism is attention cache reclamation. Here the challenge is more about memory management than model math. In real serving systems, the KV cache is stored in fixed-size pages. When old frames are evicted, some pages end up partially empty, with holes that cannot be reclaimed cleanly. A naive compaction strategy would require copying a lot of memory. Spool instead fills vacated KV slots with newly arriving entries, and it periodically rebases rotary position embeddings so that token positions do not grow without bound. That lets it preserve relative position information without re-encoding the visual content. The paper also tackles efficiency in how the recurrent transformations are composed. If you simply compose every frame’s cached transformation one by one, that still costs linear work in the window length. Spool uses a segment tree over consecutive frames, so it can reconstruct the current state with logarithmic composition depth rather than scanning the whole window. This is important because the system is meant for online streaming, where every extra millisecond matters. The implementation also includes custom GPU kernels to keep the overhead of caching and composition low. The experiments are broad. Spool is evaluated on five open-source hybrid vision-language models, spanning sizes from 0.8B to 122B parameters, and on four streaming video reasoning benchmarks. The models include recurrent layers such as GDN and Mamba-2. The baselines are vLLM-Omni, both with and without its incremental-prefill feature. The serving setting is online, meaning the system is under streaming load and time-to-first-token matters a lot. The paper also reports offline accuracy tests, where timing pressure is removed, to check whether the speedups come at the cost of reasoning quality. The main result is that Spool achieves the lowest p95 time-to-first-token in all 20 model-benchmark combinations tested. That is a strong claim: it means that on the tail of the latency distribution, Spool is consistently better than the baselines across every evaluated pair. On average, it reduces p95 time-to-first-token by a geometric mean of 6.6 times over the faster of the two recent vLLM baselines, and by 33.8 times over vLLM-Omni. In some cases the speedup is much larger, up to 35.7 times. Another useful way to interpret this is that Spool keeps p95 under one second in 16 of the 20 tests, compared with only 3 tests for incremental prefill. For real-time systems, that kind of tail-latency improvement is often more important than average latency, because the user experiences the slowest moments as visible stalls. There is also an accuracy story here. Because Spool reduces latency spikes, fewer questions are dropped under streaming load, and that improves online accuracy by 2.3 percentage points on average, with gains as high as 18.4 points on Beyond3D. That is an important point: the system is not just faster in isolation; it is faster in a way that helps the application behave better under load. In offline evaluation, where latency is not the bottleneck, Spool stays within minus 1.6 to plus 1.8 points of the more accurate baseline across all 24 tests. So the speed improvements do not appear to come with a major quality penalty. The paper also breaks down the contribution of the individual components. The caching pieces reduce per-frame ingestion latency by 7 to 17 percent relative to a naive cache. The KV-filling strategy saves up to 1.8 GiB of peak memory. And after 1024 expired frames, the state reconstruction approach keeps KL divergence from the vLLM-Omni baseline about 2.5 times lower than without reconstruction. That supports the claim that reconstructing the recurrent state from cached transformations is not just a theoretical trick; it preserves the model’s behavior better than leaving stale state around. What should we take away from this? The main insight is that hybrid vision-language models are not automatically incompatible with streaming windows. The bottleneck is not only model quality, but the mismatch between how recurrent layers store history and how serving systems need to evict history. Spool shows that if the recurrent update has the right algebraic structure, you can turn eviction into a composition problem instead of a full recomputation problem. That is a nice example of using the mathematics of the model to redesign the inference system. There are still limitations to keep in mind. The method is training-free, which is appealing, but it also means it relies on the existing structure of the recurrent layers. The paper focuses on affine recurrent updates such as those used by GDN and Mamba-like layers. It is not a universal solution for arbitrary architectures. Also, while removal is exact within each recurrent layer, the paper is careful that expired frames can still have residual influence through earlier cached computations. That residual effect appears small in the reported experiments, but it is not zero in principle. And as with any systems paper, the performance gains depend on the details of the serving stack, GPU kernels, and memory layout. Still, the overall result is compelling. Spool turns a painful sliding-window rebuild into an efficient incremental maintenance problem, and it does so without retraining the model. For streaming video applications where low latency and bounded context are both non-negotiable, that is a meaningful step forward.

Previous daily papers

2026-11-28How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches2026-11-27Spectrum Adaptation of AI-Native Autoencoder Communications with Transfer Learning2026-11-26Stranger Things: When Objects Appear Without Their Typical Neighbors2026-11-25OmniAct: One Policy, One Million Embodiments2026-11-24Let Vision-Language Models Generate Images through Their Representations2026-11-24Pruning Autonomous Driving VLAs: What to Preserve for Reasoning and Action2026-11-24Tabular Foundation Models for Weighted Regression and Classification2026-11-23BioEmu2: Scalable Emulation of Biomolecular Dynamics2026-11-23Model Carving: Training Transformers That Optimize Their Own Topology2026-11-23MemOnce: A Scalable Memory Architecture for Large Language Models2026-11-22SoK: Assessing the Evolution of LLM Capability in Software Vulnerability Research2026-11-22Depth Pro 2: Sharp and Temporally Consistent Metric Monocular Depth2026-11-22RL Post-Training in Diffusion Transformers Is Activation Steering2026-11-20FrontierReplay: Split-Free Exact Prefix Caching for Hybrid Language Models2026-11-19Jailbreak Detection on Large Language Models via Contrastive Prototype Structures2026-11-19Auditing black-box clinical prediction models with a large language model through queries alone: a blinded test with planted flaws2026-11-18Ambient LLMs: Data-Efficient Supervised Fine-tuning via Temperature Matching2026-11-18Know When to Zoom: How Small Is Too Small for Vision-Language Models?2026-11-17ViRA: Toward Ultra-High-Resolution Visual Agents via Cross-Input Relative Policy Optimization2026-11-17Latent Lattice Language Models2026-11-17SWE-CoWork: Benchmarking Coding Agents as Digital Employees in Organizations2026-11-16StreamEmbed: Real-Time Indexing from Pixels for Screenshot Retrieval2026-11-15ArchSpace: Recording, Reviewing, and Referencing LLM Architecture Research2026-11-15Classical Energies Learn to Reason 1,000x Faster than Looped Models2026-11-15Unbundling Multimodal Vision Encoding2026-11-14Goal Encoding in LLMs2026-11-13Dataset Distillation via Drifting2026-11-12AutoScaffold: AI-Guided Scaffolding for Reinforcement Learning of Language Models2026-11-12Contrastive Discovery: Open-Ended Scientific Discovery over Competing Explanations2026-11-12Emergent Biological Capabilities in a Foundation Model for Molecular Interactions2026-11-11Medical Image Segmentation: Foundation Model Adaptation versus Task-Specific Training2026-11-10Mitigating Agentic Deception via Evaluation-Side Partially Observable Games2026-11-09On Agentic Manipulation Policies2026-11-09Can Agentic Systems Close the Gap in Radiology with Production AI Tools?2026-11-09Computer-Use Agents Are Embodied Generalists2026-11-08Failure Prediction and Classification in Vision-Language-Action Models Via Calibrated Latent Probing2026-11-08Scientist World: Grow a Research World for AI-Scientists2026-11-08Understanding AI from the Inside: The State of Mechanistic Interpretability for AI Safety2026-11-06User Embeddings are Superpositions of Interpretable Behavioral Modes2026-11-05FrontierPhysics: Evaluating Agents for End-to-End Physics Research2026-11-05Reinforcement Learning Enables Scaling Generalist Robot Policy Improvement2026-11-05Perceptive Humanoid Motion from Simulation2026-11-04From Autonomous Agents to Cognitive Symbionts: Toward AI-Augmented Human Intelligence2026-11-04DreamX: Video Diffusion Model is a Universal Latent Action Learner2026-11-04PyRUA-DataFarm: LLM Agent as a Cost-Efficient Teleoperator for Real-Ready Robot Data2026-11-03Pixel: A Co-Designed Full-Stack Robot System for Learning General-Purpose Mobile Manipulation2026-11-03Strategist: Evolving Reasoning with Agents2026-11-03DR Pixel: Page-Native Deep Research with Vision-Language Models2026-11-02ACCT: Asymmetric Cross-LLM Context Transfer2026-11-02Latent Reasoning in Continuous Space for Unified Multimodal Models2026-11-02Subquadratic Attention with a Hierarchical Tree-Structured Indexer2026-11-01Testimony from Timelines: Evidence-Grounded Significance Testing of Temporal Clinical Hypotheses2026-11-01ShallowDefend: Harnessing Shallow Safety Alignment for Multi-Turn Defender2026-10-31Difficulty Calibration Across Time for Membership Inference in Diffusion Models2026-10-30world2vec: Mechanistic world models through latent dynamics learning2026-10-30Elucidating the Design Space of LM Data Attribution2026-10-29Pushing Dexterity and Safety for In-Hand Object Pose Reaching That Works Remarkably Well2026-10-29Can LLMs Uncover Hidden Physical Laws through Free Exploration?2026-10-29Scaling Laws for Tool-Use Agents via Controllable Environment Synthesis