betaFeedback

WorksComputer Science

Beyond Image-Text Pairs: Aligning Semantic Changes for Fine-Grained Visual Understanding

Abstract

Image-text alignment serves as a foundation for modern vision-language models (VLMs), yet prevailing training paradigms provide limited supervision for learning how semantic changes correspond across modalities. To address this limitation, we propose a post-training method that learns cross-modal semantic change correspondences through controlled visual and textual variations. Specifically, we introduce a Semantic Difference Alignment (SDA) loss which can align the directions of corresponding visual and textual representation changes. We combine our proposed SDA with pairwise sigmoid matching to jointly learn image-text correspondences and cross-modal semantic changes, encouraging more fine-grained and discriminative visual representations. To support this learning, we construct VarFamily-40K, a dataset of image-text pairs with controlled cross-modal semantic variations. Experiments demonstrate consistent improvements in compositional understanding and downstream classification performance, alongside further gains on multimodal tasks when the adapted visual encoder is integrated into VLMs.

Introduction

With the development of VLMs [2, 10, 28, 48, 58], learning semantic correspondences between images and natural language is a central objective of VLM pretraining [16, 41, 60]. Existing approaches, such as CLIP [41] and SigLIP [60], learn these correspondences by matching images with their associated textual descriptions. However, an image naturally contains multiple objects, attributes, actions, and relationships, while a single description typically captures only a subset of them, which limits the performance of current VLMs [46, 49, 50]. A natural approach to enriching image–text supervision is therefore to associate each image with multiple captions, allowing complementary descriptions to capture a broader range of visual semantics [20]. For example, as shown in Figure 1(a), the captions “A dog sitting on the grass” and “A red ball beside a dog” describe the dog’s posture and setting, and the ball’s color and spatial relationship to the dog, respectively.

From richer descriptions to aligned semantic changes

Figure 1. From richer descriptions to aligned semantic changes. (a) Multiple captions describe complementary aspects of a fixed image. (b) Our approach constructs image-text variants with corresponding semantic changes while preserving content outside the targeted edit. These variants provide supervision for SDA loss, which aligns visual and textual changes.

Existing work has explored sampling sub-captions from detailed descriptions [62], combining synthetic captions with original web text [21], and distributing supervision across sentences in long captions [22]. These approaches enrich textual supervision by describing complementary aspects of a fixed image, while leaving the corresponding visual content unchanged. Although image–text matching can learn to distinguish fine-grained semantics, its supervision does not directly constrain how a change in visual representation relates to the corresponding change in textual representation. This distinction is particularly relevant to fine-grained visual understanding, where subtle variations in attributes, actions, or relationships can alter the semantic correspondence between otherwise similar images and texts [43]. We therefore seek to explicitly model corresponding semantic changes across the visual and textual modalities.

Our approach builds on the intuition that corresponding semantic changes in images and texts can be represented by differences between their original and edited embeddings. Since both changes express the same semantic transition, their embedding differences can be explicitly aligned in a shared space. To this end, we introduce Semantic Difference Alignment (SDA) loss, which makes the correspondence between visual and textual changes an explicit training target. As illustrated in Figure 1(b), a change from a red ball to a blue ball should induce a visual embedding difference aligned with the corresponding textual difference. A directional alignment loss encourages corresponding visual and textual embedding differences to follow similar directions, while a margin-based discrimination loss encourages each visual change to align more closely with its paired textual change than with textual changes from other image–text variant groups. We combine SDA loss with pairwise sigmoid matching to supervise both individual image–text correspondences and corresponding semantic changes.

Training with SDA loss requires image–text pairs with corresponding and controlled semantic changes. However, existing multi-caption datasets associate different descriptions with a fixed image and therefore do not directly provide this supervision. To address this limitation, we construct VarFamily-40K, a dataset of image–text variant families linking original pairs to semantically edited counterparts. Each family is created through a targeted caption modification and a corresponding image edit, followed by semantic consistency filtering. Preserving scene content outside the targeted edit helps isolate the visual change specified by the text. For example, the ball-color edit in Figure 1(b) should preserve the dog’s posture and the surrounding scene. Together, SDA loss and VarFamily-40K

enable post-training that encourages visual representations to distinguish fine-grained semantic differences. Our main contributions are summarized as follows:

  • We propose SDA loss to explicitly align semantic changes across visual and textual representations, enabling more fine-grained cross-modal supervision.

  • We construct VarFamily-40K, a dataset of controlled image–text variant families that provides semantic changes for SDA-based post-training.

  • Extensive experiments demonstrate that, combined with VarFamily-40K, our SDA loss improves both the downstream classification performance and general visual understanding in VLMs across ten multimodal benchmarks.

Related Work

Image–Text Pretraining Objectives. Existing image–text pretraining objectives primarily learn cross-modal alignment by distinguishing matched image–text pairs from mismatched ones. CLIP [41] and ALIGN [16] employ contrastive objectives that normalize matching scores across candidate images or texts within a batch, coupling the optimization of different pairs. SigLIP [60] instead adopts a pairwise sigmoid loss that evaluates each image–text pair without global softmax normalization, achieving better performance at smaller batch sizes than softmax-based contrastive learning. Both objectives assign a score to each image–text pair. When a caption changes from a red ball to a blue ball, the scores indicate which image matches each caption. The training objective leaves open how the displacement between the two image embeddings relates to the displacement between the caption embeddings. Our post-training method retains pairwise sigmoid matching as the base objective and introduces SDA loss to additionally supervise corresponding semantic changes across modalities.

Fine-Grained Vision–Language Alignment. Recent advances in fine-grained vision–language alignment have focused on enriching textual supervision and learning more precise correspondences between visual content and language. LaCLIP [11] uses large language model (LLM)-generated caption rewrites to increase linguistic diversity, while Long-CLIP [61] extends CLIP to accommodate longer descriptions containing richer visual details. LLIP [23] learns multiple visual features and combines them based on the accompanying text, allowing different captions to emphasize different aspects of the same image. Other approaches refine alignment at the region or patch level. RegionCLIP [63] aligns image regions with textual concepts, while FILIP [57] and SPARC [3] learn correspondences between image patches and text tokens. Dream-LIP [62] connects sampled subcaptions with relevant image patches, and FG-CLIP 2 [54] combines detailed captions, region-level alignment, and discriminative supervision. Together, these methods enrich semantic coverage and refine cross-modal correspondences. Their supervision focuses on associating language with existing visual content, without explicitly aligning the representation differences induced by corresponding semantic changes in images and texts.

Learning from Semantic Changes. Semantic changes have been explored in vision-language research to improve compositional understanding and support image editing. For example, NegCLIP [59] introduces composition-aware hard negatives through textual perturbations, while TripletCLIP [39] further incorporates synthetic visual negatives to improve compositional discrimination. Some other methods, like Instruct-CLIP [9], learn to align representations of changes between original and edited images with instructions, supporting instruction refinement and instruction-guided image editing. Our method instead aligns the embedding differences between original and edited images with those between their corresponding captions, using these paired differences for training.

Method

Our method aims to improve visual representations by learning how semantic changes correspond across images and texts. Rather than relying solely on individual image–text correspondences, we introduce SDA loss to align corresponding visual and textual changes while distinguishing them from changes in other groups. To support this, we construct VarFamily-40K, which provides controlled semantic variations through original and edited image–text pairs. Figure 2 provides an overview of the proposed approach.

Overview of dataset construction and proposed post-training method

Figure 2. Overview of our dataset construction and proposed post-training method. We construct VarFamily-40K with controlled semantic changes across image–text pairs and jointly optimize SDA loss and pairwise sigmoid matching to improve visual representations.

Semantic Difference Alignment Loss

We consider an image–text group Gi={(xi0,ci0),(xi1,ci1)}G_i = \{(x_i^0, c_i^0), (x_i^1, c_i^1)\}, where xiax_i^a and ciac_i^a denote the image and its corresponding caption, respectively, with a=0a = 0 indicating the original pair and a=1a = 1 its semantically edited counterpart. The two pairs share scene context and differ in a targeted semantic concept. A training batch consists of BB such groups, containing 2B2B images and 2B2B captions in total.

For each image–text group, we extract visual and textual representations using an image encoder fθf_\theta and a text encoder gϕg_\phi, respectively, obtaining ℓ2\ell_2-normalized embeddings via=fθ(xia)v_i^a = f_\theta(x_i^a) and tia=gϕ(cia)t_i^a = g_\phi(c_i^a). To characterize the targeted semantic modification, we define the visual and textual difference vectors between the original and edited representations as

Δvi=vi1−vi0,Δti=ti1−ti0.(1)\Delta v_i = v_i^1 - v_i^0,\qquad\Delta t_i = t_i^1 - t_i^0. \tag*{(1)}

Each difference vector describes a shift from the original to the edited representation, with its direction indicating how the representation changes in the embedding space. Since the visual and textual changes correspond to the same semantic modification, we encourage their directions to be consistent across modalities. To measure this consistency, we compute the cosine similarity between visual and textual difference vectors:

Dij=ΔviTΔtj∥Δvi∥2∥Δtj∥2.(2)D_{ij} = \frac{\Delta v_i^{\mathsf{T}}\Delta t_j}{\lVert\Delta v_i\rVert_2\lVert\Delta t_j\rVert_2}. \tag*{(2)}

