Multi-scale Recognition with DAG-CNNs

Songfan Yang, Deva Ramanan

Abstract

We explore multi-scale convolutional neural nets (CNNs) for image classification. Contemporary approaches extract features from a single output layer. By extracting features from multiple layers, one can simultaneously reason about high, mid, and low-level features during classification. The resulting multi-scale architecture can itself be seen as a feed-forward model that is structured as a directed acyclic graph (DAG-CNNs). We use DAG-CNNs to learn a set of multi-scale features that can be effectively shared between coarse and fine-grained classification tasks. While fine-tuning such models helps performance, we show that even "off-the-self" multi-scale features perform quite well. We present extensive analysis and demonstrate state-of-the-art classification performance on three standard scene benchmarks (SUN397, MIT67, and Scene15). In terms of the heavily benchmarked MIT67 and Scene15 datasets, our results reduce the lowest previously-reported error by 23.9% and 9.5%, respectively.

Introduction

Standard Convolutional Neural Networks (CNNs) are typically viewed as a linear hierarchy where lower layers detect edges, middle layers detect parts or textures, and final layers detect complex objects. Most applications treat the network as a "black box" and extract features only from the final layer. However, the optimal level of abstraction is often task-dependent. While distinguishing a "person" from a "dog" (coarse classification) might rely on high-level semantic features, distinguishing a "SUV" from a "sedan" (fine-grained recognition) or identifying specific indoor scenes often requires the subtle textures and specific object parts found in intermediate layers.

The DAG-CNN Architecture

To address this, we propose the DAG-CNN architecture. Instead of a simple chain, we introduce "skip" connections from multiple intermediate layers directly to the output. This transforms the network into a Directed Acyclic Graph (DAG) that combines features from multiple scales.

Figure 3: Comparison of standard CNN, Multi-scale CNN, and the proposed DAG-CNN architectures, alongside examples of coarse and fine-grained classification tasks.

Key technical components of the DAG-CNN include:

  • Multi-scale Feature Extraction: Features are extracted from several layers simultaneously. Each selected layer's output is globally average-pooled and L2-normalized.
  • Greedy Layer Selection: To manage feature dimensionality and prevent overfitting, we employ a greedy forward-selection strategy to identify the optimal subset of layers.
  • End-to-End Training: We derived backpropagation equations for this DAG structure, allowing the model to be trained end-to-end. This structure also combats the vanishing gradient problem, as lower layers receive a supervision signal roughly 10x larger than in standard chain-structured networks.

Experimental Results

The model was evaluated on three standard scene recognition benchmarks: SUN397, MIT67 (indoor scenes), and Scene15. The DAG-CNN achieved state-of-the-art results, notably reaching 77.5% accuracy on MIT67 (a 23.9% error reduction) and 92.9% on Scene15.

Figure 5: Qualitative comparison of scene retrieval. The DAG-CNN (bottom row) correctly identifies "church inside" scenes, whereas standard single-scale features (top row) often confuse them with other indoor environments like malls or airports.

Qualitative analysis reveals that the DAG structure allows the model to "pick and choose" the best scale for each category. For instance, scenes like "operating room" rely heavily on mid-level object cues, while others like "inside bus" rely on high-level global spatial statistics.

Conclusion

DAG-CNNs demonstrate that "mid-level" features are often as critical as high-level ones for complex recognition tasks. Even as a fixed "off-the-shelf" feature extractor, the multi-scale DAG approach outperforms many complex, fine-tuned state-of-the-art models. Future work includes training DAG-CNNs from scratch on large-scale datasets like ImageNet to produce more powerful universal feature extractors.

Summary updated

BibTeX
@inproceedings{yang2015multi,
  author = {Songfan Yang and Deva Ramanan},
  title = {{Multi-scale Recognition with DAG-CNNs}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2015},
  url = {https://openreview.net/forum?id=rJWmKefubB},
}
Figure