Skipping RNN State Updates without Retraining the Original Model
By Jin Tao, Urmish Thakker, Ganesh S. Dasika, Jesse G. Beu. 2019
19 citations recorded by the source corpus.
Recurrent Neural Networks (RNNs) break a time-series input (or a sentence) into multiple time-steps (or words) and process it one time-step (word) at a time. However, not all of these time-steps (words) need to be processed to determine the final output accurately. Prior work has exploited this intuition by incorporating an additional predictor in front of the RNN model to prune time-steps that are not relevant. However, they jointly train the predictor and the RNN model, allowing one to learn from the mistakes of the other. In this work we present a method to skip RNN time-steps without retraining or fine tuning the original RNN model. Using an ideal predictor, we show that even without retraining the original model, we can train a predictor to skip 45% of steps for the SST dataset and 80% of steps for the IMDB dataset without impacting the model accuracy. We show that the decision to skip is not easy by comparing against 5 different baselines based on solutions derived from domain knowledge. Finally, we present a case study about the cost and accuracy benefits of realizing such a predictor. This realistic predictor on the SST dataset is able to reduce the computation by more than 25% with at most 0.3% loss in accuracy while being 40× smaller than the original RNN model.
Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition
Citations in the corpus
- A Survey on Federated Learning for Resource-Constrained IoT Devices (2021, unknown): “DLS techniques are more specific to ResNet style architecture with skip connections or RNN-based models ([185], [186]).”