Manuscript Offprint
arXiv:2610.32442Learning Fine-Grained Visual Classification with Text as Privileged Information via Multimodal Distillation
Abstract
Fine-grained visual classification (FGVC) requires distinguishing between highly similar categories by focusing on subtle, localized visual differences. Recent multimodal methods have demonstrated that textual attribute descriptions can provide valuable semantic supervision by explicitly describing discriminative object characteristics. However, these descriptions are typically unavailable at test time, limiting their direct use in deployment. We propose FG-LUPI, a Learning Using Privileged Information (LUPI)-based framework that leverages attribute descriptions during training. We train a multimodal teacher that integrates image patches and textual attributes via gated cross-attention, allowing semantic attributes to condition visual representations. We distill this knowledge into an image-only student using multi-level distillation at the prediction, patch, and attention levels, aligning global predictions, patch representations, and attention patterns with the teacher. This encourages the student to inherit attention structure learned from multimodal supervision while maintaining image-only inference. Experiments on multiple FGVC benchmarks show consistent improvements in classification accuracy over strong ViT-based baselines. Furthermore, evaluation using Expected Calibration Error (ECE) shows that FG-LUPI also produces better-calibrated predictions across all six benchmarks. These results suggest that textual attribute supervision can benefit not only fine-grained recognition performance but also the reliability of model confidence, while preserving the efficiency and practicality of image-only inference.
1. Introduction
Fine-grained visual classification (FGVC) aims to distinguish between highly similar categories by identifying subtle visual differences related to appearance, texture, shape, and object parts. This task is challenging due to strong inter-class similarity and intra-class variations [56, 57]. As
Original
Vanilla ViT
FG-LUPI

Figure 1. Qualitative comparison of attention maps. Attention map visualization on CUB-200-2011 for a vanilla ViT and the proposed FG-LUPI student model. Compared to the vanilla model, FG-LUPI exhibits more concentrated attention on the bird and reduced attention to surrounding background regions.
a result, FGVC models must effectively localize and exploit discriminative visual features.
To address this challenge, prior work has explored part-based modeling [16, 26, 27], attention mechanisms [17, 62], and language-guided supervision for fine-grained recognition [1, 23, 58, 64]. Natural language provides complementary semantic information that explicitly describes discriminative attributes. Such descriptions often highlight fine-grained features, including color patterns, beak shape, wing structure, or other category-specific characteristics. Moreover, language-based supervision aligns well with real-world recognition settings, where domain experts frequently rely on textual resources such as field guides, species descriptions, or taxonomic annotations to distinguish visually similar categories.
A common strategy for incorporating textual information in visual recognition is to use multimodal encoders [39, 43]. However, these methods typically rely on textual inputs during inference, which is often infeasible in practical deploy-ment settings. This raises the question: Can language still improve recognition if it is used only as a training-time signal that shapes visual representations?
In addition to correctly distinguishing between visually similar categories, a fine-grained classifier should provide confidence estimates that meaningfully reflect its predictive reliability. This is especially relevant when several categories share similar visual characteristics: a model may assign high confidence to an incorrect fine-grained prediction, making it difficult to identify ambiguous or uncertain cases [59]. Classification accuracy alone does not capture this aspect of model behavior. Calibration provides a complementary perspective by measuring the agreement between predicted confidence and empirical prediction accuracy. Thus, improving fine-grained recognition also raises an important question: Can the supervision used to learn discriminative visual features improve the reliability of the resulting confidence estimates?
Motivated by these questions, we study textual attributes under the Learning Using Privileged Information (LUPI) paradigm [54, 55], where textual information is available only during training and is not used at inference time. Prior LUPI work uses privileged information to supervise attention [41] or improve detection [3]. In this work, we formulate deep FGVC as a LUPI problem in which textual attribute descriptions provide training-time privileged semantic supervision. Unlike classical LUPI, where privileged information may provide additional information unavailable from the primary modality, our textual descriptions provide semantic guidance about the visual content during training. The text supervises a multimodal teacher toward fine-grained visual distinctions, whose knowledge is subsequently transferred to an image-only student through distillation. To the best of our knowledge, this is the first work to investigate such semantic textual supervision for deep FGVC under the LUPI setting.
We propose Fine-Grained Learning Using Privileged Information (FG-LUPI), a teacher-student framework built upon Vision Transformers (ViTs) [9]. The teacher is extended into a multimodal model that learns from both images and textual descriptions, while the student operates only on visual inputs. By integrating textual attributes with visual representations via gated cross-attention, the teacher learns richer semantic representations that capture fine-grained discriminative features. This knowledge is then distilled into the image-only student, allowing it to inherit the teacher's language-guided attention patterns without requiring textual input at inference time. We design a multilevel distillation framework that transfers the knowledge acquired by the multimodal teacher to the image-only student across multiple representation levels. Using this framework, the student is trained to inherit: (i) global predictive behavior through prediction distillation, (ii) localized feature representations through patch-level distillation, and (iii) spatial relationships through attention distillation. Together, these objectives encourage the student to reproduce both the discriminative patch representations and the attention patterns learned by the multimodal teacher.
Experiments on multiple fine-grained recognition benchmarks, including CUB-200-2011 [59], NABirds [53], Stanford Dogs [25], FGVCAircraft [35], Stanford Cars [28], and iNaturalist 2021 [22], demonstrate that the proposed framework consistently improves performance over strong ViT-based baselines and competitive fine-grained classification methods. In addition to classification accuracy, we evaluate Expected Calibration Error (ECE) to examine the confidence calibration of the resulting image-only classifier. FG-LUPI achieves lower ECE than the vanilla ViT baseline across all six benchmarks, suggesting that the benefits of privileged textual supervision extend beyond predictive accuracy. Qualitative analyses of attention maps further show that the student focuses on meaningful and discriminative image regions (see Fig. 1), suggesting that text-guided attention patterns learned by the multimodal teacher are retained through distillation.
Our contributions are summarized as follows: (1) We formulate fine-grained visual classification under the LUPI paradigm, treating textual attribute descriptions as privileged training-time information while preserving image-only inference. (2) We propose FG-LUPI, a multimodal teacher-student framework that transfers knowledge acquired from textual attribute supervision to an image-only classifier through multi-level distillation. (3) We demonstrate the effectiveness of textual attribute descriptions across diverse fine-grained recognition benchmarks, showing improvements in classification accuracy and consistently lower calibration error than vanilla ViT baselines.
Multimodal Methods for FGVC. Recent approaches incorporate auxiliary information such as textual descrip-tions. Vision-language models (VLMs) [64, 69, 80] learn visual-semantic representations from large-scale image-text data, while other methods exploit textual or metadata information through cross-modal fusion [2, 8]. Alternate VLM-based approaches have also used language guidance to identify discriminative visual attributes [19, 23, 39, 44, 65]. While these methods demonstrate the value of textual supervision, text generally remains part of the multimodal recognition process. FG-LUPI instead treats text as training-only privileged information and transfers the resulting language-guided knowledge to an image-only model.
Knowledge Distillation. Knowledge distillation (KD) transfers knowledge from a teacher to a student through output predictions [20] or intermediate representations [42]. Subsequent approaches have explored attention [71], relational [52], contrastive [50], and decoupled logit-level distillation [78]. KD has also been applied to ViTs [51] and FGVC, where teacher supervision is used to transfer discriminative part information and intermediate representations [31, 75, 79]. These approaches, however, typically distill knowledge between models operating on the same modality. FG-LUPI instead distills knowledge from a teacher conditioned on privileged textual attributes into an image-only student, combining prediction-, patch-, and attention-level supervision.
Learning Using Privileged Information. Learning Using Privileged Information (LUPI) exploits auxiliary information available during training but unavailable at inference [54, 55]. It has been applied to image retrieval [5, 45], classification [11, 36], detection [3, 67], and segmentation [29]. In fine-grained recognition, privileged keypoint annotations have been used to supervise attention [41], while other LUPI approaches combine privileged modalities with knowledge distillation [3, 15, 33]. FG-LUPI extends this to textual attribute descriptions to guide a multimodal teacher and distilling the resulting language-guided visual knowledge into an image-only student.
Existing multimodal approaches exploit text directly, while conventional distillation generally transfers knowledge from visually trained teachers. FG-LUPI combines these directions by using text as training-only privileged information and transferring its semantic guidance to an image-only model through multi-level distillation.
3. Method
3.1. Problem Setting
Let denote the training set, where is an input image, is a corresponding textual attribute description, and is the class label among fine-grained categories. We formulate fine-grained classification within the LUPI paradigm, where textual descriptions are treated as privileged information available only during training.
As illustrated in Fig. 2, FG-LUPI consists of a multimodal teacher model and an image-only student model . The teacher receives both image and text inputs and learns joint visual-semantic representations from textual attribute descriptions and image content. In contrast, the student operates solely on images and is designed to perform classification without access to textual information. The knowledge learned by the teacher is transferred to the student through distillation objectives that encourage alignment at multiple representation levels, including class predictions, patch-level representations, and self-attention patterns. Through this process, the student learns to benefit from the semantic information available during training while maintaining image-only inference.
3.2. Multimodal Teacher Network
The teacher network incorporates textual attribute information into intermediate visual representations during training through gated cross-attention. The model is built upon a ViT backbone with L layers and augmented with a textual branch that provides semantic conditioning through gated cross-attention layers.
Given an input image , the vision encoder produces a sequence of patch embeddings , where denotes the class token, is the number of patches and is the visual embedding dimension. In parallel, a textual description is encoded using a frozen pretrained language model, yielding contextual token embeddings , where denotes the number of text tokens and is the dimension of the text token embedding. The textual representations are subsequently projected into the image embedding space using a learnable projection layer , yielding .
Let denote the visual token representations at transformer layer . To inject textual information into the visual stream, we employ standard multi-head cross-attention, with the visual tokens serving as queries and the textual tokens serving as keys and values:
where
Here, is the softmax function, , , and are the learnable query, key, and value projections for attention head , respectively, is the output projection, is the number of attention heads, and is the key dimension.
Following recent multimodal fusion strategies [2, 43], this interaction is integrated into the visual backbone

