Abstract
Recently, scaling images to high resolution has received much attention in multimodal large language models (MLLMs). Most existing practices adopt a sliding-window-style cropping strategy to adapt to resolution increase. Such a cropping strategy, however, can easily cut off objects and connected regions, which introduces semantic discontinuity and therefore impedes MLLMs from recognizing small or irregularly shaped objects or text, leading to a phenomenon we call the semantic sawtooth effect. This effect is particularly evident in lightweight MLLMs. To address this issue, we introduce a Complementary Image Pyramid (CIP), a simple, effective, and plug-and-play solution designed to mitigate semantic discontinuity during high-resolution image processing. In particular, CIP dynamically constructs an image pyramid to provide complementary semantic information for the cropping-based MLLMs, enabling them to richly acquire semantics at all levels. Furthermore, we introduce a Scale Compression Mechanism (SCM) to reduce the additional computational overhead by compressing the redundant visual tokens. Our experiments demonstrate that CIP can consistently enhance the performance across diverse architectures, various model capacity, and different usage configurations. Leveraging the proposed CIP and SCM, we introduce a lightweight MLLM, Mini-Monkey, which achieves remarkable performance in both general multimodal understanding and document understanding.
The Semantic Sawtooth Effect
To process high-resolution images, standard Multimodal Large Language Models (MLLMs) typically employ a "sliding window" cropping strategy. While this allows models to handle resolutions beyond their native vision encoder limits, it introduces a critical flaw: the semantic sawtooth effect.
As shown in Figure 1, arbitrary cropping can bisect objects or text. For instance, a cropped portion of a guinea pig's face might be misidentified as a monkey due to the lack of surrounding context. This semantic discontinuity is especially damaging for lightweight models (1B-3B parameters) that lack the internal capacity to "hallucinate" missing connections.
Methodology: CIP and SCM
Mini-Monkey addresses these challenges through two core innovations: the Complementary Image Pyramid (CIP) and the Scale Compression Mechanism (SCM).
Complementary Image Pyramid (CIP)
CIP is a plug-and-play strategy that generates multiple image representations to ensure semantic continuity:
- Detailed Group: High-resolution crops capturing fine-grained details.
- Adaptive Group: Crops generated at a different scale such that their boundaries do not overlap with the Detailed Group. If an object is "cut" in the first layer, it remains whole in this layer.
- Global Group: A low-resolution overview providing essential global context.
Scale Compression Mechanism (SCM)
To prevent the "token explosion" caused by multiple pyramid layers, SCM prunes redundant visual tokens. It leverages the early layers of the LLM to identify tokens relevant to the user's prompt, compressing the "Detailed" layer by up to 90% without sacrificing accuracy.
Experimental Results
Mini-Monkey (2B) demonstrates state-of-the-art performance for its size, particularly in document and OCR tasks.
- OCR Performance: On the OCRBench, Mini-Monkey achieved a score of 806, outperforming the much larger InternVL2-8B (794) and TextMonkey-9B (558).
- General Benchmarks: It consistently improved upon its baseline (InternVL2-2B) by an average of 2.4% across 17 benchmarks, including MME and RealWorldQA.
- Efficiency: The model was trained using only eight RTX 3090 GPUs, highlighting its accessibility for research.
Conclusion
By mitigating the semantic sawtooth effect through the Complementary Image Pyramid, Mini-Monkey proves that lightweight models can achieve high-resolution understanding comparable to much larger counterparts. The combination of CIP's semantic robustness and SCM's token efficiency makes Mini-Monkey a powerful, accessible solution for complex multimodal tasks.
Summary updated