English

Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks

Computation and Language 2019-05-09 v6 Machine Learning

Abstract

Natural language is hierarchically structured: smaller units (e.g., phrases) are nested within larger units (e.g., clauses). When a larger constituent ends, all of the smaller constituents that are nested within it must also be closed. While the standard LSTM architecture allows different neurons to track information at different time scales, it does not have an explicit bias towards modeling a hierarchy of constituents. This paper proposes to add such an inductive bias by ordering the neurons; a vector of master input and forget gates ensures that when a given neuron is updated, all the neurons that follow it in the ordering are also updated. Our novel recurrent architecture, ordered neurons LSTM (ON-LSTM), achieves good performance on four different tasks: language modeling, unsupervised parsing, targeted syntactic evaluation, and logical inference.

Keywords

Cite

@article{arxiv.1810.09536,
  title  = {Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks},
  author = {Yikang Shen and Shawn Tan and Alessandro Sordoni and Aaron Courville},
  journal= {arXiv preprint arXiv:1810.09536},
  year   = {2019}
}

Comments

Published as a conference paper at ICLR 2019

R2 v1 2026-06-23T04:48:59.631Z