TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/Ordered Neurons: Integrating Tree Structures into Recurren...

Ordered Neurons: Integrating Tree Structures into Recurrent Neural Networks

Yikang Shen, Shawn Tan, Alessandro Sordoni, Aaron Courville

2018-10-22ICLR 2019 5Constituency Grammar InductionLanguage Modelling
PaperPDFCode(official)CodeCodeCodeCodeCodeCode

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.

Results

TaskDatasetMetricValueModel
Constituency ParsingPTB Diagnostic ECG DatabaseMax F1 (WSJ)50ON-LSTM (tuned)
Constituency ParsingPTB Diagnostic ECG DatabaseMean F1 (WSJ)48.1ON-LSTM (tuned)
Constituency ParsingPTB Diagnostic ECG DatabaseMax F1 (WSJ)49.4ON-LSTM
Constituency ParsingPTB Diagnostic ECG DatabaseMax F1 (WSJ10)66.8ON-LSTM
Constituency ParsingPTB Diagnostic ECG DatabaseMean F1 (WSJ)47.7ON-LSTM
Constituency ParsingPTB Diagnostic ECG DatabaseMean F1 (WSJ10)65.1ON-LSTM

Related Papers

Visual-Language Model Knowledge Distillation Method for Image Quality Assessment2025-07-21Making Language Model a Hierarchical Classifier and Generator2025-07-17VisionThink: Smart and Efficient Vision Language Model via Reinforcement Learning2025-07-17The Generative Energy Arena (GEA): Incorporating Energy Awareness in Large Language Model (LLM) Human Evaluations2025-07-17Inverse Reinforcement Learning Meets Large Language Model Post-Training: Basics, Advances, and Opportunities2025-07-17Assay2Mol: large language model-based drug design using BioAssay context2025-07-16Describe Anything Model for Visual Question Answering on Text-rich Images2025-07-16InstructFLIP: Exploring Unified Vision-Language Model for Face Anti-spoofing2025-07-16