Figure 2. Architecture of the proposed FG-LUPI framework. During training, a multimodal teacher receives both images and textual attribute descriptions. Textual features are integrated into the visual stream through gated cross-attention layers, enabling the teacher to learn joint visual-semantic representations under multimodal supervision. An image-only student with the same ViT backbone is trained using prediction, patch-level, and attention distillation objectives. These objectives transfer predictive behavior, intermediate feature representations, and attention structure from the teacher to the student. During inference, only the student model is retained.
through a gated residual connection:
where is a learnable scalar controlling the contribution of the textual information at layer l.
The teacher is trained using the standard cross-entropy loss:
where is the teacher's predicted class probability distribution.
3.3. Image-Only Student Network
The student network is designed to learn from the multimodal teacher while operating only on images at inference time. Architecturally, it adopts the same ViT backbone as the teacher but removes the textual encoder and cross-attention modules. To transfer the teacher's knowledge, the student is optimized using multi-level distillation objectives. These objectives encourage the student to align its predictions, patch-level representations, and attention patterns with those of the teacher.
Prediction Distillation. To transfer the teacher’s predictive behavior, we employ prediction distillation. Let and denote the logits of the teacher and student, respectively. We define the softened probability distributions as:
where is a temperature parameter controlling the smoothness of the distributions. The predictive distillation loss is defined as:
Patch-Level Distillation. While prediction distillation transfers global predictive behavior, it does not explicitly constrain the spatial structure of intermediate representations. To address this, we introduce a patch-level distillation objective that aligns patch embeddings between the teacher and student.
Let denote the final patch embeddings from the last transformer block of the student and teacher, respectively, where is the number of patches and is the embedding dimension. Since both models share the same ViT patchification scheme, a one-to-one correspondence between spatial tokens is possible. We denote by and the -th row (patch token) of and .
We apply a patch-wise cosine alignment loss:
which encourages the student to align its patch-level representations with those of the teacher. Cosine similarity is adopted here to enforce scale-invariant alignment of patch embeddings, rather than absolute feature values.
Attention Distillation. In addition to feature-level alignment, we transfer the teacher's spatial interaction patterns through attention distillation. Since the teacher is conditioned on textual attributes, its attention maps reflect interactions learned under multimodal supervision.
Let denote the patch-to-patch attention maps at layer , obtained after removing the class token, where is the number of attention heads and is the number of patch tokens. The attention weights remain valid probability distributions, as each row is produced via a softmax over patch tokens. We denote by and the corresponding row-wise normalized attention maps. The attention distillation loss is defined as:
where KL divergence is computed row-wise over patch tokens. This objective encourages the student to reproduce the attention patterns learned by the teacher, thereby transferring relational information captured during multimodal training.
Student Training Objective. In addition to distillation, the student is supervised using ground-truth labels via a standard cross-entropy loss:
where and denotes the student logit vector. The final student objective combines cross-entropy supervision with all distillation components:
where , and are weighting parameters for balancing the three distillation objectives.
3.4. Training and Inference
The teacher and the student are trained simultaneously in an online distillation setting. The teacher is optimized using the classification loss in Eq. 4, while the student is optimized using the overall objective in Eq. 9. Because both networks are updated throughout training, the teacher's predictions and intermediate representations form non-stationary distillation targets. To stabilize these targets, we maintain an exponential moving average (EMA) [49] of the teacher parameters. Let denote the teacher parameters at iteration , and denote the EMA parameters, which are updated as:
where is the momentum coefficient. The EMA teacher provides the distillation targets for prediction, patch-level, and attention distillation. During inference, only the student network is retained.
| Method | Backbone | CUB | Dogs | NABirds |
|---|---|---|---|---|
| Cross-X [34] | ResNet-50 | 88.7 | 88.9 | 86.2 |
| PMG [73] | ResNet-101 | 90.0 | 90.7 | 88.4 |
| SDNs [81] | ResNet-101 | 88.8 | - | 88.3 |
| API-Net [66] | DenseNet-161 | 90.0 | 89.4 | 88.1 |
| ViT [9] | ViT-B/16 | 90.3 | 91.6 | 89.6 |
| DeiT [51] | DeiT-B/16 | 87.6 | 91.5 | 87.1 |
| TransFG [17] | ViT-B/16 | 91.7 | 92.3 | 90.8 |
| IELT [66] | ViT-B/16 | 91.8 | 91.8 | 90.8 |
| MP-FGVC [23] | ViT-B/16 | 91.8 | 91.0 | 91.0 |
| ACC-ViT [77] | ViT-B/16 | 91.4 | 92.1 | 90.9 |
| FEMCC [62] | ViT-B/16 | 89.3 | - | 89.4 |
| LDH-ViT [46] | ViT-B/16 | 91.7 | 93.1 | 90.2 |
| Q-Trans [38] | ViT-B/16 | 92.4 | 94.9 | 91.3 |
| FG-LUPI Teacher | ViT-B/16 | 91.4±0.1 | 93.0±0.2 | 91.8±0.1 |
| FG-LUPI Student | ViT-B/16 | 92.8±0.2 | 95.1±0.1 | 92.3±0.2 |
Table 1. Top-1 classification accuracy (%) on CUB-200-2011, Stanford Dogs, and NABirds. FG-LUPI consistently demonstrates superior performance over CNN- and ViT-based methods. The best scores are in bold and the second-best are underlined.
4. Experiments
4.1. Experimental Setup
Datasets. We evaluate our approach on CUB-200-2011 [60], NABirds [53], Stanford Dogs [25], FGVCAircraft [35], Stanford Cars [28], and iNaturalist 2021 (mini split) [22]. For CUB-200-2011, we use the human-authored descriptions [40] as privileged information. For the remaining datasets, descriptions are generated using Gemma 4 E4B [14]. These descriptions serve as training-time privileged semantic supervision, providing a complementary semantic representation of the visual observations that exposes potentially discriminative attributes to the multimodal teacher. This semantic supervision is subsequently transferred to the image-only student through distillation. Full prompts are provided in Appendix A.
Implementation Details. Both the teacher and student are based on the ViT-B/16 architecture initialized with ImageNet-pretrained weights [6]. For the multimodal teacher, textual descriptions are encoded using a pretrained BERT encoder [7] with frozen parameters. Following baseline approaches, input images are resized to pixels for all datasets except iNaturalist 2021, where images are resized to . Image augmentations during training include random resized cropping and horizontal flipping, while center cropping is used during evaluation. For comparisons with prior work, we report the performance numbers from the corresponding publications.
Optimization is performed using AdamW for a total of 50 epochs with a batch size of 16. Separate optimizers are maintained for the teacher and student. For the teacher, the vision backbone uses a learning rate of , while the projection layers, cross-attention fusion blocks, and final classification head are optimized with a learning rate of .

