Visualizing the PHATE of Neural Networks

Scott Gigante, Adam S. Charles, Smita Krishnaswamy, Gal Mishne
8/7/2019
cs.LGcs.NEstat.ML

Official code: scottgigante/m-phate (63 stars, Python, GPL-3.0, last commit 2021-03-18).

Abstract

Understanding why and how certain neural networks outperform others is key to guiding future development of network architectures and optimization methods. To this end, we introduce a novel visualization algorithm that reveals the internal geometry of such networks: Multislice PHATE (M-PHATE), the first method designed explicitly to visualize how a neural network's hidden representations of data evolve throughout the course of training.

Show full abstract

We demonstrate that our visualization provides intuitive, detailed summaries of the learning dynamics beyond simple global measures (i.e., validation loss and accuracy), without the need to access validation data. Furthermore, M-PHATE better captures both the dynamics and community structure of the hidden units as compared to visualization based on standard dimensionality reduction methods (e.g., ISOMAP, t-SNE). We demonstrate M-PHATE with two vignettes: continual learning and generalization. In the former, the M-PHATE visualizations display the mechanism of "catastrophic forgetting" which is a major challenge for learning in task-switching contexts. In the latter, our visualizations reveal how increased heterogeneity among hidden units correlates with improved generalization performance. An implementation of M-PHATE, along with scripts to reproduce the figures in this paper, is available at https://github.com/scottgigante/M-PHATE.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Multislice PHATE for tensor embeddings

638Python, ShellJun 21, 20195 years agoGPL-3.0
deep-learninginterpretable-deep-learningneural-networksvisualization

Similar Papers

Cite this paper

@article{gigante2019visualizing,
  title  = {Visualizing the PHATE of Neural Networks},
  author = {Scott Gigante and Adam S. Charles and Smita Krishnaswamy and Gal Mishne},
  year   = {2019},
  eprint = {1908.02831},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.02831}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.02831.svg)](https://codeofpaper.com/paper/1908.02831)

Discussion