Deep RNN Framework for Visual Sequential Applications.

Bo Pang, Kaiwen Zha, Hanwen Cao, Chen Shi, Cewu Lu

Abstract

Extracting temporal and representation features efficiently plays a pivotal role in understanding visual sequence information. We propose a new recurrent neural framework that can be stacked deep effectively. Our framework introduces two novel designs: the Context Bridge Module (CBM), which decouples information flow along temporal and spatial representation directions, and the Overlap Coherence Training Scheme, which reduces computational complexity for long sequences. Empirical evidence demonstrates that our 15-layer framework is easy to optimize and achieves significant improvements—over 11% relative gains in video classification and 14.7% in auxiliary annotation tasks.

Introduction

While deep Convolutional Neural Networks (CNNs) with 50 or 100 layers are standard for image tasks, Recurrent Neural Networks (RNNs) for video have traditionally remained shallow, often limited to one or two layers. This disparity stems from two primary challenges: the entanglement of spatial and temporal features within standard RNN cells (like LSTMs), and the computational explosion encountered when unfolding deep architectures over long sequences.

Decoupling of representation flow and temporal flow in the deep RNN framework.

In a standard RNN, parameters must simultaneously learn "what" is in a frame and "how" it moves. This entanglement creates a complex optimization landscape. Furthermore, training deep RNNs on long sequences often leads to vanishing or exploding gradients and prohibitive memory requirements.

Methods

Context Bridge Module (CBM)

The core of our framework is the Context Bridge Module (CBM). Unlike monolithic RNN cells, the CBM decouples the workload into two dedicated units:

  • Representation Unit ($R$): A non-recurrent unit (e.g., a CNN layer) focused purely on spatial feature extraction.
  • Temporal Unit ($T$): A recurrent unit focused on sequence logic and temporal dynamics.
  • Merge Unit ($\zeta$): A synthesis step that combines the outputs of $R$ and $T$.
Internal architecture of the Context Bridge Module (CBM) showing the separate Representation (R) and Temporal (T) units.

By separating these flows, the representation axis acts as a "context bridge" over the temporal axis, easing the burden of co-adaptation during training. To further facilitate optimization, we introduce Temporal Dropout (TD). By randomly blocking temporal backpropagation in early training stages, the model is forced to learn robust spatial representations before tackling complex temporal dependencies.

Overlap Coherence Training Scheme

To address the memory constraints of long sequences, we propose the Overlap Coherence Training Scheme. Long videos are divided into short, overlapping clips. To maintain global context, we introduce an Overlap Coherence Loss, which enforces consistency between the model's outputs for frames where two clips overlap. This effectively bridges the sequence segments without requiring the entire sequence to be in memory at once.

Experimental Results

We evaluated the 15-layer CBM framework across several visual sequence benchmarks, demonstrating its scalability and performance.

Video Classification

On the UCF-101 dataset, the 15-layer CBM achieved 79.8% accuracy, a significant improvement over the 71.1% achieved by a standard 1-layer LSTM. On the large-scale Kinetics-400 dataset, the model reached 60.2% accuracy without a pre-trained backbone, rivaling more complex 3D-CNN architectures.

Auxiliary Annotation and Video Prediction

  • Polygon-RNN: Replacing the shallow RNN in the Polygon-RNN framework with our 15-layer CBM resulted in a 14.7% relative improvement in Mean IoU on the Cityscapes dataset.
  • Video Future Prediction: On the KTH dataset, our model improved the state-of-the-art (MCnet) by 2.4% on PSNR and SSIM metrics for 20-frame future prediction.

Conclusion

Our work demonstrates that RNNs can benefit from increased depth when spatial and temporal features are properly decoupled. The CBM architecture and Overlap Coherence training scheme provide a robust path toward deep recurrent modeling for complex visual tasks. Future work may explore more sophisticated fusion methods for the $R$ and $T$ units or investigate the integration of these decoupling principles into attention-based architectures.

Summary updated

BibTeX
@inproceedings{pang2019deep,
  author = {Bo Pang and Kaiwen Zha and Hanwen Cao and Chen Shi and Cewu Lu},
  title = {{Deep RNN Framework for Visual Sequential Applications.}},
  booktitle = {CVPR},
  year = {2019},
  url = {https://openreview.net/forum?id=HsZP9e7xupS},
}
Figure