Figure 3. Visualization of attention maps generated by FG-LUPI across multiple fine-grained recognition datasets. For each example, the left image shows the original input and the right image shows the corresponding attention map. The attention maps generally concentrate on visually relevant object regions while reducing attention to surrounding background regions.
The student network has a learning rate of for the backbone and for the student projection and classification heads. The EMA teacher is updated using a decay rate of . The student distillation objective has equal weighting parameters of , , .
4.2. Results
Quantitative Results. Table 1 compares FG-LUPI with CNN- and ViT-based fine-grained classification methods on CUB-200-2011, Stanford Dogs, and NABirds. FGVC benchmarks such as these are well-established, and recent methods often yield incremental improvements. FG-LUPI consistently achieves state-of-the-art accuracy across all three datasets. Compared with the vanilla ViT-B/16 baseline, FG-LUPI improves performance by 2.5 percentage points on CUB, 3.5 percentage points on Stanford Dogs, and 2.7 percentage points on NABirds, demonstrating consistent gains from incorporating privileged textual information during training. Results on FGVCAircraft and Stanford Cars are reported in Table 2. FG-LUPI achieves the highest accuracy on FGVCAircraft. On Stanford Cars, FG-LUPI achieves the second-highest accuracy of 89.1%, while substantially improving over the vanilla ViT-B/16 baseline by 5.5 percentage points. The remaining gap to the strongest baseline method may reflect the limitations of the available textual descriptions, which may emphasize broader semantic properties rather than the highly localized and model-specific cues required to distinguish visually similar car models. Table 3 presents results on the iNaturalist 2021 benchmark. FG-LUPI improves top-1 accuracy from 74.08% to 76.46% over the vanilla ViT-B/16 baseline. While the gain is smaller than on several other benchmarks, the privileged information available for iNaturalist consists of class-level textual descriptions rather than instance-level attribute annotations. Consequently, the multimodal teacher receives less image-specific semantic supervision, which may limit the amount of fine-grained knowledge that can be transferred to the image-only student.
Interestingly, the FG-LUPI student consistently outperforms its multimodal teacher across all evaluated datasets. One explanation is that the student benefits from its own visual supervision while additionally receiving complementary semantic guidance from the teacher through prediction, patch, and attention-level distillation. This language-guided supervision can regularize the learning of more discriminative visual representations, allowing the image-only student to surpass the teacher while requiring no textual information at inference.
To further assess the effectiveness of our proposed distillation framework, we compare FG-LUPI with representa-
| Method | Backbone | Aircraft | Cars |
|---|---|---|---|
| ViT [9] | ViT-B/16 | 90.3 | 83.6 |
| TransFG [17] | ViT-B/16 | 90.9 | 84.6 |
| ACC-ViT [77] | ViT-B/16 | 91.8 | 84.1 |
| -Trans [38] | ViT-B/16 | 93.6 | 90.8 |
| FG-LUPI Teacher | ViT-B/16 | 92.6±0.2 | 87.0±0.2 |
| FG-LUPI Student | ViT-B/16 | 94.0±0.2 | 89.2±0.1 |
Table 2. Top-1 classification accuracy (%) on FGVCAircraft and Stanford Cars. FG-LUPI achieves the highest accuracy on FGVCAircraft while maintaining strong performance on Stanford Cars. The best scores are in bold and the second-best are underlined.
| Backbone | Vanilla | FG-LUPI Teacher | FG-LUPI Student |
|---|---|---|---|
| ViT-B/16 | 74.08 | 76.34 | 76.46 |
Table 3. Top-1 classification accuracy (%) on iNaturalist 2021. Comparison between the vanilla ViT-B/16 baseline and FG-LUPI.
| Model | CUB | Dogs | NABirds | Aircraft | Cars |
|---|---|---|---|---|---|
| FitNet [42] | 90.2±0.1 | 93.4±0.2 | 90.0±0.1 | 91.4±0.1 | 86.6±0.2 |
| Attn Trans [71] | 89.7±0.2 | 93.0±0.1 | 89.8±0.2 | 92.4±0.1 | 86.4±0.1 |
| SP [52] | 90.9±0.1 | 93.1±0.1 | 90.1±0.2 | 92.2±0.1 | 86.8±0.2 |
| DKD [78] | 91.5±0.1 | 93.6±0.2 | 90.2±0.1 | 93.0±0.1 | 87.2±0.2 |
| CRD [50] | 90.6±0.1 | 92.9±0.2 | 90.2±0.2 | 91.7±0.1 | 86.8±0.1 |
| FG-LUPI | 92.8±0.2 | 95.1±0.1 | 92.3±0.2 | 94.0±0.2 | 89.2±0.1 |
Table 4. Comparison with knowledge distillation methods. All methods use the same student and teacher backbone and training setting for a fair comparison. The best performance in each dataset is shown in bold.
tive knowledge distillation methods, including FitNet [42], Attention Transfer (Attn Trans) [71], Similarity-Preserving (SP) distillation [52], Decoupled Knowledge Distillation (DKD) [78], and Contrastive Representation Distillation (CRD) [50]. For a controlled comparison, all distillation baselines use the same teacher and student architectures as FG-LUPI, with the corresponding distillation objective being the only component that is changed. As shown in Table 4, FG-LUPI outperforms the baseline distillation approaches. These results suggest that the performance gains are not simply attributable to applying knowledge distillation to the multimodal teacher, but to the proposed multilevel distillation strategy, which jointly transfers complementary information at the prediction, patch, and attention levels to better preserve fine-grained visual knowledge in the image-only student.
Table 5 reports the Expected Calibration Error (ECE) across all evaluated datasets. ECE quantifies the miscalibration of a model by measuring the average absolute difference between its predicted confidence scores and its actual classification accuracy. Therefore, a lower ECE indicates a better performance. Compared to the vanilla ViT baseline, FG-LUPI consistently reduces calibration error. These re- sults suggest that attribute-guided distillation not only improves classification performance but also produces more reliable confidence estimates.
| Model | CUB | Dogs | NABirds | Aircraft | Cars | iNat21 |
|---|---|---|---|---|---|---|
| ViT | 5.44 | 5.69 | 15.35 | 7.64 | 8.74 | 22.32 |
| FG-LUPI | 1.92 | 2.54 | 9.06 | 4.30 | 4.61 | 11.29 |
Table 5. Expected Calibration Error (ECE, %) across fine-grained classification benchmarks. Lower values indicate better calibration. FG-LUPI consistently achieves substantially lower calibration error than the vanilla ViT baseline across all datasets.
Additional comparison with VLMs (CLIP [39], SigLIP [72], CoCa [70], VLM2Vec [24] and BLIP [30]), and a discussion on computational expense is provided in Appendix C.
Qualitative Results. Fig. 1 and Fig. 3 visualize the attention maps produced by FG-LUPI across different datasets. Overall, FG-LUPI attends to semantically meaningful regions such as object parts and structural details, while reducing attention on background clutter. On the CUB-200-2011 dataset (Fig. 1), the vanilla ViT tends to focus on both the bird and surrounding background regions, whereas FG-LUPI shifts attention more precisely to the bird regions. On NABirds (Fig. 3), the model suppresses irrelevant contextual elements such as branches and water, focusing instead on the bird itself. Similarly, on Stanford Dogs, when the image contains multiple objects or a human-dog interaction, FG-LUPI primarily attends to the dog region. These visualizations suggest that the proposed distillation framework encourages the student to learn more discriminative features that are aligned with fine-grained semantic cues, despite operating without textual input at inference time. Additional qualitative analyses with vanilla ViT is provided in Appendix C.
We further analyze the effect of our distillation framework by comparing attention maps from the multimodal teacher and the image-only student in Fig. 4. The teacher produces highly structured attention maps that are strongly concentrated on semantically relevant bird regions. We observe that the student is able to closely replicate these spatial focus patterns despite operating without textual inputs at inference time. This suggests that the proposed combination of prediction, patch-level, and attention distillation effectively transfers the teacher's attribute-guided localization behavior into the student model. Additional qualitative results on cross-dataset attention generalization and text-conditioned attention is provided in Appendix C.
4.3. Ablation Study
We conduct all ablation experiments on CUB-200-2011, using the same experimental protocol as described in Sec. 4.1.
Effect of Distillation Objectives. Table 6 evaluates the
Original

