Revisiting Multimodal Positional Encoding in Vision-Language Models
Jie Huang, Xuejing Liu, Sibo Song, Ruibing Hou, Hong Chang, Junyang Lin, Shuai Bai
TL;DR
This work systematically analyzes multimodal Rotary Position Embedding in Vision-Language Models, exposing design gaps in position encoding and frequency allocation that hinder cross-modal grounding and long-range modeling. It proposes three practical guidelines—positional coherence, full frequency utilization, and preservation of textual priors—leading to two plug-and-play solutions, Multi-Head RoPE (MHRoPE) and MRoPE-Interleave (MRoPE-I), complemented by a spatial-reset mechanism. Across image, video, and grounding benchmarks, the proposed variants outperform existing RoPE methods, addressing both general and fine-grained multimodal understanding while maintaining compatibility with text-only RoPE for transfer learning. The work delivers actionable insights and code to advance robust, unified positional encoding for versatile VLMs.
Abstract
Multimodal position encoding is essential for vision-language models, yet there has been little systematic investigation into multimodal position encoding. We conduct a comprehensive analysis of multimodal Rotary Positional Embedding (RoPE) by examining its two core components: position design and frequency allocation. Through extensive experiments, we identify three key guidelines: positional coherence, full frequency utilization, and preservation of textual priors-ensuring unambiguous layout, rich representation, and faithful transfer from the pre-trained LLM. Based on these insights, we propose Multi-Head RoPE (MHRoPE) and MRoPE-Interleave (MRoPE-I), two simple and plug-and-play variants that require no architectural changes. Our methods consistently outperform existing approaches across diverse benchmarks, with significant improvements in both general and fine-grained multimodal understanding. Code will be avaliable at https://github.com/JJJYmmm/Multimodal-RoPEs.
