Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training
<|reference_start|>Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training: Recurrent neural networks (RNNs) are a widely used tool for sequential data analysis, however, they are still often seen as black boxes of computation. Understanding the functional principles of these networks is critical to developing ideal model architectures and optimization strategies. Previous studies typically only emphasize the network representation post-training, overlooking their evolution process throughout training. Here, we present Multiway Multislice PHATE (MM-PHATE), a novel method for visualizing the evolution of RNNs' hidden states. MM-PHATE is a graph-based embedding using structured kernels across the multiple dimensions spanned by RNNs: time, training epoch, and units. We demonstrate on various datasets that MM-PHATE uniquely preserves hidden representation community structure among units and identifies information processing and compression phases during training. The embedding allows users to look under the hood of RNNs across training and provides an intuitive and comprehensive strategy to understanding the network's internal dynamics and draw conclusions, e.g., on why and how one model outperforms another or how a specific architecture might impact an RNN's learning ability.<|reference_end|>
@article{xie2024multiway,
    title={Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through
  Training},
    author={Jiancheng Xie, Lou C. Kohler Voinov, Noga Mudrik, Gal Mishne, Adam
  Charles},
    journal={arXiv preprint arXiv:2406.01969},
    year={2024},
    archivePrefix={arXiv},
    eprint={2406.01969},
    primaryClass={cs.LG}
}