# Twin Networks: Matching the Future for Sequence Generation

arXiv: https://arxiv.org/abs/1708.06742 · HTML: https://mlsanity.com/paper/1708.06742/

## Key facts

- Cited by 1 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 22 Aug 2017.

## Built on by (most cited first, 1 of 1)

- [Bridge the Gap between Past and Future: Siamese Model Optimization for Context-Aware Document Ranking](https://mlsanity.com/paper/2505.14180/) (2025)

## Abstract (arXiv)

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.