Teacher

Student

Figure 4. Visualization of attention maps from the multimodal teacher and the distilled image-only student. Despite receiving only image inputs, the student exhibits attention patterns that closely resemble those of the teacher. This qualitative result suggests that the proposed distillation objectives effectively transfer information captured by the multimodal teacher.
contribution of the proposed distillation losses. Among the individual objectives, prediction distillation ( ) provides the largest improvement, achieving 91.64% accuracy, while patch-level and attention distillation alone obtain 90.82% and 90.46%, respectively. Combining prediction distillation with either patch-level or attention supervision further improves performance to 92.42% and 92.15%, indicating that intermediate representation alignment provides complementary information beyond output-level matching. In contrast, combining only patch-level and attention distillation without prediction supervision yields a smaller gain (91.75%), highlighting the importance of transferring the teacher's predictive behavior. Finally, integrating all three distillation objectives achieves the best performance of 93.03%, suggesting that prediction, feature, and attention alignment capture complementary aspects of the teacher's knowledge and jointly contribute to effective knowledge transfer.
Figure 5 analyzes the effect of the weighting coefficients associated with the three distillation objectives. Overall, the accuracy rapidly improves as the coefficient increases from 0.0 and then largely saturates once the weight exceeds approximately 0.4. This trend is observed consistently across prediction, patch-level, and attention distillation, indicating that the proposed framework is relatively insensitive to the precise choice of loss weights.

