Hidden states in an LSTM language model are visualized by training a separate linear classifier per state to predict the next word, giving compact 'semantic' bar-chart summaries for every state.
Long Short-Term Memory as a Dynamically Computed Element-wise Weighted Sum
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
LSTMs were introduced to combat vanishing gradients in simple RNNs by augmenting them with gated additive recurrent connections. We present an alternative view to explain the success of LSTMs: the gates themselves are versatile recurrent models that provide more representational power than previously appreciated. We do this by decoupling the LSTM's gates from the embedded simple RNN, producing a new class of RNNs where the recurrence computes an element-wise weighted sum of context-independent functions of the input. Ablations on a range of problems demonstrate that the gating mechanism alone performs as well as an LSTM in most settings, strongly suggesting that the gates are doing much more in practice than just alleviating vanishing gradients.
fields
cs.CL 1years
2019 1verdicts
CONDITIONAL 1representative citing papers
citing papers explorer
-
Visualizing RNN States with Predictive Semantic Encodings
Hidden states in an LSTM language model are visualized by training a separate linear classifier per state to predict the next word, giving compact 'semantic' bar-chart summaries for every state.