RNNbow: Visualizing Learning via Backpropagation Gradients in Recurrent Neural Networks
arXiv:1907.12545 · doi:10.1109/MCG.2018.2878902
Abstract
We present RNNbow, an interactive tool for visualizing the gradient flow during backpropagation training in recurrent neural networks. RNNbow is a web application that displays the relative gradient contributions from Recurrent Neural Network (RNN) cells in a neighborhood of an element of a sequence. We describe the calculation of backpropagation through time (BPTT) that keeps track of itemized gradients, or gradient contributions from one element of a sequence to previous elements of a sequence. By visualizing the gradient, as opposed to activations, RNNbow offers insight into how the network is learning. We use it to explore the learning of an RNN that is trained to generate code in the C programming language. We show how it uncovers insights into the vanishing gradient as well as the evolution of training as the RNN works its way through a corpus.
Cited by in corpus (6)
- The State of the Art in Enhancing Trust in Machine Learning Models with the Use of Visualizations
- GenNI: Human-AI Collaboration for Data-Backed Text Generation
- Geo-Context Aware Study of Vision-Based Autonomous Driving Models and Spatial Video Data
- exploRNN: Understanding Recurrent Neural Networks through Visual Exploration
- Visualizing RNN States with Predictive Semantic Encodings
- Human-Computer Interaction and Visualization in Natural Language Generation Models: Applications, Challenges, and Opportunities