Abstract
Vision-Language Models (VLMs) have revolutionized video scene understanding by enabling complex human-object interaction descriptions without task-specific training. However, their extreme computational weight—often processing fewer than 0.5 frames per second—precludes real-time deployment. We introduce SimCache, a novel caching framework that exploits region-level redundancies. By storing and reusing VLM outputs based on visual similarity, SimCache achieves up to a 9.4× throughput increase and reduces expensive model computations by over 24× with minimal impact on accuracy.
Introduction: The VLM Bottleneck
State-of-the-art VLMs like LLaVA are powerful but slow. While traditional video processing methods attempt to increase speed by skipping frames, this approach often misses critical, brief events. The authors identify two primary forms of redundancy in video data that can be exploited more intelligently:
- Temporal Locality: Objects and their interactions in consecutive frames (e.g., frame 100 and 101) are often visually near-identical.
- Semantic Locality: Specific actions, such as "drinking coffee," may appear semantically similar even if they occur at different times or under different lighting conditions.
SimCache aims to exploit these redundancies at the region level rather than the frame level, ensuring that only novel visual information is passed to the heavy VLM.
Methods: The SimCache Architecture
SimCache is integrated into a standard three-stage pipeline: Object Detection, Salient Region Identification, and VLM Inference. It acts as a gatekeeper before the VLM stage, determining whether a region's description can be retrieved from memory or requires a fresh model inference.
Multi-Tier Caching
The system employs two distinct cache layers to handle different types of redundancy:
- Temporal Cache: A short-term buffer storing embeddings and results from the most recent $N$ frames to handle immediate consistency.
- Semantic Cache: A long-term repository of "prototypical" activity examples across the entire video, partitioned by (subject, object) pairs for efficient searching.
Key Innovations
- Embedding-Based Lookup: Instead of raw pixel comparison, SimCache uses a lightweight embedding generator (e.g., MobileNet) to create mathematical representations of a region's context.
- Dynamic Thresholding: The system calculates a dynamic similarity threshold ($\tau$) based on the distribution of existing cache entries, allowing it to adapt to varying scene complexities.
- K-Means Refinement: To prevent cache bloat, periodic k-means clustering "prunes" the cache, retaining only the most representative entries for each activity.
Experimental Evaluation
The researchers evaluated SimCache using the UCF-101 action recognition benchmark and an Internal Human-Object Interaction Dataset focused on fine-grained relationships.
Key Results
The performance gains are substantial, particularly for large-scale models:
- Throughput: For LLaVA-1.5-7B, throughput increased from ~5 FPS to 47.23 FPS (a 9.4× improvement).
- Computation Reduction: The number of regions requiring VLM processing dropped by 24.4× on the UCF-101 test set.
- Accuracy Preservation: SimCache maintained accuracy levels nearly identical to the baseline (e.g., 133 vs 134 correct predictions in a specific subset).
- System Efficiency: VLM inference time was reduced from 89% of total processing time to just 30-40%.
Conclusion and Future Work
SimCache demonstrates that region-level caching is a highly effective strategy for making heavy VLMs viable for real-time tasks. While the system is currently dependent on the quality of the lightweight embedding generator and faces a "cold start" period at the beginning of videos, it provides a clear path forward for efficient scene understanding. Future work may involve integrating these mechanisms directly into VLM attention layers or applying them to even larger "Frontier" models.
Summary updated