Here, DiiD_{ii} measures the directional similarity between corresponding visual and textual changes, whereas DijD_{ij} (i≠ji \ne j) measures the similarity between changes from different groups. We define the directional alignment loss Ldir\mathcal{L}_{\mathrm{dir}} across the BB groups as

Ldir=1B∑i=1B(1−Dii).(3)\mathcal{L}_{\mathrm{dir}} = \frac{1}{B}\sum_{i=1}^{B}(1-D_{ii}). \tag*{(3)}

Although directional alignment encourages corresponding visual and textual differences to follow similar directions, it does not explicitly account for their similarity to differences from other groups. Consequently, a visual difference vector may also exhibit high similarity to non-corresponding textual differences, making it difficult to distinguish the intended semantic change. To address this issue, we encourage the similarity of corresponding differences to exceed that of non-corresponding differences by a specified margin using the following loss Lmargin\mathcal{L}_{\mathrm{margin}}:

Lmargin=1B(B−1)∑i=1B∑j≠iBmax⁡(0,m−Dii+Dij).(4)\mathcal{L}_{\mathrm{margin}} = \frac{1}{B(B-1)}\sum_{i=1}^{B}\sum_{j\ne i}^{B}\max(0,m-D_{ii}+D_{ij}). \tag*{(4)}

where m>0m > 0 is a margin that specifies the minimum desired difference between the similarities of corresponding and non-corresponding changes.

We define the SDA loss as a weighted sum of the two terms:

LSDA=λdirLdir+λmarginLmargin,(5)\mathcal{L}_{\mathrm{SDA}} = \lambda_{\mathrm{dir}}\mathcal{L}_{\mathrm{dir}} + \lambda_{\mathrm{margin}}\mathcal{L}_{\mathrm{margin}}, \tag*{(5)}

where λdir\lambda_{\mathrm{dir}} and λmargin\lambda_{\mathrm{margin}} are weighting coefficients.

VarFamily-40K: Dataset Construction

To provide the corresponding visual and textual changes required by SDA loss, leveraging the progress made by visual content generation methods [24, 47, 51], we construct VarFamily-40K from COCO 2017 [25], following the pipeline in Figure 2(a), which consists of targeted caption rewriting, image editing, and semantic consistency filtering. Each image–text variant group follows the structure defined in § 2.0.1, containing an original image–text pair and its edited counterpart. Figure 3 shows example groups from VarFamily-40K.

Figure 3. Examples from VarFamily-40K: original (left) and edited (right) images with corresponding captions.

(i) Caption rewriting. We use Qwen3.5-9B [40] to generate ci1c_i^1 by replacing one short, contiguous span in ci0c_i^0, preserving all text outside that span. The modifications cover objects, attributes, actions, quantities, and backgrounds.

Each replacement specifies a visually observable semantic change. We validate the rewritten caption against the selected span and apply edit-type and contextual checks. The original and replacement spans are then used to construct an editing prompt that specifies the target change and asks the model to preserve unrelated scene content.

(ii) Corresponding image editing. Based on the obtained editing prompts, we use FLUX.2 Klein 9B [4] to generate the edited image xi1x_i^1 conditioned on the original image xi0x_i^0. We then apply a pixel-difference prefilter to discard generated images with negligible visual changes.

(iii) Semantic consistency filtering. Finally, to ensure the quality of our VarFamily-40K, we provide Qwen3-VL-8B-Instruct [1] with both images and captions and ask it to evaluate each of the four image–text combinations independently. A pair is considered matching when the image clearly supports the full caption, with particular attention to the modified semantic content. We retain groups in which the original and edited images match their respective captions, while neither image matches the other caption. This filtering yields VarFamily-40K, a collection of image–text variant families for post-training. Further details on dataset construction, filtering procedures, and statistics are provided in Appendix § 3.

Post-training with SDA Loss

We adopt a post-training strategy to enhance the fine-grained visual representations of pretrained SigLIP using VarFamily-40K. Specifically, we apply low-rank adaptation (LoRA) [14] to both the visual and textual encoders, keeping the pretrained backbone parameters frozen while updating the LoRA parameters.

While SDA loss aligns semantic changes across visual and textual representations, it does not directly supervise individual image–text correspondences. We therefore retain the original pairwise sigmoid matching objective [60] and jointly optimize it with SDA loss to preserve image–text alignment during post-training.

A batch of BB groups contains N=2BN = 2B image–text pairs, with corresponding visual and textual embeddings denoted by vkv_k and tkt_k, respectively, for k=1,…,Nk = 1, \ldots, N. The matching image–text pairs serve as positive samples, while all non-corresponding pairs within the mini-batch are treated as negatives. The matching logit between the kk-th image and the ll-th caption is computed as

skl=αvkTtl+β,(6)s_{kl} = \alpha\mathbf{v}_k^{\mathsf{T}}\mathbf{t}_l + \beta, \tag*{(6)}

where l=1,…,Nl = 1, \ldots, N, and α>0\alpha> 0 and β\beta are learnable scale and bias parameters, respectively. We assign a positive label to corresponding image–text pairs and a negative label to non-corresponding pairs, i.e., ykl=+1y_{kl} = +1 if k=lk = l and ykl=−1y_{kl} = -1 otherwise. The pairwise sigmoid matching loss is then formulated as

Lpair=−1N2∑k,l=1Nlog⁡σ(yklskl),(7)\mathcal{L}_{\mathrm{pair}} = -\frac{1}{N^2} \sum_{k,l=1}^{N} \log\sigma(y_{kl}s_{kl}), \tag*{(7)}

where σ\sigma denotes the sigmoid function.

The overall post-training objective is defined as

L=Lpair+LSDA.(8)\mathcal{L} = \mathcal{L}_{\mathrm{pair}} + \mathcal{L}_{\mathrm{SDA}}. \tag*{(8)}

As illustrated in Figure 2(d), the two objectives provide complementary supervision by preserving individual image–text correspondences through pairwise matching and aligning cross-modal semantic changes through SDA loss.

Experiments
Implementation Details

Post-training configuration. We split VarFamily-40K into 27,999 for training, 6,000 for validation, and 6,001 for testing. We post-train SigLIP-So400M/14 [60] on the training split using LoRA [14] with a rank of 8 and a scaling factor of 16. The SDA loss parameters are set to λdir=1\lambda_{\mathrm{dir}} = 1, λmargin=0.5\lambda_{\mathrm{margin}} = 0.5, and m=0.2m = 0.2. The model is trained for five epochs via AdamW [31], with a learning rate of 9.375×10−79.375 \times10^{-7}, a batch size of 24 image–text groups, and an input resolution of 384×384384 \times384. To further assess the applicability of our method, SigLIP-ViT-B/16 is also post-trained with an input resolution of 224×224224 \times224, a learning rate of 10−510^{-5}, and a batch size of 256 image–text groups.

VLM training. We adopt a two-stage pipeline comprising connector pretraining and instruction fine-tuning, using Qwen2.5-0.5B [55], OpenELM-450M-Instruct [35], and Qwen3-1.7B [56] as language backbones. The visual encoder is frozen throughout both stages. For a fair comparison, we use the same 1.8M examples from LLaVA [27] and ShareGPT4V [7] for connector pretraining, followed by 688K examples for instruction fine-tuning. Each stage runs for one epoch, with learning rates of 10−310^{-3} and 2×10−52 \times10^{-5} and global batch sizes of 256 and 128, respectively. All comparisons on the VLM share the same training recipe. Additional training details are provided in Appendix § 4.

Evaluation Protocols

We evaluate our method on compositional understanding, image classification, and multimodal performance to assess fine-grained semantic discrimination and the downstream benefits of our post-training method. Details of the evaluation settings are provided in Appendix § 4.

Compositional understanding. We first assess image–text matching on the test split of VarFamily-40K groups and Winoground [43], examining the model’s ability to distinguish subtle semantic differences and generalize beyond our constructed data. Following Winoground [43], we report text, image, and group scores, which measure the correctness of image-to-text matching, text-to-image matching, and both jointly, respectively. Since these ranking-based metrics do not capture the magnitude of similarity differences, we additionally introduce the mean pair margin (MPM), which quantifies the average similarity advantage of correct image–text matches over mismatched alternatives across the entire evaluation set:

MPM=1N∑i=1N[s(xi0,ci0)−s(xi0,ci1)+s(xi1,ci1)−s(xi1,ci0)],(9)\mathrm{MPM} = \frac{1}{N} \sum_{i=1}^{N} \left[s(x_i^{0}, c_i^{0}) - s(x_i^{0}, c_i^{1}) + s(x_i^{1}, c_i^{1}) - s(x_i^{1}, c_i^{0})\right], \tag*{(9)}

where NN is the number of evaluation groups and s(x,c)s(x,c) denotes cosine similarity between normalized image and text embeddings in the learned shared representation space.

