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

Published: 01 November 2022
on channel: Strange Loop Conference
2,211
like

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. https://neverworkintheory.org/events/...

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

Stream is the # 1 Chat API for custom messaging apps. Activate your free 30-day trial to explore Stream Chat. https://gstrm.io/tsl


Watch video "Interactive Debugging and Testing Support for Deep Learning" by Tianyi Zhang online without registration, duration hours minute second in high quality. This video was added by user Strange Loop Conference 01 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2,21 once and liked it lik people.