Spatial-Scale Aligned Network for Fine-Grained Recognition

Lizhao Gao, Haihua Xu, Chong Sun, Junling Liu, Yu-Wing TaiarXiv 2020

Introduction

Fine-grained visual recognition (FGVR) focuses on distinguishing between highly similar sub-categories, such as specific bird species, car models, or aircraft variants. This task is significantly more challenging than general object recognition because intra-class variance (differences in pose, lighting, or scale within the same category) often outweighs inter-class variance (the subtle morphological differences that define a species).

A primary hurdle in FGVR is misalignment. Objects may appear at vastly different scales or in various orientations, making it difficult for standard convolutional neural networks (CNNs) to extract consistent discriminative features. While early approaches relied on manual "part annotations" to guide the network, such labels are expensive and difficult to scale. The Spatial-Scale Aligned Network (SSANET) addresses these challenges by implicitly aligning object parts across scales and orientations using a self-supervised framework.

Methodology

SSANET introduces a unified pipeline that learns to identify and align discriminative regions without manual supervision. The architecture consists of three core modules:

Overview of the SSANET architecture, illustrating the flow from proposal mining to scale and spatial alignment.
  1. Morphological Alignment Constraints (MAC): To perform "proposal mining" without human labels, SSANET employs MAC. This self-supervised loss function ensures that the network selects regions that are both informative (high entropy) and semantically consistent across different images. For instance, it encourages the "Part 1" detector to consistently focus on a bird's head across the entire dataset.
  2. Discriminative Scale Mining (DSM): To handle size variations, the DSM module generates multiple scale candidates. It utilizes a circulant matrix and a Fourier solver to efficiently find the optimal scale alignment. This frequency-domain approach transforms a computationally expensive multi-scale search into a fast, differentiable operation.
  3. Oriented Pooling (OP): Standard pooling layers often discard spatial information. SSANET's OP module performs max pooling across four predefined orientations (horizontal and vertical on both original and rotated maps). This ensures the final feature representation is invariant to rotations and translations while preserving the fine details necessary for classification.

Experiments and Results

The model was rigorously evaluated on three benchmark datasets: CUB-200-2011 (birds), Stanford Cars, and FGVC Aircraft. SSANET established new state-of-the-art (SOTA) performance, achieving 88.7% accuracy on CUB-200-2011 (ResNet-101), 94.6% on Stanford Cars, and 92.3% on FGVC Aircraft.

Beyond top-1 accuracy, the network demonstrated significant robustness. In rotation "stress tests," SSANET maintained an accuracy of 65.9%, significantly outperforming a standard ResNet-50, which dropped to 57.3%.

Comparison of localization error (distance between predicted and ground-truth centers) between SSANET and a baseline model across different predicted boxes.

A key highlight of SSANET is its localization capability. Despite never seeing keypoint labels during training, the DSM module's predicted centers were found to be much closer to ground-truth keypoints than those of previous attention-based methods. As shown in the comparative analysis, SSANET consistently reduces the distance between predicted and ground-truth centers across various object parts.

Discussion and Future Work

SSANET demonstrates that implicit, self-supervised alignment is a powerful alternative to manual part labeling. By moving scale alignment to the Fourier domain and utilizing oriented pooling, the network achieves high precision and robustness.

However, some limitations remain. The current DSM module does not share feature extraction across all multi-scale candidates, leading to computational overhead. Future iterations could incorporate ROI Pooling to improve efficiency. Additionally, the current three-stage training strategy for the OP module suggests that further research into one-stage joint optimization could simplify the deployment of such networks.

Summary updated

BibTeX
@misc{gao2020spatial,
  author = {Lizhao Gao and Haihua Xu and Chong Sun and Junling Liu and Yu-Wing Tai},
  title = {{Spatial-Scale Aligned Network for Fine-Grained Recognition}},
  year = {2020},
  eprint = {2001.01211},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.01211},
}
Figure