InternLM-XComposer2-4KHD: A Pioneering Large Vision-Language Model Handling Resolutions from 336 Pixels to 4K HD

The Large Vision-Language Model (LVLM) field has seen significant advancements, yet its progression has been hindered by challenges in comprehending fine-grained visual content due to limited resolution. Recent efforts have aimed to enhance the high-resolution understanding capabilities of LVLMs, yet they remain capped at approximately 1500 x 1500 pixels and constrained to a relatively narrow resolution range. This paper represents InternLM-XComposer2-4KHD, a groundbreaking exploration into elevating LVLM resolution capabilities up to 4K HD (3840 x 1600) and beyond. Concurrently, considering the ultra-high resolution may not be necessary in all scenarios, it supports a wide range of diverse resolutions from 336 pixels to 4K standard, significantly broadening its scope of applicability. Specifically, this research advances the patch division paradigm by introducing a novel extension: dynamic resolution with automatic patch configuration. It maintains the training image aspect ratios while automatically varying patch counts and configuring layouts based on a pre-trained Vision Transformer (ViT) (336 x 336), leading to dynamic training resolution from 336 pixels to 4K standard. Our research demonstrates that scaling training resolution up to 4K HD leads to consistent performance enhancements without hitting the ceiling of potential improvements. InternLM-XComposer2-4KHD shows superb capability that matches or even surpasses GPT-4V and Gemini Pro in 10 of the 16 benchmarks. The InternLM-XComposer2-4KHD model series with 7B parameters are publicly available at https://github.com/InternLM/InternLM-XComposer.

Paper

Similar papers

Peer review

Reviewer 339k5/10 · confidence 3/52024-06-12

Summary

This paper introduces a large vision-language model named InternLM-XComposer2-4KHD, which is designed to process images up to 4K HD resolution. The model incorporates a dynamic resolution adaptation mechanism that maintains the aspect ratios of input images, thus enhancing the model's ability to understand complex image-text interactions. This approach allows for scalable resolution adjustments during training, supporting a wide range of resolutions. The model even outperforms well-known GPT-4V and Gemini Pro in 10 out of 16 benchmarks.

Strengths

1. This paper introduces a substantial enhancement in the field of large vision-language models. It demonstrates significant performance improvements across multiple benchmarks, outperforming well-known models such as GPT-4V and Gemini Pro, thereby potentially exerting a broad impact on the field. 2. The dynamic resolution design adopted in this study is particularly noteworthy. It enables the model to adapt to a variety of image resolutions while preserving critical detail. 3. The writing in the paper is commendable, with informative charts and examples that effectively showcase the model's capabilities.

Weaknesses

1. The paper frequently mentions training with 4K resolution, yet it lacks optimizations for accelerating high-resolution training. The heavy reliance on substantial computational resources limits the broader applicability of the proposed methods. 2. There is a lack of analysis regarding the inference efficiency of the model. While the paper validates that high-resolution training significantly enhances performance for text-based vision-language tasks, it does not adequately address the computational costs incurred by high-resolution inputs. This omission makes it challenging to assess whether the additional computational expenses are justified by the performance gains. 3. The introduction repetitively emphasizes adaptability to 4K resolution without providing clear problem statements or motivational examples. For instance, the discussion on "variability in patch layouts" (Line 52) lacks an intuitive explanation, and it would benefit from specific examples illustrating this variability. Besides, the paper highlights at Line 56 a critical aspect concerning the model's performance at resolutions beyond 4K with 'even when...'. It remains unclear whether this suggests that traditional methods trained at 4K resolution might fail to gain additional performance at lower resolutions. Clarifying this ambiguity is crucial for understanding the challenges the study addresses, reducing the need for readers to infer details solely from experimental results. 4. This work notably advances vision-language understanding by enhancing traditional OCR capabilities. However, it prompts inquiries about the model's proficiency with complex visual content. The examples presented do not conclusively demonstrate the model's ability to accurately interpret intricate visuals such as hand-written mathematical formulas, circuit diagrams, or chemical structures. These types of content demand detailed parsing for complex problem-solving, an aspect not fully illustrated by the simpler cases in the appendices. While these considerations may exceed the current study's scope, they do not impact the overall evaluation for acceptance.

