Skip to main content
QUICK REVIEW

[Paper Review] Skip RNN: Learning to Skip State Updates in Recurrent Neural Networks

Víctor Campos, Brendan Jou|arXiv (Cornell University)|Aug 22, 2017
Topic ModelingComputer Science50 references38 citations
TL;DR

Skip RNN introduces a learnable mechanism in recurrent neural networks that allows models to skip state updates during inference, reducing sequential computation and improving training efficiency. By training with a penalty term, the model learns to minimize updates while maintaining or improving performance on sequence tasks like video action recognition and sentiment analysis.

ABSTRACT

Recurrent Neural Networks (RNNs) continue to show outstanding performance in sequence modeling tasks. However, training RNNs on long sequences often face challenges like slow inference, vanishing gradients and difficulty in capturing long term dependencies. In backpropagation through time settings, these issues are tightly coupled with the large, sequential computational graph resulting from unfolding the RNN in time. We introduce the Skip RNN model which extends existing RNN models by learning to skip state updates and shortens the effective size of the computational graph. This model can also be encouraged to perform fewer state updates through a budget constraint. We evaluate the proposed model on various tasks and show how it can reduce the number of required RNN updates while preserving, and sometimes even improving, the performance of the baseline RNN models. Source code is publicly available at https://imatge-upc.github.io/skiprnn-2017-telecombcn/ .

Motivation & Objective

  • Address the challenges of slow inference and vanishing gradients in long sequence modeling with RNNs.
  • Reduce computational cost and improve training stability by shortening the effective computational graph through skipped state updates.
  • Enable adaptive computation in RNNs by learning which time steps require state updates, without additional supervision.
  • Support computation budget constraints via a learnable penalty term during training to control the number of updates.
  • Demonstrate generalization across diverse sequence tasks, including video understanding, language modeling, and time-series prediction.

Proposed method

  • Introduce a learnable gate mechanism that decides whether to update the hidden state or copy it from the previous time step.
  • Integrate the skip mechanism into existing RNN architectures like LSTM and GRU, preserving their internal gating mechanisms.
  • Train the skip gate using backpropagation through time with a differentiable loss that includes a penalty term (λ) to control the number of updates.
  • Apply the penalty term λ to encourage sparsity in state updates, enabling models to operate under computational budgets.
  • Use a stochastic sampling strategy during inference where the skip probability is determined by a learned gate, allowing conditional computation over time.
  • Train end-to-end with standard RNN objectives, ensuring all parameters, including the skip gate, are optimized via backpropagation.

Experimental results

Research questions

  • RQ1Can a learnable mechanism reduce the number of RNN state updates while maintaining or improving model performance on sequence tasks?
  • RQ2How does the Skip RNN model perform under varying computational budgets, as controlled by the penalty hyperparameter λ?
  • RQ3Does the model learn meaningful skip patterns without explicit supervision, particularly in tasks requiring long-term dependencies?
  • RQ4How does the Skip RNN compare to heuristic sequence subsampling or random frame selection in video-based tasks?
  • RQ5Can Skip RNN generalize across different RNN architectures (LSTM vs GRU) and sequence learning tasks?

Key findings

  • Skip RNN models achieve comparable or better performance than standard RNNs on the Charades action localization task, with mAP of 8.61% under λ = 10⁻³, while reducing state updates to 41.9 ± 11.3.
  • At λ = 10⁻², Skip RNN reduces inference FLOPs to 2.66×10¹¹ while maintaining mAP of 7.86%, demonstrating significant computational savings.
  • Skip RNN outperforms random frame selection and fixed skip baselines, especially under high skipping rates, indicating effective, task-aware frame selection.
  • The model learns to attend to relevant frames from RGB data alone, even without optical flow, achieving 8.61% mAP with only 41.9 state updates on average.
  • Skip GRU outperforms Skip LSTM in some settings (e.g., mAP 8.94% vs 8.61% at low λ), suggesting architecture-specific behavior in update efficiency.
  • The model maintains stable training and faster convergence due to shorter effective backpropagation paths, even when skipping up to 90% of updates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.