Visual Tree Convolutional Neural Network in Image Classification

Yuntao Liu, Yong Dou, Ruochun Jin, Peng Qiao

TL;DR

The Visual Tree Convolutional Neural Network (VT-CNN) improves image classification by embedding a "Confusion Visual Tree" directly into the network architecture. By forcing the model to first master coarse-grained distinctions before tackling visually similar, fine-grained categories, VT-CNN achieves superior accuracy over standard CNNs and existing hierarchical models.

What Problem Does This Paper Address?

Standard Convolutional Neural Networks (CNNs) typically treat all object categories as equal. In a single "flat" softmax layer, the model tries to distinguish a "Basenji" from a "Pembroke Welsh Corgi" with the same priority it uses to distinguish a "Dog" from a "Chariot."

The authors argue that this "one-size-fits-all" approach is a bottleneck. In reality, most errors in deep learning come from "confused" categories—classes that are visually similar. While a model can easily tell a dog from a car (coarse-grained), it struggles with the subtle differences between 120 different dog breeds (fine-grained). The challenge is to guide the training process so the network pays more attention to these difficult-to-distinguish clusters.

Methods

The authors propose a two-stage approach called the Visual Tree Convolutional Neural Network (VT-CNN).

  1. Establishing the Confusion Visual Tree (CVT): Instead of using a human-defined hierarchy (like WordNet), the authors build a tree based on how a CNN actually behaves. They take a pre-trained model and analyze its confusion matrix. Using a hierarchical community detection algorithm, they group classes that the model frequently mixes up. This results in a tree where the root represents all classes, middle levels represent "coarse" groups (e.g., "Small mammals"), and leaves represent the final "fine" categories.

  2. VT-CNN Architecture: The network is split into two parts:

  3. Base Layers: Shared layers that extract general features.

  4. Branch Layers: Multiple branches that stem from the base layers at different depths. Each branch corresponds to a level in the CVT. Early branches handle coarse classification, while later branches handle fine-grained details.
  5. Step-by-Step Training: The model is trained hierarchically. Coarse-grained branches are trained first to provide a solid foundation. Then, the fine-grained branches are trained using a "probabilistic averaging layer" that combines the predictions of the coarse branches with the fine branch to produce the final output.

Datasets

The researchers evaluated their approach on two standard benchmarks:

  • CIFAR-10: 60,000 images across 10 classes.
  • CIFAR-100: 60,000 images across 100 classes (which naturally lends itself to hierarchical grouping).

Key Insights and Ideas

  • Model-Driven Hierarchy > Semantic Hierarchy: One of the most important findings is that a tree built from model confusion performs better than one built from semantic meaning. Just because humans think two things are related doesn't mean a CNN sees them as visually similar.
  • Focusing Attention: By utilizing the CVT, the model effectively "zooms in" on confused categories. It uses the coarse-grained outputs to inhibit unlikely categories and focus its parameters on discriminating between the remaining visually similar candidates.
  • Mitigating Vanishing Gradients: The hierarchical training strategy (training coarse branches before fine ones) helps stabilize the training of very deep networks by providing intermediate supervision.

Key Results

VT-CNN consistently outperformed baseline models and the previous state-of-the-art hierarchical model, Branch-CNN (B-CNN):

  • CIFAR-10:
    • VT-CNN (based on AlexNet) achieved 85.07% accuracy, a 1.36% improvement over the baseline.
  • VT-CNN (based on VGG16) reached 89.51%, outperforming the standard VGG16 by 2.36%.
  • CIFAR-100:
    • VT-CNN (based on ResNet-56) achieved 74.13%, surpassing the standard ResNet-56 (73.49%) and B-CNN (73.86%).
  • Tree Comparison: When testing different tree structures, the Confusion Visual Tree (74.13%) significantly outperformed Semantic Ontologies (57.18%) and standard Label Trees (64.39%).

Limitations and Future Work

While VT-CNN shows clear gains, there are a few areas for improvement:

  • Pre-training Requirement: The current method requires training an initial CNN to generate the confusion matrix before the CVT can be built. This adds a computational "pre-step."
  • Complexity: The architecture is more complex than a standard "flat" CNN, which may impact deployment on edge devices.
  • Future Direction: The authors suggest that the final fully-connected (FC) layer could be further optimized by splitting it into several smaller, fine-grained category sets to further refine the classification process.

Summary updated

BibTeX
@inproceedings{liu2018visual,
  author = {Yuntao Liu and Yong Dou and Ruochun Jin and Peng Qiao},
  title = {{Visual Tree Convolutional Neural Network in Image Classification}},
  booktitle = {ICPR},
  year = {2018},
  url = {https://openreview.net/forum?id=TEctzRNqxz},
}

Loading related content...

Figure