Abstract
Real-world vision-language applications demand varying levels of perceptual granularity. However, most existing visual large language models (VLLMs), such as LLaVA, pre-assume a fixed resolution for downstream tasks, which leads to subpar performance. To address this problem, we first conduct a comprehensive and pioneering investigation into the resolution preferences of different vision-language tasks, revealing a correlation between resolution preferences with (1) image complexity, and (2) uncertainty variance of the VLLM at different image input resolutions. Building on this insight, we propose an empirical formula to determine the optimal resolution for a given vision-language task, accounting for these two factors as the zeroth-order and first-order terms in the Taylor expansion on a given image input. Second, based on rigorous experiments, we propose a novel parameter-efficient fine-tuning technique to extend the visual input resolution of pre-trained VLLMs to the identified optimal resolution. Extensive experiments on various vision-language tasks validate the effectiveness of our method.
Introduction
Standard Visual Large Language Models (VLLMs), such as LLaVA-1.5, typically process images at a fixed resolution (e.g., $336 \times 336$). This "one-size-fits-all" approach creates a significant performance bottleneck. Low resolutions often fail to capture critical fine-grained details necessary for document parsing (OCR) or autonomous driving. Conversely, excessively high resolutions can introduce visual "noise" for simple classification tasks and lead to prohibitive computational costs. While some state-of-the-art models support dynamic resolutions, they generally require massive pre-training from scratch. This research investigates whether we can accurately predict the optimal resolution for a specific task and adapt existing models to it efficiently without full retraining.
Methodology
We propose a two-stage framework consisting of Task-wise Optimal Resolution Selection and Efficient Resolution Adaptation.
1. Task-wise Optimal Resolution Selection
To avoid the computational expense of exhaustive testing, we utilize two training-free heuristics to calculate a task's resolution preference:
- Image Complexity ($C$): Measured using the Minimum Description Length (MDL) principle to quantify the visual density of images within a task.
- Uncertainty Variance ($V$): Quantifies how model prediction confidence (entropy) fluctuates across different resolutions. High variance indicates a task is highly sensitive to visual scale.
These metrics are integrated into an empirical formula: $$Reso(T) = Reso_0 \cdot (1 + k \cdot C(T) \cdot V(T))$$ where $k$ is a hyperparameter tuned on a small subset of reference tasks.
2. Efficient Resolution Adaptation
After identifying the optimal resolution, we employ a Parameter-Efficient Fine-Tuning (PEFT) strategy. Rather than updating the entire model, we focus on three components:
- ViT Positional Embeddings: Interpolated to accommodate the increased number of image patches.
- Modality Projector: The interface between visual and linguistic representations.
- LoRA Adapters: Integrated into the LLM backbone to facilitate task-specific adaptation.
Experimental Results and Analysis
We evaluated our framework across eight diverse benchmarks, including general VQA (VQAv2, GQA, OKVQA), text-centric tasks (TextVQA), and accessibility datasets (VizWiz).
Key Findings
- Non-Linear Resolution Scaling: As shown in the performance curves, accuracy does not always scale linearly with resolution. Many tasks peak at intermediate resolutions (e.g., $448^2$ or $560^2$) and decline at $672^2$ as the model struggles to integrate an excessive number of visual tokens.
- Uncertainty as a Proxy: Model uncertainty serves as a reliable indicator for resolution requirements. Tasks that show high confusion at low resolutions but high certainty at high resolutions are prime candidates for resolution optimization.
- Superior Efficiency: Our "Adaptive" LLaVA-1.5 (7B) outperformed fixed-resolution baselines, achieving 80.19% on VQAv2 and 63.87% on GQA. Notably, the adaptive 7B model often matched or exceeded the performance of 13B models and specialized high-resolution architectures like Qwen-VL, despite using significantly fewer parameters.
Conclusion and Future Work
This study demonstrates that task-aware resolution selection combined with PEFT provides a robust and efficient path for optimizing VLLMs. While our current approach operates at the task level, future research will explore sample-level dynamic resolution to account for varying complexity within individual datasets. Additionally, scaling these heuristics to larger "frontier" models (70B+) and exploring continuous resolution optimization remain promising avenues for further improvement.
Summary updated