Manuscript Offprint

arXiv:2608.22996

ENCORE: Entropy-Guided Cropping and Attention Regularization for Robust Vision--Language Understanding

Yuanhao Sun, Huawei Ji, Jiaxin Ding, Luoyi Fu, Xinbing Wang

ABSTRACT

Vision-Language Models (VLMs) perform well on diverse vision-language tasks, but transformer-based visual encoders split images into fixed-resolution sub-images, compromising object integrity in lightweight VLMs. Existing methods only focus on the visual modality and fail to dynamically preserve the integrity of prompt-relevant regions, limiting performance. In this work, we observe that the early-layer image-text entropy of cross-modal attention strongly correlates with answer grounding quality and task accuracy. Building on this finding, we propose ENCORE, an entropy-guided framework with two components: At inference, an Entropy-based Cropping Strategy (ECS) evaluates a small set of candidate crops and selects the one with minimal entropy, preserving contiguous regions relevant to the prompt. At training, Entropy Regularization Training (ERT) augments next-token prediction with an entropy term that sharpens attention on key visual tokens while down-weighting irrelevant ones. Experiments on ten VQA benchmarks show that ENCORE, fine-tuning only 0.14% of parameters, achieves an average 1.43% accuracy gain and state-of-the-art performance among recent 2B-parameter VLMs. Our code is released in https://github.com/baokou-fw2/ENCORE.

Index Terms— Lightweight large vision-language model, Fine-grained perception

1. INTRODUCTION

Recently, Vision-Language Models (VLMs) [19, 23, 7] have achieved remarkable performance across diverse vision-language tasks, demonstrating strong general reasoning ability. For fine-grained perception, visual encoders such as ViT [5] and SAM [9] typically partition images into numerous high-resolution patches. However, this strategy often compromises the integrity of prompt-relevant regions—for instance, the word ‘Breakdown’ may be split into ‘Break’ and ‘down’, leading to semantic fragmentation [12, 8] and impairing holistic visual understanding.

Existing solutions fall into two categories: architecture optimization and image preprocessing. TextMonkey [12] employs sliding-window attention to maintain image continuity but still suffers from patch-based fragmentation [8]. Preprocessing approaches [4, 21, 8] leverage dynamic cropping, resizing, thumbnails, or multi-scale inputs, yet they remain limited to the visual modality and fail to ensure integrity of prompt-relevant regions, leaving efficient high-resolution inputs unresolved. To address this challenge, we examine how VLMs leverage textual prompts to interpret fragmented images. Since early layers are known to align visual and textual semantics effectively [24, 25], we compute cross-modal attention by applying a temperature-scaled softmax over CLIP similarities [15]. Our analysis (Fig. 1) reveals a clear trend: lower cross-modal entropy in early layers consistently corresponds to more complete answer-grounding coverage and higher VQA accuracy, highlighting entropy as a reliable indicator of semantic integrity.

Based on these findings, we propose ENCORE, an entropy-guided optimization framework for lightweight VLMs with two stages: ECS computes image-text entropy from early VLM layers over predefined aspect ratios, cropping by the smallest entropy to preserve contiguous prompt-relevant semantics; ERT uses this entropy as a self-supervised signal to help the model identify key prompt-relevant visual tokens during fine-tuning. ENCORE achieves SOTA among recent 2B-parameter VLMs. Our key contributions are as follows:

• We introduce the image-text entropy—computed from early-layer cross-modal attention distributions—as a principled metric to quantify the degree of semantic fragmentation in prompt-relevant regions, and demonstrate its strong correlation with VLM performance.

• We propose ENCORE, combining ECS for entropy-guided cropping to preserve prompt-relevant regions and ERT for entropy-regularized training to improve key visual token extraction.

• With only 0.14% of model parameters trainable via LoRA fine-tuning, ENCORE achieves state-of-the-art performance across ten VQA benchmarks and exhibits strong generalization on recent 2B-parameter VLMs.

*Corresponding author. This work was supported by NSF China under Grant No. 62525209, 92579104, T2421002, T2542021.

Q: What is the brand name of beer advertised?

Figure

(a) Prompt-Relevant Visual Token Distribution

Visual token

Average Coverage Ratio (%)

(b) Correlation Between HSH_{S} and Semantic Fragmentation

Coverage Ratio

Answer Grounding Boundary

Q: What kind of dog is this?

(c) Correlation Between HSH_{S} and Model Performance

Fig. 1. Insights into image–text entropy. (a) Visualization of prompt-relevant visual-token probability distributions from VLM’s second layer; (b) Images cropped by ratio with the n-th smallest HSH_S and the maximum IoU(intersection over union) between patches and answer-grounding boundary (baseline: original aspect ratio) on VizWiz [1]. Results show that lower HSH_S indicates higher coverage ratio, corresponding to more accurate visual understanding; (c) Average HSH_S distributions over first four layers for correctly answered samples on TextVQA [16], HallB [6], SEED-2 [10], RWQA [20] are lower than that of incorrectly answered samples, with a significantly statistic difference in T-test ( t=−11t = -11, p=3.33×10−28<0.05p = 3.33 \times 10^{-28} < 0.05).

References (25)