Twin Networks: Matching the Future for Sequence Generation

Dmitriy Serdyuk, Nan Rosemary Ke, Alessandro Sordoni, Adam Trischler, Chris Pal +1 more
8/22/2017
12 citations
cs.LGstat.ML

Official code: dmitriy-serdyuk/twin-net (13 stars, last commit 2018-04-09).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Experiments for TwinNet paper

132Oct 23, 20178 years ago

Similar Papers

Cite this paper

@article{serdyuk2017twin,
  title  = {Twin Networks: Matching the Future for Sequence Generation},
  author = {Dmitriy Serdyuk and Nan Rosemary Ke and Alessandro Sordoni and Adam Trischler and Chris Pal and Yoshua Bengio},
  year   = {2017},
  eprint = {1708.06742},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1708.06742}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1708.06742.svg)](https://codeofpaper.com/paper/1708.06742)

Discussion