Twin Networks: Matching the Future for Sequence GenerationDownload PDF

15 Feb 2018 (modified: 16 Jun 2024)ICLR 2018 Conference Blind SubmissionReaders: Everyone
Abstract: We propose a simple technique for encouraging generative RNNs to plan ahead. We train a ``backward'' recurrent network to generate a given sequence in reverse order, and we encourage states of the forward model to predict cotemporal states of the backward model. The backward network is used only during training, and plays no role during sampling or inference. We hypothesize that our approach eases modeling of long-term dependencies by implicitly forcing the forward states to hold information about the longer-term future (as contained in the backward states). We show empirically that our approach achieves 9% relative improvement for a speech recognition task, and achieves significant improvement on a COCO caption generation task.
TL;DR: The paper introduces a method of training generative recurrent networks that helps to plan ahead. We run a second RNN in a reverse direction and make a soft constraint between cotemporal forward and backward states.
Keywords: generative rnns, long term dependencies, speech recognition, image captioning
Code: [![github](/images/github_icon.svg) dmitriy-serdyuk/twin-net]( + [![Papers with Code](/images/pwc_icon.svg) 1 community implementation](
Community Implementations: [![CatalyzeX](/images/catalyzex_icon.svg) 4 code implementations](
12 Replies