Deep FisherNet for Object Classification

Peng Tang, Xinggang Wang, Baoguang Shi, Xiang Bai, Wenyu Liu, Zhuowen TuarXiv 2016

Introduction

While Convolutional Neural Networks (CNNs) have revolutionized image classification, they often exhibit a "spatial bias." They excel on datasets like ImageNet, where objects are typically large, centered, and "iconic." However, they frequently struggle with "natural" datasets such as PASCAL VOC, where objects vary significantly in size, appear against cluttered backgrounds, or occur in multiple instances within a single frame.

Historically, researchers addressed these challenges using multi-stage pipelines:

  1. Extracting features using a pre-trained CNN.
  2. Aggregating these features into a global representation using methods like Fisher Vectors (FV).
  3. Training a separate classifier, such as a Support Vector Machine (SVM).

The primary drawback of this approach is that the stages are disconnected; the CNN cannot learn from the final classification error because the FV aggregation step is typically non-differentiable. FisherNet bridges this gap by integrating a differentiable Fisher Layer directly into the network, enabling end-to-end training via back-propagation.

Methodology: The FisherNet Architecture

The core innovation of FisherNet is the Fisher Layer, which reformulates the mathematical framework of Fisher Vectors—traditionally based on Gaussian Mixture Models (GMM)—into a series of differentiable neural network operations.

FisherNet Architecture: An end-to-end pipeline integrating convolutional layers, spatial pyramid pooling, and a differentiable Fisher layer for global image representation.

Key architectural components include:

  • Shared Convolutional Features: The entire image is processed through convolutional layers once, rather than processing individual patches separately.
  • Spatial Pyramid Pooling (SPP) Layer: This layer allows the network to extract fixed-length feature vectors from patches of arbitrary size or scale, significantly improving computational efficiency.
  • Differentiable Fisher Layer: By simplifying standard FV equations (e.g., assuming diagonal covariance and dropping component weights), the authors ensured the parameters could be updated during training. This layer captures both first-order (mean) and second-order (variance) statistics, providing a richer description of texture and complex object parts than standard pooling methods.
  • Multi-class Loss: To handle images with multiple objects (common in PASCAL VOC), the model utilizes a multi-class sigmoid cross-entropy loss.

Experimental Evaluation

The model was evaluated on the PASCAL VOC 2007 and 2012 benchmarks, which contain approximately 10,000 and 22,500 images respectively across 20 object classes. These datasets are notably challenging due to high levels of occlusion, varying object scales, and cluttered environments.

Key Results

FisherNet achieved state-of-the-art performance on these benchmarks. Using a VGG16 backbone, it reached a Mean Average Precision (mAP) of 91.7% on VOC 2007, outperforming more complex modular pipelines.

Comparison of FisherNet against state-of-the-art methods on the PASCAL VOC 2007 dataset. FisherNet-VGG16 achieves a leading mAP of 91.7%.

Beyond accuracy, the system is highly efficient. FisherNet with an AlexNet backbone processes images in 0.3s, while the VGG16 version takes 0.8s. This is over 10x faster than previous state-of-the-art methods like HCP, which often require multiple passes or complex region proposals.

Discussion and Insights

The success of FisherNet highlights several key principles:

  • End-to-End Synergy: Jointly training the FV parameters and CNN features provides a significant performance boost (+2.9% mAP) compared to using a fixed FV on top of pre-trained features. This allows the model to learn local descriptors specifically optimized for the final encoding.
  • Higher-Order Statistics: Capturing how features "spread" (second-order statistics) provides a more robust representation of complex scenes than simple average pooling.
  • Computational Efficiency: By sharing convolutional computation across overlapping patches via the SPP layer, FisherNet avoids the overhead associated with traditional patch-based methods.

Limitations and Future Work

While effective, the current Fisher Layer relies on simplifications of the GMM (such as equal component weights) to maintain differentiability. Future research could explore more complex differentiable GMMs. Additionally, while efficient on PASCAL VOC, the scalability of the Fisher Vector representation to datasets with thousands of classes (e.g., ImageNet-21k) remains to be explored, as memory bottlenecks may arise. The authors also suggest extending FisherNet to tasks like image retrieval and object detection, where its robustness to spatial shifts would be highly beneficial.

Summary updated

BibTeX
@misc{tang2016deep,
  author = {Peng Tang and Xinggang Wang and Baoguang Shi and Xiang Bai and Wenyu Liu and Zhuowen Tu},
  title = {{Deep FisherNet for Object Classification}},
  year = {2016},
  eprint = {1608.00182},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1608.00182},
}
Figure