On the Performance of GoogLeNet and AlexNet Applied to Sketches

Pedro L. Ballester, Ricardo Matsumura de AraújoAAAI 2016

Abstract

Convolutional Neural Networks (CNNs) have achieved remarkable success in image recognition, often matching human performance on photographic benchmarks like ImageNet. However, their ability to generalize to abstract representations remains a significant challenge. This paper evaluates the performance of two prominent architectures, AlexNet and GoogLeNet, on hand-drawn sketches from the TU-Berlin dataset. Our findings indicate a substantial generalization gap: models trained exclusively on photographs fail to recognize abstract line drawings, frequently misclassifying them as simple geometric objects like safety pins or hooks. This suggests that current CNNs prioritize local textures over global structural concepts.

Introduction

The rapid advancement of CNNs in the mid-2010s led to claims of "human-level" vision. Yet, a fundamental question persists: do these models understand the semantic essence of an object, or are they merely specialized texture detectors? Humans can effortlessly recognize a "bird" from a few sparse pen strokes, demonstrating a high level of conceptual abstraction. This study investigates whether the internal representations learned by models like AlexNet and GoogLeNet from millions of ImageNet photos are transferable to the minimalist domain of sketches.

Methodology

We conducted a zero-shot transfer-testing experiment using off-the-shelf versions of AlexNet and GoogLeNet, both pre-trained on the ImageNet dataset. To bridge the gap between ImageNet's granular labels (e.g., "Seagull") and the broad categories of the TU-Berlin sketch dataset (e.g., "Bird"), we mapped multiple ImageNet sub-classes to single sketch categories.

The evaluation focused on the models' ability to rank the correct category within the Top 10 predictions and analyzed the statistical distribution of the correct label's rank across all 1,000 ImageNet classes. Crucially, no fine-tuning on sketches was performed, isolating the models' inherent generalization capabilities.

Datasets

The study utilized two primary datasets:

  • ImageNet: A large-scale hierarchical dataset of over a million photographs used for pre-training.
  • TU-Berlin Sketch Dataset: A collection of 20,000 crowd-sourced sketches across 250 categories. We focused on nine representative categories: airplane, bird, car, cat, dog, frog, horse, ship, and truck.
Figure 5: A selection of sketches from the 'Bird' category in the TU-Berlin dataset, categorized by level of detail (1: high detail, 3: high abstraction).

Key Findings

The Generalization Gap and the "Safety Pin" Trap

The models exhibited a consistent failure to recognize global structures. For instance, AlexNet classified 98.75% of "airplane" sketches as "safety pins," while GoogLeNet identified them as "hooks" or "claws." This phenomenon suggests that the networks are overly sensitive to local features—specifically thin, dark lines—rather than the holistic shape of the object.

Impact of Category Diversity

Performance varied significantly across categories. The "Bird" category, which corresponds to 60 sub-classes in ImageNet, performed relatively better than categories with fewer sub-classes like "Horse" or "Ship." This indicates that exposure to a wider variety of visual instances during training helps build a slightly more robust, albeit still insufficient, internal representation.

Figure 4: An example of a bird sketch with more detailed features (e.g., feathers). Models typically rank such sketches higher than more abstract versions due to their reliance on texture-like cues.

Texture vs. Structure

Qualitative analysis revealed that sketches with more "realistic" elements—such as proportions, feathers, or implied textures—were ranked higher by the models. This reinforces the conclusion that these CNNs are "overfitted" to the high-frequency details and textures found in photographs, struggling when these cues are absent in minimalist line drawings.

Results Summary

  • Top-10 Accuracy: In nearly all categories, the correct label failed to appear in the Top 10 most probable classifications.
  • Ranking Statistics: For "Bird," the best-performing category, AlexNet's mean rank for the correct label was approximately 27th. In contrast, for "Horse," the mean rank dropped to 723rd.
  • Human-Model Disparity: While humans achieve ~73% accuracy on the TU-Berlin dataset, photo-trained models proved ineffective for sketch recognition without explicit training on abstract data.

Conclusion

The inability of photo-trained CNNs to recognize sketches highlights a critical limitation in their understanding of object concepts. To achieve true human-level vision, future research must move beyond texture-based recognition. Potential avenues include diversifying training sets with abstract representations and developing architectures that explicitly model structural relationships and global geometry.

Summary updated

BibTeX
@inproceedings{ballester2016performance,
  author = {Pedro L. Ballester and Ricardo Matsumura de Araújo},
  title = {{On the Performance of GoogLeNet and AlexNet Applied to Sketches}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2016},
  doi = {10.1609/aaai.v30i1.10171},
}
Figure