Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Xie, Jiancheng, Voinov, Lou C. Kohler, Mudrik, Noga, Mishne, Gal, Charles, Adam
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911542015950848
author Xie, Jiancheng
Voinov, Lou C. Kohler
Mudrik, Noga
Mishne, Gal
Charles, Adam
author_facet Xie, Jiancheng
Voinov, Lou C. Kohler
Mudrik, Noga
Mishne, Gal
Charles, Adam
contents Recurrent neural networks (RNNs) are a widely used tool for sequential data analysis; however, they are still often seen as black boxes. Visualizing the internal dynamics of RNNs is a critical step toward understanding their functional principles and developing better architectures and optimization strategies. Prior studies typically emphasize network representations only after training, overlooking how those representations evolve during learning. Here, we present Multiway Multislice PHATE (MM-PHATE), a graph-based embedding method for visualizing the evolution of RNN hidden states across the multiple dimensions spanned by RNNs: time, training epoch, and units. Across controlled synthetic benchmarks and real RNN applications, MM-PHATE preserves hidden-representation community structure among units and reveals training-phase changes in representation geometry. In controlled synthetic systems spanning multiple bifurcation families and smooth state-space warps, MM-PHATE recovers qualitative dynamical progression while distinguishing family-level differences. In task-trained RNNs, the embedding identifies information-processing and compression-related phases during training, and time-resolved geometric and entropy-based summaries align with linear probes, time-step ablations, and label--state mutual information. These results show that MM-PHATE provides an intuitive and comprehensive way to inspect RNN hidden dynamics across training and to better understand how model architecture and learning dynamics relate to performance.
format Preprint
id arxiv_https___arxiv_org_abs_2406_01969
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training
Xie, Jiancheng
Voinov, Lou C. Kohler
Mudrik, Noga
Mishne, Gal
Charles, Adam
Machine Learning
Recurrent neural networks (RNNs) are a widely used tool for sequential data analysis; however, they are still often seen as black boxes. Visualizing the internal dynamics of RNNs is a critical step toward understanding their functional principles and developing better architectures and optimization strategies. Prior studies typically emphasize network representations only after training, overlooking how those representations evolve during learning. Here, we present Multiway Multislice PHATE (MM-PHATE), a graph-based embedding method for visualizing the evolution of RNN hidden states across the multiple dimensions spanned by RNNs: time, training epoch, and units. Across controlled synthetic benchmarks and real RNN applications, MM-PHATE preserves hidden-representation community structure among units and reveals training-phase changes in representation geometry. In controlled synthetic systems spanning multiple bifurcation families and smooth state-space warps, MM-PHATE recovers qualitative dynamical progression while distinguishing family-level differences. In task-trained RNNs, the embedding identifies information-processing and compression-related phases during training, and time-resolved geometric and entropy-based summaries align with linear probes, time-step ablations, and label--state mutual information. These results show that MM-PHATE provides an intuitive and comprehensive way to inspect RNN hidden dynamics across training and to better understand how model architecture and learning dynamics relate to performance.
title Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training
topic Machine Learning
url https://arxiv.org/abs/2406.01969