Questions

1. The substantial computational resources required for training at 4K resolutions and the lack of detailed analysis on inference efficiency are main concerns. 2. The paper needs clearer problem statements and motivational examples. 3. The paper demonstrates enhancements in traditional OCR capabilities but leaves some uncertainty regarding the model's ability to process more complex visual content. If the authors can offer further insights or evidence, it would significantly strengthen the paper’s impact and might merit a higher evaluation.

Rating

5

Confidence

3

Soundness

4

Presentation

3

Contribution

3

Limitations

The paper addresses its limitations and potential negative societal impacts in the appendices. The explanation of limitations lacks depth. For more detailed concerns, please refer to the questions section.

Reviewer kpFC3/10 · confidence 5/52024-07-11

Summary

The paper presents InternLM-XComposer2-4KHD, a high-resolution MLLM that performs better than existing methods on various benchmarks.

Strengths

1. The paper is well written and easy to understand. 2. The performance of InternLM-XComposer2-4KHD is good, which is valided on various benchmarks.

Weaknesses

1. The paper has limited novelty. The high-resolution solution is not new. Starting from Monkey, there are a lot of works that adopt the similar idea, e.g., LLaVA-NeXT and InternVL-1.5. Compared to these methods, the technical contribution of the paper is trivial. 2. From the experimental results, I cannot tell whether the proposed high-resolution solution is better than other solutions. Since the setting of the paper are not comparable to others, it seems that the data plays a more significant role. Maybe more comparisons or ablations should be provided. 3. There still be a lot of MLLMs that have similar settings to IXC2-4KHD, e.g., InternVL-1.5. Why not compare with these models in Tab 3-4. 4. The implementation details are not clear. It's still confusing for me that how much data is used for training. In Tab 3, the previsous SoTA LLaVA-NeXT uses less than 2M data. So It's not clear whether the comparison is fair.

Questions

My main concern is the novelty and the experimental setting. The main idea has been widely explored in previous works.

Rating

3

Confidence

5

Soundness

3

Presentation

3

Contribution

2

Limitations

See weakness.

Reviewer kpFC2024-08-09

I appreciate authors' response, which partly addresses my concerns. However, I still think that the novelty and contribution of this paper are still below the acceptance bar of NeurIPS. Expect for the patch layout, all designs of the paper exist in recent methods. For example, The global-local format and the patch division is proposed in MonKey. The Newline Indicator has been adopted in many works like LLaVA-NeXT and LLaVA-UHD. By the way, one thing that might be unacceptable is that the authors did not even mention these methods in their methods, which might mislead other reviewers. Most importantly, the authors attribute the high-resolution advantages to their patch layout, which is not rigorous. IXC2-4KHD is able to handle such high-resolution input not because of its patch layout, but because the token merge strategy can reduce the number of tokens so that it can be trained with a maximum token window of 4096. This explain why Monkey and LLaVA-Next are restricted to 4-6 patches. Unfortunately, the token merge strategy is not firstly proposed in the paper, so I still doubt the novelty of the paper. Based on this concern, I think InternVL-1.5, which also applies the same token merge strategy, is a good comparable method to prove the patch layout design. I also understand that InternVL-1.5 may be a concurrent work to this paper. So, maybe the authors should strictly control the same token merge strategy to prove its patch layout design. Overall, I am still inclined to reject this paper.

Authorsrebuttal2024-08-09

