Skip to main content
QUICK REVIEW

[Paper Review] Recurrently Controlled Recurrent Networks

Yi Tay, Anh Tuan Luu|arXiv (Cornell University)|Nov 24, 2018
Topic ModelingComputer Science14 citations
TL;DR

This paper proposes Recurrently Controlled Recurrent Networks (RCRN), a novel RNN architecture where a controller RNN dynamically learns gating functions for a listener RNN, enabling more expressive sequence encoding. RCRN outperforms both standard and stacked BiLSTMs across 26 NLP benchmarks, achieving state-of-the-art or near-state-of-the-art results while maintaining comparable or better inference efficiency.

ABSTRACT

Recurrent neural networks (RNNs) such as long short-term memory and gated recurrent units are pivotal building blocks across a broad spectrum of sequence modeling problems. This paper proposes a recurrently controlled recurrent network (RCRN) for expressive and powerful sequence encoding. More concretely, the key idea behind our approach is to learn the recurrent gating functions using recurrent networks. Our architecture is split into two components - a controller cell and a listener cell whereby the recurrent controller actively influences the compositionality of the listener cell. We conduct extensive experiments on a myriad of tasks in the NLP domain such as sentiment analysis (SST, IMDb, Amazon reviews, etc.), question classification (TREC), entailment classification (SNLI, SciTail), answer selection (WikiQA, TrecQA) and reading comprehension (NarrativeQA). Across all 26 datasets, our results demonstrate that RCRN not only consistently outperforms BiLSTMs but also stacked BiLSTMs, suggesting that our controller architecture might be a suitable replacement for the widely adopted stacked architecture.

Motivation & Objective

  • To address the limitations of stacked RNNs, such as vanishing gradients and difficulty in deep feature propagation, by proposing an alternative to hierarchical stacking.
  • To improve sequence encoding capability without increasing model depth, by enabling one RNN to control another through learned gating functions.
  • To demonstrate that the controller-listener architecture is a viable and more effective replacement for stacked RNNs in sequence modeling tasks.
  • To evaluate RCRN's performance across diverse NLP tasks, including sentiment analysis, question classification, and reading comprehension.
  • To analyze the computational efficiency of RCRN relative to standard and stacked BiLSTMs, especially under cuDNN-optimized settings.

Proposed method

  • RCRN consists of two components: a controller cell and a listener cell, both implemented as RNNs.
  • The controller RNN generates dynamic gating parameters (e.g., input, forget, output gates) for the listener RNN at each time step.
  • The listener RNN uses these controller-generated gates to modulate its hidden state transitions, enabling adaptive information flow.
  • The architecture operates in parallel at the same hierarchical level, avoiding the need for deep stacking of RNN layers.
  • The controller-listener mechanism is trained end-to-end using standard backpropagation through time.
  • A CUDA-optimized version of RCRN is implemented to improve training and inference speed, especially for longer sequences.

Experimental results

Research questions

  • RQ1Can a controller RNN that dynamically learns gating functions for a listener RNN outperform standard stacked BiLSTM architectures in sequence modeling tasks?
  • RQ2Does the controller-listener architecture provide better representation learning than hierarchical stacking of RNNs, particularly in long-range dependency modeling?
  • RQ3How does the computational efficiency of RCRN compare to stacked BiLSTMs, especially under cuDNN-optimized inference?
  • RQ4Can RCRN achieve state-of-the-art or near-state-of-the-art performance across diverse NLP benchmarks without relying on attention mechanisms?
  • RQ5Is the controller-listener mechanism robust enough to improve performance across multiple NLP tasks, including sentiment analysis, entailment, and reading comprehension?

Key findings

  • RCRN outperforms standard BiLSTM on all 26 benchmark datasets, including SST, IMDb, Amazon reviews, TREC, SNLI, SciTail, WikiQA, TrecQA, and NarrativeQA.
  • RCRN achieves a +2% improvement in MAP score on both WikiQA and TrecQA without attention, and maintains a +2% improvement with attentive pooling, with MRR gains of 4-7%.
  • On the NarrativeQA reading comprehension task, RCRN enhances R-NET with a 1% to 2% improvement across all metrics, despite using only a single-layered RCRN compared to R-NET’s three-layered BiGRUs.
  • The CUDA-optimized RCRN achieves inference times comparable to 3-layer BiLSTM (cuDNN), and in some sequence lengths, even outperforms it in speed.
  • RCRN maintains comparable or better efficiency than stacked BiLSTMs of similar parameter count, with the optimized version being slightly faster than 3-layer BiLSTM (cuDNN) on longer sequences.
  • RCRN achieves close to state-of-the-art performance on SST, TREC question classification, and 16 of the 16 Amazon review datasets, indicating strong generalization across domains.

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.