Image classification. We also evaluate image classification to determine whether the benefits of post-training extend to downstream recognition tasks rather than remaining limited to image–text matching. We consider three protocols with different levels of task-specific adaptation. Zero-shot classification evaluates the transfer of the adapted image–text model without task-specific training, while linear probing more directly assesses whether the adapted visual encoder provides useful features for downstream classification when kept frozen. Full fine-tuning further examines whether the benefits of post-training persist after task-specific adaptation of the visual encoder. Zero-shot evaluation covers ImageNet-R [13], CIFAR-100 [19], Oxford-IIIT Pets [38], Food-101 [6], and Flowers-102 [36]; linear probing and full fine-tuning use the latter four datasets. We report Top-1 accuracy averaged over three random seeds for the two supervised protocols.

Multimodal performance. To assess whether the benefits of post-training extend to broader multimodal understanding, we integrate the adapted visual encoder into VLMs and keep it frozen during training. We evaluate the resulting VLMs on ten benchmarks grouped into five categories. GQA [15] and RealWorldQA [53] cover visual question answering, with an emphasis on compositional reasoning and real-world spatial understanding, respectively. ScienceQA [32] and AI2D [18] test science and diagram reasoning, respectively. MMStar [8] and MME [12] both assess visual perception and multimodal reasoning. InfoVQA [34], ChartQA [33], and OCRBench [29] evaluate understanding of infographics, charts, and text-rich images, respectively. TextCaps [42] evaluates image captioning.

Results

Compositional understanding. Table Table 1 compares the compositional matching performance of the original pretrained SigLIP (Base) and the same model after post-training with the SDA loss (Ours) on VarFamily-40K and Winoground. On the VarFamily-40K test split, our post-training method improves the group score from 44.74% to 63.06% for SigLIP-So400M/14 and from 49.13% to 63.84% for SigLIP-ViT-B/16. Since each group contains images and captions differing in a targeted semantic concept, these gains indicate that the adapted models more effectively distinguish correct correspondences from semantically similar mismatches introduced by the controlled edits.

DatasetEncoderModelText (%) ↑Image (%) ↑Group (%) ↑MPM ↑
VarFamily-40KSo400M/14Base62.4456.2944.740.048253
VarFamily-40KSo400M/14Ours75.6772.7563.060.077483
VarFamily-40KB/16Base65.1461.4649.130.053687
VarFamily-40KB/16Ours74.4575.2763.840.072680
WinogroundSo400M/14Base22.505.003.750.006855
WinogroundSo400M/14Ours29.008.757.250.010530
WinogroundB/16Base25.008.255.250.006980
WinogroundB/16Ours28.506.005.000.008026

Table 1. Compositional understanding on the test split of VarFamily-40K groups and Winoground.

On Winoground, SigLIP-So400M/14 achieves improvements across all three matching scores, with the group score increasing from 3.75% to 7.25%. These results suggest that the learned semantic-change representations can generalize beyond the controlled variations in VarFamily-40K. Although SigLIP-ViT-B/16 improves only in text score on Winoground, its higher MPM suggests improved average separation between correct and mismatched pairs despite limited gains in ranking-based metrics. Additional comparisons with existing fine-grained vision-language alignment methods are provided in Appendix C for broader empirical context.

To further examine the improvements in fine-grained semantic understanding, we present qualitative comparisons on Winoground and VarFamily-40K. As shown in Figure 4, the example contains two images with similar visual concepts but different color–object relationships. Our adapted encoder corrects the baseline’s matching errors while increasing the image–text similarity for correct pairs. Moreover, this example highlights the value of MPM in capturing improvements in matching quality that remain overlooked by ranking-based metrics when the correct rankings are unchanged despite clear increases in similarity margins.

Case study of image–text matching on Winoground

Figure 4. Case study of image–text matching on Winoground. The similarity matrices compare Base and Ours on an example involving different color–object relationships.

Beyond the matching case study, we visualize gradient-weighted activation maps on VarFamily-40K in Figure 5 to examine how the visual encoder responds to semantic changes. When the scene changes from a bowl of cereal to a bowl of fruit, our adapted encoder shows more concentrated activations in the regions corresponding to the semantic change, whereas the baseline exhibits more dispersed responses. This indicates that the adapted encoder more effectively identifies visual regions associated with the corresponding textual changes.

Figure 5. Visualization of gradient-weighted activation maps from the original and post-trained visual encoders, showing their spatial responses to a semantic change in the test split of VarFamily-40K.

These results suggest that learning corresponding visual and textual changes enhances fine-grained semantic understanding, with benefits beyond the constructed training distribution. More examples are provided in Appendix D.

Image classification. As shown in Figure 6, both SigLIP backbones achieve consistent improvements across all evaluated datasets under zero-shot classification and linear probing. For SigLIP-So400M/14, zero-shot accuracy on ImageNet-R increases from 46.64% to 58.73%, while linear-probe accuracy on Oxford Pets increases from 62.16% to 87.47%. Notably, the improvements under linear probing, where the visual encoder remains frozen, show that post-training enhances the transferability of visual representations rather than merely improving image–text matching.

Image classification performance of SigLIP-So400M/14 and SigLIP-ViT-B/16 before and after post-training

Figure 6. Image classification performance of SigLIP-So400M/14 and SigLIP-ViT-B/16 before and after post-training with the SDA loss, evaluated under zero-shot classification, linear probing, and full fine-tuning.

Under full fine-tuning, the original and adapted encoders achieve similar performance, suggesting that task-specific supervision can narrow the differences between their initial representations. Overall, these results indicate that the benefits of learning corresponding semantic changes extend beyond cross-modal matching to the transferability of visual representations, particularly when the visual encoder is reused without full task-specific adaptation.

Multimodal performance. Table 2 presents the multimodal understanding performance of VLMs equipped with the original SigLIP-So400M/14 visual encoder and our adapted encoder across three language backbones. Replacing the original visual encoder with the post-trained encoder improves multimodal performance, particularly with Qwen2.5-0.5B [55] and Qwen3-1.7B [56], where gains are observed on nine of the ten benchmarks. These improvements span visual question answering, reasoning, document and chart understanding, and text-rich visual understanding.

SettingVLM SizeMethodGQA acc↑MME score↑ScienceQA acc↑InfoVQA ANLS↑ChartQA rAcc↑TextCaps CIDEr↑RealWorldQA acc↑AI2D acc↑MMStar acc↑OCRBench score↑
Qwen2.5-0.5B924MSo400M58.531456.0859.0212.3015.560.8549.9348.2236.33300.00
Qwen2.5-0.5B924MOurs58.701467.3860.1312.7916.680.9150.2049.0933.73306.00
OpenELM-450M890MSo400M51.961184.8747.4911.8114.440.7741.4433.1028.53297.00
OpenELM-450M890MOurs52.361204.4545.8612.3014.040.7739.3533.6129.33295.00
Qwen3-1.7B2155MSo400M61.951685.4870.4617.2518.960.6755.6960.5937.87353.00
Qwen3-1.7B2155MOurs62.111685.7071.6617.9219.560.8456.9959.2038.60365.00

Table 2. Multimodal performance with the original and adapted SigLIP-So400M/14 visual encoders across three language backbones.

The visual encoder remains frozen throughout both stages of VLM training. The observed gains therefore provide evidence that our proposed SDA loss improves the downstream utility of visual representations, rather than merely enhancing image–text matching. Together, these results demonstrate the potential of semantic-change supervision to benefit multimodal understanding across different VLM configurations.

Ablation Studies

We conduct ablation studies to examine the contributions of the visual and textual encoders, the effectiveness of individual loss components, and the influence of training data scale and edit allocation. Additional experimental analyses are provided in Appendix C.

Visual and textual encoder contributions. We investigate the respective contributions of the visual and textual encoders from SigLIP-So400M/14 by evaluating different combinations of their original pretrained and post-trained versions. As shown in Table 3, using only the post-trained visual encoder improves the group score from 44.74% to 62.87% on the test split of VarFamily-40K and from 3.75% to 8.75% on Winoground, whereas using only the post-trained text encoder yields limited or no improvement. Moreover, using the post-trained visual encoder alone achieves comparable performance to using both post-trained encoders on VarFamily-40K and higher performance on Winoground. These results suggest that the improvements are primarily attributable to changes in the visual encoder, highlighting the effectiveness of SDA loss in improving fine-grained visual representations.

EncoderVarFamily-40KWinoground
VisualTextGroup (%) ↑MPM ↑Group (%) ↑MPM ↑
BaseBase44.740.0482533.750.006855
OursBase62.870.0708768.750.011120
BaseOurs46.730.0529663.500.006760
OursOurs63.060.0774837.250.010530

Table 3. Contributions of the visual and textual encoders to compositional understanding. Base and Ours denote the pretrained and adapted encoders, respectively.

Loss components. Our post-training objective combines LpairL_{\mathrm{pair}} with LSDAL_{\mathrm{SDA}}, which consists of LdirL_{\mathrm{dir}} and LmarginL_{\mathrm{margin}}. To investigate their individual contributions, we evaluate different combinations of these loss components on five zero-shot image classification datasets. As shown in Table 4, LpairL_{\mathrm{pair}} alone yields inconsistent improvements, whereas LSDAL_{\mathrm{SDA}} alone substantially improves accuracy across all five datasets, suggesting that explicitly supervising corresponding semantic changes provides a learning signal beyond conventional image–text matching. Combining LpairL_{\mathrm{pair}} and LSDAL_{\mathrm{SDA}} yields further improvements across all five datasets, supporting their complementary roles in learning individual image–text correspondences and cross-modal semantic changes. Removing either LdirL_{\mathrm{dir}} or LmarginL_{\mathrm{margin}} reduces overall performance, indicating that both components contribute to the effectiveness of LSDAL_{\mathrm{SDA}}.

