Skip to main content
QUICK REVIEW

[Paper Review] B-CNN: Branch Convolutional Neural Network for Hierarchical Classification

Xinqi Zhu, Michael Bain|arXiv (Cornell University)|Sep 28, 2017
Advanced Neural Network ApplicationsComputer Science29 references108 citations
TL;DR

B-CNN adds branch outputs along a CNN to predict in a coarse-to-fine hierarchy, trained with a Branch Training strategy (BT-strategy); it improves over baseline CNNs on MNIST, CIFAR-10, and CIFAR-100.

ABSTRACT

Convolutional Neural Network (CNN) image classifiers are traditionally designed to have sequential convolutional layers with a single output layer. This is based on the assumption that all target classes should be treated equally and exclusively. However, some classes can be more difficult to distinguish than others, and classes may be organized in a hierarchy of categories. At the same time, a CNN is designed to learn internal representations that abstract from the input data based on its hierarchical layered structure. So it is natural to ask if an inverse of this idea can be applied to learn a model that can predict over a classification hierarchy using multiple output layers in decreasing order of class abstraction. In this paper, we introduce a variant of the traditional CNN model named the Branch Convolutional Neural Network (B-CNN). A B-CNN model outputs multiple predictions ordered from coarse to fine along the concatenated convolutional layers corresponding to the hierarchical structure of the target classes, which can be regarded as a form of prior knowledge on the output. To learn with B-CNNs a novel training strategy, named the Branch Training strategy (BT-strategy), is introduced which balances the strictness of the prior with the freedom to adjust parameters on the output layers to minimize the loss. In this way we show that CNN based models can be forced to learn successively coarse to fine concepts in the internal layers at the output stage, and that hierarchical prior knowledge can be adopted to boost CNN models' classification performance. Our models are evaluated to show that the B-CNN extensions improve over the corresponding baseline CNN on the benchmark datasets MNIST, CIFAR-10 and CIFAR-100.

Motivation & Objective

  • Motivate and formalize hierarchical classification within CNNs by leveraging class hierarchies.
  • Introduce B-CNN architecture that outputs multiple predictions from coarse to fine levels.
  • Propose BT-strategy to balance prior hierarchy with end-to-end learning.
  • Demonstrate empirical gains over traditional CNN baselines on MNIST, CIFAR-10, and CIFAR-100.

Proposed method

  • Integrates multiple branch networks at various depths to produce predictions corresponding to levels in a hierarchical label tree.
  • Defines a loss as a weighted sum of cross-entropy losses across all hierarchy levels (Equation 1).
  • Uses loss weights A_k (sum to 1) to control each level’s contribution to the total loss (Section 3.3).
  • Introduces Branch Training strategy (BT-strategy) that shifts loss weights during training from coarse to fine levels to mitigate vanishing gradients (Section 3.4).
  • Branches can be instantiated as fully connected nets atop CNN features (simplified in experiments).
  • Evaluation compares B-CNN variants to baselines on MNIST, CIFAR-10, CIFAR-100 with SGD and standard CNN components (Tables 1-3).

Experimental results

Research questions

  • RQ1Can hierarchical class structure be embedded into CNNs to yield interpretable, coarse-to-fine predictions?
  • RQ2Does a branch-based loss with BT-strategy improve CNN performance on hierarchical tasks compared to flat CNNs?
  • RQ3How do B-CNNs perform relative to traditional CNN baselines on MNIST, CIFAR-10, and CIFAR-100?

Key findings

  • B-CNN models consistently outperform their baseline CNN counterparts on MNIST, CIFAR-10, and CIFAR-100 (Table 3).
  • On MNIST, B-CNN A achieves 99.40% vs base A 99.27%.
  • On CIFAR-10, B-CNN B achieves 84.41% vs base B 82.35%.
  • On CIFAR-100, B-CNN B achieves 57.59% vs base B 51.00%; B-CNN C achieves 64.42% vs base C 62.92%.
  • BT-strategy accelerates learning after shifting loss focus toward finer levels, and can prevent vanishing-gradient effects.
  • Initialization with pre-trained parameters reduces the observed gain from BT-strategy compared to random initialization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.