Skip to main content
QUICK REVIEW

[Paper Review] DeepTracker: Visualizing the Training Process of Convolutional Neural Networks

Dongyu Liu, Weiwei Cui|arXiv (Cornell University)|Aug 26, 2018
Explainable Artificial Intelligence (XAI)Computer Science32 references24 citations
TL;DR

DeepTracker is a visual analytics system that enables experts to explore the training dynamics of deep convolutional neural networks (CNNs) by visualizing heterogeneous data—such as neuron weights, validation accuracy, and class-wise performance—across millions of training iterations. It uses hierarchical indexing, small multiples, and a cube-style correlation visualization to reveal hidden patterns and anomalies, significantly improving the understanding and optimization of CNN training, as demonstrated on ResNet-50 training on ImageNet.

ABSTRACT

Deep convolutional neural networks (CNNs) have achieved remarkable success in various fields. However, training an excellent CNN is practically a trial-and-error process that consumes a tremendous amount of time and computer resources. To accelerate the training process and reduce the number of trials, experts need to understand what has occurred in the training process and why the resulting CNN behaves as such. However, current popular training platforms, such as TensorFlow, only provide very little and general information, such as training/validation errors, which is far from enough to serve this purpose. To bridge this gap and help domain experts with their training tasks in a practical environment, we propose a visual analytics system, DeepTracker, to facilitate the exploration of the rich dynamics of CNN training processes and to identify the unusual patterns that are hidden behind the huge amount of training log. Specifically,we combine a hierarchical index mechanism and a set of hierarchical small multiples to help experts explore the entire training log from different levels of detail. We also introduce a novel cube-style visualization to reveal the complex correlations among multiple types of heterogeneous training data including neuron weights, validation images, and training iterations. Three case studies are conducted to demonstrate how DeepTracker provides its users with valuable knowledge in an industry-level CNN training process, namely in our case, training ResNet-50 on the ImageNet dataset. We show that our method can be easily applied to other state-of-the-art "very deep" CNN models.

Motivation & Objective

  • To address the lack of detailed, interactive visualization tools for understanding the complex, dynamic behavior of CNN training processes.
  • To enable domain experts to explore large-scale, heterogeneous training logs (e.g., weights, gradients, validation results) across millions of iterations efficiently.
  • To support comparative analysis of layer-wise and class-wise training behaviors in very deep networks like ResNet-50.
  • To identify unusual or anomalous patterns in training that may indicate issues or opportunities for optimization.
  • To bridge the gap between raw training logs and actionable insights for accelerating CNN development.

Proposed method

  • A hierarchical index mechanism is used to efficiently store and retrieve large-scale training logs, enabling real-time exploration across multiple levels of detail.
  • Small multiples are employed to visualize the evolution of key metrics (e.g., accuracy, loss) across layers and classes at different training iterations.
  • A novel cube-style visualization is introduced to reveal complex correlations among heterogeneous data types—neuron weights, validation images, and training iterations—across three dimensions.
  • A downsampling strategy is applied to reduce raw data volume while preserving critical dynamics for scalable analysis.
  • Rule-based anomaly detection is implemented using sliding window statistics to flag unusual parameter or performance changes.
  • The system integrates filtering, aggregation, and interactive linking across three views: validation, layer, and correlation, enabling coordinated exploration.

Experimental results

Research questions

  • RQ1How can experts effectively explore the evolution of CNN training dynamics across millions of iterations and thousands of parameters?
  • RQ2What hidden patterns or anomalies in weight updates, accuracy, or class-wise performance can be detected using scalable visual analytics?
  • RQ3How can heterogeneous data types—numeric parameters, images, and classification results—be jointly visualized to reveal complex correlations?
  • RQ4Can visual analytics significantly improve the understanding and optimization of large-scale CNN training, such as ResNet-50 on ImageNet?
  • RQ5How can interactive visual tools reduce the trial-and-error burden in CNN hyperparameter tuning and model debugging?

Key findings

  • DeepTracker successfully visualizes the training dynamics of ResNet-50 on ImageNet, with training logs exceeding several terabytes, enabling interactive exploration through hierarchical indexing and efficient data access.
  • The cube-style visualization effectively reveals complex, multi-dimensional correlations between neuron weights, validation accuracy, and training iterations, uncovering non-obvious relationships.
  • Experts identified meaningful patterns—both expected and unexpected—using the system’s bare-to-metal visual encodings, which were preferred over complex visual mappings for clarity and performance.
  • The system’s hierarchical small multiples and filtering capabilities allow experts to compare layer-wise and class-wise behaviors across thousands of entities simultaneously.
  • Anomaly detection using rule-based thresholds successfully flagged unusual training behaviors, such as sudden accuracy drops or weight saturation, which were later validated by domain experts.
  • The system demonstrated strong scalability, supporting the analysis of dozens of layers and image classes in real time, though performance degrades under extreme scale (hundreds or thousands of small multiples).

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.