Skip to main content
QUICK REVIEW

[Paper Review] CNNComparator: Comparative Analytics of Convolutional Neural Networks

Haipeng Zeng, Hammad Haleem|arXiv (Cornell University)|Oct 15, 2017
Neural Networks and ApplicationsComputer Science20 references27 citations
TL;DR

This paper presents CNNComparator, an interactive visual analytics system that compares two snapshots of a trained convolutional neural network (CNN) at different training epochs (e.g., 10th vs. 100th epoch). By analyzing parameter differences and feature activation patterns across layers, channels, and neurons, the system reveals how model weights and feature representations evolve, enabling users to identify critical changes that correlate with performance improvements or misclassifications.

ABSTRACT

Convolutional neural networks (CNNs) are widely used in many image recognition tasks due to their extraordinary performance. However, training a good CNN model can still be a challenging task. In a training process, a CNN model typically learns a large number of parameters over time, which usually results in different performance. Often, it is difficult to explore the relationships between the learned parameters and the model performance due to a large number of parameters and different random initializations. In this paper, we present a visual analytics approach to compare two different snapshots of a trained CNN model taken after different numbers of epochs, so as to provide some insight into the design or the training of a better CNN model. Our system compares snapshots by exploring the differences in operation parameters and the corresponding blob data at different levels. A case study has been conducted to demonstrate the effectiveness of our system.

Motivation & Objective

  • To address the challenge of understanding how CNN parameters and feature activations evolve during training, especially when model performance improves over time.
  • To overcome the limitations of black-box model interpretation by providing a scalable, interactive visualization system for comparing two model snapshots from the same training process.
  • To support users in identifying which layers, channels, or neurons undergo significant parameter changes and how these changes affect feature learning and classification accuracy.
  • To enable insight into why certain models perform better at later training stages, such as improved feature detail or misclassification due to overfitting to dominant features (e.g., color).
  • To provide a foundation for future comparison of models with different architectures or hyperparameters by first solving the simpler case of intra-training comparison.

Proposed method

  • The system uses a top-down, multi-level visualization approach, analyzing differences at the model, layer, channel, and neuron levels.
  • It includes four linked views: (1) network architecture view to show structural differences; (2) difference distribution view to visualize parameter difference distributions per layer; (3) convolutional operation view to compare 2D weight matrices and activation maps; and (4) performance comparison view to contrast model accuracy and top activation patches.
  • Parameter differences are computed using Euclidean distance between weight matrices of corresponding layers in two snapshots.
  • The system supports interactive filtering—users can hide small parameter changes by adjusting legend thresholds, highlighting only significant changes for focused analysis.
  • Image patches corresponding to top activation values are visualized side-by-side to compare feature learning at different epochs.
  • The approach is applied to AlexNet, but is designed to be extendable to other CNN architectures like VGG and GoogleNet due to shared convolutional operation structures.

Experimental results

Research questions

  • RQ1How do the learned parameters of a CNN model change between early and late stages of training, and which layers or neurons show the most significant updates?
  • RQ2What is the relationship between changes in model parameters and improvements in model performance, such as accuracy and feature discrimination?
  • RQ3How do feature activation patterns (blob data) evolve across training epochs, and what do they reveal about the model’s focus on certain image features?
  • RQ4Can visual comparison of two snapshots reveal reasons for misclassification, such as overfitting to dominant colors or textures?
  • RQ5How can interactive visualization help users interpret the internal evolution of a CNN during training when direct parameter inspection is infeasible due to scale and complexity?

Key findings

  • The difference distribution view revealed that minor parameter changes dominate across most layers, while significant changes were localized in specific neurons and channels.
  • After 100 epochs, the model showed more detailed and complex feature activation patterns, particularly in capturing fine-grained image patches, compared to the more abstract features at epoch 10.
  • Despite higher accuracy at epoch 100, the model still misclassified a daffodil as a buttercup due to overfitting to yellow color features, which were dominant in the training data for class 14.
  • The convolutional operation view enabled users to identify that parameter changes were not uniformly distributed but clustered in specific regions, suggesting targeted learning in response to data patterns.
  • Interactive filtering allowed users to isolate and examine high-impact parameter changes, reducing visual clutter and improving interpretability of large-scale model evolution.
  • The system successfully demonstrated that comparing snapshots from the same training process can reveal meaningful insights into training dynamics, such as feature refinement and potential overfitting.

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.