Thanks for your comments. We are delighted that our rebuttal has solved part of your concerns. For the newly posted comments, we shall clarify them as follows: ### **1. The key contribution and novelty of IXC2-4KHD lie in successfully enabling LVLM to understand images across a vast range of resolutions (336~4K).** The mentioned related works are impressive that have been discussed in the related work section of our submission. It is important to note that they are explored on limited resolutions (i.e., Monkey at 1344x896, LLaVA-Next at 672x672, and LLaVA-UHD at 672x1088). Therefore, they are not able to answer the question of how to let LVLM tackle an extreme diversity of image size and aspect ratios. Moreover, IXC2-4KHD examines the impact of global image, 'newline' token,and other factors in diverse resolutions, revealing insights into their effectiveness in a unified framework for understanding dynamic high resolutions— insights not explored previously. In the final version, we will talk more about the detailed designs in Monkey, LLaVA-Next, and LLaVA-UHD and discuss our insights. ### **2. We would like to clarify two misunderstandings:** (1) First, regarding the training of IXC2-4KHD, it was not limited to a maximum token window of 4096. Instead, IXC2-4KHD was trained with up to 8737 image tokens, which is about twice the size of 4096 tokens, as illustrated in Figure 4 of the main paper. (2) Second, it is our proposed dynamic patch layout strategy, rather than the token merge strategy, that contributes to the high-resolution advantages. It is worth noting that Monkey also employed a token resampler, resulting in 256 tokens for each patch (up to 16 patches with a 4096 window). Therefore, it is not the maximum token window that limits Monkey from scaling up its resolution. In summary, it is not the token merge strategy that enables high-resolution understanding. ### **3. We are glad the reviewer agrees that InternVL-1.5 is a concurrent work with IXC2-4KHD and should not be used to dispute our work.** We notice that InternVL-1.5 employs a similar token merge strategy, where we concatenate the nearby 4 tokens in channels, and InternVL-1.5 adopts pixel shuffle. Generally, these two designs should not make noticeable performance differences.

Reviewer kpFC2024-08-09

Thanks for authors' further response. I don't think that there are any misunderstanding. 4096 is the maximum context window of vicuna used in LLaVA-NexT, which is the main bottleneck for its training with more visual tokens, e.g., 25 patches or more. This paper adopts InternLM2 with a longer context window, which of course supports larger resolution. Back to my concernes, the patch division is no obviously different to monkey and llava-next. I cannot agree that increasing the maximum number of patch from 4 patches to 55 patches will be a big contribution to the community. Expect for this, other contributions highlighted in the paper are all present in recent methods.

Authorsrebuttal2024-08-10

Thanks for your valuable feedback. We hope the following explanations may further answer your concerns: 1. Indeed, the context window of Vicuna is 4096 tokens. In the meantime, the LLaVA-NexT team has officially released their LLaVA-NexT-Mistral-7B model, which utilizes Mistral-based LVLMs and features a 32K context window. However, the challenge of high-resolution understanding remains unsolved in LLaVA-NexT-Mistral-7B, indicating that handling diverse resolutions up to 4K is still non-trivial.   2. We would like to highlight that IXC2-4KHD contributes new insights to the community, enabling LVLMs to handle diverse resolutions from 336 to 4K. These insights are crucial for bridging the significant performance gap between the research community and proprietary, closed-source models. For example, IXC2-4KHD delivers a 10.8% gain on ChartQA and a 17.9% improvement on InfoVQA. For the first time, we demonstrate that LVLMs with only 8B parameters can also compete with GPT-4V on various high-resolution understanding benchmarks.   On the technical aspect, we have acknowledged the previous works on patch division (Lines 43-44 in the paper) and would like to highlight our innovations in dynamic resolution with automatic patch configuration design, including our training and inference strategies. These innovations mitigate the critical obstacles posed by the scarcity of high-resolution training data and provide key insights into training and inference across extremely diverse resolutions, which have not been fully addressed in previous works yet. In summary, we sincerely appreciate your comments. However, we would like to clarify that the contribution of IXC2-4KHD encompasses much more than merely increasing the number of patches from 4 to 55. We are genuinely grateful for any further discussion or additional comments you may have.

Reviewer Lqsg8/10 · confidence 5/52024-07-14

Summary

