[Paper Review] Monkey: Image Resolution and Text Label Are Important Things for Large Multi-modal Models
Monkey introduces a patch-based high-resolution input approach with per-patch adapters and a multi-level description generation pipeline to improve performance of large multimodal models across captioning, VQA, and text-centric document tasks. It demonstrates gains on 18 datasets without full pretraining by leveraging 1344x896 resolution and diverse caption generation.
Large Multimodal Models (LMMs) have shown promise in vision-language tasks but struggle with high-resolution input and detailed scene understanding. Addressing these challenges, we introduce Monkey to enhance LMM capabilities. Firstly, Monkey processes input images by dividing them into uniform patches, each matching the size (e.g., 448x448) used in the original training of the well-trained vision encoder. Equipped with individual adapter for each patch, Monkey can handle higher resolutions up to 1344x896 pixels, enabling the detailed capture of complex visual information. Secondly, it employs a multi-level description generation method, enriching the context for scene-object associations. This two-part strategy ensures more effective learning from generated data: the higher resolution allows for a more detailed capture of visuals, which in turn enhances the effectiveness of comprehensive descriptions. Extensive ablative results validate the effectiveness of our designs. Additionally, experiments on 18 datasets further demonstrate that Monkey surpasses existing LMMs in many tasks like Image Captioning and various Visual Question Answering formats. Specially, in qualitative tests focused on dense text question answering, Monkey has exhibited encouraging results compared with GPT4V. Code is available at https://github.com/Yuliang-Liu/Monkey.
Motivation & Objective
- Motivate improved handling of high-resolution images in large multimodal models (LMMs) to capture finer visual details and dense text.
- Develop a resource-efficient method (Monkey) to process high-resolution inputs by dividing images into patches processed by a shared ViT with per-patch adapters.
- Introduce an automatic multi-level description generation pipeline to enrich training data and strengthen image-text alignment.
- Demonstrate improved performance across captioning, general VQA, scene-text VQA, and document-VQA on 18 datasets without extensive pretraining.
Proposed method
- Divide high-resolution images into uniform patches (e.g., 448x448) using a sliding window to create local crops.
- Process patches and global image through a shared ViT encoder with trainable adapters for each patch and a visual resampler.
- Use LoRA adjustments in each patch encoder to adapt to patch-specific features while keeping the original encoder pretraining distribution.
- Employ a cross-attention-based visual resampler with trainable query vectors to fuse patch-level and global features into language space.
- Generate high-quality multi-level captions by fusing outputs from multiple systems (BLIP2, PPOCR, GRIT, SAM, ChatGPT) and perform consistency checks, then fine-tune via ChatGPT for rich descriptions.
- Train on a 1.44M-sample, multi-task dataset across image captioning, general VQA, scene-text VQA, and document-VQA, using uniform instruction formats.
Experimental results
Research questions
- RQ1Can higher input resolution (up to 1344x896) improve fine-grained visual and text understanding without full pretraining?
- RQ2Does a patch-based processing approach with per-patch adapters preserve encoder training distribution while enabling larger inputs?
- RQ3Does multi-level description generation enhance the learning of scene-object associations and questioning capabilities?
- RQ4What are the performance gains of Monkey across image captioning, general VQA, scene-text VQA, and document-oriented VQA on diverse datasets?
Key findings
- Monkey achieves higher effective input resolution up to 1344x896 without pretraining from scratch.
- Multi-level descriptions improve context for scene-object associations and support better captioning and VQA performance.
- Across 18 datasets, Monkey surpasses several existing LMMs on Image Captioning, General VQA, Scene Text-centric VQA, and Document-oriented VQA.
- In dense text QA scenarios, Monkey shows encouraging qualitative results compared with GPT-4V.
- Ablation studies show that the proposed resolution enhancement and patch adapters provide gains over traditional interpolation methods.
- Training on 1.44M curated examples with diverse datasets yields competitive results without extensive full-scale pretraining.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.