• 文献检索
  • 文档翻译
  • 深度研究
  • 学术资讯
  • Suppr Zotero 插件Zotero 插件
  • 邀请有礼
  • 套餐&价格
  • 历史记录
应用&插件
Suppr Zotero 插件Zotero 插件浏览器插件Mac 客户端Windows 客户端微信小程序
定价
高级版会员购买积分包购买API积分包
服务
文献检索文档翻译深度研究API 文档MCP 服务
关于我们
关于 Suppr公司介绍联系我们用户协议隐私条款
关注我们

Suppr 超能文献

核心技术专利:CN118964589B侵权必究
粤ICP备2023148730 号-1Suppr @ 2026

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验

用于解释递归神经网络中隐藏状态的可视化分析工具。

Visual analytics tool for the interpretation of hidden states in recurrent neural networks.

作者信息

Garcia Rafael, Munz Tanja, Weiskopf Daniel

机构信息

VISUS, University of Stuttgart, 70569, Stuttgart, Germany.

出版信息

Vis Comput Ind Biomed Art. 2021 Sep 29;4(1):24. doi: 10.1186/s42492-021-00090-0.

DOI:10.1186/s42492-021-00090-0
PMID:34585277
原文链接:https://pmc.ncbi.nlm.nih.gov/articles/PMC8479019/
Abstract

In this paper, we introduce a visual analytics approach aimed at helping machine learning experts analyze the hidden states of layers in recurrent neural networks. Our technique allows the user to interactively inspect how hidden states store and process information throughout the feeding of an input sequence into the network. The technique can help answer questions, such as which parts of the input data have a higher impact on the prediction and how the model correlates each hidden state configuration with a certain output. Our visual analytics approach comprises several components: First, our input visualization shows the input sequence and how it relates to the output (using color coding). In addition, hidden states are visualized through a nonlinear projection into a 2-D visualization space using t-distributed stochastic neighbor embedding to understand the shape of the space of the hidden states. Trajectories are also employed to show the details of the evolution of the hidden state configurations. Finally, a time-multi-class heatmap matrix visualizes the evolution of the expected predictions for multi-class classifiers, and a histogram indicates the distances between the hidden states within the original space. The different visualizations are shown simultaneously in multiple views and support brushing-and-linking to facilitate the analysis of the classifications and debugging for misclassified input sequences. To demonstrate the capability of our approach, we discuss two typical use cases for long short-term memory models applied to two widely used natural language processing datasets.

摘要

在本文中,我们介绍了一种可视化分析方法,旨在帮助机器学习专家分析循环神经网络中各层的隐藏状态。我们的技术允许用户交互式地检查在将输入序列输入网络的过程中,隐藏状态是如何存储和处理信息的。该技术有助于回答一些问题,比如输入数据的哪些部分对预测有更大影响,以及模型如何将每个隐藏状态配置与特定输出相关联。我们的可视化分析方法包含几个组件:首先,我们的输入可视化展示了输入序列及其与输出的关系(使用颜色编码)。此外,通过使用t分布随机邻域嵌入将隐藏状态非线性投影到二维可视化空间中,以了解隐藏状态空间的形状。还采用轨迹来展示隐藏状态配置演变的细节。最后,一个时间多类热图矩阵可视化多类分类器预期预测的演变,并且一个直方图表示原始空间内隐藏状态之间的距离。不同的可视化在多个视图中同时显示,并支持刷选和链接,以方便对分类进行分析以及对错误分类的输入序列进行调试。为了展示我们方法的能力,我们讨论了应用于两个广泛使用的自然语言处理数据集的长短期记忆模型的两个典型用例。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/4c3fcab1e545/42492_2021_90_Fig8_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/aadd2ad4c7a7/42492_2021_90_Fig1_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/70c182c29b98/42492_2021_90_Fig2_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/cadff405b577/42492_2021_90_Fig3_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/48b13544c2c5/42492_2021_90_Fig4_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/56d54cfd1666/42492_2021_90_Fig5_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/70e9bd6ce520/42492_2021_90_Fig6_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/6b68f5a23186/42492_2021_90_Fig7_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/4c3fcab1e545/42492_2021_90_Fig8_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/aadd2ad4c7a7/42492_2021_90_Fig1_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/70c182c29b98/42492_2021_90_Fig2_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/cadff405b577/42492_2021_90_Fig3_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/48b13544c2c5/42492_2021_90_Fig4_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/56d54cfd1666/42492_2021_90_Fig5_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/70e9bd6ce520/42492_2021_90_Fig6_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/6b68f5a23186/42492_2021_90_Fig7_HTML.jpg
https://cdn.ncbi.nlm.nih.gov/pmc/blobs/ca61/8479019/4c3fcab1e545/42492_2021_90_Fig8_HTML.jpg

相似文献

