Alternating Synthetic and Real Gradients for Neural Language Modeling

Fangxin Shang, Hao Zhang
2/27/2019
cs.LGcs.NE

Official code: parap1uie-s/alternate_sg (1 star, Python, last commit 2019-02-26).

Abstract

Training recurrent neural networks (RNNs) with backpropagation through time (BPTT) has known drawbacks such as being difficult to capture longterm dependencies in sequences. Successful alternatives to BPTT have not yet been discovered.

Show full abstract

Recently, BP with synthetic gradients by a decoupled neural interface module has been proposed to replace BPTT for training RNNs. On the other hand, it has been shown that the representations learned with synthetic and real gradients are different though they are functionally identical. In this project, we explore ways of combining synthetic and real gradients with application to neural language modeling tasks. Empirically, we demonstrate the effectiveness of alternating training with synthetic and real gradients after periodic warm restarts on language modeling tasks.

View on arXivView PDF

Code Implementations(1)

Code for 'alternate synthetic gradient'

10Python, ShellFeb 26, 20197 years ago

Similar Papers

Cite this paper

@article{shang2019alternating,
  title  = {Alternating Synthetic and Real Gradients for Neural Language Modeling},
  author = {Fangxin Shang and Hao Zhang},
  year   = {2019},
  eprint = {1902.10630},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1902.10630}
}

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

Discussion