This paper aims to explore the high resolution scenes of multimodal large language models. The authors find that the performances are largely improved when the model is equipped with 4K resolution. This finding will greatly inspire subsequent research works, which is of great value to the research community. The experimental results in the popular multimodal datasets, such as MME and MathVista, are impressive. The proposed dynamic resolution and automatic patch configuration will become a common approach, due to its simplicity and effectiveness.

Strengths

1. The motivation sounds good. High resolution is the inevitable development direction of multimodal large language models, and we urgently need to know what effects high resolution will bring to model training and performance. This paper stands on a high ground. 2. The method looks simple yet effective. Dynamic resolution and automatic patch configuration could not only maintain the aspect ratio of the image, but also indirectly enlarge the resolution of the image. 3. The experimental results on many datasets are impressive. The proposed method achieves SOTA results in 6 of the 16 benchmarks with only 8B parameters. 4. The writing of this paper is good, and the structure is easy to follow.

Weaknesses

1. Considering that high resolution is a very meaningful direction, it is suggested that the authors provide more details of the training to help other researchers, such as the loss figure of the training. Because training at high resolution is expensive, releasing more intermediate results from training will help researchers conduct further studies. 2. The current method seems to largely increase the number of visual tokens while increasing the resolution. One question is whether it is reasonable to use so such many visual tokens for ONE image. I would love to hear the authors' thoughts on this point. This is an open question. 3. It is suggested that the authors could enlarge the LLM parameters synchronously in subsequent studies if conditions permit, which will make the study more complete. It seems that image resolution and LLM parameters are the two most important aspects affecting model performance, in addition to the training data of course. 4. I am curious about the generalization performance of the proposed model on multimodal video evaluation dataset, such as Video-MME [1], which applies to both image MLLMs, i.e., generalizing to multiple images, and video MLLMs. The sub-figures in the split-patch strategy has some similarities with video frames. It would be great if the authors could update the results of the Video-MME into the paper. [1] Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysis. Arxiv, 2024.

Questions

None

Rating

8

Confidence

5

Soundness

4

Presentation

3

Contribution

4

Limitations

None

Reviewer Lqsg2024-08-09

I have carefully read the rebuttal. The rebuttal solved my questions and I think the study about adaptive resolution LVLM is novel and beneficial to the research community. The results of video benchmarks also show the potential of the proposed solution. I also read the review comments from other reviewers, I think from both study depth and scale, it provides novel insight and understanding about how to enable LVLM to understand images with high resolution, it is distinguished from existing works such as LLaVA-Next. In conclusion, I would keep my score as 8, strong accept. If the author could open-source data, code, and more experiment details about this work in the future, it would be helpful for the following study.

Authorsrebuttal2024-08-11

Thank you so much for appreciating the novelty and contribution of IXC2-4KHD to the community. We are also grateful for your recognition of IXC2-4KHD is distinguished from existing works. We appreciate your suggestions and will add more experimental details in our revision. Additionally, our data and code will be made public to benefit the community.

Authorsrebuttal2024-08-12

Dear Reviewer 339k, Thank you for the time and effort you have dedicated to reviewing our submission. Your appreciation for our work, along with the questions and suggestions you provided, has greatly helped us improve the quality of our work. We hope we have addressed the concerns raised in your initial reviews. As the author-reviewer discussion period for NeurIPS 2024 only has two days, please let us know if you require additional information or clarification. We are ready to engage in further discussions to enhance and elevate our work. Best regards and thanks, Paper 3325 Authors

Reviewer 339k2024-08-13

Thanks for the response, which has addressed most of my concerns. Since I am not an expert in this field, I carefully read other reviewers' comments and the literature mentioned by Reviewer kpFC. I noticed that the methods in this paper have many similarities to existing methods. Therefore, the paper should clarify these similarities in the method section. Considering that these designs are not original in this paper, I have to adjust my score accordingly.

Program Chairsdecision2024-09-25

Decision

Accept (poster)

© 2026 NYSGPT2525 LLC