LpairL_{\mathrm{pair}}LdirL_{\mathrm{dir}}LmarginL_{\mathrm{margin}}ImageNet-RCIFAR-100PetsFood-101Flowers-102
–––46.6436.2175.5861.8766.29
✓46.9641.6364.6558.7849.18
✓✓57.5148.8386.7576.2274.68
✓✓57.3749.6185.8076.1972.37
✓✓58.7350.3186.6277.1475.05
✓✓✓58.7350.3386.8977.3975.41

Table 4. Ablation study of loss components. The first row corresponds to the pretrained SigLIP-So400M/14 encoder.

Training data scale. Figure 7 examines how the amount of training data affects our post-training method. As the number of VarFamily-40K groups increases, zero-shot classification accuracy consistently improves across all five datasets, with the full training split achieving the strongest performance. The consistent gains across all five datasets suggest that our method learns transferable visual representations from limited semantic-change supervision, with further benefits from additional training data.

Figure 7. Effect of post-training data scale.

Edit allocation. Table 5 investigates how the allocation of semantic edits across source images affects our post-training method under a fixed budget of 10k generated samples. We compare configurations ranging from 10,000 source images with one edit each to 2,500 source images with four edits each, varying source-image diversity and edit multiplicity while keeping the total number of edits unchanged. Despite these different allocations, zero-shot classification performance remains nearly identical across all five datasets, with less than 0.05 percentage points of variation in average accuracy. These results suggest that our method is relatively insensitive to how semantic edits are distributed across source images, providing flexibility in constructing semantic-change training data.

Source ImagesEdits per ImageImageNet-RCIFAR-100PetsFood-101Flowers-102
10,000150.5541.1082.0468.3770.76
5,000250.5441.0082.1268.3470.71
2,500450.5441.0982.2668.3670.68

Table 5. Effect of source-image diversity and edit multiplicity under a fixed budget of 10k generated samples.

Conclusion

In this work, we introduce Semantic Difference Alignment (SDA) loss for visual encoder post-training to improve fine-grained visual understanding. SDA loss goes beyond conventional image–text alignment by explicitly aligning corresponding semantic changes across modalities, introducing a complementary supervision signal for learning fine-grained and discriminative visual representations. To enable this learning paradigm, we constructed VarFamily-40K through targeted caption modifications, corresponding image edits, and semantic consistency filtering. Extensive experiments demonstrate improvements in compositional understanding, zero-shot classification, and linear probing across different visual backbones, alongside gains on a broad range of multimodal benchmarks when the adapted encoder is integrated into VLMs. Our findings highlight the value of learning both image–text correspondences and cross-modal correspondences between semantic changes, providing a complementary direction for improving the transferability of pretrained visual encoders.

Although our method demonstrates improvements in compositional understanding, image classification, and multimodal tasks, several limitations remain. First, VarFamily-40K relies on synthetically edited images, which may contain unintended visual changes that are not fully addressed by semantic consistency filtering. Second, our training data focuses on individual semantic changes, and the effectiveness of SDA loss when trained on more complex semantic variations remains to be evaluated. Future work will investigate more reliable data generation strategies and explore semantic-change supervision involving multiple interacting visual attributes.

– Supplementary Material –

In this supplementary material, we describe details of VarFamily-40K and our training and evaluation procedures, and provide further evidence that our post-training method improves fine-grained visual understanding. The material is organized as follows:

  • Appendix A provides further details on construction, filtering procedures, statistics, and splits of VarFamily-40K, complementing § 2.0.2.

  • Appendix B presents implementation details for post-training and VLM integration, along with evaluation settings for image classification, complementing § 2.0.2.2.1 and § 2.0.2.2.2.

  • Appendix C expands on § 2.0.2.2.3 and § 2.0.2.2.4 with comparisons to existing methods, semantic difference retrieval, and performance analyses across semantic edit types.

  • Appendix D builds on the case studies in § 2.0.2.2.3 by presenting further examples of image–text matching on Winoground and visual encoder responses to semantic changes in VarFamily-40K.

VarFamily-40K Construction and Statistics

Construction of VarFamily-40K

Data sources and caption rewriting. VarFamily-40K is constructed using images and their corresponding captions from the COCO 2017 training set [25]. To introduce targeted semantic variations while preserving the original scene context, we use Qwen3.5-9B [40] to rewrite selected captions by replacing a single contiguous text span. The rewriting process follows the prompt in Table S1, which specifies the editing constraints and requires a JSON output containing the original span, its replacement, and the rewritten caption.

Qwen3.5-9B: Caption Rewriting
System message
You create minimal visual caption edits for image editing.
Return only one JSON object with exactly these string fields:
\{"original_word": "...", "new_word": "...", "new_caption": "..."\}
Rules:
- Replace exactly one short contiguous span in the caption. The span may be one word or a natural phrase.
- The requested edit type will be one of: background, verb, noun, adjective, or quantity. Follow it exactly.
- background: replace one location or scene-setting phrase so the visible background changes.
- verb: replace one visually observable action phrase with a different action phrase.
- noun: replace one concrete object or subject phrase with a different common object phrase.
- adjective: replace one visually observable color, material, texture, or state phrase.
- quantity: replace one number or quantity phrase.
- Preserve every part of the caption outside the replaced span exactly, including punctuation, whitespace, capitalization, and word order.
- The replacement may have a different number of words, but keep it short: usually 1–4 words.
- Choose the span boundaries so the new caption sounds natural and common in everyday English.
- The new caption must make sense by itself. Avoid awkward or rare phrases such as "a slice of burger"; prefer common alternatives such as "a burger".
- Do not choose obscure objects, rare foods, rare locations, or unusual activities. Prefer common, visually obvious concepts.
- The new phrase must not be a synonym of the original phrase.
- Do not modify comparative or relative-size adjectives, and do not introduce them.
- Treat all size/scale words as comparative for this task. Never choose words such as small, big, large, tall, short, tiny, huge, jumbo, smaller, larger, taller, shorter, bigger, more, less, or fewer as original_word or new_word.
- Prefer diverse semantic changes. Do not default to size adjectives or quantity changes unless that edit type was explicitly requested.
- The edit must make the visible scene clearly different, remain grammatical, and be possible to render in an image.
- original_word must exactly equal the replaced span from the original caption.
- new_word must exactly equal the replacement span in the new caption.
User message
Caption: \{caption\}
Edit type: \{edit_type\}

Table S1. Caption rewriting prompt for Qwen3.5-9B. The system message specifies the rewriting constraints and output format, while the user message provides the original COCO caption and the requested edit type.

To ensure that each rewrite introduces only the intended textual change, we apply rule-based validation to the generated caption. The original span must appear exactly once in the source caption, and the rewritten caption must differ from the original one only by the specified replacement. Additional checks enforce span-length constraints and exclude comparative or relative-size expressions and unnatural phrases. If validation fails, we retry generation using the same input caption, with up to four attempts at temperatures of 0, 0.4, 0.7, and 0.9.

Image editing. To translate textual variations into corresponding visual changes, we use FLUX.2 Klein 9B [5] to generate edited images, conditioned on the original images and validated caption rewrites. As shown in Table S2, the editing prompt specifies the original and replacement spans while instructing the model to preserve unrelated visual content. To satisfy the input requirements of FLUX.2 Klein 9B, image dimensions are adjusted to multiples of 16 while approximately preserving the original aspect ratio. The original and edited images within each group are maintained at the same resolution. We use the default inference configuration (4 denoising steps, guidance scale 1.0).

FLUX.2 Klein 9B: Image Editing
Editing prompt
In the input image, visibly replace "\{original_word\}" with a clearly recognizable "\{new_word\}". Allow changes required for that replacement only. Preserve all unrelated content, lighting, camera angle, and style.

Table S2. Image editing prompt for FLUX.2 Klein 9B. The placeholders specify the original and replacement spans generated during caption rewriting.

Pixel-level prefiltering. To exclude edited images with insufficient visual changes, we apply pixel-level prefiltering to each original–edited image pair. We first use Gaussian smoothing [26] with a radius of 2 to reduce sensitivity to minor pixel-level variations. Let Dp,cD_{p,c} denote the absolute difference between the smoothed images at pixel pp and color channel cc. We measure the magnitude and extent of visual changes using the mean absolute error (MAE) [52] and the changed-pixel fraction, respectively:

dMAE=13∣Ω∣∑p∈Ω∑c=13Dp,c,rchange=1∣Ω∣∑p∈ΩI[max⁡cDp,c≥20],(10)\begin{aligned} d_{\mathrm{MAE}} &= \frac{1}{3|\Omega|}\sum_{p\in\Omega}\sum_{c=1}^{3}D_{p,c}, \\ r_{\mathrm{change}} &= \frac{1}{|\Omega|}\sum_{p\in\Omega}\mathbb{I}\left[\max_{c}D_{p,c}\ge20\right], \tag*{(10)} \end{aligned}

