Attention Convolutional Binary Neural Tree for Fine-Grained Visual Categorization

Ruyi Ji, Longyin Wen, Libo Zhang, Dawei Du, Yanjun Wu, Chen Zhao, Xianglong Liu, Feiyue Huang

Abstract

Fine-Grained Visual Categorization (FGVC) remains a challenging task in computer vision due to the subtle differences between sub-categories and the high variance within the same category. This paper introduces the Attention Convolutional Binary Neural Tree (ACNet), a novel architecture that integrates the hierarchical decision-making of neural trees with the feature-extraction capabilities of Convolutional Neural Networks (CNNs). By employing "soft" routing and multi-scale attention modules, ACNet learns to identify discriminative object parts without the need for expensive manual part annotations, achieving state-of-the-art performance on standard benchmarks.

The Challenge of Fine-Grained Visual Categorization

FGVC involves distinguishing between highly similar sub-categories, such as specific bird species, car models, or aircraft variants. This task is significantly more complex than general object recognition for two primary reasons:

  1. Low Inter-class Variance: Different species, such as a Brewer Blackbird and a Fish Crow, may appear nearly identical to an untrained observer, with differences limited to minute details like beak shape or plumage texture.
  2. High Intra-class Variance: Individuals within the same species can exhibit vastly different appearances due to changes in pose, lighting, or environmental occlusion.
Figure 6: Examples of fine-grained categories illustrating the challenge of low inter-class variance.

Traditional CNNs often fail to capture these localized, subtle differences. While some approaches rely on manual part labeling (e.g., annotating the tail, wings, or head), such methods are labor-intensive and difficult to scale. ACNet addresses these challenges through a weakly supervised approach, utilizing only image-level labels to guide the discovery of discriminative features.

Proposed Method: Attention Convolutional Binary Neural Tree (ACNet)

ACNet organizes its computation into a full binary tree structure where edges represent convolutional operations. The architecture is composed of four primary components:

1. Backbone Network

A standard pre-trained model, such as VGG-16 or ResNet-50, serves as the initial feature extractor, providing a base representation of the input image.

2. Branch Routing Module

At each internal node of the tree, this module determines the probability of a feature map being routed to the left or right child node. Unlike traditional decision trees that use "hard" binary logic, ACNet employs a "soft" routing mechanism based on a Global Context Block. This allows the network to maintain differentiability and consider spatial relationships across the entire image before making a routing decision.

3. Attention Transformer

The core innovation of ACNet is the Attention Transformer, which utilizes Atrous Spatial Pyramid Pooling (ASPP). By using filters with varying dilation rates, the network can simultaneously capture features at multiple scales. This enables the model to identify both broad patterns and tiny, discriminative details essential for fine-grained classification.

4. Label Prediction and Aggregation

Each leaf node in the tree generates a class prediction. The final output is a weighted summation of these leaf predictions, where the weights are determined by the cumulative probability of the path taken to reach each leaf. This ensemble-like approach within a single tree structure enhances robustness.

Figure 5: High intra-class variance: A bird in flight presents a significantly different visual profile compared to a perched one, requiring robust feature extraction.

Key Insights and Results

Coarse-to-Fine Hierarchy

Visualization of the tree nodes reveals a natural hierarchical learning process. Root nodes tend to focus on the global object structure, while deeper nodes specialize in specific regions such as the head, wings, or tail. The authors found that an asymmetrical tree—using more attention modules on one branch than the other—often performed better by allowing for more diverse feature representations.

Performance Benchmarks

ACNet was evaluated on three gold-standard FGVC datasets, consistently outperforming previous state-of-the-art (SOTA) methods:

  • CUB-200-2011 (Birds): Achieved 88.1% top-1 accuracy using a ResNet-50 backbone.
  • Stanford Cars: Reached 94.6% accuracy.
  • FGVC-Aircraft: Reached 92.4% accuracy.

An ablation study demonstrated that the tree structure alone provided a significant boost, improving a VGG-16 baseline by over 3%.

Conclusion

ACNet successfully bridges the gap between hierarchical decision trees and deep convolutional networks for fine-grained tasks. By leveraging soft routing and multi-scale attention, it achieves superior accuracy without requiring dense part annotations. Future work may explore adaptive tree growth to optimize depth automatically and investigate methods to reduce the computational overhead associated with the tree-based convolutional operations.

Summary updated

BibTeX
@inproceedings{ji2020attention,
  author = {Ruyi Ji and Longyin Wen and Libo Zhang and Dawei Du and Yanjun Wu and Chen Zhao and Xianglong Liu and Feiyue Huang},
  title = {{Attention Convolutional Binary Neural Tree for Fine-Grained Visual Categorization}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  doi = {10.1109/cvpr42600.2020.01048},
}
Figure