SGNet: A Super-class Guided Network for Image Classification and Object Detection

Kaidong Li, Nina Y. Wang, Yiju Yang, Guanghui Wang

Abstract

Standard image classification models typically treat all categories as independent, ignoring the natural semantic hierarchy of objects. This paper introduces SGNet (Super-class Guided Network), an architectural framework that utilizes a two-level label hierarchy—comprising super-classes and fine-grained classes—to enhance feature representation. By incorporating a lightweight Super-class Branch (SCB) that feeds high-level contextual information back into the primary network, SGNet improves both classification accuracy and convergence speed. Experimental results on CIFAR-100 and MS COCO demonstrate that SGNet provides consistent performance gains across classification and detection tasks with minimal computational overhead.

1. Introduction

Traditional Convolutional Neural Networks (CNNs) employ a "flat" classification strategy, where misclassifications between semantically related categories (e.g., "bus" vs. "car") are penalized as heavily as those between unrelated ones (e.g., "bus" vs. "dog"). This approach forces the network to discover semantic relationships solely from data, ignoring the structured knowledge humans use to categorize the world. Humans often recognize broad categories (super-classes) before identifying specific instances. SGNet aims to integrate this hierarchical semantic knowledge into standard CNN architectures using a simple two-level labeling scheme.

Illustration of semantic hierarchy where fine-grained classes are grouped into broader super-classes.

2. Methodology

The SGNet architecture introduces a Super-class Branch (SCB) that can be integrated into various backbone networks. The model splits at the deeper layers into two distinct pathways:

  • Super-Class Branch (SCB): A shallow branch optimized to predict broad semantic categories. Due to the high visual variance between super-classes, this branch converges rapidly and learns robust high-level features.
  • Finer Class Branch (FCB): The primary branch responsible for final classification. Crucially, feature maps from the SCB are concatenated with the FCB's features before the final fully connected layers, providing the network with high-level contextual guidance.
The SGNet architecture featuring the Super-class Branch (SCB) and feature concatenation to guide fine-grained classification.

Two inference strategies were evaluated: Two-step Inference (TSI), which restricts predictions based on the super-class output, and Direct Inference (DI), which utilizes the enriched FCB features directly. DI was found to be superior as it avoids cascading errors from the SCB.

3. Experiments and Results

SGNet was evaluated on the CIFAR-100 classification dataset and the MS COCO object detection dataset. For CIFAR-100, the native 20 super-classes were used. For MS COCO, the 80 categories were manually clustered into 12 super-classes.

  • Classification Performance: Using a VGG-16 backbone on CIFAR-100, SGNet improved top-1 accuracy from 72.15% to 72.84%.
  • Detection Performance: Integrated into Faster R-CNN, SGNet increased the Average Precision (AP) on MS COCO from 28.6 to 29.2, with notable improvements in detecting large-scale objects.
  • Efficiency: The architectural modifications add minimal overhead. For VGG-16, the parameter count increased from 34.0M to 40.8M, while inference time for object detection remained nearly identical (43.0ms vs 43.4ms).

4. Conclusion

SGNet demonstrates that incorporating simple hierarchical semantic labels can effectively guide CNNs toward better feature representations. The "plug-and-play" nature of the SCB makes it a versatile addition to existing computer vision frameworks. Future research will explore more complex, multi-level hierarchies to further exploit semantic structures in large-scale datasets.

Summary updated

BibTeX
@inproceedings{li2021sgnet,
  author = {Kaidong Li and Nina Y. Wang and Yiju Yang and Guanghui Wang},
  title = {{SGNet: A Super-class Guided Network for Image Classification and Object Detection}},
  booktitle = {CRV},
  year = {2021},
  url = {https://openreview.net/forum?id=orfqQT7Mq9},
}
Figure