where ∣Ω∣|\Omega| is the total number of image pixels, and I[⋅]\mathbb{I}[\cdot] is the indicator function. Pixel intensities are measured on a scale of 0–255. Only candidates satisfying both dMAE≥2.0d_{\mathrm{MAE}}\ge2.0 and rchange≥0.01r_{\mathrm{change}}\ge0.01 are retained.

Semantic consistency filtering. Although pixel-level filtering identifies candidates with measurable visual changes, it cannot determine whether these changes correspond to the intended semantic edits. We therefore employ Qwen3-VL-8B-Instruct [1] to assess each candidate group based on the original and edited images, their corresponding captions, and the intended text replacement. The model evaluates whether the edited image supports the full edited caption, with particular attention to whether the intended semantic change is correctly represented. Each candidate receives an acceptance decision and a quality score from 1 to 5 and passes this assessment only if the model returns accept = true with a score of at least 4.

Beyond the correctness of individual image–text pairs, VarFamily-40K requires the original and edited states to be

semantically distinguishable. An edited image may support its corresponding caption while remaining compatible with the alternative caption, introducing ambiguity into semantic-change supervision. To address this, the model independently evaluates all four image–text combinations within each group. We retain only candidates with the matching pattern (true, true, false, false), indicating that each image supports its corresponding caption but not the alternative caption. Both the quality assessment and four-way consistency check are performed in a single inference pass at temperature 0, using the prompt in Table S3.

Qwen3-VL-8B-Instruct: Semantic Consistency Filtering

System message

You are a strict visual quality inspector for edited image-caption pairs.
You will receive Image A (original), Image B (edited), Caption A (original),
and Caption B (edited).
Evaluate the edited pair and all four image-caption combinations independently.
Return only one JSON object with exactly these fields:
{
  "accept": true,
  "score": 5,
  "caption_a_matches_image_a": true,
  "caption_b_matches_image_b": true,
  "caption_a_matches_image_b": false,
  "caption_b_matches_image_a": false,
  "reason": "..."
}

Edited-pair quality assessment:
- Accept only if Image B clearly supports the full Caption B and the intended
  replacement is visible and correctly represented.
- Reject if the target object, action, attribute, quantity, or setting is absent,
  ambiguous, incorrect, or less consistent with Image B than the original phrase.
- Reject if major unrelated content contradicts Caption B.
- Use score 5 for clearly correct edits, 4 for minor harmless ambiguity,
  and 3 or lower for rejection.

Four-way consistency assessment:
- Judge each image-caption combination independently based on visible content.
- A match is true only when the image clearly supports the full caption,
  especially the changed semantic content.
- Do not infer absent or ambiguous visual details. Keep decisions logically
  consistent, including when the two images are visually indistinguishable.
- The desired pattern is (true, true, false, false), corresponding to
  (A,A), (B,B), (B,A), and (A,B), but report the actual judgments.
- Provide one concise English sentence explaining the quality verdict
  and four-way matching decisions.

User message

Caption A (original): {orig_caption}
Caption B (edited): {new_caption}
Intended replacement: {original_word} -> {new_word}
Evaluate all four combinations using Image A (original) and Image B (edited).
Return the complete JSON verdict only, including accept, score, and all four
matching decisions.

Table S3. Table S3. Semantic consistency filtering prompt for Qwen3-VL-8B-Instruct. The prompt specifies the edited-pair quality assessment, four-way image–text matching criteria, and JSON output format.

Statistics of VarFamily-40K

VarFamily-40K comprises 40,000 image–text groups, as defined in Sec. 3.1, each containing an original image–text pair and its semantically edited counterpart. This yields 80,000 image–text pair instances. While each group introduces a newly generated edited image, multiple groups may share the same original COCO image through different caption annotations. Consequently, the 40,000 groups are constructed from 34,442 unique source images, yielding 74,442 images in total, including 40,000 edited images. We further analyze the distribution of semantic variations, report filtering statistics with representative examples, and describe the dataset splits.

Semantic variation statistics. We categorize the semantic variation in VarFamily-40K into five types: objects, attributes, actions, backgrounds, and quantities, corresponding to the noun, adjective, verb, background, and quantity edits in the caption rewriting prompt. As shown in Figure S1, object edits account for the largest share of groups (43.67%), followed by attribute (28.25%), background (19.75%), action (7.75%), and quantity edits (0.59%). Across the 40,000 groups, we identify 17,732 unique directed text substitutions. Some substitutions recur across different source images, allowing the same semantic change to be represented in distinct visual contexts.

Figure S1. Distribution of image–text groups across five edit categories. Each bar shows the number of unique directed substitutions and additional occurrences within the category. Percentages below each category indicate its share of the dataset, while those below the bars indicate the proportions of unique substitutions and additional occurrences within that category.

Filtering statistics and examples. Starting from COCO 2017 images and their rewritten captions, FLUX.2 Klein 9B generates candidate image edits, which undergo pixel-level prefiltering and semantic consistency filtering to construct VarFamily-40K. Pixel-level prefiltering retains 87.70% of evaluated candidates, removing edits with insufficient visual changes. Of the 55,917 candidates evaluated for semantic consistency, 40,000 (71.53%) are retained to form VarFamily-40K. Figure S2 illustrates representative examples rejected due to insufficient visual changes or ambiguous semantic correspondences, alongside examples that satisfy both filtering criteria.

Examples illustrating the two-stage filtering process of VarFamily-40K

Figure S2. Examples illustrating the two-stage filtering process of VarFamily-40K. (a) Pixel-level prefiltering rejects candidate edits with insufficient visual changes, as measured by mean absolute error (MAE) and the fraction of changed pixels. (b) Semantic consistency filtering rejects edits that introduce ambiguous image–text correspondences, even when the edited image receives a high quality score. (c) Examples retained after both stages, where the visual changes correspond to the targeted textual substitutions and distinguish the original and edited semantic states.

VarFamily-40K splits. We partition VarFamily-40K into training, validation, and test sets at the source-image level. Since multiple image–text groups may share the same COCO image through different captions and semantic edits, we assign all groups derived from the same COCO image ID to a single split. This ensures that the held-out evaluation uses source images not included in the training split, allowing us to assess semantic-change understanding beyond the source images encountered during post-training.

Training and Evaluation Details

Post-training and VLM Integration

Post-training implementation. LoRA [14] is applied to the attention output projections and both linear layers of the feed-forward networks in the visual and textual Transformer blocks. We also adapt the output projection and feed-forward layers in the visual attention pooling module. The query, key, and value projections remain frozen. In addition to the LoRA parameters, we update the logit scale and bias used in the pairwise sigmoid objective, allowing the matching logits to be calibrated as the representations change. All other pretrained parameters remain frozen.

VLM integration. After post-training, we integrate the adapted visual encoder, including its learned LoRA parameters, into the VLM. The SigLIP [60] text encoder is not used in the downstream VLM, where textual inputs are processed by the language backbone. Both the pretrained visual encoder weights and the LoRA parameters remain frozen during connector pretraining and instruction fine-tuning, which allows us to evaluate the downstream utility of the post-trained visual representation. The SDA loss and pairwise sigmoid objectives are used only during SigLIP post-training.

Image Classification Settings

Benchmark dataset splits. Linear probing and full fine-tuning use identical data partitions to ensure consistent comparisons across adaptation protocols. For CIFAR-100 [19], Food-101 [6], and Oxford-IIIT Pets [38], we construct stratified 90/10 training–validation splits from the official training sets while retaining the official test sets. Flowers-102 [36] follows its official training, validation, and test splits. Zero-shot classification is evaluated on the same official test sets as well as ImageNet-R [13].

Zero-shot classification. We use multiple prompt templates to reduce sensitivity to the wording of individual class descriptions. For ImageNet-R and CIFAR-100, we adopt the 80 ImageNet prompt templates from CLIP [41]. For Oxford-IIIT Pets, Food-101, and Flowers-102, we use five templates per dataset, including dataset-specific class descriptions and variations involving close-up, bright, and cropped photographs. For example, the template a photo of a {}, a type of pet. explicitly identifies the class as a pet. We replace {} with the class name.

Linear probing. We train the classifier on ℓ2\ell_2-normalized global image features from the frozen visual encoder, assessing how readily the learned representations support classification without task-specific updates to the encoder. The classifier is optimized with AdamW [31] using a learning rate of 10−310^{-3}, a batch size of 1,024, and zero weight decay. We use a cosine learning-rate schedule [30] without warmup.

Full fine-tuning. For full fine-tuning, we jointly optimize the visual encoder and the same linear classification head used for linear probing. We optimize both components using AdamW, with learning rates of 10−510^{-5} for the visual encoder and 10−310^{-3} for the classifier. We use zero weight decay and a cosine learning-rate schedule without warmup.

Additional Experimental Results

Comparison with Existing Methods

To further evaluate our post-training method on compositional understanding and downstream image classification, we compare it with four fine-grained vision–language alignment methods: TripletCLIP [39], EQSIM [45], NegCLIP [59], and FSC-CLIP [37]. To ensure consistency in the underlying image–text alignment objective, we use the pairwise sigmoid loss for image–text alignment in all methods, replacing the original softmax-based contrastive loss where applicable. The results are summarized in Table S4.

