Looking for the Devil in the Details: Learning Trilinear Attention Sampling Network for Fine-grained Image Recognition
About
Learning subtle yet discriminative features (e.g., beak and eyes for a bird) plays a significant role in fine-grained image recognition. Existing attention-based approaches localize and amplify significant parts to learn fine-grained details, which often suffer from a limited number of parts and heavy computational cost. In this paper, we propose to learn such fine-grained features from hundreds of part proposals by Trilinear Attention Sampling Network (TASN) in an efficient teacher-student manner. Specifically, TASN consists of 1) a trilinear attention module, which generates attention maps by modeling the inter-channel relationships, 2) an attention-based sampler which highlights attended parts with high resolution, and 3) a feature distiller, which distills part features into a global one by weight sharing and feature preserving strategies. Extensive experiments verify that TASN yields the best performance under the same settings with the most competitive approaches, in iNaturalist-2017, CUB-Bird, and Stanford-Cars datasets.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Fine-grained Image Classification | CUB200 2011 (test) | Accuracy87.9 | 536 | |
| Fine-grained Image Classification | Stanford Cars (test) | Accuracy93.8 | 348 | |
| Image Classification | Stanford Cars (test) | Accuracy93.8 | 306 | |
| Image Classification | CUB-200-2011 (test) | Top-1 Acc87.9 | 276 | |
| Image Classification | FGVC-Aircraft (test) | Accuracy92.56 | 231 | |
| Fine-grained Image Classification | CUB-200 2011 | Accuracy87.9 | 222 | |
| Fine-grained Image Classification | Stanford Cars | Accuracy93.8 | 206 | |
| Fine-grained Visual Categorization | Stanford Cars (test) | Accuracy93.8 | 110 | |
| Classification | CUB | Accuracy87.9 | 85 | |
| Fine grained classification | Stanford Cars | Accuracy93.8 | 31 |