Figure 5. Ablation on distillation loss weights. Top-1 classification accuracy (%) on CUB-200-2011 obtained by varying the weighting parameters of each distillation loss ( , , and ) while keeping all other parameter values fixed at 0.5. The accuracy remains stable once the parameters exceed 0.4.
| Loss term | Accuracy |
|---|---|
| 91.6±0.1 | |
| 90.8±0.2 | |
| 90.5±0.1 | |
| 92.3±0.1 | |
| 92.1 ±0.1 | |
| 91.6±0.1 | |
| 92.8 ± 0.2 |
Table 6. Ablation study of the proposed distillation objectives. Classification accuracy (%) obtained using different combinations of distillation losses. All models are trained with fixed weighting parameters for each loss term. The best performance is achieved when all three objectives are combined.
Influence of Text Encoder. Table 7 shows the impact of different text encoders on FG-LUPI, evaluated using CUB-200-2011. Among the evaluated models, BERT [7] achieves the highest accuracy, followed closely by RoBERTa [32] and DeBERTa [18]. The relatively small performance differences among pretrained language models suggest that FG-LUPI is not highly sensitive to the specific choice of text encoder, provided that the textual representations capture meaningful semantic information.
Replacing textual embeddings with random vectors results in a noticeable performance drop, reducing accuracy from 93.0% to 91.4%. Interestingly, the random variant still outperforms the vanilla ViT baseline (90.3%), indicating that part of the improvement stems from the teacher-student distillation framework itself. However, using semantically meaningful textual descriptions yields a further gain of 1.6% over the random variant, demonstrating that language-derived attribute information provides additional supervisory signals beyond the architectural and distillation benefits alone.
| Encoder | BERT [7] | RoBERTa [32] | DeBERTa [18] | CLIP [39] | Random |
|---|---|---|---|---|---|
| Accuracy | 93.0 | 92.8 | 92.8 | 92.1 | 91.4 |
Table 7. Influence of the text encoder on FG-LUPI performance. Comparison of different text encoders used to generate attribute representations for the multimodal teacher.
Effect of EMA and Privileged Information. Removing the EMA teacher reduces accuracy from 92.8% to 91.2%, suggesting that temporally smoothed teacher representations provide more stable distillation targets during training. Second, replacing the multimodal teacher with an image-only teacher yields 91.2% accuracy, indicating that the gains are not solely attributable to the teacher-student distillation framework. Instead, the privileged textual descriptions provide complementary semantic supervision that enables the teacher to learn more discriminative representations.
5. Conclusion
We introduced FG-LUPI, a framework for fine-grained visual classification that formulates textual attribute descriptions as privileged information under the Learning Using Privileged Information (LUPI) paradigm. FG-LUPI leverages textual attribute descriptions during training to provide complementary semantic supervision through a multimodal teacher. This enables the student to benefit from textual attribute information while maintaining standard image-only inference at test time. Experiments across multiple fine-grained recognition benchmarks demonstrate consistent improvements over strong ViT-based baselines and competitive methods. In addition, FG-LUPI achieves lower Expected Calibration Error than the vanilla ViT baseline across all six evaluated benchmarks, suggesting that the benefits of privileged textual supervision extend beyond classification accuracy to empirical confidence calibration. Qualitative analyses further show that the student focuses on meaningful and discriminative image regions, indicating that knowledge acquired from textual supervision can be effectively transferred to an image-only model. Future work will investigate how different forms of privileged information and training objectives influence both predictive performance and confidence calibration in fine-grained recognition.
References
[1] Zeynep Akata, Scott Reed, Daniel Walter, Honglak Lee, and Bernt Schiele. Evaluation of Output Embeddings for Fine-Grained Image Classification. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 2927–2936, 2015. 1
[2] Jean-Baptiste Alayrac, Jeff Donahue, Pauline Luc, Antoine Miech, Iain Barr, Yana Hasson, Karel Lenc, Arthur Mensch, Katherine Millican, Malcolm Reynolds, et al. Flamingo:
a visual language model for few-shot learning. Advances in neural information processing systems, 35:23716–23736, 2022. 3
[3] Matthias Bartolo, Dylan Seychell, Gabriel Hili, Matthew Montebello, Carl James Debono, Saviour Formosa, and Konstantinos Makantasis. Enhancing object detection with privileged information: A model-agnostic teacher-student approach. arXiv preprint arXiv:2601.02016, 2026. 2, 3
[4] Qi Bi, Beichen Zhou, Wei Ji, and Gui-Song Xia. Universal fine-grained visual categorization by concept guided learning. IEEE Transactions on Image Processing, 34:394–409, 2025. 2
[5] Yanbei Chen and Loris Bazzani. Learning joint visual semantic matching embeddings for language-guided retrieval. In European Conference on Computer Vision, pages 136–152. Springer, 2020. 3
[6] Jia Deng, Wei Dong, Richard Socher, Li-Jia Li, Kai Li, and Li Fei-Fei. Imagenet: A large-scale hierarchical image database. In 2009 IEEE conference on computer vision and pattern recognition, pages 248–255. Ieee, 2009. 5
[7] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. Bert: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 conference of the North American chapter of the association for computational linguistics: human language technologies, volume 1 (long and short papers), pages 4171–4186, 2019. 5, 8, 9
[8] Qishuai Diao, Yi Jiang, Bin Wen, Jia Sun, and Zehuan Yuan. MetaFormer: A Unified Meta Framework for Fine-Grained Recognition. arXiv preprint arXiv:2203.02751, 2022. 3
[9] Alexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn, Xiaohua Zhai, Thomas Unterthiner, Mostafa Dehghani, Matthias Minderer, Georg Heigold, Sylvain Gelly, Jakob Uszkoreit, and Neil Houlsby. An image is worth 16x16 words: Transformers for image recognition at scale. In International Conference on Learning Representations, 2021. 2, 5, 7
[10] Jianlong Fu, Heliang Zheng, and Tao Mei. Look Closer to See Better: Recurrent Attention Convolutional Neural Network for Fine-Grained Image Recognition. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 4438–4446, 2017. 2
[11] Saiji Fu, Xiaoxiao Wang, Yingjie Tian, Tianyi Dong, Jingjing Tang, and Jicai Li. Coarse-grained privileged learning for classification. Information Processing & Management, 60(6):103506, 2023. 3
[12] Weifeng Ge, Xiangru Lin, and Yizhou Yu. Weakly Supervised Complementary Parts Models for Fine-Grained Image Classification From the Bottom Up. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, pages 3034–3043, 2019. 2
[13] Gemma Team. Gemma 3 Technical Report. arXiv preprint arXiv:2503.19786, 2025. 13
[14] Google. Gemma 4: Our most capable open models to date. Model documentation and technical report, 2026. 5, 13
[15] Amirhossein Hajavi and Ali Etemad. Audio representation learning by distilling video as privileged information. IEEE
Transactions on Artificial Intelligence, 5(1):446–456, 2023. 3
[16] Junwei Han, Xiwen Yao, Gong Cheng, Xiaoxu Feng, and Dong Xu. P-cnn: Part-based convolutional neural networks for fine-grained visual categorization. IEEE transactions on pattern analysis and machine intelligence, 44(2):579–590, 2019. 1
[17] Ju He, Jie-Neng Chen, Shuai Liu, Adam Kortylewski, Cheng Yang, Yutong Bai, and Changhu Wang. Transfg: A transformer architecture for fine-grained recognition. In Proceedings of the AAAI conference on artificial intelligence, pages 852–860, 2022. 1, 2, 5, 7
[18] Pengcheng He, Xiaodong Liu, Jianfeng Gao, and Weizhu Chen. Deberta: Decoding-enhanced bert with disentangled attention. arXiv preprint arXiv:2006.03654, 2020. 8, 9
[19] Xiangteng He and Yuxin Peng. Fine-grained image classification via combining vision and language. In 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), pages 7332–7340. IEEE, 2017. 3
[20] Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. Distilling the knowledge in a neural network. arXiv preprint arXiv:1503.02531, 2015. 3
[21] Shaoli Huang, Zhe Xu, Dacheng Tao, and Ya Zhang. Part-Stacked CNN for Fine-Grained Visual Categorization. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 1173–1182, 2016. 2
[22] iNaturalist 2021 competition dataset. iNaturalist 2021 competition dataset. https://github.com/visipedia/inat_comp/tree/master/2021, 2021. 5, 13
[23] Xin Jiang, Hao Tang, Junyao Gao, Xiaoyu Du, Shengfeng He, and Zechao Li. Delving into multimodal prompting for fine-grained visual classification. In Proceedings of the AAAI conference on artificial intelligence, pages 2570–2578, 2024. 1, 3, 5
[24] Ziyan Jiang, Rui Meng, Xinyi Yang, Semih Yavuz, Yingbo Zhou, and Wenhu Chen. Vlm2vec: Training vision-language models for massive multimodal embedding tasks. arXiv preprint arXiv:2410.05160, 2024. 7, 15
[25] Aditya Khosla, Nityananda Jayadevaprakash, Bangpeng Yao, and Fei-Fei Li. Novel dataset for fine-grained image categorization: Stanford dogs. In Proc. CVPR workshop on fine-grained visual categorization (FGVC), 2011. 5, 13
[26] Dimitri Korsch, Paul Bodesheim, and Joachim Denzler. Classification-specific parts for improving fine-grained visual categorization. In German conference on pattern recognition, pages 62–75. Springer, 2019. 1, 2
[27] Dimitri Korsch, Paul Bodesheim, and Joachim Denzler. End-to-end learning of fisher vector encodings for part features in fine-grained recognition. In DAGM German conference on pattern recognition, pages 142–158. Springer, 2021. 1
[28] Jonathan Krause, Jia Deng, Michael Stark, and Li Fei-Fei. Collecting a large-scale dataset of fine-grained cars. 2013. 5, 13
[29] Kuan-Hui Lee, German Ros, Jie Li, and Adrien Gaidon. Spigan: Privileged adversarial learning from simulation. arXiv preprint arXiv:1810.03756, 2018. 3
[30] Junnan Li, Dongxu Li, Caiming Xiong, and Steven Hoi. Blip: Bootstrapping language-image pre-training for unified vision-language understanding and generation. In International conference on machine learning, pages 12888–12900. PMLR, 2022. 7, 15
[31] Chuanbin Liu, Hongtao Xie, Zheng-Jun Zha, Lingfeng Ma, Lingyun Yu, and Yongdong Zhang. Filtration and distillation: Enhancing region attention for fine-grained visual categorization. In Proceedings of the AAAI conference on artificial intelligence, pages 11555–11562, 2020. 3
[32] Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. Roberta: A robustly optimized bert pretraining approach. arXiv preprint arXiv:1907.11692, 2019. 8, 9
[33] David Lopez-Paz, Léon Bottou, Bernhard Schölkopf, and Vladimir Vapnik. Unifying distillation and privileged information. arXiv preprint arXiv:1511.03643, 2015. 3
[34] Wei Luo, Xitong Yang, Xianjie Mo, Yuheng Lu, Larry S Davis, Jun Li, Jian Yang, and Ser-Nam Lim. Cross-x learning for fine-grained visual categorization. In Proceedings of the IEEE/CVF international conference on computer vision, pages 8242–8251, 2019. 5
[35] Subhransu Maji, Esa Rahtu, Juho Kannala, Matthew Blaschko, and Andrea Vedaldi. Fine-grained visual classification of aircraft. arXiv preprint arXiv:1306.5151, 2013. 5, 13
[36] Li Niu, Ashok Veeraraghavan, and Ashu Sabharwal. Fine-grained classification using heterogeneous web data and auxiliary categories. arXiv preprint arXiv:1811.07567, 2018. 3
[37] Yuxin Peng, Xiangteng He, and Junjie Zhao. Object-Part Attention Model for Fine-Grained Image Classification. IEEE Transactions on Image Processing, 27(3):1487–1500, 2018. 2
[38] Shishi Qiao, Shixian Li, and Haiyong Zheng. Fine-grained visual classification via adaptive attention quantization transformer. IEEE Transactions on Neural Networks and Learning Systems, 2025. 5, 7
[39] Alec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh, Gabriel Goh, Sandhini Agarwal, Girish Sastry, Amanda Askell, Pamela Mishkin, Jack Clark, et al. Learning transferable visual models from natural language supervision. In International conference on machine learning, pages 8748–8763. PmLR, 2021. 1, 3, 7, 9, 15
[40] Scott Reed, Zeynep Akata, Honglak Lee, and Bernt Schiele. Learning Deep Representations of Fine-Grained Visual Descriptions. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pages 49–58, 2016. 5, 13
[41] Andres C Rodriguez, Stefano D'Aronco, Konrad Schindler, and Jan Dirk Wegner. Fine-grained species recognition with privileged pooling: Better sample efficiency through supervised attention. IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(12):14575–14589, 2023. 2, 3
[42] A Romero, N Ballas, S Ebrahimi Kahou, A Chassang, C Gatta, and Y Bengio. Fitnets: Hints for thin deep nets. arxiv 2014. arXiv preprint arXiv:1412.6550, 10, 2014. 3, 7
[43] Jona Ruthardt, Manu Gaur, Deva Ramanan, Makarand Tapaswi, and Yuki M Asano. Steerable visual representations. arXiv preprint arXiv:2604.02327, 2026. 1, 3
[44] Oindrila Saha, Grant Van Horn, and Subhransu Maji. Improved zero-shot classification by adapting vlms with text descriptions. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 17542–17552. IEEE, 2024. 3
[45] Viktoriia Sharmanska, Novi Quadrianto, and Christoph H Lampert. Learning to rank using privileged information. In Proceedings of the IEEE international conference on computer vision, pages 825–832, 2013. 3
[46] Yanli Shi, Qihua Hong, Yong Yan, and Jing Li. Ldh-vit: Fine-grained visual classification through local concealment and feature selection. Pattern Recognition, 161:111224, 2025. 2, 5
[47] Hongbo Sun, Xiangteng He, Jinglin Xu, and Yuxin Peng. Sim-ofe: Structure information mining and object-aware feature enhancement for fine-grained visual categorization. IEEE Transactions on Image Processing, 33:5312–5326, 2024. 2
[48] Ming Sun, Yuchen Yuan, Feng Zhou, and Errui Ding. Multi-Attention Multi-Class Constraint for Fine-grained Image Recognition. In Proceedings of the European Conference on Computer Vision (ECCV), pages 805–821, 2018. 2
[49] Antti Tarvainen and Harri Valpola. Mean teachers are better role models: Weight-averaged consistency targets improve semi-supervised deep learning results. Advances in neural information processing systems, 30, 2017. 5
[50] Yonglong Tian, Dilip Krishnan, and Phillip Isola. Contrastive representation distillation. arXiv preprint arXiv:1910.10699, 2019. 3, 7
[51] Hugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa, Alexandre Sablayrolles, and Hervé Jégou. Training data-efficient image transformers & distillation through attention. In International conference on machine learning, pages 10347–10357. PMLR, 2021. 2, 3, 5
[52] Frederick Tung and Greg Mori. Similarity-preserving knowledge distillation. In Proceedings of the IEEE/CVF international conference on computer vision, pages 1365–1374, 2019. 3, 7
[53] Grant Van Horn, Steve Branson, Ryan Farrell, Scott Haber, Jessie Barry, Panos Ipeirotis, Pietro Perona, and Serge Belongie. Building a bird recognition app and large scale dataset with citizen scientists: The fine print in fine-grained dataset collection. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 595–604, 2015. 5, 13
[54] Vladimir Vapnik and Rauf Izmailov. Learning using privileged information: similarity control and knowledge transfer. The Journal of Machine Learning Research, 16(1):2023–2049, 2015. 2, 3
[55] Vladimir Vapnik and Akshay Vashist. A new learning paradigm: Learning using privileged information. Neural networks, 22(5-6):544–557, 2009. 2, 3
[56] Aishwarya Venkataramanan, Martin Laviale, Cécile Figus, Philippe Usseglio-Polatera, and Cédric Pradalier. Tackling
inter-class similarity and intra-class variance for microscopic image-based classification. In International conference on computer vision systems, pages 93–103. Springer, 2021. 1
[57] Aishwarya Venkataramanan, Assia Benbihi, Martin Laviale, and Cédric Pradalier. Gaussian latent representations for uncertainty estimation using mahalanobis distance in deep classifiers. In 2023 IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), pages 4490–4499. IEEE, 2023. 1
[58] Aishwarya Venkataramanan, Martin Laviale, and Cédric Pradalier. Integrating visual and semantic similarity using hierarchies for image retrieval. In International Conference on Computer Vision Systems, pages 422–431. Springer, 2023. 1
[59] Aishwarya Venkataramanan, Paul Bodesheim, and Joachim Denzler. Probabilistic embeddings for frozen vision-language models: Uncertainty quantification with gaussian process latent variable models. arXiv preprint arXiv:2505.05163, 2025. 2
[60] Catherine Wah, Steve Branson, Peter Welinder, Pietro Perona, and Serge Belongie. The caltech-ucsd birds-200-2011 dataset. 2011. 5, 13
[61] Daohui Wang, He Xinyu, Shujing Lyu, Wei Tian, and Yue Lu. Feature enhancement module based on class-centric loss for fine-grained visual classification. IEEE Transactions on Neural Networks and Learning Systems, 2025. 2
[62] Jun Wang, Xiaohan Yu, and Yongsheng Gao. Feature fusion vision transformer for fine-grained visual categorization. arXiv preprint arXiv:2107.02341, 2021. 1, 5
[63] Jiahui Wang, Qin Xu, Bo Jiang, Bin Luo, and Jinhui Tang. Multi-granularity part sampling attention for fine-grained visual classification. IEEE Transactions on Image Processing, 33:4529–4542, 2024. 2
[64] Rui Xiao, Sanghwan Kim, Mariana-Iuliana Georgescu, Zeynep Akata, and Stephan Alaniz. Flair: Vlm with fine-grained language-informed image representations. In Proceedings of the computer vision and pattern recognition conference, pages 24884–24894, 2025. 1, 3
[65] Chunyu Xie, Bin Wang, Fanjing Kong, Jincheng Li, Dawei Liang, Gengshen Zhang, Dawei Leng, and Yuhui Yin. Fgclip: Fine-grained visual and textual alignment. arXiv preprint arXiv:2505.05071, 2025. 3
[66] Qin Xu, Jiahui Wang, Bo Jiang, and Bin Luo. Fine-grained visual classification via internal ensemble learning transformer. IEEE Transactions on Multimedia, 25:9015–9028, 2023. 5
[67] Hao Yang, Joey Tianyi Zhou, Jianfei Cai, and Yew Soon Ong. Miml-fcn+: Multi-instance multi-label learning via fully convolutional networks with privileged information. In Proceedings of the IEEE conference on computer vision and pattern recognition, pages 1577–1585, 2017. 3
[68] Hongju Yang, Huiming He, Yao Li, and Fuyuan Cao. Revisiting fine-grained classification: A dual-branch method for noise-resilient and global-local discriminative learning. Expert Systems with Applications, 295:128802, 2026. 2
[69] 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. arXiv preprint arXiv:2111.07783, 2021. 3
[70] Jiahui Yu, Zirui Wang, Vijay Vasudevan, Legg Yeung, Mojtaba Seyedhosseini, and Yonghui Wu. Coca: Contrastive captioners are image-text foundation models. arXiv preprint arXiv:2205.01917, 2022. 7, 15
[71] Sergey Zagoruyko and Nikos Komodakis. Paying more attention to attention: Improving the performance of convolutional neural networks via attention transfer. arXiv preprint arXiv:1612.03928, 2016. 3, 7
[72] Xiaohua Zhai, Basil Mustafa, Alexander Kolesnikov, and Lucas Beyer. Sigmoid loss for language image pre-training. In 2023 IEEE/CVF International Conference on Computer Vision (ICCV), pages 11941–11952. IEEE, 2023. 7, 15
[73] Lianbo Zhang, Shaoli Huang, and Wei Liu. Learning sequentially diversified representations for fine-grained categorization. Pattern Recognition, 121:108219, 2022. 5
[74] Ning Zhang, Jeff Donahue, Ross Girshick, and Trevor Darrell. Part-Based R-CNNs for Fine-Grained Category Detection. In Computer Vision – ECCV 2014, pages 834–849. Springer International Publishing, Cham, 2014. 2
[75] Xiangfen Zhang, Shitao Hong, Haixia Luo, Zhen Jiang, and Feiniu Yuan. A dual-level part distillation network for fine-grained visual categorization. Signal Processing: Image Communication, page 117383, 2025. 3
[76] Yu Zhang, Xiu-Shen Wei, Jianxin Wu, Jianfei Cai, Jiangbo Lu, Viet-Anh Nguyen, and Minh N. Do. Weakly Supervised Fine-Grained Categorization With Part-Based Image Representation. IEEE Transactions on Image Processing, 25(4): 1713–1725, 2016. 2
[77] Zi-Chao Zhang, Zhen-Duo Chen, Yongxin Wang, Xin Luo, and Xin-Shun Xu. A vision transformer for fine-grained classification by reducing noise and enhancing discriminative information. Pattern Recognition, 145:109979, 2024. 5, 7
[78] Borui Zhao, Quan Cui, Renjie Song, Yiyu Qiu, and Jiajun Liang. Decoupled knowledge distillation. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 11943–11952. IEEE, 2022. 3, 7
[79] Heliang Zheng, Jianlong Fu, Zheng-Jun Zha, and Jiebo Luo. Looking for the devil in the details: Learning trilinear attention sampling network for fine-grained image recognition. In 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 5007–5016. IEEE, 2019. 3
[80] Kecheng Zheng, Yifei Zhang, Wei Wu, Fan Lu, Shuailei Ma, Xin Jin, Wei Chen, and Yujun Shen. DreamLIP: Language-Image Pre-training with Long Captions. In Computer Vision – ECCV 2024, pages 73–90, Cham, 2025. Springer Nature Switzerland. 3
[81] Peiqin Zhuang, Yali Wang, and Yu Qiao. Learning attentive pairwise interaction for fine-grained classification. In Proceedings of the AAAI conference on artificial intelligence, pages 13130–13137, 2020. 5
A. Dataset
A.1. Dataset Description
We evaluate FG-LUPI on six widely used fine-grained visual classification benchmarks spanning multiple domains.
• CUB-200-2011 [60] contains 11,788 bird images from 200 species. The train data consists of 5,994 images and the test data consists of 5,794 images.
• NABirds [53] is a larger bird classification dataset consisting of 48,562 images from 555 North American bird categories. The train set contains 23,929 images and the test set contains 24,633 images.
• Stanford Dogs [25] contains 20,580 images covering 120 dog breeds with 12,000 training images and 8,580 test images.
• FGVC-Aircraft [35] comprises 10,000 aircraft images from 100 aircraft variants, with 6,667 training images and 3,333 test images.
• Stanford Cars [28] includes 16,185 images from 196 car categories, with 8,144 training images and 8,041 test images.
• iNaturalist 2021 [22] is a large-scale biodiversity benchmark spanning 10,000 species categories. We conduct experiments on the iNaturalist 2021 Mini subset, using 500,000 training images and 500,000 test images.
A.2. Privileged Information
For CUB-200-2011, we use the human-authored textual descriptions provided by Reed et al. [40] as privileged information. Each image in the dataset is associated with ten descriptions collected from different Amazon Mechanical Turk workers. During training, we randomly sample one description per image.
For the remaining datasets, human-authored attribute descriptions are unavailable. We therefore generate privileged textual descriptions using multimodal large language models. Specifically, we use Gemma 4 E4B [14] to generate concise attribute-oriented descriptions for each image. The prompt used for FGVCAircraft, Stanford Cars, and NABirds is shown below, where super_category is set to 'aircraft', 'car', or 'bird', respectively.
You are given a single image of a {
super_category}. In ONE concise sentence (≤ 25 words), describe ONLY the structural and morphological features (body shape, form, proportion, arrangement of parts) that are characteristic of this specific {
super_category} type or class. Focus on:
shape of the {super_category}, proportions,
distinctive structural elements, or
anatomical features. Ignore: individual
paint schemes, markings, damage, or
environmental context. Do NOT name the
specific type, species, or breed. Be
concise and factual.
Due to the scale of iNaturalist 2021, instead of image-level caption generation, we generate a single class-level description for each category. For every class, three randomly selected training images are provided to Gemma 3 27B [13], which synthesizes a representative visual description capturing the characteristic appearance of that class. The prompt is shown below.
You are given 3 images of a single species. In about 50 words, describe the visual features that are visible in the images and that are characteristic of this class and would help distinguish it from other species in the same supercategory. Focus on color, shape, pattern, texture or distinctive markings. Do NOT name the species/class or add dataset/file metadata. Avoid speculation and hedging (no 'maybe', 'possibly'). Deliver one concise paragraph (~50 words).
All generated descriptions are used exclusively as privileged information during training and are not required at inference time.
B. Evaluation Metrics
We evaluate classification performance using Top-1 Accuracy and Expected Calibration Error (ECE).
Top-1 Accuracy. Top-1 Accuracy measures the proportion of test samples for which the predicted class with the highest confidence matches the ground-truth label. Given a test set of size N, Top-1 Accuracy is computed as
where denotes the predicted probability for class c, is the ground-truth label, and is the indicator function.
Expected Calibration Error (ECE). While accuracy measures predictive correctness, it does not assess whether the model's confidence estimates are reliable. Expected Calibration Error (ECE) quantifies the discrepancy between prediction confidence and empirical accuracy. Following standard practice, predictions are partitioned into M confidence bins. Let denote the set of samples whose predicted confidence falls into bin m. ECE is computed as
Original
Vanilla ViT
FG-LUPI



