CVFeb 10, 2025

UniMoD: Efficient Unified Multimodal Transformers with Mixture-of-Depths

arXiv:2502.06474v13 citationsh-index: 6Has Code
Originality Incremental advance
AI Analysis

This addresses the high training costs for researchers and practitioners using unified multimodal transformers, though it is an incremental improvement over existing token pruning methods.

The paper tackles the computational inefficiency of unified multimodal transformers by proposing UniMoD, a task-aware token pruning method that reduces training FLOPs by 15% in Show-o and 40% in Emu3 while maintaining or improving performance on benchmarks.

Unified multimodal transformers, which handle both generation and understanding tasks within a shared parameter space, have received increasing attention in recent research. Although various unified transformers have been proposed, training these models is costly due to redundant tokens and heavy attention computation. In the past, studies on large language models have demonstrated that token pruning methods, such as Mixture of Depths (MoD), can significantly improve computational efficiency. MoD employs a router to select the most important ones for processing within a transformer layer. However, directly applying MoD-based token pruning to unified transformers will result in suboptimal performance because different tasks exhibit varying levels of token redundancy. In our work, we analyze the unified transformers by (1) examining attention weight patterns, (2) evaluating the layer importance and token redundancy, and (3) analyzing task interactions. Our findings reveal that token redundancy is primarily influenced by different tasks and layers. Building on these findings, we introduce UniMoD, a task-aware token pruning method that employs a separate router for each task to determine which tokens should be pruned. We apply our method to Show-o and Emu3, reducing training FLOPs by approximately 15% in Show-o and 40% in Emu3, while maintaining or improving performance on several benchmarks. Code will be released at https://github.com/showlab/UniMoD.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes