Understanding Hidden Memories of Recurrent Neural Networks
Not on the map. Why?
Abstract (arXiv)
Recurrent neural networks (RNNs) have been successfully applied to various natural language processing (NLP) tasks and achieved better results than conventional methods. However, the lack of understanding of the mechanisms behind their effectiveness limits further improvements on their architectures. In this paper, we present a visual analytics method for understanding and comparing RNN models for NLP tasks. We propose a technique to explain the function of individual hidden state units based on their expected response to input texts. We then co-cluster hidden state units and words based on the expected response and visualize co-clustering results as memory chips and word clouds to provide more structured knowledge on RNNs' hidden states. We also propose a glyph-based sequence visualization based on aggregate information to analyze the behavior of an RNN's hidden state at the sentence-level. The usability and effectiveness of our method are demonstrated through case studies and reviews from domain experts.
Key facts. Cited by 44 papers in the map (data through 14 Oct 2026). First posted on arXiv 30 Oct 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 12; 2023: 10; 2024: 9; 2025: 3; 2026: 4.
44 papers.
Sort:
By area:
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
- 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Modelscited by 70
- 2021Is Sparse Attention more Interpretable?cited by 31
- 2022The State of the Art in Enhancing Trust in Machine Learning Models with the Use of Visualizationscited by 29
- 2022Aligning Eyes between Humans and Deep Neural Network through Interactive Attention Alignmentcited by 27
- 2023Visual Analytics For Machine Learning: A Data Perspective Surveycited by 25
- 2022A Unified Understanding of Deep NLP Models for Text Classificationcited by 18
- 2021A Survey on Understanding, Visualizations, and Explanation of Deep Neural Networkscited by 14
- 2022Diagnosing Ensemble Few-Shot Classifierscited by 13
- 2021GenNI: Human-AI Collaboration for Data-Backed Text Generationcited by 11
- 2021Towards Visual Explainable Active Learning for Zero-Shot Classificationcited by 10
- 2022Learning-From-Disagreement: A Model Comparison and Visual Analytics Frameworkcited by 10
32 more
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysiscited by 8
- 2024JailbreakLens: Visual Analysis of Jailbreak Attacks Against Large Language Modelscited by 7
- 2021Explainable Adversarial Attacks in Deep Neural Networks Using Activation Profilescited by 6
- 2022A Visual Analytics System for Improving Attention-based Traffic Forecasting Modelscited by 6
- 2022ShortcutLens: A Visual Analytics Approach for Exploring Shortcuts in Natural Language Understanding Datasetcited by 6
- 2023DeepSeer: Interactive RNN Explanation and Debugging via State Abstractioncited by 6
- 2022Visualizing and Explaining Language Modelscited by 4
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2021Understanding Spending Behavior: Recurrent Neural Network Explanation and Interpretationcited by 3
- 2022Visual Analysis of Neural Architecture Spaces for Summarizing Design Principlescited by 3
- 2023Designing a Direct Feedback Loop between Humans and Convolutional Neural Networks through Local Explanationscited by 3
- 2023A Distance Correlation-Based Approach to Characterize the Effectiveness of Recurrent Neural Networks for Time Series Forecastingcited by 3
- 2023Are We Closing the Loop Yet? Gaps in the Generalizability of VIS4ML Researchcited by 3
- 2023A Review of Hybrid and Ensemble in Deep Learning for Natural Language Processingcited by 3
- 2024EL-VIT: Probing Vision Transformer with Interactive Visualizationcited by 3
- 2023CommonsenseVIS: Visualizing and Understanding Commonsense Reasoning Capabilities of Natural Language Modelscited by 2
- 2024Abstracted Trajectory Visualization for Explainability in Reinforcement Learningcited by 2
- 2024JailbreakHunter: A Visual Analytics Approach for Jailbreak Prompts Discovery from Large-Scale Human-LLM Conversational Datasetscited by 2
- 2023Towards Better Modeling with Missing Data: A Contrastive Learning-based Visual Analytics Perspectivecited by 1
- 2023Advancing Perception in Artificial Intelligence through Principles of Cognitive Sciencecited by 1
- 2024TrafPS: A Shapley-based Visual Analytics Approach to Interpret Trafficcited by 1
- 2024Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Trainingcited by 1
- 2024POEM: Interactive Prompt Optimization for Enhancing Multimodal Reasoning of Large Language Modelscited by 1
- 2024RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifierscited by 1
- 2025Understanding Mental Health Content on Social Media and Its Effect Towards Suicidal Ideationcited by 1
- 2025NeuroBreak: Unveil Internal Jailbreak Mechanisms in Large Language Modelscited by 1
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Modelscited by 1
- 2026Investigating Action Encodings in Recurrent Neural Networks in Reinforcement Learningcited by 1
- 2022Towards Efficient Visual Simplification of Computational Graphs in Deep Neural Networkscited by 0
- 2025Repetitive Contrastive Learning Enhances Mamba's Selectivity in Time Series Predictioncited by 0
- 2026Parallel Recursive LSTMcited by 0
- 2026Learning to Remember: Distilling Memory Retention for Compact Recurrent Neural Networkscited by 0
- 2026Learning to Remember: Distilling Memory Retention for Compact Recurrent Neural Networks3 Oct 2026
- 2026Parallel Recursive LSTM16 May 2026
- 2026Investigating Action Encodings in Recurrent Neural Networks in Reinforcement Learning4 May 2026
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models31 Mar 2026
- 2025NeuroBreak: Unveil Internal Jailbreak Mechanisms in Large Language Models4 Sep 2025
- 2025Repetitive Contrastive Learning Enhances Mamba's Selectivity in Time Series Prediction12 Apr 2025
- 2025Understanding Mental Health Content on Social Media and Its Effect Towards Suicidal Ideation16 Jan 2025
- 2024RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifiers5 Sep 2024
- 2024JailbreakHunter: A Visual Analytics Approach for Jailbreak Prompts Discovery from Large-Scale Human-LLM Conversational Datasets3 Jul 2024
- 2024POEM: Interactive Prompt Optimization for Enhancing Multimodal Reasoning of Large Language Models6 Jun 2024
- 2024Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training4 Jun 2024
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysis23 Apr 2024
32 more
- 2024JailbreakLens: Visual Analysis of Jailbreak Attacks Against Large Language Models12 Apr 2024
- 2024TrafPS: A Shapley-based Visual Analytics Approach to Interpret Traffic7 Mar 2024
- 2024Abstracted Trajectory Visualization for Explainability in Reinforcement Learning5 Feb 2024
- 2024EL-VIT: Probing Vision Transformer with Interactive Visualization23 Jan 2024
- 2023A Review of Hybrid and Ensemble in Deep Learning for Natural Language Processing9 Dec 2023
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Models22 Oct 2023
- 2023Advancing Perception in Artificial Intelligence through Principles of Cognitive Science13 Oct 2023
- 2023Towards Better Modeling with Missing Data: A Contrastive Learning-based Visual Analytics Perspective18 Sep 2023
- 2023Are We Closing the Loop Yet? Gaps in the Generalizability of VIS4ML Research10 Aug 2023
- 2023A Distance Correlation-Based Approach to Characterize the Effectiveness of Recurrent Neural Networks for Time Series Forecasting28 Jul 2023
- 2023CommonsenseVIS: Visualizing and Understanding Commonsense Reasoning Capabilities of Natural Language Models23 Jul 2023
- 2023Visual Analytics For Machine Learning: A Data Perspective Survey15 Jul 2023
- 2023Designing a Direct Feedback Loop between Humans and Convolutional Neural Networks through Local Explanations8 Jul 2023
- 2023DeepSeer: Interactive RNN Explanation and Debugging via State Abstraction2 Mar 2023
- 2022The State of the Art in Enhancing Trust in Machine Learning Models with the Use of Visualizations22 Dec 2022
- 2022Towards Efficient Visual Simplification of Computational Graphs in Deep Neural Networks21 Dec 2022
- 2022Towards Faithful Model Explanation in NLP: A Survey22 Sep 2022
- 2022Visual Analysis of Neural Architecture Spaces for Summarizing Design Principles20 Aug 2022
- 2022ShortcutLens: A Visual Analytics Approach for Exploring Shortcuts in Natural Language Understanding Dataset17 Aug 2022
- 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Models16 Aug 2022
- 2022A Visual Analytics System for Improving Attention-based Traffic Forecasting Models8 Aug 2022
- 2022A Unified Understanding of Deep NLP Models for Text Classification19 Jun 2022
- 2022Diagnosing Ensemble Few-Shot Classifiers9 Jun 2022
- 2022Visualizing and Explaining Language Models30 Apr 2022
- 2022Aligning Eyes between Humans and Deep Neural Network through Interactive Attention Alignment6 Feb 2022
- 2022Learning-From-Disagreement: A Model Comparison and Visual Analytics Framework19 Jan 2022
- 2021GenNI: Human-AI Collaboration for Data-Backed Text Generation19 Oct 2021
- 2021Understanding Spending Behavior: Recurrent Neural Network Explanation and Interpretation24 Sep 2021
- 2021Towards Visual Explainable Active Learning for Zero-Shot Classification15 Aug 2021
- 2021Is Sparse Attention more Interpretable?2 Jun 2021
- 2021Explainable Adversarial Attacks in Deep Neural Networks Using Activation Profiles18 Mar 2021
- 2021A Survey on Understanding, Visualizations, and Explanation of Deep Neural Networks2 Feb 2021
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 130
- 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Modelscited by 70
- 2021Is Sparse Attention more Interpretable?cited by 31
- 2022The State of the Art in Enhancing Trust in Machine Learning Models with the Use of Visualizationscited by 29
- 2022Aligning Eyes between Humans and Deep Neural Network through Interactive Attention Alignmentcited by 27
- 2023Visual Analytics For Machine Learning: A Data Perspective Surveycited by 25
- 2022A Unified Understanding of Deep NLP Models for Text Classificationcited by 18
- 2021A Survey on Understanding, Visualizations, and Explanation of Deep Neural Networkscited by 14
- 2022Diagnosing Ensemble Few-Shot Classifierscited by 13
- 2021GenNI: Human-AI Collaboration for Data-Backed Text Generationcited by 11
- 2021Towards Visual Explainable Active Learning for Zero-Shot Classificationcited by 10
- 2022Learning-From-Disagreement: A Model Comparison and Visual Analytics Frameworkcited by 10
12 most cited of 35 All 35 (JSON)
- 2026Parallel Recursive LSTM16 May 2026
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models31 Mar 2026
- 2025Understanding Mental Health Content on Social Media and Its Effect Towards Suicidal Ideation16 Jan 2025
- 2024RuleExplorer: A Scalable Matrix Visualization for Understanding Tree Ensemble Classifiers5 Sep 2024
- 2024Multiway Multislice PHATE: Visualizing Hidden Dynamics of RNNs through Training4 Jun 2024
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysis23 Apr 2024
- 2024TrafPS: A Shapley-based Visual Analytics Approach to Interpret Traffic7 Mar 2024
- 2024EL-VIT: Probing Vision Transformer with Interactive Visualization23 Jan 2024
- 2023A Review of Hybrid and Ensemble in Deep Learning for Natural Language Processing9 Dec 2023
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Models22 Oct 2023
- 2023Advancing Perception in Artificial Intelligence through Principles of Cognitive Science13 Oct 2023
- 2023Towards Better Modeling with Missing Data: A Contrastive Learning-based Visual Analytics Perspective18 Sep 2023
12 newest of 35 All 35 (JSON)