Figure 6. Cross-dataset attention generalization. Attention maps produced by a vanilla ViT and FG-LUPI on NABirds images using models trained only on CUB-200-2011. Despite never being trained on NABirds, FG-LUPI exhibits more concentrated attention on bird regions while reducing attention to surrounding background. In contrast, the vanilla ViT produces more diffuse attention. These qualitative results suggest that knowledge learned under textual attribute supervision transfers beyond the training dataset.
where is the average accuracy of samples in bin , is the average predicted confidence in the same bin, and denotes the number of samples assigned to the bin. Lower ECE values indicate better calibration, with an ECE of zero corresponding to perfectly calibrated predictions.
C. Additional Results
Cross-dataset attention generalization. To investigate whether the learned localization behavior generalizes beyond the training distribution, we visualize attention maps on NABirds using models trained exclusively on CUB-200-2011. As shown in Fig. 6, FG-LUPI concentrates on the bird and its discriminative anatomical regions despite never observing NABirds images during training. In contrast, the vanilla ViT frequently allocates attention to surrounding context such as vegetation, water, and background structures. These results suggest that privileged attribute supervision encourages the model to learn transferable part-based localization cues rather than dataset-specific correlations. The learned attention patterns therefore exhibit stronger robustness to background clutter and generalize effectively to
black eyes
yellow breast

