{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,15]],"date-time":"2026-07-15T14:08:34Z","timestamp":1784124514862,"version":"3.55.0"},"reference-count":37,"publisher":"Springer Science and Business Media LLC","issue":"1","license":[{"start":{"date-parts":[[2021,9,29]],"date-time":"2021-09-29T00:00:00Z","timestamp":1632873600000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2021,9,29]],"date-time":"2021-09-29T00:00:00Z","timestamp":1632873600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100001659","name":"Deutsche Forschungsgemeinschaft","doi-asserted-by":"publisher","award":["251654672"],"award-info":[{"award-number":["251654672"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100001659","name":"Deutsche Forschungsgemeinschaft","doi-asserted-by":"publisher","award":["390740016"],"award-info":[{"award-number":["390740016"]}],"id":[{"id":"10.13039\/501100001659","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Vis. Comput. Ind. Biomed. Art"],"published-print":{"date-parts":[[2021,12]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>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.<\/jats:p>","DOI":"10.1186\/s42492-021-00090-0","type":"journal-article","created":{"date-parts":[[2021,9,29]],"date-time":"2021-09-29T04:16:44Z","timestamp":1632889004000},"update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":8,"title":["Visual analytics tool for the interpretation of hidden states in recurrent neural networks"],"prefix":"10.1186","volume":"4","author":[{"given":"Rafael","family":"Garcia","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Tanja","family":"Munz","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Daniel","family":"Weiskopf","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2021,9,29]]},"reference":[{"issue":"1","key":"90_CR1","doi-asserted-by":"publisher","first-page":"48","DOI":"10.1016\/j.visinf.2017.01.006","volume":"1","author":"SX Liu","year":"2017","unstructured":"Liu SX, Wang XT, Liu MC, Zhu J (2017) Towards better analysis of machine learning models: A visual analytics perspective. Vis Informat 1(1):48\u201356. https:\/\/doi.org\/10.1016\/j.visinf.2017.01.006","journal-title":"Vis Informat"},{"key":"90_CR2","doi-asserted-by":"publisher","first-page":"30","DOI":"10.1016\/j.cag.2018.09.018","volume":"77","author":"R Garcia","year":"2018","unstructured":"Garcia R, Telea AC, da Silva BC, T\u00f8rresen J, Comba JLD (2018) A task-and-technique centered survey on visual analytics for deep learning model engineering. Comput Graph 77:30\u201349. https:\/\/doi.org\/10.1016\/j.cag.2018.09.018","journal-title":"Comput Graph"},{"issue":"8","key":"90_CR3","doi-asserted-by":"publisher","first-page":"2674","DOI":"10.1109\/TVCG.2018.2843369","volume":"25","author":"F Hohman","year":"2019","unstructured":"Hohman F, Kahng M, Pienta R, Chau DH (2019) Visual analytics in deep learning: An interrogative survey for the next frontiers. IEEE Trans Vis Comput Graph 25(8):2674\u20132693. https:\/\/doi.org\/10.1109\/TVCG.2018.2843369","journal-title":"IEEE Trans Vis Comput Graph"},{"key":"90_CR4","doi-asserted-by":"publisher","unstructured":"Keim DA, Mansmann F, Schneidewind J, Thomas J, Ziegler H (2008) Visual analytics: Scope and challenges. In: Simo SJ, B\u00f6hlen MH, Mazeika A (eds) Visual data mining: theory, techniques and tools for visual analytics. Lecture notes in computer science. vol 4404. Springer, Berlin, pp 76\u201390. https:\/\/doi.org\/10.1007\/978-3-540-71080-6_6","DOI":"10.1007\/978-3-540-71080-6_6"},{"key":"90_CR5","unstructured":"Yosinski J, Clune J, Nguyen A, Fuchs T, Lipson H (2015) Understanding neural networks through deep visualization. arXiv preprint arXiv:1506.06579"},{"issue":"4","key":"90_CR6","doi-asserted-by":"publisher","first-page":"84","DOI":"10.1109\/MCG.2018.042731661","volume":"38","author":"J Choo","year":"2018","unstructured":"Choo J, Liu SX (2018) Visual analytics for explainable deep learning. IEEE Comput Graph Appl 38(4):84\u201392. https:\/\/doi.org\/10.1109\/MCG.2018.042731661","journal-title":"IEEE Comput Graph Appl"},{"key":"90_CR7","doi-asserted-by":"publisher","unstructured":"Ribeiro MT, Singh S, Guestrin C (2016) \u201cWhy should I trust you?\u201c: Explaining the predictions of any classifier. Paper presented at the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, ACM, San Francisco, 13\u201317 August 2016. https:\/\/doi.org\/10.1145\/2939672.2939778","DOI":"10.1145\/2939672.2939778"},{"issue":"1","key":"90_CR8","doi-asserted-by":"publisher","first-page":"88","DOI":"10.1109\/TVCG.2017.2744718","volume":"24","author":"M Kahng","year":"2018","unstructured":"Kahng M, Andrews PY, Kalro A, Chau DHP (2018) ActiVis: Visual exploration of industry-scale deep neural network models. IEEE Trans Vis Comput Graph 24(1):88\u201397. https:\/\/doi.org\/10.1109\/TVCG.2017.2744718","journal-title":"IEEE Trans Vis Comput Graph"},{"issue":"1","key":"90_CR9","doi-asserted-by":"publisher","first-page":"101","DOI":"10.1109\/TVCG.2016.2598838","volume":"23","author":"PE Rauber","year":"2017","unstructured":"Rauber PE, Fadel SG, Falc\u00e3o AX, Telea AC (2017) Visualizing the hidden activity of artificial neural networks. IEEE Trans Vis Comput Graph 23(1):101\u2013110. https:\/\/doi.org\/10.1109\/TVCG.2016.2598838","journal-title":"IEEE Trans Vis Comput Graph"},{"key":"90_CR10","unstructured":"Samek W, Wiegand T, M\u00fcller KR (2017) Explainable artificial intelligence: Understanding, visualizing and interpreting deep learning models. arXiv preprint arXiv:1708.08296"},{"issue":"7553","key":"90_CR11","doi-asserted-by":"publisher","first-page":"436","DOI":"10.1038\/nature14539","volume":"521","author":"Y LeCun","year":"2015","unstructured":"LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436\u2013444. https:\/\/doi.org\/10.1038\/nature14539","journal-title":"Nature"},{"issue":"8","key":"90_CR12","doi-asserted-by":"publisher","first-page":"1735","DOI":"10.1162\/neco.1997.9.8.1735","volume":"9","author":"S Hochreiter","year":"1997","unstructured":"Hochreiter S, Schmidhuber J (1997) Long short-term memory. Neural Comput 9(8):1735\u20131780. https:\/\/doi.org\/10.1162\/neco.1997.9.8.1735","journal-title":"Neural Comput"},{"key":"90_CR13","unstructured":"GitHub. https:\/\/github.com\/fchollet\/keras. Accessed 27 Jul\u00a02021"},{"key":"90_CR14","doi-asserted-by":"publisher","unstructured":"Garcia R, Weiskopf D (2020) Inner-process visualization of hidden states in recurrent neural networks. Paper presented at the 13th international symposium on visual information communication and interaction, ACM, Eindhoven, 8\u201310 December 2020. https:\/\/doi.org\/10.1145\/3430036.3430047","DOI":"10.1145\/3430036.3430047"},{"key":"90_CR15","doi-asserted-by":"publisher","unstructured":"Ward MO (2016) Linking and brushing. In: Liu L, \u00d6zsu MT (eds) Encyclopedia of database systems. Springer, New York, pp\u00a01623\u20131626. https:\/\/doi.org\/10.1007\/978-1-4899-7993-3_1129-2","DOI":"10.1007\/978-1-4899-7993-3_1129-2"},{"key":"90_CR16","doi-asserted-by":"publisher","unstructured":"Roberts JC (2007) State of the art: Coordinated & multiple views in exploratory visualization. Paper presented at the fifth international conference on coordinated and multiple views in exploratory visualization, IEEE, Zurich, 2 July 2007. https:\/\/doi.org\/10.1109\/CMV.2007.20","DOI":"10.1109\/CMV.2007.20"},{"key":"90_CR17","doi-asserted-by":"publisher","unstructured":"Munz T, Garcia R, Weiskopf D (2021) Visual analytics system for hidden states in recurrent neural networks. DaRUS. https:\/\/doi.org\/10.18419\/darus-2052","DOI":"10.18419\/darus-2052"},{"key":"90_CR18","unstructured":"Munz T (2021) Visual analytics system for hidden states in recurrent neural networks. https:\/\/github.com\/MunzT\/hiddenStatesVis. Accessed 27 Jul\u00a02021"},{"key":"90_CR19","doi-asserted-by":"publisher","unstructured":"Heyen F, Munz T, Neumann M, Ortega D, Vu NT, Weiskopf D et al (2020) ClaVis: An interactive visual comparison system for classifiers. Paper presented at the international conference on advanced visual interfaces, ACM, Salerno, 28 September-2 October 2020. https:\/\/doi.org\/10.1145\/3399715.3399814","DOI":"10.1145\/3399715.3399814"},{"key":"90_CR20","unstructured":"Erhan D, Bengio Y, Courville A, Vincent P (2009) Visualizing higher-layer features of a deep network. http:\/\/www.iro.umontreal.ca\/~lisa\/publications2\/index.php\/publications\/show\/247. Accessed 27 Jul\u00a02021"},{"key":"90_CR21","doi-asserted-by":"crossref","unstructured":"Yao K, Zweig G, Hwang MY, Shi YY, Yu D (2013) Recurrent neural networks for language understanding. Paper presented at the 14th annual conference of the international speech communication association, ISCA, Lyon, 25\u201329 August 2013","DOI":"10.21437\/Interspeech.2013-569"},{"issue":"1","key":"90_CR22","doi-asserted-by":"publisher","first-page":"667","DOI":"10.1109\/TVCG.2017.2744158","volume":"24","author":"H Strobelt","year":"2018","unstructured":"Strobelt H, Gehrmann S, Pfister H, Rush AM (2018) LSTMVis: A tool for visual analysis of hidden state dynamics in recurrent neural networks. IEEE Trans Vis Comput Graph 24(1):667\u2013676. https:\/\/doi.org\/10.1109\/TVCG.2017.2744158","journal-title":"IEEE Trans Vis Comput Graph"},{"key":"90_CR23","doi-asserted-by":"publisher","unstructured":"Ming Y, Cao SZ, Zhang RX, Li Z, Chen YZ, Song YQ et al (2017) Understanding hidden memories of recurrent neural networks. Paper presented at the 12th IEEE conference on visual analytics science and technology, IEEE, Phoenix, 3\u20136 October 2017. https:\/\/doi.org\/10.1109\/VAST.2017.8585721","DOI":"10.1109\/VAST.2017.8585721"},{"issue":"86","key":"90_CR24","first-page":"2579","volume":"9","author":"L van Der Maaten","year":"2008","unstructured":"van Der Maaten L, Hinton G (2008) Visualizing data using t-SNE. J Mach Learn Res 9(86):2579\u20132605","journal-title":"J Mach Learn Res"},{"key":"90_CR25","unstructured":"Reuters L (1996) Reuters-21578 Dataset. http:\/\/kdd.ics.uci.edu\/databases\/reuters21578\/reuters21578.html. Accessed 27 Jul\u00a02021"},{"key":"90_CR26","unstructured":"Molchanov V, Linsen L (2014) Visual exploration of patterns in multi-run time-varying multi-field simulation data using projected views. Paper presented at the 22nd international conference in central European computer graphics, visualization and computer vision, WSCG, Plzen, 2\u20135 June 2014"},{"issue":"1","key":"90_CR27","doi-asserted-by":"publisher","first-page":"1","DOI":"10.1109\/TVCG.2015.2468078","volume":"22","author":"S van den Elzen","year":"2016","unstructured":"van den Elzen S, Holten D, Blaas J, van Wijk JJ (2016) Reducing snapshots to points: A visual analytics approach to dynamic network exploration. IEEE Trans Vis Comput Graph 22(1):1\u201310. https:\/\/doi.org\/10.1109\/TVCG.2015.2468078","journal-title":"IEEE Trans Vis Comput Graph"},{"issue":"1","key":"90_CR28","doi-asserted-by":"publisher","first-page":"559","DOI":"10.1109\/TVCG.2015.2467851","volume":"22","author":"B Bach","year":"2016","unstructured":"Bach B, Shi CL, Heulot N, Madhyastha T, Grabowski T, Dragicevic P (2016) Time curves: Folding time to visualize patterns of temporal evolution in data. IEEE Trans Vis Comput Graph 22(1):559\u2013568. https:\/\/doi.org\/10.1109\/TVCG.2015.2467851","journal-title":"IEEE Trans Vis Comput Graph"},{"key":"90_CR29","unstructured":"Hinterreiter A, Steinparz C, Sch\u00f6fl M, Stitz H, Streit M (2020) ProjectionPathExplorer: Exploring visual patterns in projected decision-making paths. arXiv preprint arXiv:2001.08372"},{"key":"90_CR30","doi-asserted-by":"publisher","unstructured":"Cho K, van Merri\u00ebnboer B, Gulcehre C, Bahdanau D, Bougares F, Schwenk H et al (2014) Learning phrase representations using RNN encoder-decoder for statistical machine translation. Paper presented at the 2014 conference on empirical methods in natural language processing, ACL, Doha, 26\u201328 October, 2014. https:\/\/doi.org\/10.3115\/v1\/D14-1179","DOI":"10.3115\/v1\/D14-1179"},{"key":"90_CR31","unstructured":"Abadi M, Agarwal A, Barham P, Brevdo E, Chen ZF, Citro C et al (2015) TensorFlow: Large-scale machine learning on heterogeneous distributed systems. arXiv preprint arXiv:1603.04467v2"},{"key":"90_CR32","first-page":"2825","volume":"12","author":"F Pedregosa","year":"2011","unstructured":"Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O et al (2011) Scikit-learn: Machine learning in Python. J Mach Learn Res 12:2825\u20132830","journal-title":"J Mach Learn Res"},{"issue":"12","key":"90_CR33","doi-asserted-by":"publisher","first-page":"2301","DOI":"10.1109\/TVCG.2011.185","volume":"17","author":"M Bostock","year":"2011","unstructured":"Bostock M, Ogievetsky V, Heer J (2011) D\u00b3 data-driven documents. IEEE Trans Vis Comput Graph 17(12):2301\u20132309. https:\/\/doi.org\/10.1109\/TVCG.2011.185","journal-title":"IEEE Trans Vis Comput Graph"},{"key":"90_CR34","unstructured":"Maas AL, Daly RE, Pham PT, Huang D, Ng AY, Potts C (2011) Learning word vectors for sentiment analysis. Paper presented at the 49th annual meeting of the association for computational linguistics: Human language technologies-Volume\u00a01, ACM, Stroudsburg, 19\u201324 June 2011"},{"key":"90_CR35","unstructured":"Ng JYH, Hausknecht M, Vijayanarasimhan S, Vinyals O, Monga R, Toderici G (2015) Beyond short snippets: Deep networks for video classification. Paper presented at the IEEE conference on computer vision and pattern recognition, IEEE, Boston, 7\u201312 June 2015"},{"key":"90_CR36","doi-asserted-by":"publisher","first-page":"4742515","DOI":"10.1155\/2016\/4742515","volume":"2016","author":"J Wang","year":"2016","unstructured":"Wang J, Wang J, Fang W, Niu HL (2016) Financial time series prediction using Elman recurrent random neural networks. Comput Intell Neurosci 2016:4742515. https:\/\/doi.org\/10.1155\/2016\/4742515","journal-title":"Comput Intell Neurosci"},{"key":"90_CR37","doi-asserted-by":"publisher","unstructured":"Kumar A, Howlader P, Garcia R, Weiskopf D, Mueller K (2020) Challenges in interpretability of neural networks for eye movement data. Paper presented at the ACM symposium on eye tracking research and applications (ETRA\u201920 Short Papers), ACM, Stuttgart, 2\u20135 June 2020. https:\/\/doi.org\/10.1145\/3379156.3391361","DOI":"10.1145\/3379156.3391361"}],"container-title":["Visual Computing for Industry, Biomedicine, and Art"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1186\/s42492-021-00090-0.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1186\/s42492-021-00090-0\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1186\/s42492-021-00090-0.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2021,12,13]],"date-time":"2021-12-13T09:05:49Z","timestamp":1639386349000},"score":1,"resource":{"primary":{"URL":"https:\/\/vciba.springeropen.com\/articles\/10.1186\/s42492-021-00090-0"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,9,29]]},"references-count":37,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2021,12]]}},"alternative-id":["90"],"URL":"https:\/\/doi.org\/10.1186\/s42492-021-00090-0","relation":{},"ISSN":["2524-4442"],"issn-type":[{"value":"2524-4442","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,9,29]]},"assertion":[{"value":"4 May 2021","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"12 August 2021","order":2,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"29 September 2021","order":3,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"15 November 2021","order":4,"name":"change_date","label":"Change Date","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"Update","order":5,"name":"change_type","label":"Change Type","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"The Video Abstract was added in the article.","order":6,"name":"change_details","label":"Change Details","group":{"name":"ArticleHistory","label":"Article History"}},{"order":1,"name":"Ethics","group":{"name":"EthicsHeading","label":"Declarations"}},{"value":"The authors declare that they have no competing interests.","order":2,"name":"Ethics","group":{"name":"EthicsHeading","label":"Competing interests"}}],"article-number":"24"}}