Serving large Vision-Language Models (VLMs) is hard. Serving them as "agents"—where they must perceive a GUI, reason, and act in real-time—is even harder. Most current serving frameworks are optimized for text-only LLMs in the cloud, leaving a massive gap for edge-deployed VLM agents that need to be both responsive and private.
A new paper from researchers at Shanghai Jiao Tong University and Inspur Data introduces Nova, a real-time scheduling framework designed to solve the unique bottlenecks of agentic VLM serving on a single GPU.
TL;DR
Nova is a specialized serving framework for agentic VLMs that uses adaptive hardware-level parallelization (SM partitioning) and asynchronous weight offloading. It reduces maximum latency by up to 23.3% while maintaining high throughput, making real-time GUI agents feasible on single-GPU edge devices.
What Problem Does This Paper Address?
Agentic VLMs (like those used for mobile automation or digital assistance) differ from standard LLMs in three critical ways:
- Structural Heterogeneity: They use a separate vision encoder (often a large ViT) and an LLM. Standard "chunked prefill" tricks for LLMs don't work because these modules don't share weights or architectures.
- Bottleneck Shift: Vision encoding is slow—often 2x longer than the LLM prefill stage—becoming the new system bottleneck.
- Resource Contention: Vision encoding and LLM prefill are compute-bound, while the iterative decoding stage is memory-bound. Running them sequentially leaves the GPU underutilized, but running them concurrently via standard CUDA streams leads to "kernel launch contention," where the stages fight for registers and shared memory, actually slowing everything down.
Methods
Nova tackles these issues with a three-pronged system design:
- Adaptive SM Partitioning: Instead of letting the GPU's internal scheduler handle everything (which often prioritizes the wrong tasks), Nova uses inter-SM spatial sharing. It partitions the GPU’s Streaming Multiprocessors (SMs) into disjoint subsets. By assigning specific SMs to the vision encoder and others to the LLM decoder, it allows them to run truly in parallel without resource contention.
- Pareto-Optimal Scheduling: The system doesn't just use a fixed split. It uses a dynamic algorithm that adjusts the SM allocation based on the current request load. During "bursty" periods with many pending requests, it shifts more resources to the vision/prefill stages to prevent queue buildup, guided by a Pareto-optimal analysis of the latency-throughput trade-off.
- Layer-wise Weight Offloading: To free up VRAM for the critical KV-cache, Nova implements a "swapping" strategy for the vision encoder. It only keeps a few layers in GPU memory at a time, asynchronously loading the next layers from CPU memory via PCIe while the current layers are still computing.
Datasets
The researchers evaluated Nova using:
- CogAgent-9B: A state-of-the-art agentic VLM (9B LLM + 4B Vision Encoder).
- Android Instruction Dataset (AndroidLab): Real-world GUI interaction data containing 138 tasks across 9 Android apps.
- Synthetic Workloads: Poisson-distributed request arrivals to simulate various traffic intensities.
- Production Traces: Real-world request distributions from a production VLM agent.
Key Insights and Ideas
- Complementary Resource Demands: The "aha moment" is that the compute-heavy vision stage and the memory-heavy decode stage are actually perfect partners for co-execution. When partitioned correctly at the hardware level, they fill each other's "gaps" in resource utilization.
- The "Decode Starvation" Trap: In standard systems, a long vision encoding task can block the LLM from generating tokens for existing requests. Nova’s spatial sharing ensures that the "heartbeat" of token generation (decoding) continues even when a heavy new image is being processed.
- Hiding Latency with PCIe: By carefully analyzing the timing, the authors found that modern PCIe bandwidth is actually fast enough to swap model weights in the background without stalling the computation, allowing for a >90% reduction in the vision encoder's memory footprint.
Key Results
Nova was tested on NVIDIA RTX A6000 and RTX 4090 GPUs against several baselines (including vLLM-style prefill-first and chunked prefill).
- Latency: Nova improved maximum end-to-end latency by up to 23.3% and average latency by 14.6%.
- Throughput: It maintained competitive throughput, proving that you don't have to sacrifice system efficiency for individual request speed.
- Memory Efficiency: The weight offloading strategy reduced the vision encoder's VRAM usage from ~9GB to less than 1GB with negligible performance overhead.
- Predictability: The measured queueing delays closely matched theoretical M/G/1 queue models, indicating a highly stable and predictable system.
Limitations and Future Work
While Nova is a major step forward, the authors note a few areas for growth:
- LLM Weight Sharing: The weight offloading strategy is currently optimized for the vision encoder. Applying it to the LLM is harder because the prefill and decode stages share the same weights and happen in rapid succession.
- Temporal Redundancy: Nova treats every GUI screenshot as a new event. In reality, consecutive frames in a GUI agent are often very similar. Future work could involve "region skipping" or KV-cache reuse for similar image patches to further boost speed.
- Quantization: The paper focuses on FP16/BF16 precision; integrating advanced quantization for the vision encoder could further reduce the hardware requirements for edge deployment.
Summary updated