The treasure beneath convolutional layers: Cross-convolutional-layer pooling for image classification

Lingqiao Liu, Chunhua Shen, Anton van den Hengel

Abstract

Standard deep learning practices often rely on final fully-connected layers for image classification. This paper demonstrates that earlier convolutional layers contain highly discriminative local information that is often underutilized. We propose a novel cross-convolutional-layer pooling technique that uses deeper layer activations as "part detectors" to guide the pooling of preceding layers. This approach achieves state-of-the-art performance on various benchmarks, including fine-grained classification and scene recognition, without requiring additional training or complex encoding schemes.

Introduction

In the evolution of Deep Convolutional Neural Networks (DCNNs), the standard approach for transfer learning has been extracting activations from the final fully-connected (FC) layers. However, FC layers suffer from two primary limitations: the loss of spatial information due to global pooling and a "style mismatch" when applied to local image patches. While convolutional layers preserve spatial structure, they were previously thought to be less discriminative. This work challenges that notion, suggesting that convolutional layers are a "treasure" of information if pooled effectively.

Methodology: Cross-convolutional-layer Pooling

The proposed method, Cross-convolutional-layer Pooling, leverages the hierarchical nature of DCNNs to extract and aggregate local features without the drawbacks of traditional patch-based methods.

Overview of the cross-convolutional-layer pooling process.

The process involves two key stages:

  1. Local Feature Extraction: Subarrays from a convolutional layer (Layer $t$) are treated as local descriptors. By processing the entire image in a single forward pass, the network maintains the original context, avoiding the style mismatch seen in cropped patch approaches.
  2. Guided Pooling: Feature maps from the subsequent layer (Layer $t+1$) serve as indicator maps. Filters in deeper layers naturally evolve into semantic part detectors (e.g., identifying a bird's head). Layer $t$ provides the "what" (high-resolution local features), while Layer $t+1$ provides the "where" (semantic locations).

The resulting representation is compressed using Feature Sign Quantization, reducing descriptors to 2 bits per dimension with minimal loss in accuracy, ensuring high memory efficiency.

Experimental Evaluation

The method was validated across four distinct classification benchmarks:

  • MIT Indoor Scene-67: Scene recognition.
  • Caltech-UCSD Birds-200-2011: Fine-grained object classification.
  • PASCAL VOC 2007: Generic object classification.
  • H3D Human Attributes: Attribute identification.

Key Insights and Results

A central finding is that convolutional filters inherently act as unsupervised part detectors. As shown in the visualizations, individual filters in Layer 5 respond to specific semantic components like heads or wings across different types of imagery.

Visualization of convolutional filters acting as semantic part detectors across different datasets.

The CL-45C variant (pooling layers 4 and 5) consistently outperformed standard global FC features. On MIT-67, it achieved 71.5% accuracy compared to the 57.9% CNN-Global baseline. On the Birds-200 dataset, it reached 73.5% accuracy, surpassing several methods that utilized manual part annotations. Furthermore, the method is computationally efficient, requiring only 2.2 seconds per image for feature extraction, significantly faster than regional-DCNN competitors like R-CNN SCFV.

Conclusion and Future Work

This research highlights the untapped potential of convolutional layers. By using cross-layer guidance, we can extract rich, spatially-aware features that excel in complex classification tasks. While currently a post-processing step, future integration of cross-layer pooling as a differentiable layer within the DCNN architecture could further enhance the learning of task-specific part detectors.

Summary updated

BibTeX
@inproceedings{liu2015treasure,
  author = {Lingqiao Liu and Chunhua Shen and Anton van den Hengel},
  title = {{The treasure beneath convolutional layers: Cross-convolutional-layer pooling for image classification}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2015},
  doi = {10.1109/cvpr.2015.7299107},
}
Figure