Weakly Supervised Complementary Parts Models for Fine-Grained Image Classification From the Bottom Up.

Weifeng Ge, Xiangru Lin, Yizhou Yu

Abstract

Given a training dataset composed of images and corresponding category labels, deep convolutional neural networks show a strong ability in mining discriminative parts for image classification. However, deep convolutional neural networks trained with image level labels only tend to focus on the most discriminative parts while missing other object parts, which could provide complementary information. In this paper, we approach this problem from a different perspective. We build complementary parts models in a weakly supervised manner to retrieve information suppressed by dominant object parts detected by convolutional neural networks. Given image level labels only, we first extract rough object instances by performing weakly supervised object detection and instance segmentation using Mask R-CNN and CRF-based segmentation. Then we estimate and search for the best parts model for each object instance under the principle of preserving as much diversity as possible. In the last stage, we build a bi-directional long short-term memory (LSTM) network to fuze and encode the partial information of these complementary parts into a comprehensive feature for image classification. Experimental results indicate that the proposed method not only achieves significant improvement over our baseline models, but also outperforms state-of-the-art algorithms by a large margin (6.7%, 2.8%, 5.2% respectively) on Stanford Dogs 120, Caltech-UCSD Birds 2011-200 and Caltech 256.

Introduction

Fine-grained image classification (FGIC) is a challenging task that requires distinguishing between highly similar sub-categories, such as specific breeds of dogs or species of birds. While standard Deep Convolutional Neural Networks (CNNs) excel at identifying the most discriminative features (e.g., the beak of a bird), they often overlook secondary, "complementary" parts like wing patterns or leg colors. This "top-down" focus on a single dominant signal limits the model's ability to capture the full range of features necessary for accurate fine-grained distinction.

Initial object localization using Class Activation Maps (CAM) and candidate part bounding boxes.

To address this, we propose a "bottom-up" pipeline that automatically discovers these complementary parts using only image-level labels, eliminating the need for labor-intensive manual part annotations.

Methodology

1. Weakly Supervised Object Detection and Segmentation

The first stage involves extracting high-quality object instances from raw images. We utilize Class Activation Maps (CAM) to identify initial discriminative regions. To refine these often blurry "hotspots," we apply a Conditional Random Field (CRF) to produce sharper, more accurate object masks. These masks then serve as "pseudo-ground truth" to train a Mask R-CNN. Through iterative refinement, the Mask R-CNN learns to detect and segment object instances with high precision, providing a solid foundation for part discovery.

Refined object instance segmentation and bounding box generation using the iterative Mask R-CNN approach.

2. Complementary Parts Model (CPM)

In standard object detection, Non-Maximum Suppression (NMS) is used to eliminate overlapping bounding boxes. However, we observe that these "suppressed" boxes often contain valuable information about different object parts. We implement a greedy search algorithm to select a subset of these boxes that are both highly discriminative (high classification confidence) and spatially diverse (low overlap). This ensures the model attends to the entire object rather than clustering around a single point.

3. Contextual Fusion via Bi-directional LSTM

Once the complementary parts are identified and their features extracted via a CNN, they must be integrated into a global understanding of the object. We employ a bi-directional Long Short-Term Memory (LSTM) network to encode the spatial relationships and context between these parts. By "reading" the sequence of parts in both directions, the model captures the structural dependencies (e.g., the relative position of the head to the torso), resulting in a comprehensive feature vector for final classification.

Experimental Results

The proposed method was evaluated on three benchmark datasets: Stanford Dogs 120, CUB-2011-200, and Caltech 256. The results demonstrate that the "bottom-up" discovery of parts yields significant performance gains over existing state-of-the-art (SOTA) methods.

  • Stanford Dogs 120: Achieved 93.9% accuracy, a 6.7% improvement over previous benchmarks.
  • CUB-2011-200: Reached 90.3% accuracy, outperforming SOTA by 2.8%.
  • Caltech 256: Reached 93.5% accuracy, a 5.2% improvement.

Ablation studies revealed that the optimal number of complementary parts is approximately nine, striking a balance between capturing detail and minimizing noise.

Conclusion

This research demonstrates that a "bottom-up" approach to part discovery can significantly enhance fine-grained image classification. By leveraging suppressed NMS detections and employing iterative refinement with Mask R-CNN, we can build robust models that understand objects as a collection of diverse, complementary parts—all without the need for expensive manual annotations. Future work will focus on streamlining the multi-stage pipeline for improved inference speed.

Summary updated

BibTeX
@inproceedings{ge2019weakly,
  author = {Weifeng Ge and Xiangru Lin and Yizhou Yu},
  title = {{Weakly Supervised Complementary Parts Models for Fine-Grained Image Classification From the Bottom Up.}},
  booktitle = {CVPR},
  year = {2019},
  url = {https://openreview.net/forum?id=SQRWXGmgdpr},
}
Figure