[Paper Review] Surprisal-Triggered Conditional Computation with Neural Networks
This paper proposes a surprisal-triggered conditional computation framework that uses an autoregressive neural network to measure input difficulty via negative log-likelihood, dynamically switching between a small, fast network and a large, slow network. The method reduces FLOPs by 15% with no performance drop on two speech recognition tasks, demonstrating that surprisal is an effective inductive bias for efficient, adaptive inference.
Autoregressive neural network models have been used successfully for sequence generation, feature extraction, and hypothesis scoring. This paper presents yet another use for these models: allocating more computation to more difficult inputs. In our model, an autoregressive model is used both to extract features and to predict observations in a stream of input observations. The surprisal of the input, measured as the negative log-likelihood of the current observation according to the autoregressive model, is used as a measure of input difficulty. This in turn determines whether a small, fast network, or a big, slow network, is used. Experiments on two speech recognition tasks show that our model can match the performance of a baseline in which the big network is always used with 15% fewer FLOPs.
Motivation & Objective
- To improve computational efficiency in neural networks by emulating human cognitive modes—System 1 (fast, low-computation) and System 2 (slow, high-computation)—based on input difficulty.
- To investigate whether surprisal, measured as negative log-likelihood from an autoregressive model, can serve as a reliable and effective inductive bias for triggering conditional computation.
- To evaluate whether this approach achieves a better trade-off between computation cost and model performance compared to always using a large network or using learned controllers.
- To explore the dual role of autoregressive models in both feature extraction and input difficulty estimation, a novel application not previously demonstrated.
Proposed method
- An autoregressive model (e.g., RNN) processes a stream of input observations, simultaneously extracting features and predicting the next observation.
- The surprisal of each input is computed as the negative log-likelihood of the current observation under the autoregressive model, serving as a proxy for input difficulty.
- A small, fast network is used for low-surprisal (easy) inputs, while a large, slow network is activated only when surprisal exceeds a learned threshold.
- The threshold is determined via a validation set, enabling dynamic switching based on input complexity without requiring reinforcement learning or hard-to-train controllers.
- The method is trained end-to-end with a soft approximation to the hard selection decision, allowing backpropagation through the switching mechanism.
- The framework is evaluated on two speech recognition tasks: TIMIT and Mini-LibriSpeech, using both small and large networks with varying hyperparameters.
Experimental results
Research questions
- RQ1Can surprisal, measured as negative log-likelihood from an autoregressive model, reliably indicate input difficulty and guide conditional computation?
- RQ2Does using surprisal to trigger a large network only on hard inputs lead to a better FLOP-performance trade-off than always using the large network?
- RQ3How does the performance of the surprisal-triggered model compare to models with learned controllers for network selection?
- RQ4Is the dual use of autoregressive models for both feature extraction and difficulty estimation effective and beneficial in practice?
- RQ5Does training with surprisal-based sampling improve generalization and robustness across different hyperparameter settings?
Key findings
- The surprisal-triggered model achieved 15% fewer FLOPs than a baseline that always uses the large network, with no drop in performance on the TIMIT dataset.
- On Mini-LibriSpeech, the model reduced FLOPs from 7.54M (big network only) to 6.43M (surprisal-based sampling) while improving WER from 25.69% to 25.80%.
- Models using surprisal-based sampling during both training and testing achieved Pareto-optimal results, outperforming or matching models that always use the big network at lower FLOP cost.
- The model showed lower variance and reduced sensitivity to hyperparameters compared to models with learned controllers, suggesting better generalization and easier scaling.
- Even when surprisal was not used during training, models that used it at test time still showed slight improvements (e.g., 26.16% vs. 26.04% WER on Mini-LibriSpeech), indicating robustness.
- The ablation study confirmed that surprisal-based sampling during inference is more impactful than during training alone, with the best results achieved when both stages use surprisal.
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.