State-Regularized Recurrent Neural Networks to Extract Automata and Explain Predictions
Not on the map. Why?
Abstract (arXiv)
Recurrent neural networks are a widely used class of neural architectures. They have, however, two shortcomings. First, they are often treated as black-box models and as such it is difficult to understand what exactly they learn as well as how they arrive at a particular prediction. Second, they tend to work poorly on sequences requiring long-term memorization, despite having this capacity in principle. We aim to address both shortcomings with a class of recurrent networks that use a stochastic state transition mechanism between cell applications. This mechanism, which we term state-regularization, makes RNNs transition between a finite set of learnable states. We evaluate state-regularized RNNs on (1) regular languages for the purpose of automata extraction; (2) non-regular languages such as balanced parentheses and palindromes where external memory is required; and (3) real-word sequence learning tasks for sentiment analysis, visual object recognition and text categorisation. We show that state-regularization (a) simplifies the extraction of finite state automata that display an RNN's state transition dynamic; (b) forces RNNs to operate more like automata with external memory and less like finite state machines, which potentiality leads to a more structural memory; (c) leads to better interpretability and explainability of RNNs by leveraging the probabilistic finite state transition mechanism over time steps.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 48 of its 78 references that are in the map. First posted on arXiv 10 Dec 2022.
Builds on
48 of 78 references.
References · 48
- 2017Attention Is All You Needcited by 59,932
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2013Deep Inside Convolutional Networks: Visualising Image Classification Models and Saliency Mapscited by 2,348
- 2014Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modelingcited by 2,341
- 2017What Uncertainties Do We Need in Bayesian Deep Learning for Computer Vision?cited by 2,335
- 2013Visualizing and Understanding Convolutional Networkscited by 2,278
- 2018An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modelingcited by 1,447
- 2014Neural Turing Machinescited by 630
- 2014Memory Networkscited by 354
- 2017Methods for Interpreting and Understanding Deep Neural Networkscited by 342
- 2015Unitary Evolution Recurrent Neural Networkscited by 291
36 more
- 2017Regularizing and Optimizing LSTM Language Modelscited by 205
- 2015Visualizing and Understanding Neural Models in NLPcited by 199
- 2015Semi-supervised Sequence Learningcited by 198
- 2014Recurrent Neural Network Regularizationcited by 189
- 2015A Theoretically Grounded Application of Dropout in Recurrent Neural Networkscited by 161
- 2017Interpretable Convolutional Neural Networkscited by 161
- 2015Visualizing and Understanding Recurrent Networkscited by 158
- 2015A Simple Way to Initialize Recurrent Networks of Rectified Linear Unitscited by 130
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2016Sequential Neural Models with Stochastic Layerscited by 115
- 2014Learning to Executecited by 105
- 2016Full-Capacity Unitary Recurrent Neural Networkscited by 90
- 2017Dilated Recurrent Neural Networkscited by 83
- 2017Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamplescited by 66
- 2016Theano: A Python framework for fast computation of mathematical expressionscited by 64
- 2014Learning Stochastic Recurrent Networkscited by 60
- 2018Learning Longer-term Dependencies in RNNs with Auxiliary Lossescited by 58
- 2015Learning to Transduce with Unbounded Memorycited by 54
- 2016Zoneout: Regularizing RNNs by Randomly Preserving Hidden Activationscited by 54
- 2017Z-Forcing: Training Stochastic Recurrent Networkscited by 51
- 2017Skip RNN: Learning to Skip State Updates in Recurrent Neural Networkscited by 49
- 2014Effective Use of Word Order for Text Categorization with Convolutional Neural Networkscited by 39
- 2016Associative Long Short-Term Memorycited by 37
- 2016Recurrent Highway Networkscited by 36
- 2016Recurrent Batch Normalizationcited by 35
- 2017An Empirical Evaluation of Rule Extraction from Recurrent Neural Networkscited by 21
- 2021Transformer Uncertainty Estimation with Hierarchical Stochastic Attentioncited by 21
- 2017Frustratingly Short Attention Spans in Neural Language Modelingcited by 18
- 2017Learning to Skim Textcited by 18
- 2016Architectural Complexity Measures of Recurrent Neural Networkscited by 17
- 2018Context-Free Transductions with Neural Stackscited by 14
- 2019State-Regularized Recurrent Neural Networkscited by 11
- 2017Automatic Rule Extraction from Long Short Term Memory Networkscited by 10
- 2020Uncertainty Estimation and Calibration with Finite-State Probabilistic RNNscited by 9
- 2018Noisin: Unbiased Regularization for Recurrent Neural Networkscited by 8
- 2016LSTMVis: A Tool for Visual Analysis of Hidden State Dynamics in Recurrent Neural Networkscited by 5
Built on by
Citing papers per year: 2024: 2.
2 papers.