[Paper Review] iCAR: Bridging Image Classification and Image-text Alignment for Visual Recognition
This paper proposes iCAR, a deep fusion framework that unifies image classification and image-text alignment by replacing linear classifiers with a cosine classifier, using a shared text encoder as a meta-network to generate classifier weights, and enriching class names with descriptive prompts. The method achieves state-of-the-art performance across zero-shot, few-shot, and fine-tuning settings on image classification, action recognition, object detection, and semantic segmentation, outperforming both individual task learning and shallow multi-task baselines.
Image classification, which classifies images by pre-defined categories, has been the dominant approach to visual representation learning over the last decade. Visual learning through image-text alignment, however, has emerged to show promising performance, especially for zero-shot recognition. We believe that these two learning tasks are complementary, and suggest combining them for better visual learning. We propose a deep fusion method with three adaptations that effectively bridge two learning tasks, rather than shallow fusion through naive multi-task learning. First, we modify the previous common practice in image classification, a linear classifier, with a cosine classifier which shows comparable performance. Second, we convert the image classification problem from learning parametric category classifier weights to learning a text encoder as a meta network to generate category classifier weights. The learnt text encoder is shared between image classification and image-text alignment. Third, we enrich each class name with a description to avoid confusion between classes and make the classification method closer to the image-text alignment. We prove that this deep fusion approach performs better on a variety of visual recognition tasks and setups than the individual learning or shallow fusion approach, from zero-shot/few-shot image classification, such as the Kornblith 12-dataset benchmark, to downstream tasks of action recognition, semantic segmentation, and object detection in fine-tuning and open-vocabulary settings. The code will be available at https://github.com/weiyx16/iCAR.
Motivation & Objective
- To address the limitations of isolated image classification and image-text alignment by unifying their strengths in visual representation learning.
- To overcome the drawbacks of image classification—such as limited category coverage and ambiguous class names—using the rich semantics of image-text alignment.
- To improve zero-shot and few-shot generalization by aligning image classification with the open-vocabulary capabilities of contrastive pretraining.
- To enable effective fine-tuning on downstream tasks by jointly optimizing visual and text encoders, especially for open-vocabulary recognition.
- To demonstrate that deep fusion, rather than shallow multi-task learning, yields superior performance across diverse vision benchmarks.
Proposed method
- Replaces the standard linear classifier in image classification with a cosine classifier, which matches or exceeds linear performance while enabling shared metric space with image-text alignment.
- Reformulates image classification as a task of learning a text encoder that acts as a meta-network to generate category classifier weights, enabling shared representation space.
- Enriches each class name with a descriptive sentence (e.g., 'a photo of a night bird, any bird associated with night: owl, nightingale, nighthawk') to improve semantic clarity and align input granularity with image-text pairs.
- Uses a shared visual and text encoder for both image classification and image-text contrastive learning, with cosine similarity as the metric for both tasks.
- Fine-tunes both the visual and text encoders jointly on downstream tasks, enabling better adaptation to open-vocabulary and fine-grained classification.
- Employs a multi-scale training schedule and cosine learning rate decay for fine-tuning on LVIS, COCO, and other detection benchmarks.
Experimental results
Research questions
- RQ1Can deep fusion of image classification and image-text alignment outperform individual learning or shallow multi-task learning in visual recognition?
- RQ2Does replacing a linear classifier with a cosine classifier and using a shared text encoder as a meta-network improve zero-shot and few-shot generalization?
- RQ3To what extent does enriching class names with descriptive prompts reduce ambiguity and improve alignment with image-text learning?
- RQ4How effective is joint fine-tuning of visual and text encoders for downstream tasks like object detection and action recognition in open-vocabulary settings?
- RQ5Can the unified framework achieve performance comparable to fully supervised fine-tuning without requiring additional annotations?
Key findings
- On the Kornblith 12-dataset benchmark, iCAR achieves state-of-the-art zero-shot and few-shot accuracy, outperforming CLIP and VL-Laion.
- On Kinetics-400, iCAR achieves 83.2% top-1 accuracy with joint fine-tuning of visual and text encoders, matching the performance of standard fine-tuning (83.1%) that only updates the visual encoder.
- On Kinetics-600, iCAR achieves 59.5% top-1 accuracy after fine-tuning on K400, a +15.8% improvement over the zero-shot baseline, demonstrating strong open-vocabulary generalization.
- On COCO, iCAR achieves 41.2 mAP in open-vocabulary object detection without any annotations, only 7.4 points below fully supervised fine-tuning with ImageNet-22K pretraining.
- On LVIS, iCAR achieves 38.5 mAP, outperforming the baseline by +0.6 mAP, showing improved performance even in long-tail, fine-grained recognition.
- On UCF101 and HMDB51, iCAR improves zero-shot performance by +11.6% and +4.2% respectively, confirming strong transferability across action recognition benchmarks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.