orange wing
black neck

white belly
yellow beak

Figure 7. Text-conditioned attention visualization of the multimodal teacher network. Given different attribute descriptions, we visualize the corresponding cross-attention maps for the same input image. Different attribute descriptions produce distinct attention patterns, indicating that the teacher learns attribute-dependent interactions between textual and visual representations.
unseen fine-grained bird categories.
Text-conditioned attention visualization. To further analyze the behavior of the multimodal teacher, we visualize the cross-attention maps conditioned on different textual attribute queries on CUB-200-2011. As shown in Fig. 7, the same input image produces distinct attention responses depending on the queried attribute. For instance, when prompted with “black eyes”, the model focuses on the head region, while “yellow breast” shifts attention to the chest area, and “orange wing” highlights the wing region. We also observe that certain attributes exhibit spatial overlap or ambiguity in their visual grounding. For example, “black neck” may partially activate regions around both the neck and adjacent wing area, while “white belly” can extend slightly toward nearby regions. Since attribute phrases such as “white belly” or “black neck” are encoded as separate tokens, the model aggregates token-level semantics rather than treating each attribute as an atomic region descriptor. As a result, the induced attention may reflect a soft combination of multiple semantic cues, leading to partially overlapping activation across adjacent body parts.
Additional Qualitative Results. Additional qualitative results are shown in Fig. 8 across NABirds, Stanford Dogs, FGVC Aircraft, and Stanford Cars. Compared to a vanilla

