Interactive Debugging and Testing Support for Deep Learning by Tianyi Zhang @StrangeLoopConf
Interactive Debugging and Testing Support for Deep Learning by Tianyi Zhang  @StrangeLoopConf
Uploaded November 2022 | Updated November 2026, 3 hours ago
Recurrent Neural Networks (RNNs) have been widely used in NLP tasks. Yet it is challenging to debug RNNs due to their inherent complexity and opaqueness. To address this challenge, we present an interactive debugger that transforms an RNN model, which is complex and unfamiliar to regular developers, back to something they are familiar with----a Finite State Machine (FSM). The FSM provides a bird’s-eye view of the internal decision-making process of the RNN model. As the model reads each word in an input sentence, it will transit between different states until it reaches the end of the sentence. If a developer clicks on a state, they can see the frequent words and phrases associated with this state. In this way, we convert those high-dimensional arrays to symbolic values that are more interpretable to programmers. Given a misclassified text, our debugger will produce a state trace with intermediate decisions made by the RNN model. Similar to how we can step through a program, we can step through the states in the trace to inspect the decision-making process of the model.

Tianyi Zhang
Assistant Professor in Computer Science
Purdue University

Presented at the "It Will Never Work in Theory" miniconf at Strange Loop 2022. neverworkintheory.org/events/strange-loop-2022-09.html

-------- Sponsored by: --------

Stream is the # 1 Chat API for custom messaging apps. Activate your free 30-day trial to explore Stream Chat. gstrm.io/tsl
Interactive Debugging and Testing Support for Deep Learning by Tianyi ZhangTime Travel Debugging JavaScript Applications by Cecelia Martinez (Strange Loop 2022)Equitable Experiential Access: Audio Description by Laurel LawsonLeveraging AI for Global Health by África Periañez (Strange Loop 2022)Waterpark: Distributed Actors vs the Pandemic by Bryan HunterAstronaut Horse: Stable Diffusion Artist Collaborations by Tom Betthauser (Strange Loop 2023)Streaming video analysis in Rust using Pravega by Tom KaitchuckA JVM threading model for the containerized times by Luiz Hespanha and Flavio BrasilLevel Up Your Machine Learning Lifecycle by Yaqi Chen (Strange Loop 2022)Strange Dreams of Stranger Loops by Will ByrdAn IPC Language For The Whole Operating System by Ian McKellar (Strange Loop 2022)Strange Loop Chat with Hillel Wayne about TLA+
Strange Loop Conference |

"Interactive Debugging and Testing Support for Deep Learning" by Tianyi Zhang

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER