Abstract
Modern Multimodal Large Language Models (MLLMs) face significant computational challenges due to the "token explosion" inherent in processing high-resolution visual data. We present p-MoD, an efficient architecture that integrates an advanced Mixture-of-Depths mechanism to progressively skip redundant vision tokens in deeper network layers. By employing Progressive Ratio Decay (PRD), Tanh-gated Weight Normalization, and Symmetric Token Reweighting, p-MoD reduces inference TFLOPs by approximately 45% and KV cache requirements by 46% while maintaining or exceeding baseline performance across 15 diverse benchmarks.
Introduction
The evolution of MLLMs, such as the LLaVA series, has enabled sophisticated visual reasoning. However, these models are computationally intensive, primarily because they treat every vision token with equal importance throughout the entire depth of the Transformer. As input resolutions and video lengths increase, the resulting volume of vision tokens leads to prohibitive training times and slow inference speeds.
While existing methods often focus on compressing vision tokens at the input stage, p-MoD posits that the LLM itself is best positioned to determine token redundancy dynamically. However, retrofitting "Mixture-of-Depths" (MoD) into pre-trained MLLMs presents challenges in stability and data efficiency. p-MoD addresses these hurdles through a progressive decay strategy and specialized normalization techniques.
Methodology: The p-MoD Framework
The p-MoD architecture enhances the standard MoD layer with three primary innovations designed for stable integration into pre-trained models.
1. Progressive Ratio Decay (PRD)
Empirical evidence suggests that vision tokens become increasingly redundant as they move deeper into the network, transitioning from fine-grained spatial details to high-level semantic concepts. p-MoD utilizes a shifted cosine schedule to determine the token retention ratio ($R_i$) for each layer. Early layers retain nearly all tokens to preserve detail, while deeper layers aggressively skip up to 85% of vision tokens.
2. Tanh-gated Weight Normalization (TanhNorm)
To avoid "initialization shock" when adding new router modules to a pre-trained LLM, p-MoD introduces TanhNorm. This ensures that router weights are zero-centered and bounded, preserving the LLM's original behavior at the start of training and preventing numerical instability during inference.
3. Symmetric Token Reweighting (STRing)
Standard MoD architectures often suffer from sparse gradients because only selected tokens contribute to the router's learning. STRing applies weights to both selected and skipped tokens symmetrically, providing a denser supervision signal that is crucial for the data-constrained environment of multimodal training.
Experimental Results
The p-MoD mechanism was integrated into LLaVA-v1.5 and LLaVA-NeXT (7B and 13B variants) and evaluated across 15 benchmarks, including VQAv2, GQA, MME, and MMMU.
Efficiency and Performance
The results demonstrate that p-MoD achieves a Pareto improvement in efficiency. Compared to the LLaVA-NeXT baseline, p-MoD requires only 55.6% of the TFLOPs and 53.7% of the KV cache storage. Furthermore, training efficiency improved by 22.3% in terms of GPU hours. Crucially, this reduction in resource consumption does not come at the cost of accuracy; p-MoD matches or exceeds baseline performance across nearly all benchmarks, even showing a 0.2% improvement on ChartQA.
Discussion and Conclusion
The success of p-MoD underscores the importance of layer-wise redundancy management in MLLMs. By recognizing that the LLM "digests" visual information into more compact representations as it goes deeper, p-MoD provides a scalable blueprint for efficient multimodal inference.
While the model requires a fine-tuning stage and shows slight performance dips in precise visual grounding tasks, its ability to "retrofit" efficiency into existing high-performing models makes it a powerful tool for the next generation of high-resolution and long-video MLLMs.
Summary updated