[Paper Review] Surprisal-Driven Feedback in Recurrent Networks
This paper introduces surprisal-driven feedback in recurrent networks, where prediction error (surprisal) between past predictions and actual observations is used as a feedback signal to improve future predictions. By integrating this error signal into Long Short-Term Memory (LSTM) networks during inference, the model achieves 1.37 bits per character (BPC) on the enwik8 character-level prediction task, outperforming state-of-the-art deterministic and stochastic methods without explicit regularization.
Recurrent neural nets are widely used for predicting temporal data. Their inherent deep feedforward structure allows learning complex sequential patterns. It is believed that top-down feedback might be an important missing ingredient which in theory could help disambiguate similar patterns depending on broader context. In this paper we introduce surprisal-driven recurrent networks, which take into account past error information when making new predictions. This is achieved by continuously monitoring the discrepancy between most recent predictions and the actual observations. Furthermore, we show that it outperforms other stochastic and fully deterministic approaches on enwik8 character level prediction task achieving 1.37 BPC on the test portion of the text.
Motivation & Objective
- To investigate whether prediction error (surprisal) from past predictions can serve as a meaningful feedback signal during inference in recurrent networks.
- To improve generalization in sequence modeling by incorporating temporal error information into LSTM hidden state updates.
- To demonstrate that feedback based on prediction-observation discrepancy can outperform standard RNNs and state-of-the-art architectures on character-level language modeling.
- To explore a biologically plausible mechanism for top-down feedback in recurrent networks using only local error signals.
Proposed method
- The model introduces a feedback signal $ s_t $, defined as the negative log probability of the true token given the predicted distribution at time $ t-1 $, representing prediction surprisal.
- This $ s_t $ is fed through a learnable weight matrix $ V $ and added as an input to the LSTM hidden state update, alongside standard input and recurrent connections.
- The architecture extends standard LSTM with an additional feedback path: $ h_t = \tanh(W x_t + U h_{t-1} + V s_t + b) $, enabling error-informed state transitions.
- Backpropagation through time (BPTT) is adapted to backpropagate through the surprisal signal $ s_t $, allowing end-to-end training of the feedback weights $ V $.
- The method uses truncated BPTT with sequence length 100, batch size 128, and Adagrad optimization with a learning rate of 0.001.
- The feedback mechanism operates during both training and inference, unlike standard RNNs where error signals are discarded post-training.
Experimental results
Research questions
- RQ1Can prediction error (surprisal) between past predictions and actual observations serve as a useful feedback signal during inference in recurrent networks?
- RQ2Does incorporating surprisal as a feedback signal improve generalization and prediction accuracy in sequence modeling tasks?
- RQ3How does surprisal-driven feedback compare to other top-down feedback mechanisms, such as those based on higher-layer representations?
- RQ4Can a feedback mechanism based solely on local prediction error outperform state-of-the-art models without explicit regularization?
Key findings
- The proposed Feedback LSTM model achieves 1.37 bits per character (BPC) on the enwik8 character-level prediction task, setting a new state-of-the-art result.
- The model outperforms all other deterministic and stochastic approaches, including Grid LSTM (1.47 BPC), standard LSTM (1.45 BPC), and Hypernetworks (1.38 BPC).
- Even without explicit regularization, the feedback mechanism improves generalization, as evidenced by the model's strong performance on test data.
- The feedback mechanism is effective even when applied within a single LSTM layer, without requiring stacked or hierarchical architectures.
- The method demonstrates that prediction error, typically discarded after training, can be a valuable signal during inference when properly integrated.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.