Regularizing RNNs for Caption Generation by Reconstructing The Past with The Present

Xinpeng Chen, Lin Ma, Wenhao Jiang, Jian Yao, Wei Liu
3/30/2018
cs.CVcs.AI

Official code: chenxinpeng/ARNet (98 stars, Python, last commit 2018-12-19).

Abstract

Recently, caption generation with an encoder-decoder framework has been extensively studied and applied in different domains, such as image captioning, code captioning, and so on. In this paper, we propose a novel architecture, namely Auto-Reconstructor Network (ARNet), which, coupling with the conventional encoder-decoder framework, works in an end-to-end fashion to generate captions.

Show full abstract

ARNet aims at reconstructing the previous hidden state with the present one, besides behaving as the input-dependent transition operator. Therefore, ARNet encourages the current hidden state to embed more information from the previous one, which can help regularize the transition dynamics of recurrent neural networks (RNNs). Extensive experimental results show that our proposed ARNet boosts the performance over the existing encoder-decoder models on both image captioning and source code captioning tasks. Additionally, ARNet remarkably reduces the discrepancy between training and inference processes for caption generation. Furthermore, the performance on permuted sequential MNIST demonstrates that ARNet can effectively regularize RNN, especially on modeling long-term dependencies. Our code is available at: https://github.com/chenxinpeng/ARNet

View on arXivView PDF

Code Implementations(1)

chenxinpeng/ARNetOfficial100%

CVPR 2018 - Regularizing RNNs for Caption Generation by Reconstructing The Past with The Present

9821Python, ShellMar 21, 20187 years agoNOASSERTION
caption-generationcode-captioningimage-captioningregularizing-rnnsrnn

Similar Papers

Cite this paper

@article{chen2018regularizing,
  title  = {Regularizing RNNs for Caption Generation by Reconstructing The Past with The Present},
  author = {Xinpeng Chen and Lin Ma and Wenhao Jiang and Jian Yao and Wei Liu},
  year   = {2018},
  eprint = {1803.11439},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1803.11439}
}

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/1803.11439.svg)](https://codeofpaper.com/paper/1803.11439)

Discussion