The Treasure beneath Convolutional Layers: Cross-convolutional-layer Pooling for Image Classification

Lingqiao Liu, Chunhua Shen, Anton van den Hengel

Abstract

This paper introduces cross-convolutional-layer pooling, a novel feature extraction technique for Deep Convolutional Neural Networks (DCNNs). By leveraging the semantic information inherent in successive convolutional layers, the method transforms local activations into powerful, spatially-aware image descriptors. This approach addresses the limitations of fully-connected layers, such as spatial information loss and domain mismatch, while offering significant computational efficiency. Evaluated across diverse tasks including scene classification and fine-grained object recognition, the method achieves state-of-the-art performance with a 10x speedup over regional-DCNN alternatives.

Introduction

In the early development of DCNNs, the standard practice for image classification was to utilize activations from the final fully-connected (FC) layers as global image features. However, this approach suffers from three primary drawbacks. First, FC layers flatten spatial grids, leading to a loss of essential "where" information. Second, there is a domain mismatch; networks trained on whole images often fail to describe small, zoomed-in patches accurately because the visual statistics differ. Finally, the computational cost of running multiple forward passes for different image regions is prohibitive.

This research challenges the convention that FC layers are the optimal descriptors, proposing instead to look "beneath" these layers to extract high-quality local features from a single forward pass.

Methodology: Cross-convolutional-layer Pooling

The core innovation is a technique that utilizes two successive convolutional layers (Layer $t$ and Layer $t+1$) to create a more discriminative representation.

  1. Local Feature Extraction: Subarrays of feature maps in Layer $t$ (e.g., conv4) are treated as local descriptors.
  2. Guidance from Above: Feature maps from Layer $t+1$ (e.g., conv5) serve as "indicator maps." Since filters in deeper layers tend to activate on specific semantic parts, these maps act as unsupervised part detectors.
  3. The Pooling Step: For every filter in Layer $t+1$, a weighted sum of the local features in Layer $t$ is performed. This effectively pools features based on their semantic relevance to specific object parts.
  4. Multi-resolution Scheme: To capture various scales, the DCNN is applied to the whole image and several large, overlapping blocks, with the resulting features concatenated.
Overview of the cross-convolutional-layer pooling method. Local features from layer $t$ are pooled using guidance from semantic activation maps in layer $t+1$.

Semantic Insights and Efficiency

A key finding of this work is that convolutional layers are naturally semantic. Visualizations of conv5 feature maps demonstrate that they gravitate toward meaningful parts—such as wings, faces, or windows—without explicit part-based training. By extracting local features from a whole-image forward pass, the network maintains the same context it saw during training, preserving discriminative power and solving the domain mismatch problem.

Visualization of activation maps from deep convolutional layers. Different filters naturally respond to specific semantic parts like bird wings or bookshelves.

Furthermore, the method is highly efficient. Because it requires only a few forward passes per image, it is roughly 10 times faster than "Regional-DCNN" methods. The authors also discovered that quantizing the final pooled features to just 2 bits (representing $\{-1, 0, 1\}$) resulted in negligible performance loss while significantly reducing memory requirements.

Experimental Results

The method was evaluated across four distinct visual tasks:

  • Fine-grained Classification (Birds-200): Achieved 73.5% accuracy, a 6% improvement over previous methods without manual part annotations.
  • Scene Classification (MIT-67): Reached 71.5% accuracy.
  • Generic Object Classification (Pascal VOC 2007) and Human Attributes (H3D): Demonstrated consistent versatility.

In terms of speed, the proposed method processes an image in approximately 2.2 seconds, compared to 19.3 seconds for competing regional methods like R-CNN SCFV. It consistently outperformed both global CNN features and jittered-crop averaging.

Conclusion

While cross-convolutional-layer pooling offers a powerful alternative to FC-based descriptors, it currently relies on heuristic layer selection (e.g., conv4 and conv5). Future work may involve integrating this cross-layer guidance directly into the training process or developing formal theories for optimal layer selection in deeper architectures like ResNet. Nonetheless, the "treasure" found beneath the convolutional layers provides a faster, more accurate path for complex image classification tasks.

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