Fine-Grained Classification: Connecting Metadata via Cross-Contrastive Pre-Training
Sumit Mamtani, Yash Thesia
TL;DR
This work tackles fine-grained visual classification by integrating appearance, descriptive class text, and spatio-temporal metadata into a unified $256$-D embedding through cross-contrastive pre-training. A six-term cross-modal objective enforces bidirectional alignment across image–text, image–metadata, and text–metadata, yielding transitive consistency that enhances discrimination among closely related species. After pre-training, a lightweight $512$-D image+metadata representation is fine-tuned with a two-layer classifier to predict $555$ NABirds classes, achieving $84.44\%$ top-1 on NABirds—$7.83\%$ higher than a vision-only baseline and surpassing GeoPrior. The approach demonstrates that geo-temporal context can resolve visually similar taxa and suggests broad applicability to domains where context is informative, though it requires reliable metadata and incurs additional pre-training cost.
Abstract
Fine-grained visual classification aims to recognize objects belonging to many subordinate categories of a supercategory, where appearance alone often fails to distinguish highly similar classes. We propose a unified framework that integrates image, text, and metadata via cross-contrastive pre-training. We first align the three modality encoders in a shared embedding space and then fine-tune the image and metadata encoders for classification. On NABirds, our approach improves over the baseline by 7.83% and achieves 84.44% top-1 accuracy, outperforming strong multimodal methods.
