Skip to main content
QUICK REVIEW

[Paper Review] Deep Visual City Recognition Visualization

Xiangwei Shi, Seyran Khademi|arXiv (Cornell University)|May 6, 2019
Remote-Sensing Image ClassificationEngineering19 references3 citations
TL;DR

This paper proposes a framework to evaluate the interpretability of deep features in convolutional neural networks (CNNs) for city recognition by combining Grad-CAM visualizations with unsupervised clustering and semantic segmentation. It quantitatively measures which objects (e.g., signs, fences) drive classification decisions and finds that network architecture significantly influences interpretability more than random weight initialization.

ABSTRACT

Understanding how cities visually differ from each others is interesting for planners, residents, and historians. We investigate the interpretation of deep features learned by convolutional neural networks (CNNs) for city recognition. Given a trained city recognition network, we first generate weighted masks using the known Grad-CAM technique and to select the most discriminate regions in the image. Since the image classification label is the city name, it contains no information of objects that are class-discriminate, we investigate the interpretability of deep representations with two methods. (i) Unsupervised method is used to cluster the objects appearing in the visual explanations. (ii) A pretrained semantic segmentation model is used to label objects in pixel level, and then we introduce statistical measures to quantitatively evaluate the interpretability of discriminate objects. The influence of network architectures and random initializations in training, is studied on the interpretability of CNN features for city recognition. The results suggest that network architectures would affect the interpretability of learned visual representations greater than different initializations.

Motivation & Objective

  • To investigate whether deep features learned by CNNs for city recognition are interpretable in terms of detectable visual objects.
  • To develop a quantitative method for evaluating interpretability in weakly supervised city recognition models where class labels (city names) do not directly correspond to identifiable objects.
  • To assess the influence of neural network architecture and random weight initialization on the interpretability of learned visual representations.
  • To provide a holistic, objective evaluation of interpretability that combines qualitative visualization with statistical measures of object selectivity.

Proposed method

  • Generate class-discriminative visual explanations using Grad-CAM on the last convolutional layer of trained city recognition CNNs, producing weighted masks that highlight important image regions.
  • Apply t-SNE to visualize and cluster object patterns in the Grad-CAM heatmaps in an unsupervised manner to detect meaningful groupings of discriminative features.
  • Use a pretrained semantic segmentation model to assign pixel-level labels to objects in test images, enabling per-object analysis of visual explanations.
  • Compute normalized object distribution histograms within visual explanations to assess skew and selectivity, with higher skew indicating more interpretable, class-discriminative object usage.
  • Quantify model consistency across architectures and initializations using the average residual (AR) between normalized masks, where AR ranges from 0 (identical) to 1 (completely different).
  • Calculate the ratio of pixels $ R_p^c $ per object to measure the selectivity of each class-discriminative object, with higher values indicating stronger discriminative power.

Experimental results

Research questions

  • RQ1Are the deep representations learned by city recognition CNNs interpretable in terms of identifiable visual objects?
  • RQ2How can interpretability be measured and evaluated in a weakly supervised setting where class labels (city names) do not align with object-level annotations?
  • RQ3Does the choice of neural network architecture affect the interpretability of learned features more than different random weight initializations?
  • RQ4To what extent do different CNNs learn similar or distinct combinations of class-discriminative objects across cities?

Key findings

  • Network architecture has a stronger influence on the interpretability of deep features than different random weight initializations, as shown by consistently higher average residual (AR) values between different architectures.
  • The average AR between VGG11 and ResNet18 was 0.4349, while between retrained versions of the same architecture (e.g., VGG11 and VGG11_retrained), it was only 0.2679, indicating architecture dominates over initialization.
  • VGG11 and ResNet18 showed higher object selectivity ratios $ R_p^c $ than simpler networks, suggesting deeper architectures learn more semantically meaningful, interpretable features.
  • Histograms of object distributions in visual explanations revealed non-uniform skewing toward specific objects (e.g., signs, fences in Tokyo), confirming that models learn distinct, interpretable object combinations per city.
  • The AR metric confirmed that shallow networks (e.g., Simple) produced less consistent and more fragmented attention maps, while deeper models like ResNet18 and VGG11 focused on broader, more coherent regions.
  • The combination of t-SNE clustering and object-level segmentation revealed that models trained with different architectures learn distinct but meaningful object patterns, supporting the framework’s ability to detect interpretable semantic attributes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.