Fine-Grained Image Classification by Exploring Bipartite-Graph Labels

Feng Zhou, Yuanqing LinCVPR 2016

Abstract

Fine-grained image recognition aims to distinguish between highly similar sub-categories, a task often hampered by subtle visual differences and limited training data. This paper introduces Bipartite-Graph Labels (BGL), a framework that models relationships between specific classes and broader categories or attributes. By integrating these relationships into a Convolutional Neural Network (CNN) with a hierarchical weight-sharing prior, the BGL approach significantly improves accuracy, particularly in "ultra-fine" scenarios where data is scarce, while maintaining computational efficiency.

Introduction

Standard image classification tasks typically focus on broad categories, such as "dog" versus "car." However, fine-grained classification requires a much higher level of specificity, such as distinguishing between an "Acura ZDX Hatchback" and an "Acura TL Sedan." This task presents two primary challenges: subtle visual differences and data scarcity. In "ultra-fine" scenarios—like identifying a specific dish from a particular restaurant—the visual cues are minute, and the number of available training images per class is often very low.

The authors propose that while individual classes are difficult to distinguish, they share "rich relationships" through common attributes or ingredients. Most existing models treat labels as isolated entities, ignoring these valuable connections.

The Bipartite-Graph Label Framework

The core innovation of this work is the Bipartite-Graph Label (BGL) framework. It represents label relationships as a collection of bipartite graphs where one set of nodes represents fine-grained classes and the other represents "coarse" labels, such as dish types or car body styles.

Bipartite Graph Label (BGL) structure illustrating relationships between fine-grained dishes and coarse attributes like ingredients.

The network is trained to jointly model the probability of both the fine-grained class and its associated coarse labels. To facilitate learning from limited data, the authors introduce a hierarchical regularization (weight decay) prior. This encourages the network weights for similar classes to remain close in the feature space, allowing the model to "borrow" knowledge from well-represented classes to improve the recognition of rarer ones. Crucially, the bipartite structure allows for exact and efficient inference, adding negligible overhead to the training process compared to standard softmax layers.

Experimental Evaluation

The BGL method was evaluated on several benchmarks, including Stanford Cars (196 categories), CUB-200-2011 (200 bird species), and Car-333 (333 labels including maker and year). Additionally, the authors introduced Food-975, a new dataset containing nearly 38,000 images of 975 menu items across 6 restaurants, featuring a hierarchy of dishes and 51 ingredient attributes.

Key Results and Efficiency

The BGL approach consistently outperformed standard CNN baselines (AlexNet, GoogLeNet, and VGG) across all datasets. On Stanford Cars, GoogLeNet accuracy improved from 78.5% to 81.7% without bounding boxes. On the Car-333 dataset, accuracy jumped from 79.8% to 86.4%, benefiting from the shared body types among car models.

Performance comparison showing accuracy gains with limited training data and computational efficiency of the BGL framework.

As shown in the performance analysis, BGL is particularly effective when training data is limited. Furthermore, the computational cost is minimal; the forward pass time is nearly identical to standard networks, and the backward pass is only marginally slower. In real-world tests using noisy Yelp images (Food-975), BGL achieved a 6–7% improvement over the baseline, demonstrating its robustness.

Conclusion and Future Directions

The BGL framework demonstrates that the dense web of metadata available at ultra-fine granularities can be leveraged to regularize models effectively. By connecting classes through shared attributes, the model learns more discriminative features. While the current approach requires manual definition of the bipartite graph structure, future work could explore automated discovery of these relationships or the integration of continuous labels (e.g., ingredient intensity) via regression.

Summary updated

BibTeX
@inproceedings{zhou2016fine,
  author = {Feng Zhou and Yuanqing Lin},
  title = {{Fine-Grained Image Classification by Exploring Bipartite-Graph Labels}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.127},
}
Figure