Deep Decision Network for Multi-class Image Classification

Venkatesh N. Murthy, Vivek K. Singh, Terrence Chen, R. Manmatha, Dorin Comaniciu

Abstract

Standard Convolutional Neural Networks (CNNs) typically apply a uniform computational cost to every input, regardless of its complexity. This paper presents the Deep Decision Network (DDN), a tree-structured architecture designed to automatically identify and handle "hard" groups of classes. By routing easy-to-classify images to early exits and directing ambiguous samples to specialized expert micro-networks, DDN achieves superior accuracy on benchmark datasets like CIFAR-10 and CIFAR-100. The approach offers a data-driven, efficient alternative to monolithic deep architectures by leveraging visual hierarchies discovered through confusion analysis.

Introduction

Modern CNN architectures often suffer from diminishing returns as they grow deeper, incurring massive computational costs and increasing the risk of overfitting. A significant limitation is their "one-size-fits-all" approach: every image passes through every layer. However, many images are easily classified in early stages, while only a subset of "hard" cases—often involving visually similar classes—requires deeper processing. Furthermore, standard training provides little insight into why certain classes are confused. The Deep Decision Network (DDN) addresses these issues by building a hierarchical structure that mirrors the inherent visual confusion in the data.

Methodology

The DDN is constructed stage-wise, evolving from a base "root" network into a tree of experts.

Architecture and Routing

The process begins with training a root network. Once it reaches a baseline performance, its confusion matrix is analyzed to identify clusters of frequently misclassified classes (e.g., "cars" vs. "trucks"). These clusters are then assigned to "expert nodes"—shallow micro-networks specifically optimized for fine-grained discrimination within that cluster.

The Deep Decision Network (DDN) architecture, showing hierarchical routing from a root network to specialized expert nodes for confused class clusters.

During inference, the root network makes an initial prediction. If the confidence is high, the network makes an "early decision" and stops. If the prediction falls into a known "hard" cluster with low confidence, the sample is routed to the corresponding expert node for further refinement.

Joint-Loss Optimization

To ensure that classes within a cluster are effectively separable by subsequent experts, the network employs a specialized training objective. It combines standard Softmax loss with a weighted contrastive "Matching-loss." This joint optimization forces features of classes within the same cluster to remain close while simultaneously pushing different clusters apart in the feature space.

The joint-loss optimization framework, combining Softmax-loss with a Matching-loss to improve class separability within clusters.

Experimental Results

The DDN was evaluated on MNIST, CIFAR-10, and CIFAR-100.

  • CIFAR-10: DDN achieved a test error of 9.68% (without data augmentation), outperforming the previous state-of-the-art Deeply Supervised Nets (9.78%).
  • CIFAR-100: The model reached a test error of 31.55%, a significant improvement over the prior best of 34.57%.

Key Insights

  1. Divide and Conquer: By delegating fine-grained tasks to experts, the root network can focus on broader category separation.
  2. Automatic Hierarchy Discovery: Using spectral co-clustering on the confusion matrix allows the network to discover visual relationships (like "cats" vs. "dogs") without human supervision.
  3. Efficiency: Computational resources are allocated dynamically; easy samples exit early, while hard samples undergo more intensive processing.

Discussion and Conclusion

While DDN shows significant promise, it faces certain challenges. If the root network incorrectly assigns a sample to the wrong cluster, the error is irrecoverable. Additionally, the system's performance is sensitive to the initial quality of the root network. Future work includes scaling this hierarchical approach to larger datasets like ImageNet, where the complexity of class hierarchies is significantly higher. Despite these limitations, DDN demonstrates that a data-driven, hierarchical approach can lead to more efficient and interpretable deep learning models.

Summary updated

BibTeX
@inproceedings{murthy2016deep,
  author = {Venkatesh N. Murthy and Vivek K. Singh and Terrence Chen and R. Manmatha and Dorin Comaniciu},
  title = {{Deep Decision Network for Multi-class Image Classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.246},
}
Figure