Ordered Memory

Yikang Shen, Shawn Tan, Arian Hosseini, Zhouhan Lin, Alessandro Sordoni +1 more
10/29/2019
cs.LGcs.CL

Official code: yikangshen/Ordered-Memory (29 stars, Python, MIT, last commit 2020-01-12).

Abstract

Stack-augmented recurrent neural networks (RNNs) have been of interest to the deep learning community for some time. However, the difficulty of training memory models remains a problem obstructing the widespread use of such models.

Show full abstract

In this paper, we propose the Ordered Memory architecture. Inspired by Ordered Neurons (Shen et al., 2018), we introduce a new attention-based mechanism and use its cumulative probability to control the writing and erasing operation of the memory. We also introduce a new Gated Recursive Cell to compose lower-level representations into higher-level representation. We demonstrate that our model achieves strong performance on the logical inference task (Bowman et al., 2015)and the ListOps (Nangia and Bowman, 2018) task. We can also interpret the model to retrieve the induced tree structure, and find that these induced structures align with the ground truth. Finally, we evaluate our model on the Stanford SentimentTreebank tasks (Socher et al., 2013), and find that it performs comparatively with the state-of-the-art methods in the literature.

View on arXivView PDF

Code Implementations(1)

MIT

This repository contains the code used for Ordered Memory paper

298Python, COct 28, 20196 years agoMIT

Similar Papers

Cite this paper

@article{shen2019ordered,
  title  = {Ordered Memory},
  author = {Yikang Shen and Shawn Tan and Arian Hosseini and Zhouhan Lin and Alessandro Sordoni and Aaron Courville},
  year   = {2019},
  eprint = {1910.13466},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1910.13466}
}

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

Discussion