Source-linked AI summary
Fine-grained Recognition: Accounting for Subtle Differences between Similar Classes
Guolei Sun, Hisham Cholakkal, Salman Khan, Fahad Shahbaz Khan, Ling Shao
TL;DR
Fine-grained recognition methods may focus on a few salient cues and treat negative classes equally, despite confusions concentrating among similar classes. This paper combines feature diversification with a loss focused on confusing classes, and reports better results across five datasets.
Problem
Existing approaches can focus on only a few distinguishing parts and treat negative classes equally, although errors tend to occur among closely related classes.
Source: §1 · p. 1, Loss Function · p. 4Method
The method masks salient features to encourage subtle cues and uses a gradient-boosting loss to focus updates on confusing classes.
Source: §1 · p. 2Results
Across all five datasets, the method outperformed previous methods; on GTOS-mobile, it achieved 85.0% versus the prior 82.2%.
Source: §4.3 · p. 5Takeaways & Limitations
In the studied fine-grained datasets, the approach is reported to offer faster convergence, higher accuracy, and better computational efficiency than previous methods.
Source: §5 · p. 7
Abstract
from arXiv · showhide
The main requisite for fine-grained recognition task is to focus on subtle discriminative details that make the subordinate classes different from each other. We note that existing methods implicitly address this requirement and leave it to a data-driven pipeline to figure out what makes a subordinate class different from the others. This results in two major limitations: First, the network focuses on the most obvious distinctions between classes and overlooks more subtle inter-class variations. Second, the chance of misclassifying a given sample in any of the negative classes is considered equal, while in fact, confusions generally occur among only the most similar classes. Here, we propose to explicitly force the network to find the subtle differences among closely related classes. In this pursuit, we introduce two key novelties that can be easily plugged into existing end-to-end deep learning pipelines. On one hand, we introduce diversification block which masks the most salient features for an input to force the network to use more subtle cues for its correct classification. Concurrently, we introduce a gradient-boosting loss function that focuses only on the confusing classes for each sample and therefore moves swiftly along the direction on the loss surface that seeks to resolve these ambiguities. The synergy between these two blocks helps the network to learn more effective feature representations. Comprehensive experiments are performed on five challenging datasets. Our approach outperforms existing methods using similar experimental setting on all five datasets.
1 Introduction
Fine-grained recognition must distinguish similar subordinate classes while remaining invariant to within-class variation. The paper addresses limited feature attention and indiscriminate class weighting with a diversification block and a gradient-boosting loss.
1 Introduction
- Fine-grained recognition distinguishes visually similar subordinate categories, while also requiring invariance to pose, appearance, and lighting variation.The paper names cars, dogs, birds, and aircraft as examples of parent categories with subordinate classes.Source: §1 · p. 1
- Common approaches often focus attention on only a few object parts, leaving other relevant visual cues unused.The paper proposes spreading attention across a diverse set of relevant activation-map cues.Source: §1 · pp. 1–2
- Cross-entropy treats all classes as negatives, although errors in fine-grained recognition tend to involve only closely related classes.The paper argues that selectively attending to hard negatives yields faster convergence and higher accuracy.Source: §1 · p. 2
- The authors frame feature diversification and focused class predictions as regularization against overfitting to small fine-grained datasets.They cite the risk that high-capacity networks associate background concepts with the target object.Source: §1 · p. 2
- The method combines a diversification block that masks salient features with a gradient-boosting loss that focuses on confusing classes.The authors report faster convergence and better performance than existing methods on five datasets.Source: §1 · p. 2
2 Related Works
Prior fine-grained recognition work has used annotations, complex pooling, attention-based region discovery, and specialized losses. The paper presents its feature-suppression block and hard-class loss as alternatives to approaches requiring extra stages, computation, or no explicit focus on confusing classes.
2 Related Works
- Part annotations can locate informative regions but require extra labeling, while complex pooling methods incur high computational complexity.The cited transfer-learning approach for small datasets also requires retraining on subsets of large datasets such as ImageNet and iNaturalist.Source: §2 · p. 2
- Several label-only region-discovery methods use multiple stages or high-dimensional features, increasing training time; one pipeline also requires object detection, segmentation, an LSTM, and MS-COCO pretraining.The paper describes its diversification block as suppressing prominent regions in feature maps and training end-to-end at a cost nearly equal to the backbone.Source: §2 · p. 2
- Earlier classifier and metric-learning approaches include multi-stage training and contrastive or triplet losses that increase training cost.The paper says these approaches do not specifically focus on confusing classes and presents its gradient-boosting loss as doing so without additional cost.Source: §2 · p. 2
3 Method
The method combines feature-level diversification with a loss focused on confusing classes. It suppresses salient activation regions to encourage alternative cues and boosts gradients for difficult classes.
3 Method
- The method replaces global pooling and the final fully connected layer with a class-channel 1×1 convolution, then adds diversification and gradient-boosting components.It is designed to plug into a classification network.Source: §3 · pp. 2–3
3.1 Diversification Block
- The diversification block suppresses discriminative activation-map regions so the network is encouraged to find other informative features.During training, class activation maps pass through the block before global average pooling.Source: §3.1 · p. 3, §3.3 · p. 5
Mask Generation
- Mask generation randomly suppresses peak locations and non-peak patches, targeting both the most discriminative regions and subtler cues.Peak suppression uses probability p_peak; patches are also randomly hidden.Source: Mask Generation · p. 3
Activation Suppression Factor
- At masked locations, activation values are replaced with α times their original values; experiments use α = 0.1.After masking, global average pooling produces class confidence scores.Source: Activation Suppression Factor · p. 4
3.2 Gradient-boosting Cross Entropy Loss
- The gradient-boosting cross-entropy loss focuses on confusing classes to resolve ambiguities between closely related categories.It is introduced alongside diversification to avoid misclassifications among confusing classes.Source: §3.2 · p. 4, Loss Function · p. 4
Loss Function
- Instead of including every negative class, the loss uses the k negative classes with the highest confidence scores; k = 15 worked best in the experiments.When k = C, the loss is equivalent to cross entropy.Source: Loss Function · p. 4
Gradient Boosting
- The proposed loss has larger gradients than cross entropy for both the ground-truth class and confusing negative classes, and the experiments validate faster convergence.This gradient emphasis targets difficult class distinctions.Source: Gradient Boosting · pp. 4–5
3.3 Training and Inference
- Diversification is used during training, while inference pools the complete activation maps without suppressing regions.Thus, all informative regions found during training contribute to the final confidence score.Source: §3.3 · p. 5
4 Experiments
Across five datasets, the method outperforms prior approaches. The experiments also examine its components, attention patterns, convergence, and performance on ImageNet.
4.1 Datasets
- Evaluation covers CUB-200-2011, Stanford Cars, FGVC Aircraft, Stanford Dogs, and GTOS-mobile, using GTOS for training and GTOS-mobile for testing.The authors follow the datasets' stated train/test splits and use top-1 accuracy for evaluation.Source: §4.1 · p. 5
4.2 Implementation Details
- Experiments fine-tune pretrained ResNet-50 at 448×448 resolution and report both single-scale and five-crop multi-scale results for comparison.The multi-scale results use five crops, while single-scale results use one crop.Source: §4.3 · p. 5, §4.2 · p. 5
4.3 Quantitative Results
- The method outperforms previous methods on all five datasets, with results reported for four fine-grained benchmarks and GTOS-mobile.The experiments use top-1 accuracy for the fine-grained benchmarks and compare GTOS-mobile against prior results.Source: §4.3 · p. 5, Table 2 · p. 6, Table 3 · p. 6
4.4 Ablation Study
- On CUB-200-2011, the diversification block raises performance from 85.5% to 86.3%, and gradient-boosting loss raises it further to 87.7%.The loss outperforms Center loss, LGM loss, and max entropy loss; α = 0.1 performs best, while reducing k improves top-1 accuracy.Source: §4.4 · p. 6
4.5 Qualitative Results
- Class activation maps show the method attending to more informative object regions, while the baseline concentrates on the most discriminative region.The authors report faster convergence and lower test error; they describe the baseline as overfitting despite lower training error after 50 epochs.Source: Figure 4 · p. 7, §4.5 · p. 7, §4.4 · p. 7
4.6 ImageNet Results
- On ImageNet, gradient-boosting loss converges faster than cross entropy and achieves lower error on the benchmark.It is applied for the final 50 epochs, after easy categories are already well-classified.Source: §4.6 · p. 7, Figure 6 · p. 7
5 Conclusion
The method combines diversification with a gradient-boosting loss to better distinguish closely related fine-grained categories. It outperforms existing methods on the studied datasets and converges faster.
- The approach combines a diversification block that finds subtle class differences with a gradient-boosting loss focused on highly similar, confusing classes.Source: §5 · p. 7
- The approach outperforms existing methods on all studied fine-grained datasets.Source: §5 · p. 7
- Compared with previous methods, the approach demonstrates faster convergence, higher accuracy, and better computational efficiency.Source: §5 · p. 7