VarFamily-40KWinoground
MethodTextImageGroupMPMTextImageGroupMPM
Base62.4456.2944.740.048322.505.003.750.0069
TripletCLIP58.6645.8635.180.03989.506.001.250.0065
EQSIM60.5247.2137.030.042810.506.501.500.0072
NegCLIP66.5155.7746.190.057212.508.502.750.0097
FSC-CLIP50.2665.0139.910.058613.0012.005.250.0101
Ours75.6772.7563.060.077529.008.757.250.0105
Zero-shot ClassificationLinear Probing
MethodIN-RC100PetsFoodFlowersC100PetsFoodFlowers
Base46.6436.2175.5861.8766.2943.5762.1667.7766.44
TripletCLIP45.0740.0462.0655.6846.9854.2269.7778.3863.31
EQSIM47.0341.7764.8458.8649.3655.3771.8778.8665.85
NegCLIP55.0548.4772.5868.3859.0361.3182.8082.4277.69
FSC-CLIP48.3640.5563.6767.0851.6855.1177.3879.7366.21
Ours58.7350.3386.8977.3975.4159.9087.4781.7589.09

Table S4. Comparison with additional baselines on compositional understanding and image classification. All methods use SigLIP-So400M/14. Text, image, and group scores and classification accuracies are reported as percentages. MPM denotes mean pair margin. IN-R, C100, Pets, Food, and Flowers denote ImageNet-R, CIFAR-100, Oxford-IIIT Pets, Food-101, and Flowers-102, respectively. The best result in each column is shown in bold, and the second-best result is underlined.

Our method achieves the highest group scores and MPM on both VarFamily-40K and Winoground [43], with group scores of 63.06% and 7.25%, respectively. Existing methods improve compositional discrimination through hard-negative supervision [37, 39, 59] or image–text similarity regularization [45], but do not explicitly align changes in visual and textual representations. In contrast, our post-training method uses paired edits to enforce the correspondence between visual and textual differences while preserving individual image–text alignment through pairwise matching. The higher group scores indicate more consistent discrimination of these closely related pairs, while the higher MPM reflects greater separation between correct and mismatched pairs. Although FSC-CLIP achieves a higher image score on Winoground, our method obtains higher group score and MPM, demonstrating the benefits of semantic difference alignment for compositional matching.

We also evaluate downstream classification on ImageNet-R [13], CIFAR-100 [19], Oxford-IIIT Pets [38], Food-101 [6], and Flowers-102 [36]. Our method achieves the highest zero-shot accuracy on each of the five datasets. Under linear probing, it ranks first on Pets and Flowers and second on CIFAR-100 and Food-101. Since the visual encoder remains frozen under this protocol, these improvements depend on recognition information already available in the adapted visual features. These results suggest that learning corresponding semantic changes improves the transferability of visual representations, extending the benefits of our method beyond image–text matching.

Semantic Difference Retrieval

To examine how well the learned representations capture corresponding semantic changes, we conduct semantic difference retrieval on the VarFamily-40K test split. Unlike conventional image–text matching, which evaluates individual image–caption correspondences, this task directly compares the visual and textual representation differences induced by the same semantic edits. It therefore provides a direct evaluation of the cross-modal correspondence targeted by the SDA loss.

For each test group, we compute the visual and textual difference vectors by subtracting the original embeddings from their edited counterparts, following Sec. 3.1 of the main paper. We perform retrieval in both directions: visual-to-textual (V2T), where visual differences serve as queries to retrieve textual differences, and textual-to-visual (T2V), where the query and candidate modalities are reversed. Both directions use cosine similarity for ranking. Each query is evaluated against 100 candidates, consisting of its paired difference from the same original–edited group and 99 differences from other test groups. The correct target is the difference from the same original–edited group; semantically similar changes from other groups are treated as non-matches. Recall at KK (R@KR@K) [17] is the proportion of queries whose paired target appears among the top KK candidates. We report R@1R@1, R@5R@5, and mean reciprocal rank (MRR) [44]. MRR is the average, over queries, of the reciprocal of the paired target’s rank.

As shown in Table S5, post-training consistently improves all metrics in both retrieval directions. V2T R@1R@1 increases from 64.51% to 76.74%, while T2V R@1R@1 increases from 60.43% to 71.40%. The improvements in R@5R@5 and MRR further indicate that paired differences are ranked more favorably among competing candidates.

MethodV2TT2V
R@1R@5MRRR@1R@5MRR
Base64.5183.940.733460.4382.380.7031
Ours76.7492.060.837371.4091.420.8020
Δ\Delta+12.23+8.12+0.1039+10.97+9.04+0.0989

Table S5. Semantic difference retrieval on the VarFamily-40K test split. R@1R@1 and R@5R@5 are percentages; MRR is the mean reciprocal rank. Δ\Delta denotes the gain over Base.

These improvements are consistent with the two components of the SDA loss. The directional alignment term encourages visual and textual differences induced by the same semantic edit to align in direction, thereby increasing their cosine similarity. The margin term further encourages paired differences to exhibit higher similarity than competing differences from other groups. The higher retrieval scores in both directions show that the post-trained model more reliably ranks visual and textual differences from the same edit above differences from other groups.

Figure S3 illustrates two V2T retrieval examples involving action and attribute changes. Taking the action example, the visual query represents a person on skis who transitions from sitting to standing. Post-training substantially increases its similarity to textual differences expressing this action change. Among candidates describing the same action change in different contexts, the paired “person on skis” change receives the highest cosine similarity of 0.558, with its retrieval rank moving from sixth to first. This example illustrates that our post-training method enhances cross-modal alignment of semantic changes while preserving the ability to distinguish their specific contexts.

Figure S3. Visual-to-textual semantic difference retrieval. Examples are shown for an action edit (a) and an attribute edit (b). Each visual query is computed as the embedding difference between the edited and original images. The top five textual candidates are shown with their cosine similarities, with the paired target highlighted in green and non-matches indicated by red labels. The target’s rank among 100 candidates is reported above each list. Gray parenthetical descriptions distinguish the contexts in which the same textual change occurs.

Performance Across Semantic Edit Types

To investigate the effect of post-training across different semantic edit types, we separately evaluate matching performance for objects, attributes, actions, quantities, and backgrounds in VarFamily-40K.

This analysis reveals whether the overall matching improvement is consistent across different types of semantic distinctions. Table S6 reports the gains over Base together with the number of test groups in each category.

Edit TypeSamplesText Δ\Delta ↑Image Δ\Delta ↑Group Δ\Delta ↑
Object2,572+11.59+13.34+15.75
Attribute1,719+15.59+19.02+21.64
Action449+11.14+9.13+12.03
Quantity44+11.36+4.55+4.55
Background1,217+14.22+22.60+21.86
Overall6,001+13.23+16.46+18.31

Table S6. Compositional matching gains of post-trained SigLIP-So400M/14 over Base for each semantic edit type on the VarFamily-40K test split. The Samples column gives the number of test groups per edit type. All gains are absolute differences in percentage points.

Post-training improves text, image, and group scores across all five edit types, with absolute group-score gains of 15.75%, 21.64%, 12.03%, 4.55%, and 21.86% for object, attribute, action, quantity, and background edits, respectively. Despite variations in the magnitude of improvement, the consistent gains across all categories suggest that explicitly supervising how visual and textual semantics change together enhances fine-grained semantic discrimination beyond any specific edit type.

More Case Studies

Figure S4 presents two additional Winoground cases comparing the original and post-trained models. The first contrasts “Four lions, no tigers” with “No lions, four tigers”. Both captions contain the same animal categories and count but differ in which category is present or absent. Base incorrectly assigns the first caption a higher similarity to the tiger image, yielding a margin of −0.0412. Our model corrects this ranking, increasing the margin to +0.0163 while preserving the other three correct comparisons, achieving a correct group match.

Figure S4. Additional image–text matching cases on Winoground. Rows and columns represent captions and images, respectively. Diagonal cells indicate correct image–text pairs, and the adjacent values show similarity margins between correct and incorrect matches.

The second case contrasts “Gold for pan” with “Pan for gold”, distinguishing a cooking pan from the activity of panning for gold. Although the captions contain the same words, their ordering changes the depicted meaning. Base incorrectly associates the first caption with the gold-panning scene and misranks the captions for the cooking-pan image. Our model resolves both errors, yielding positive margins for all four comparisons. Together, these cases illustrate improved discrimination between captions with shared vocabulary but different semantics, suggesting that the benefits of semantic difference alignment extend beyond the controlled edits in VarFamily-40K.

Beyond image–text matching, we use gradient-weighted activation maps to examine whether the adapted visual encoder responds to the content associated with semantic changes. Figure S5 shows two examples from the VarFamily-40K test split. In the first example, “playing tennis” changes to “sitting on a bench”, while the tennis-court setting remains unchanged. Base exhibits scattered activations across the fence and other background regions. After post-training,

Figure S5. Gradient-weighted activation maps on the VarFamily-40K test split. The top and bottom rows show the original and edited examples, respectively, with modified caption spans highlighted in orange.

background responses are reduced, with stronger activations around the player and racket in the original image and the bench in the edited image. These responses correspond more closely to the visual content distinguishing the two activities.

The second example changes “eating a banana” to “holding a coconut”, while retaining the monkey and its seated pose. Both models exhibit activations near the banana in the original image. In the edited image, however, Base exhibits scattered responses across the animal and surrounding ground, whereas our model concentrates its strongest activations around the coconut and the hands holding it. These observations suggest that post-training enhances the visual encoder’s sensitivity to regions associated with semantic changes within otherwise similar scenes.

