Introduction
Fine-grained visual classification (FGVC) involves distinguishing between highly similar sub-categories, such as specific bird species or car models. Traditional deep learning models typically rely on "one-hot" encoding, which assumes all classes are equally distinct. This approach fails to capture the inherent hierarchical and semantic relationships between categories—for instance, a "California Gull" is biologically closer to a "Glaucous-winged Gull" than to a "Common Tern." Furthermore, standard models often struggle with data sparsity and class imbalance, where rare categories lack sufficient training samples to form robust representations.
This paper introduces Dynamic Target Relation Graphs (DTRG), a self-supervised regularization technique designed to move beyond rigid labels. By dynamically mapping visual similarities between classes during training, DTRG enables the model to learn a nuanced feature space that is significantly more robust to sparse and imbalanced data.
Methodology: Dynamic Target Relation Graphs
The proposed framework enhances the standard classification pipeline with auxiliary self-supervised tasks that enforce structural relationships in the feature space.
The core components include:
- Online Center Generation: Instead of using fixed parameters, the model calculates the mean feature vector (prototype) for every class at the end of each epoch. This non-parametric approach proves more stable for imbalanced datasets.
- Online Center Loss (OCL): This loss encourages samples to cluster tightly around their respective dynamic class centers, minimizing intra-class variance.
- Dynamic Target Relation Graphs (DTRG): The model constructs a graph where nodes represent class centers and edges represent cosine similarities. This graph captures the global "class-to-classes" structure.
- Graph Similarity Loss (GSL): For any input image, the model calculates its similarity to all class centers. GSL forces this "sample-to-classes" relationship to align with the global relationships defined in the DTRG.
- Inter-Class Relation Augmentation: By interpolating images and their graph relations (similar to Mixup), the authors create synthetic intermediate classes that further smooth the feature manifold.
Experimental Results and Insights
The DTRG method was evaluated across diverse benchmarks, including CUB-200-2011 (Birds), Stanford Cars, FGVC Aircraft, and the large-scale iNaturalist 2018 dataset.
Key Findings
- Relational Supervision: By supervising the relationships between a sample and all other categories, the model learns a structural manifold. Knowing a bird is "70% like a Gull and 10% like a Tern" provides more discriminative information than a binary label.
- Robustness to Data Sparsity: In tests where 90% of training data was removed, the DTRG model maintained significantly higher accuracy than the baseline. This suggests the model "borrows" knowledge from related classes to understand categories with few examples.
- Performance: DTRG achieved state-of-the-art results, reaching 90.1% on CUB and 95.7% on Stanford Cars. On the long-tailed iNaturalist 2018 dataset, it outperformed the baseline by over 1.3% in top-1 accuracy.
Conclusion and Future Work
DTRG offers a powerful way to regularize fine-grained classifiers by leveraging latent class correlations. While the method requires a short "warm-up" period to establish initial class centers and involves some computational overhead for center calculation, its benefits in data-sparse scenarios are substantial. Future research may extend this relational regularization to object detection or cross-modal tasks where inter-class relationships are equally critical.
Summary updated