TL;DR
ContextGuard is a training-free, inference-time token pruning framework designed to slash the massive computational overhead of Omnimodal Large Language Models (Omni-LLMs). By predicting visual semantics directly from the audio track, it identifies and removes redundant video tokens already "explained" by audio while carefully safeguarding unique visual details. This approach compresses input tokens by up to 55% with virtually zero loss in downstream performance.
What Problem Does This Paper Address?
Omnimodal Large Language Models (Omni-LLMs) excel at processing text, audio, and video simultaneously. However, this multimodal capability comes with a steep computational penalty: even short video clips generate thousands of tokens, leading to massive memory footprints and sluggish inference speeds.
Existing token reduction methods typically prune tokens based on their relevance to a specific user query or their strong alignment with cross-modal cues. The catch? This "importance-based" selection often discards critical background context or subtle visual elements (like scene text or background objects) that aren't explicitly tied to the audio or the current question, causing the model to fail if subsequent questions require that missing context. The authors tackle this challenge by shifting the paradigm: instead of trying to predict what is important, why not simply eliminate cross-modal redundancy?
Methods
The authors introduce ContextGuard, an inference-time token pruning framework that operates entirely before the downstream LLM decoder and requires no fine-tuning. The architecture relies on two core stages:
- Audio-Guided Video Token Selection: The framework utilizes a lightweight, independently trained Audio-to-Video (A2V) semantic predictor. For each audio-video chunk, the A2V predictor estimates coarse visual semantics from the audio tokens. Video tokens that exhibit high similarity to these predicted semantics are pruned because their information is already captured by the audio track (e.g., pruning video tokens of a race car if the audio track clearly contains distinct car racing sounds).
- Spatial Detail Preservation: Because audio cannot convey fine-grained spatial details like color, texture, or object pose, relying solely on semantic pruning would leave the visual scene underrepresented. ContextGuard introduces a complementary spatial branch that uses grid-wise sampling based on local spatial variation to retain a representative set of tokens across the entire frame.
Finally, the framework applies Depth-Score-Based Temporal Merging, which groups temporally similar video chunks into segments and merges redundant tokens across time to achieve even higher compression rates.
Datasets
- Predictor Training: The lightweight A2V predictor was trained independently on a mixture of AudioSet and the training split of VGGSound.
- Evaluation Benchmarks: To validate downstream performance, the authors evaluated ContextGuard across six diverse audio-visual benchmarks:
- WorldSense: Real-world omnimodal understanding tasks.
- Daily-Omni: Cross-modal temporal reasoning in daily-life videos.
- Video-MME: General video analysis and understanding.
- AVQA: Audio-visual question answering over sounding objects.
- OmniVideoBench: Synergistic multimodal reasoning with long-term understanding.
- video-SALMONN2 test set: Audio-visual captioning evaluation.
Key Insights and Ideas
- Exploiting Structural Asymmetry: Omni-LLMs naturally process hundreds of video tokens per second but only a fraction of audio tokens. ContextGuard smartly turns this asymmetry into an advantage by using the ultra-compact audio stream to prune the bloated video token stream.
- Information-Theoretic Balance: The framework balances two fundamental requirements: complementarity (keeping visual info that audio cannot predict) and sufficiency (ensuring the pruned visual tokens combined with audio still fully represent the original scene context).
- Preserving the Unaligned: By focusing on removing what audio can explain, ContextGuard naturally preserves non-audio-aligned visual details—such as displayed text or background props—ensuring the model retains broad context for open-ended or unexpected queries.
Key Results
The authors evaluated ContextGuard against state-of-the-art inference-time pruning methods (like OmniZip and FastV) using Qwen2.5-Omni and Video-SALMONN2+ backbones at both 3B and 7B scales.
- Massive Compression, No Performance Drop: On Qwen2.5-Omni 7B, ContextGuard successfully pruned 55% of input tokens while matching full-token performance on five out of six benchmarks.
- Superior Context Retention: Qualitative evaluations highlighted that competing methods often mistakenly prune crucial text or unaligned visual details. ContextGuard successfully retains these elements, allowing the model to answer complex, context-heavy questions correctly.
Limitations and Future Work
- Rigid Spatial Budget: ContextGuard relies on a fixed spatial retention budget (retaining the top 10% of spatial-detail tokens). In some scenarios, this fixed allocation can miss highly subtle, fine-grained visual evidence, such as a player's jersey number or fleeting facial expressions.
- Prefill Overhead: The pre-decoding stage (A2V prediction and depth-score calculation) introduces a minor computational overhead during the prefill phase, though this is heavily offset by the downstream token savings.
- Future Directions: The authors plan to explore adaptive spatial retention budgets ($\rho_{spa}$) that dynamically adjust based on the complexity of the input context, alongside further optimizing the efficiency of the A2V predictor.
Summary updated