Manuscript Offprint

arXiv:2610.32442

Learning Fine-Grained Visual Classification with Text as Privileged Information via Multimodal Distillation

Aishwarya Venkataramanan, Christian Ickler, Joachim Denzler

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

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.

References (77)