Figure 8. Qualitative comparison of attention maps. Attention map visualization on NABirds, Stanford dogs, FGVC Aircraft and Stanford Cars for vanilla ViT and the FG-LUPI student model. Compared to the vanilla model, FG-LUPI exhibits more concentrated attention on the object and reduced attention to surrounding background regions.
ViT, the FG-LUPI student exhibits more concentrated attention on the foreground object while reducing attention to surrounding background regions. This behavior is observed across diverse object categories, including birds, dogs, aircraft, and vehicles, suggesting that the knowledge transferred from the multimodal teacher encourages the student to focus more on relevant object regions.
Impact of Text Source. We further investigate whether the effectiveness of FG-LUPI depends on the source of the textual descriptions. On CUB-200, we compare human-provided attribute descriptions with LLM-generated descriptions using Gemma 4 EB. Using human text, FG-LUPI achieves accuracy, while LLM-generated descriptions achieve . The comparable performance suggests that FG-LUPI is relatively robust to the source of textual supervision, with semantically relevant descriptions providing effective guidance for visual representation learning regardless of whether they are human- or LLM-generated.
Comparison with Vision-Language Models. Table 8 compares FG-LUPI with representative VLMs, including CLIP [39], SigLIP [72], CoCa [70], BLIP [30], and VLM2Vec [24]. For VLM2Vec, we report zero-shot performance using the Qwen2-VL-2B variant. While VLMs such as CLIP, BLIP, SigLIP, and CoCa explicitly optimize image-text alignment in ways that support direct zero-shot classification, VLM2Vec is designed as a general multimodal embedding model trained across a broader range of embedding tasks. Its substantially lower zero-shot performance therefore suggests that its pretrained embedding space is less directly aligned with the class-level and fine-grained distinctions required for FGVC. While existing VLMs can achieve strong performance after fine-tuning, FG-LUPI obtains competitive or superior results across the evaluated fine-grained datasets. FG-LUPI student achieves the best performance on CUB, Dogs, NABirds, and FGVCAircraft, despite having only 86.7M parameters compared to substantially larger VLMs. These results suggest that privileged text supervision during training can effectively transfer fine-grained semantic guidance to a lightweight image-only model, yielding strong recognition performance without requiring text inputs at inference.
| Method | Backbone | Parameters | Zero-shot | Fine-tuned | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CUB | Dogs | NABirds | Aircraft | Cars | CUB | Dogs | NABirds | Aircraft | Cars | |||
| CLIP | ViT-B/32 | 151.3M | 53.3 | 43.1 | 36.0 | 18.5 | 50.7 | 71.6 | 70.0 | 60.8 | 69.6 | 82.5 |
| ViT-B/16 | 149.6M | 55.4 | 47.5 | 40.0 | 24.2 | 58.2 | 78.7 | 74.8 | 75.7 | 78.2 | 87.4 | |
| ViT-L/14 | 427.6M | 62.0 | 60.7 | 53.4 | 35.3 | 73.3 | 85.4 | 88.3 | 85.4 | 89.9 | 88.5 | |
| SigLIP | ViT-B/16 | 203.2M | 71.1 | 76.2 | 50.8 | 21.3 | 95.1 | 81.6 | 86.1 | 77.3 | 87.4 | 96.0 |
| CoCa | ViT-B/32 | 255.5M | 51.6 | 44.9 | 40.7 | 12.4 | 76.5 | 72.8 | 73.8 | 67.4 | 66.0 | 91.7 |
| ViT-L/14 | 644.0M | 70.2 | 67.8 | 58.9 | 24.6 | 92.2 | 86.5 | 85.5 | 86.0 | 90.1 | 95.7 | |
| BLIP | ViT-B/16 | 223.7M | 17.8 | 34.5 | 12.8 | 5.6 | 66.2 | 55.3 | 66.6 | 72.6 | 37.8 | 84.9 |
| ViT-L/16 | 446.1M | 25.5 | 37.9 | 20.3 | 6.7 | 70.0 | 66.0 | 71.9 | 76.3 | 34.7 | 85.8 | |
| VLM2Vec | Qwen2-VL-2B | 2B | 2.7 | 3.8 | 1.7 | 2.5 | 1.2 | - | - | - | - | - |
| FG-LUPI Teacher | ViT-B/16 | 216.5 M | - | - | - | - | - | 91.4 | 93.0 | 91.8 | 92.6 | 87.0 |
| FG-LUPI Student | ViT-B/16 | 86.7 M | - | - | - | - | - | 92.8 | 95.1 | 92.3 | 94.0 | 89.2 |
Table 8. Top-1 classification accuracy (%) on vision-language models under zero-shot and supervised fine-tuning settings, alongside the FG-LUPI Teacher and image-only Student. The best and second-best fine-tuned results are shown in bold and underlined, respectively.
Computational Overhead Analysis. To quantify the training overhead of our framework at resolution and a batch size of 1, we benchmarked the training latency against a standard ViT-B/16 baseline. Our combined framework (Multimodal Teacher + Student) requires ms, while the standard ViT-B/16 baseline requires ms. This corresponds to an approximately increase in training latency. The additional cost primarily arises from the multimodal Teacher, including text-image fusion and the associated forward and backward computations. Importantly, this overhead is incurred only during training. At deployment, the Teacher and text-processing components are discarded, leaving the image-only Student with 86.7M parameters and no additional inference-time computation compared to the corresponding ViT-B/16 image-only model.
D. Limitations and Future Work
Despite the consistent improvements across the evaluated benchmarks, FG-LUPI has several limitations. First, the effectiveness of the proposed training-time textual supervision depends on the specificity and quality of the available descriptions. This is particularly relevant for fine-grained categories such as Stanford Cars, where visually similar classes may differ in highly localized and model-specific details that are not always captured by generated descriptions. Second, while the CUB descriptions are human-authored and constitute externally provided privileged information, descriptions for the other datasets are synthetically generated from the training images using Gemma. These descriptions should therefore be interpreted as training-time privileged semantic supervision rather than independent sources of visual information. Their purpose is to expose semantic structure that can guide the multimodal teacher and subsequently be transferred to the image-only student. The additional multimodal teacher introduces computational cost during training, although the textual modality and teacher are discarded at inference and the deployed FG-LUPI student requires only an image.
Future work will investigate richer and more reliable sources of privileged semantic supervision, including fine-grained human annotations and automatically learned attribute representations. It would also be valuable to study whether the proposed framework can exploit other forms of training-only information, as well as extend the approach to settings where textual supervision varies in quality.