1
Visual analytics tool for the interpretation of hidden states in recurrent neural networks.用于解释递归神经网络中隐藏状态的可视化分析工具。
Vis Comput Ind Biomed Art. 2021 Sep 29;4(1):24. doi: 10.1186/s42492-021-00090-0.
2
Deep convolutional neural network and IoT technology for healthcare.用于医疗保健的深度卷积神经网络和物联网技术。
Digit Health. 2024 Jan 17;10:20552076231220123. doi: 10.1177/20552076231220123. eCollection 2024 Jan-Dec.
3
Explore Your Network in Minutes: A Rapid Prototyping Toolkit for Understanding Neural Networks with Visual Analytics.数分钟内探索你的网络:一个用于通过可视化分析理解神经网络的快速原型工具包。
IEEE Trans Vis Comput Graph. 2024 Jan;30(1):683-693. doi: 10.1109/TVCG.2023.3326575. Epub 2023 Dec 25.
4
LSTMVis: A Tool for Visual Analysis of Hidden State Dynamics in Recurrent Neural Networks.LSTMVis:用于分析递归神经网络隐藏状态动态的工具。
IEEE Trans Vis Comput Graph. 2018 Jan;24(1):667-676. doi: 10.1109/TVCG.2017.2744158. Epub 2017 Aug 29.
5
VIOLET: Visual Analytics for Explainable Quantum Neural Networks.紫罗兰:用于可解释量子神经网络的可视化分析
IEEE Trans Vis Comput Graph. 2024 Apr 23;PP. doi: 10.1109/TVCG.2024.3388557.
6
GNNLens: A Visual Analytics Approach for Prediction Error Diagnosis of Graph Neural Networks.GNNLens:一种用于图神经网络预测误差诊断的可视化分析方法。
IEEE Trans Vis Comput Graph. 2023 Jun;29(6):3024-3038. doi: 10.1109/TVCG.2022.3148107. Epub 2023 May 3.
7
Time series classification with Echo Memory Networks.基于回声记忆网络的时间序列分类。
Neural Netw. 2019 Sep;117:225-239. doi: 10.1016/j.neunet.2019.05.008. Epub 2019 May 28.
8
An Interactive Visualization for Feature Localization in Deep Neural Networks.一种用于深度神经网络中特征定位的交互式可视化方法。
Front Artif Intell. 2020 Jul 23;3:49. doi: 10.3389/frai.2020.00049. eCollection 2020.
9
2-D Stochastic Configuration Networks for Image Data Analytics.用于图像数据分析的二维随机配置网络
IEEE Trans Cybern. 2021 Jan;51(1):359-372. doi: 10.1109/TCYB.2019.2925883. Epub 2020 Dec 22.
10
Visual Analytics for RNN-Based Deep Reinforcement Learning.基于 RNN 的深度强化学习的可视化分析。
IEEE Trans Vis Comput Graph. 2022 Dec;28(12):4141-4155. doi: 10.1109/TVCG.2021.3076749. Epub 2022 Oct 26.

引用本文的文献

1
Visual explainable artificial intelligence for graph-based visual question answering and scene graph curation.用于基于图的视觉问答和场景图管理的可视化可解释人工智能。
Vis Comput Ind Biomed Art. 2025 Apr 7;8(1):9. doi: 10.1186/s42492-025-00185-y.

本文引用的文献

1
Visual Analytics in Deep Learning: An Interrogative Survey for the Next Frontiers.深度学习中的可视化分析:对新前沿领域的探索性调查
IEEE Trans Vis Comput Graph. 2018 Jun 4. doi: 10.1109/TVCG.2018.2843369.
2
Visual Analytics for Explainable Deep Learning.用于可解释深度学习的可视化分析
IEEE Comput Graph Appl. 2018 Jul/Aug;38(4):84-92. doi: 10.1109/MCG.2018.042731661.
3
ACTIVIS: Visual Exploration of Industry-Scale Deep Neural Network Models.ACTIVIS:工业规模深度神经网络模型的可视化探索。
IEEE Trans Vis Comput Graph. 2018 Jan;24(1):88-97. doi: 10.1109/TVCG.2017.2744718. Epub 2017 Aug 30.
4
LSTMVis: A Tool for Visual Analysis of Hidden State Dynamics in Recurrent Neural Networks.LSTMVis:用于分析递归神经网络隐藏状态动态的工具。
IEEE Trans Vis Comput Graph. 2018 Jan;24(1):667-676. doi: 10.1109/TVCG.2017.2744158. Epub 2017 Aug 29.
5
Visualizing the Hidden Activity of Artificial Neural Networks.可视化人工神经网络的隐藏活动。
IEEE Trans Vis Comput Graph. 2017 Jan;23(1):101-110. doi: 10.1109/TVCG.2016.2598838.
6
Financial Time Series Prediction Using Elman Recurrent Random Neural Networks.基于埃尔曼递归随机神经网络的金融时间序列预测
Comput Intell Neurosci. 2016;2016:4742515. doi: 10.1155/2016/4742515. Epub 2016 May 18.
7
Time Curves: Folding Time to Visualize Patterns of Temporal Evolution in Data.时间曲线:折叠时间以可视化数据中时间演化的模式。
IEEE Trans Vis Comput Graph. 2016 Jan;22(1):559-68. doi: 10.1109/TVCG.2015.2467851.
8
Reducing Snapshots to Points: A Visual Analytics Approach to Dynamic Network Exploration.将快照简化为点:一种动态网络探索的可视化分析方法。
IEEE Trans Vis Comput Graph. 2016 Jan;22(1):1-10. doi: 10.1109/TVCG.2015.2468078.
9
Deep learning.深度学习。
Nature. 2015 May 28;521(7553):436-44. doi: 10.1038/nature14539.
10
D³: Data-Driven Documents.D³:数据驱动文档。
IEEE Trans Vis Comput Graph. 2011 Dec;17(12):2301-9. doi: 10.1109/TVCG.2011.185.