References

  1. [1]Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao, Chunj iang Ge, Wenbin Ge, Zhifang Guo, Qidong Huang, Jie Huang, Fei Huang, Binyuan Hui, Shutong Jiang, Zhaohai Li, Mingsheng Li, Mei Li, Kaixin Li, Zicheng Lin, Junyang Lin, Xuejing Liu, Jiawei Liu, Chenglong Liu, Yang Liu, Dayiheng Liu, Shixuan Liu, Dunjie Lu, Ruilin Luo, Chenxu Lv, Rui Men, Lingchen Meng, Xuancheng Ren, Xingzhang Ren, Sibo Song, Yuchong Sun, Jun Tang, Jianhong Tu, Jianqiang Wan, Peng Wang, Pengfei Wang, Qiuyue Wang, Yuxuan Wang, Tianbao Xie, Yiheng Xu, Haiyang Xu, Jin Xu, Zhibo Yang, Mingkun Yang, Jianxin Yang, An Yang, Bowen Yu, Fei Zhang, Hang Zhang, Xi Zhang, Bo Zheng, Humen Zhong, Jingren Zhou, Fan Zhou, Jing Zhou, Yuanzhi Zhu, and Ke Zhu. Qwen3-VL technical report. arXiv preprint arXiv:2511.21631, 2025. 4, 1arxiv.org/abs/2511.21631
  2. [2]Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, et al. Qwen2.5-VL technical report. arXiv preprint arXiv:2502.13923, 2025. 1arxiv.org/abs/2502.13923
  3. [3]Ioana Bica, Anastasiia Ilic, Matthias Bauer, Goker Erdogan, Matko Bošnjak, Christos Kaplanis, Alexey A. Gritsenko, Matthias Minderer, Charles Blundell, Razvan Pascanu, and Jovana Mitrovic. Improving fine-grained understanding in image-text pre-training. In ICML, pages 3974–3995. PMLR, 2024. 2arxiv.org/abs/2401.09865
  4. [4]Black Forest Labs. FLUX.2: Frontier visual intelligence, 2025. 4
  5. [5]Black Forest Labs. FLUX.2 [klein] 9B. Hugging Face model card, 2026. 1
  6. [6]Lukas Bossard, Matthieu Guillaumin, and Luc Van Gool. Food-101: Mining discriminative components with random forests. In ECCV, pages 446–461, 2014. 5, 4, 6DOI
  7. [7]Lin Chen, Jinsong Li, Xiaoyi Dong, Pan Zhang, Conghui He, Jiaq i Wang, Feng Zhao, and Dahua Lin. ShareGPT4V: Improving large multi-modal models with better captions. In ECCV, 2024. 5arxiv.org/abs/2311.12793
  8. [8]Lin Chen, Jinsong Li, Xiaoyi Dong, Pan Zhang, Yuhang Zang, Zehui Chen, Haodong Duan, Jiaqi Wang, Yu Qiao, Dahua Lin, and Feng Zhao. Are we on the right way for evaluating large vision-language models? In NeurIPS, 2024. 6arxiv.org/abs/2403.20330
  9. [9]Sherry X. Chen, Misha Sra, and Pradeep Sen. Instruct-CLIP: Improving instruction-guided image editing with automated data refinement using contrastive learning. In CVPR, pages 28513–28522, 2025. 3arxiv.org/abs/2503.18406
  10. [10]Zhe Chen, Weiyun Wang, Yue Cao, Yangzhou Liu, Zhangwei Gao, Erfei Cui, Jingyu Zhu, Shenglong Ye, Hao Tian, et al. Expanding performance boundaries of open-source multimodal models with model, data, and test-time scaling. arXiv preprint arXiv:2412.05271, 2024. 1arxiv.org/abs/2412.05271
  11. [11]Lijie Fan, Dilip Krishnan, Phillip Isola, Dina Katabi, and Yonglong Tian. Improving CLIP training with language rewrites. In NeurIPS, pages 35544–35575, 2023. 2arxiv.org/abs/2305.20088
  12. [12]Chaoyou Fu, Peixian Chen, Yunhang Shen, Yulei Qin, Mengdan Zhang, Xu Lin, Zhenyu Qiu, Wei Lin, Jinqiuri Yang, Xiawu Zheng, Ke Li, Xing Sun, and Rongrong Ji. MME: A comprehensive evaluation benchmark for multimodal large language models. arXiv preprint arXiv:2306.13394, 2023. 6arxiv.org/abs/2306.13394
  13. [13]Dan Hendrycks, Steven Basart, Norman Mu, Saurav Kadavath, Frank Wang, Evan Dourando, Rahul Desai, Tyler Zhu, Samyak Parajuli, Mike Guo, Dawn Song, Jacob Steinhardt, and Justin Gilmer. The many faces of robustness: A critical analysis of out-of-distribution generalization. In ICCV, pages 8340–8349, 2021. 5, 4, 6
  14. [14]Edward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzi Li, Shean Wang, Lu Wang, and Weizhu Chen. LoRA: Low-rank adaptation of large language models. In ICLR, 2022. 4, 5arxiv.org/abs/2106.09685
  15. [15]Drew A. Hudson and Christopher D. Manning. GQA: A new dataset for real-world visual reasoning and compositional question answering. In CVPR, pages 6700–6709, 2019. 5arxiv.org/abs/1902.09506
  16. [16]Chao Jia, Yinfei Yang, Ye Xia, Yi-Ting Chen, Zarana Parekh, Hieu Pham, Quoc Le, Yun-Hsuan Sung, Zhen Li, and Tom Duerig. Scaling up visual and vision-language representation learning with noisy text supervision. In ICML, pages 4904–4916. PMLR, 2021. 1, 2arxiv.org/abs/2102.05918
  17. [17]Andrej Karpathy and Li Fei-Fei. Deep visual-semantic alignments for generating image descriptions. In CVPR, pages 3128–3137, 2015. 7
  18. [18]Aniruddha Kembhavi, Mike Salvato, Eric Kolve, Minjoon Seo, Hannahé Hajishirzi, and Ali Farhadi. A diagram is worth a dozen images. In ECCV, pages 235–251, 2016. 5arxiv.org/abs/1603.07396
  19. [19]Alex Krizhevsky. Learning multiple layers of features from tiny images. Technical report, University of Toronto, 2009. 5, 4, 6
  20. [20]Zhengfeng Lai, Haotian Zhang, Bowen Zhang, Wentao Wu, Haoping Bai, Aleksei Timofeev, Xianzhi Du, Zhe Gan, Jiulong Shan, Chen-Nee Chuah, Yinfei Yang, and Meng Cao. VeCLIP: Improving CLIP training via visual-enriched captions. In ECCV, pages 111–127, 2024. 1arxiv.org/abs/2310.07699
  21. [21]Zhengfeng Lai, Vasileios Savaris, Chen Chen, Hong-You Chen, Haotian Zhang, Bowen Zhang, Juan Lao Tebar, Wenze Hu, Zhe Gan, Peter Grasch, Meng Cao, and Yinfei Yang. Revisit large-scale image-caption data in pre-training multimodal foundation models. In ICLR, 2025. 2arxiv.org/abs/2410.02740
  22. [22]Marc-Antoine Lavoie, Anas Mahmoud, Aldo Zaimi, Arsene Fansi Tchango, and Steven L. Waslander. CLIP is short-sighted: Paying attention beyond the first sentence. In CVPR, pages 9524–9534, 2026. 2
  23. [23]Samuel Lavoie, Polina Kirichenko, Mark Ibrahim, Mido Asran, Andrew Gordon Wilson, Aaron Courville, and Nicolas Ballas. Modeling caption diversity in contrastive vision-language pretraining. In ICML, pages 26070–26084. PMLR, 2024. 2arxiv.org/abs/2405.00740
  24. [24]Shuang Liang, Zeqing Wang, Yuxian Li, Xihui Liu, and Han Wang. From pixels to concepts: Do segmentation models understand what they segment? arXiv preprint arXiv:2605.09591, 2026. 3arxiv.org/abs/2605.09591
  25. [25]Tsung-Yi Lin, Michael Maire, Serge Belongie, James Hays, Pietro Perona, Deva Ramanan, Piotr Dollár, and C. Lawrence Zitnick. Microsoft COCO: Common objects in context. In ECCV, pages 740–755. Springer, 2014. 3, 1
  26. [26]Tony Lindeberg. Scale-Space Theory in Computer Vision. Springer, 1994. 1
  27. [27]Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee. Improved baselines with visual instruction tuning. In CVPR, pages 26296–26306, 2024. 5arxiv.org/abs/2310.03744
  28. [28]Haotian Liu, Chunyuan Li, Yuheng Li, Bo Li, Yuanhan Zhang, Sheng Shen, and Yong Jae Lee. LLaVA-NeXT: Improved reasoning, OCR, and world knowledge. LLaVA Project Blog, 2024. 1
  29. [29]Yuliang Liu, Zhang Li, Mingxin Huang, Biao Yang, Wenwen Yu, Chunyuan Li, Xucheng Yin, Cheng-lin Liu, Lianwen Jin, and Xiang Bai. OCRBench: On the hidden mystery of OCR in large multimodal models. Science China Information Sciences, 67(12):220102, 2024. 6DOI
  30. [30]Ilya Loshchilov and Frank Hutter. SGDR: Stochastic gradient descent with warm restarts. In ICLR, 2017. 5arxiv.org/abs/1608.03983
  31. [31]Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In ICLR, 2019. 5
  32. [32]Pan Lu, Swaroop Mishra, Tanglin Xia, Liang Qiu, Kai-Wei Chang, Song-Chun Zhu, Oyvind Tafjord, Peter Clark, and Ashwin Kalyan. Learn to explain: Multimodal reasoning via thought chains for science question answering. In NeurIPS, 2022. 5arxiv.org/abs/2209.09513
  33. [33]Ahmed Masry, Do Xuan Long, Jia Qing Tan, Shafiq Joty, and Emanuel Hoque. ChartQA: A benchmark for question answering about charts with visual and logical reasoning. In Findings of ACL, pages 2263–2279, 2022. 6
  34. [34]Minesh Mathew, Viraj Bagal, Rutan Tito, Dimosthenis Karatzas, Ernest Valveny, and C. V. Jawahar. InfographicVQA. In WACV, pages 1697–1706, 2022. 6arxiv.org/abs/2104.12756
  35. [35]Sachin Mehta, Mohammad Hossein Sekhavati, Qingqing Cao, Maxwell Horton, Yanzi Jin, Chenfan Sun, Iman Mirzadeh, Mahyar Najibi, Dmitry Belenko, Peter Zatloukal, and Mohammad Rastegari. OpenELM: An efficient language model family with open training and inference framework. arXiv preprint arXiv:2404.14619, 2024. 5arxiv.org/abs/2404.14619
  36. [36]Maria-Elena Nilsback and Andrew Zisserman. Automated flower classification over a large number of classes. In ICVGIP, pages 722–729, 2008. 5, 4, 6DOI
  37. [37]Youngtaek Oh, Jae Won Cho, Dong-Jin Kim, In So Kweon, and Junmo Kim. Preserving multi-modal capabilities of pre-trained VLMs for improving vision-linguistic compositionality. In EMNLP, pages 19060–19076. Association for Computational Linguistics, 2024. 5, 6arxiv.org/abs/2410.05210
  38. [38]Omkar M. Parkhi, Andrea Vedaldi, Andrew Zisserman, and C. V. Jawahar. Cats and dogs. In CVPR, pages 3498–3505, 2012. 5, 4, 6
  39. [39]Maitreya Patel, Abhiram Kusumba, Sheng Cheng, Changhoon Kim, Tejas Gokhale, Chitta Baral, and Yezhou Yang. TripletCLIP: Improving compositional reasoning of CLIP via synthetic vision-language negatives. In NeurIPS, pages 32731–32760, 2024. 3, 5, 6
  40. [40]Qwen Team. Qwen3.5: Towards native multimodal agents, 2026. 3, 1
  41. [41]Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, Gretchen Krueger, and Ilya Sutskever. Learning transferable visual models from natural language supervision. In ICML, pages 8748–8763. PMLR, 2021. 1, 2, 4arxiv.org/abs/2103.00020
  42. [42]Oleksii Sidorov, Ronghang Hu, Marcus Rohrbach, and Amanpreet Singh. TextCaps: A dataset for image captioning with reading comprehension. In ECCV, pages 742–758, 2020. 6arxiv.org/abs/2003.12462
  43. [43]Tristan Thrush, Ryan Jiang, Max Bartolo, Amanpreet Singh, Adina Williams, Douwe Kiela, and Candace Ross. Winoground: Probing vision and language models for visio-linguistic compositionality. In CVPR, pages 5238–5248, 2022. 2, 5arxiv.org/abs/2204.03162
  44. [44]Ellen M. Voorhees. The TREC-8 question answering track report. In TREC-8. National Institute of Standards and Technology, 1999. 7
  45. [45]Tan Wang, Kevin Lin, Linjie Li, Chung-Ching Lin, Zhengyuan Yang, Hanwang Zhang, Zicheng Liu, and Lijuan Wang. Equivariant similarity for vision-language foundation models. In ICCV, 2023. 5, 6arxiv.org/abs/2303.14465
  46. [46]Zeqing Wang, Qingyang Ma, Wentao Wan, Haojie Li, Keze Wang, and Yonghong Tian. Is this generated person existed in real-world? fine-grained detecting and calibrating abnormal human-body. In 2025 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 21226–21237. IEEE, 2025. 1arxiv.org/abs/2411.14205
  47. [47]Zeqing Wang, Xinyu Wei, Bairui Li, Zhen Guo, Jinrui Zhang, Hongyang Wei, Keze Wang, and Lei Zhang. Video-verse: How far is your t2v generator from a world model? 2025. 3
  48. [48]Zeqing Wang, Wentao Wan, Qiqing Lao, Runmeng Chen, Minjie Lang, Xiao Wang, Feng Gao, Keze Wang, and Liang Lin. Towards top-down reasoning: An explainable multi-agent approach for visual question answering. IEEE Transactions on Multimedia, 2026. 1
  49. [49]Zeqing Wang, Keze Wang, and Lei Zhang. Phydetex: Detecting and explaining the physical plausibility of t2v models. In European Conference on Computer Vision, pages 168–186. Springer, 2026. 1arxiv.org/abs/2512.01843
  50. [50]Zeqing Wang, Shiyuan Zhang, Chengpei Tang, and Keze Wang. Timecausality: Evaluating the causal ability in time dimension for vision language models. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 4396–4406, 2026. 1arxiv.org/abs/2505.15435
  51. [51]Xinyu Wei, Kangrui Cen, Hongyang Wei, Zhen Guo, Bairui Li, Zeqing Wang, Jinrui Zhang, and Lei Zhang. Mico-150k: A comprehensive dataset advancing multi-image composition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 29695–29706, 2026. 3arxiv.org/abs/2512.07348
  52. [52]Cort J. Willmott and Kenji Matsuura. Advantages of the mean absolute error (MAE) over the root mean square error (RMSE) in assessing average model performance. Climate Research, 30:79–82, 2005. 1DOI
  53. [53]xAI. Grok-1.5 vision preview. https://x.ai/news/grok-1-5v, 2024. Introduces the RealWorldQA benchmark. 5
  54. [54]Chunyu Xie, Bin Wang, Fanjing Kong, Jincheng Li, Dawei Liang, Ji Ao, Dawei Leng, and Yuhui Yin. FG-CLIP 2: A bilingual fine-grained vision-language alignment model. In ICML, pages 139736–139758. PMLR, 2026. 2arxiv.org/abs/2510.10921
  55. [55]An Yang, Baosong Yang, Beichen Zhang, Binyuan Hui, et al. Qwen2.5 technical report. arXiv preprint arXiv:2412.15115, 2024. 5, 7arxiv.org/abs/2412.15115
  56. [56]An Yang, Anfeng Li, Baosong Yang, Beichen Zhang, et al. Qwen3 technical report. arXiv preprint arXiv:2505.09388, 2025. 5, 7arxiv.org/abs/2505.09388
  57. [57]Lewei Yao, Runhui Huang, Lu Hou, Guansong Lu, Minzhe Niu, Hang Xu, Xiaodan Liang, Zhenguo Li, Xin Jiang, and Chunjing Xu. FILIP: Fine-grained interactive language-image pre-training. In ICLR, 2022. 2
  58. [58]Yuan Yao, Tianyu Yu, Ao Zhang, Chongyi Wang, Junbo Cui, Hongji Zhu, Tianchi Cai, Haoyu Li, Weilin Zhao, et al. MiniCPM-V: A GPT-4V level MLLM on your phone. arXiv preprint arXiv:2408.01800, 2024. 1arxiv.org/abs/2408.01800
  59. [59]Mert Yuksekgonul, Federico Bianchi, Pratyusha Kalluri, Dan Jurafsky, and James Zou. When and why vision-language models behave like bags-of-words, and what to do about it? In ICLR, 2023. 3, 5, 6
  60. [60]Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In ICCV, pages 11975–11986, 2023. 1, 2, 4, 5arxiv.org/abs/2303.15343
  61. [61]Beichen Zhang, Pan Zhang, Xiaoyi Dong, Yuhang Zhang, and Jiaqi Wang. Long-CLIP: Unlocking the long-text capability of CLIP. In ECCV, pages 310–325, 2024. 2arxiv.org/abs/2403.15378
  62. [62]Kecheng Zheng, Yifei Zhang, Wei Wu, Fan Lu, Shuai­lei Ma, Xin Jin, Wei Chen, and Yujun Shen. DreamLIP: Language-image pre-training with long captions. In ECCV, pages 73–90, 2024. 2arxiv.org/abs/2403.17007
  63. [63]Yiwu Zhong, Jianwei Yang, Pengchuan Zhang, Chun­yuan Li, Noel Codella, Liunian Harold Li, Luowei Zhou, Xiyang Dai, Lu Yuan, Yin Li, and Jianfeng Gao. RegionCLIP: Region-based language-image pretraining. In CVPR, pages 16793–16803, 2022. 2arxiv.org/abs/2112.09106

Paper details

vlnc:W_93bcuf77
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 1

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents