Extremely Fine-Grained Visual Classification over Resembling Glyphs in the Wild
Fares Bougourzi, Fadi Dornaika, Chongsheng Zhang
TL;DR
This work tackles extremely fine-grained recognition of resembling glyphs in natural scenes by introducing RCC-FGVC and EL-FGVC benchmarks and a two-stage Siamese framework, CCFG-Net, that learns discriminative features in both Euclidean and angular spaces using supervised contrastive warm-up and joint contrastive/classification training. The method integrates $L_{SCL}$, $L_{LMCL}$, $L_e$, and $L_a$ losses and demonstrates substantial performance gains over state-of-the-art FGVC approaches across CNN and Transformer backbones, especially in low-shot regimes. The proposed benchmarks reveal challenging glyph-level similarity without semantic parts, while CCFG-Net provides robust recognition in the wild, with practical implications for scene text recognition and digital maps. The work opens avenues for richer resembling dictionaries and improved negative sampling strategies to further boost discriminability.
Abstract
Text recognition in the wild is an important technique for digital maps and urban scene understanding, in which the natural resembling properties between glyphs is one of the major reasons that lead to wrong recognition results. To address this challenge, we introduce two extremely fine-grained visual recognition benchmark datasets that contain very challenging resembling glyphs (characters/letters) in the wild to be distinguished. Moreover, we propose a simple yet effective two-stage contrastive learning approach to the extremely fine-grained recognition task of resembling glyphs discrimination. In the first stage, we utilize supervised contrastive learning to leverage label information to warm-up the backbone network. In the second stage, we introduce CCFG-Net, a network architecture that integrates classification and contrastive learning in both Euclidean and Angular spaces, in which contrastive learning is applied in both supervised learning and pairwise discrimination manners to enhance the model's feature representation capability. Overall, our proposed approach effectively exploits the complementary strengths of contrastive learning and classification, leading to improved recognition performance on the resembling glyphs. Comparative evaluations with state-of-the-art fine-grained classification approaches under both Convolutional Neural Network (CNN) and Transformer backbones demonstrate the superiority of our proposed method.
