arXiv:2610.28051cs.CVOct 2026

Manuscript Offprint

arXiv:2610.28051

Assessing Representation Semantics Under Language Pretraining in Fine-Grained Classification

Md Raisul Kibria, Sébastien Lafond

Abstract

Understanding how supervision signals shape semantic visual representations remains challenging, particularly in fine-grained, low-data settings. Standard evaluations of vision models rely on downstream accuracy, which often fails to capture structural differences in learned representations. We propose a compact explainability-driven framework for comparing encoders trained with classification-only and caption-generation supervision on CUB-200. Using a controlled two-stage protocol in which both encoders are ultimately optimized for the same classification task, we enable a direct comparison of the resulting representations. Saliency maps are generated using attention rollout and gradient-weighted rollout and evaluated with five metrics covering faithfulness (positive and negative perturbation) and localization (keypoint emphasis, background attribution, and Earth Mover's Distance). Across random seeds and explanation methods, caption supervision yields representations that are more sensitive to the removal of salient regions, better aligned with annotated object parts, and less reliant on background regions, whereas classification supervision produces representations that are slightly more robust to the removal of low-saliency regions. An ablation study on the Oxford-IIIT Pet dataset shows consistent trends across key metrics. These results demonstrate that the proposed framework makes supervision-induced representational differences observable and quantifiable beyond downstream accuracy alone. More broadly, it provides a systematic basis for assessing learned representations and comparing alternative training and transfer-learning strategies.

Keywords: Vision-Language Supervision, Representation Explainability, Object-Centric Visual Representations, Multitask Representation Transfer.

1 Introduction

Cross-modal representation learning has become central to modern machine learning, particularly in vision-language modeling. A core motivation is that natural language supervision can provide semantically rich signals beyond categorical labels. Contrastive pretraining approaches such as in CLIP [Radford et al., 2021] demonstrate that aligning image and text embeddings at scale yields transferable visual representations. Hybrid objectives further combine contrastive alignment with generative modeling, as in CoCa [Yu et al., 2022]. Other work studies modality imbalance [Zhang et al., 2024, Huang et al., 2025] or integrates contrastive and discriminative objectives within unified architectures [Wei et al., 2023]. Despite these advances, it remains challenging to quantify whether different supervision modalities induce systematically different visual representation structures.

Among common visual objectives, classification and image captioning provide distinct forms of supervision. Supervision signals act as inductive biases that shape the structure of learned representations. While classification labels provide discriminative constraints, caption supervision encodes structured semantic descriptions that may encourage different forms of feature organization. While large-scale captioning models such as GIT [Wang et al., 2022], BLIP [Li et al., 2022a], BLIP-2 [Li et al., 2023], LLaVA [Liu et al., 2023], and Kosmos-2 [Peng et al., 2023] illustrate the scalability of transformer-based multimodal architectures [Vaswani et al., 2017, Dosovitskiy et al., 2020], representational differences are often obscured by scale [Cornia et al., 2022, Elguendouze et al., 2023] and evaluated primarily through downstream accuracy [Sariyildiz et al., 2020, Hu et al., 2022]. However, in small-data fine-grained settings, where uncertainty is higher and inductive biases play a stronger role, the choice of supervision modality may materially influence how models allocate attention to object parts and contextual cues.

This raises a fundamental question: does caption-based supervision induce measurably different visual representation structure compared to classification-based supervision, even when downstream predictive performance is similar? Answering this requires quantitative metrics and controlled comparisons that isolate supervision modality while holding architecture, optimization, and computational budget fixed.

Analyzing such differences requires systematic evaluation beyond accuracy. Attribution methods, including Integrated Gradients [Sundararajan et al., 2017], SHAP [Lundberg and Lee, 2017], LIME [Ribeiro et al., 2016], Grad-CAM [Selvaraju et al., 2017], and attention rollout [Abnar and Zuidema, 2020], provide tools for probing model behavior. However, explanation quality is sensitive to the evaluation criterion. Recent work emphasizes the importance of multi-axis evaluation, assessing explainability across diverse objective dimensions to capture the complementary aspects of explanations [Kazmierczak et al., 2025, Kibria et al., 2025]. Such multi-criteria approaches are particularly valuable when comparing supervision regimes, where differences often emerge in representation alignment rather than task performance.

In this work, we investigate and quantify whether caption-based supervision transfers semantic structure which remains measurable after subsequent fine-grained classification tuning in a low-data setting. Using the CUB-200 dataset, which provides part-level annotations, we adopt a controlled two-stage protocol. In stage 1, two variants of an identical Vision Transformer (ViT) encoder [Dosovitskiy et al., 2020] are trained under different supervision: (i) classification via an attached linear head, and (ii) captioning using a frozen language decoder. In stage 2, both encoders are fine-tuned for fine-grained classification under matched optimization budgets. This design isolates the effect of supervision modality while controlling for architecture and compute.

To compare representation properties beyond predictive performance, we evaluate attribution behavior using attention rollout and gradient-augmented attention methods. We further introduce a structured evaluation protocol integrating five explainability metrics across two categories: localization, measured by keypoint emphasis, background fraction, and distributional alignment via Earth Mover's Distance (EMD); and faithfulness, measured by perturbation AUC under positive and negative masking. Leveraging CUB's part annotations enables objective quantification of semantic alignment. An overview of the proposed framework is presented in Figure 1. We further assess robustness through two ablations: a cross-dataset evaluation on a second fine-grained benchmark and an encoder-scale ablation using a larger ViT from the same architectural family.

Empirically, we find that caption-based pretraining produces consistent and reproducible differences in attribution structure, including stronger correspondence to annotated keypoints, improved geometric alignment with keypoint density maps, and reduced attribution to background regions. These trends persist across attribution methods, datasets, and encoder scales, suggesting that language supervision can shape visual representations in ways that are not reflected by classification accuracy alone. Although caption-based pretraining does not improve downstream accuracy under fixed computational budgets, the explainability-based analysis reveals a more general implication: supervision modality can affect the semantic organization of learned representations independently of predictive risk. Our results

Figure

Fig. 1: Overview of the proposed two-stage training and evaluation framework. (a) Stage 1 performs task-specific base tuning via either classification or captioning objectives. (b) Stage 2 applies controlled downstream finetuning for fine-grained classification using identical optimization budgets. (c) Explainability evaluation is conducted using multi-criteria metrics including perturbation-based faithfulness and localization measures.

therefore position multi-criteria attribution evaluation as a useful tool for quantifying representation transfer beyond task performance.

References (33)