[Paper Review] DRAGNN: A Transition-based Framework for Dynamically Connected Neural Networks
DRAGNN is a modular, transition-based framework for dynamically connected recurrent neural networks that enables efficient, structured prediction by unfolding network connections based on intermediate activations. It achieves state-of-the-art performance in dependency parsing and extractive summarization with improved accuracy and linear-time inference, outperforming both standard seq2seq with attention and fixed-architecture models.
In this work, we present a compact, modular framework for constructing novel recurrent neural architectures. Our basic module is a new generic unit, the Transition Based Recurrent Unit (TBRU). In addition to hidden layer activations, TBRUs have discrete state dynamics that allow network connections to be built dynamically as a function of intermediate activations. By connecting multiple TBRUs, we can extend and combine commonly used architectures such as sequence-to-sequence, attention mechanisms, and re-cursive tree-structured models. A TBRU can also serve as both an encoder for downstream tasks and as a decoder for its own task simultaneously, resulting in more accurate multi-task learning. We call our approach Dynamic Recurrent Acyclic Graphical Neural Networks, or DRAGNN. We show that DRAGNN is significantly more accurate and efficient than seq2seq with attention for syntactic dependency parsing and yields more accurate multi-task learning for extractive summarization tasks.
Motivation & Objective
- To address the limitations of fixed-size encodings and quadratic attention mechanisms in sequence-to-sequence models for structured prediction tasks.
- To enable dynamic, structure-aware neural network architectures that support explicit input and output structures such as parse trees and dependency relations.
- To unify encoder-decoder, attention, and recursive neural network paradigms under a single modular framework for multi-task learning.
- To allow joint training of models that predict and utilize intermediate structured representations, improving error backpropagation and representation sharing.
Proposed method
- The framework introduces the Transition-Based Recurrent Unit (TBRU), a modular neural unit that maintains discrete state dynamics and computes recurrences based on intermediate activations.
- TBRUs generate vector representations for each transition state, which serve as both hidden states and structured encodings of intermediate outputs like parse constituents.
- Dynamic connections between TBRUs are determined by predicted actions, enabling acyclic, task-specific compute graphs that unfold during inference.
- The framework supports multiple connection types—Input, Subtree, and Recurrence—allowing flexible sharing of representations across tasks and architectures.
- Multi-task learning is enabled by connecting TBRUs across different tasks, such as parsing and summarization, using shared intermediate representations.
- The architecture supports both encoder and decoder roles within a single TBRU, enabling end-to-end learning of structured outputs with backpropagation through intermediate structures.
Experimental results
Research questions
- RQ1Can a modular, dynamic neural network framework improve performance on structured prediction tasks like dependency parsing compared to standard seq2seq with attention?
- RQ2How can intermediate structured representations (e.g., parse trees) be effectively shared and utilized across multiple NLP tasks in a single model?
- RQ3Can dynamic, acyclic connections between neural units achieve linear-time inference while maintaining long-range dependencies, unlike quadratic attention mechanisms?
- RQ4To what extent can a single TBRU serve as both encoder and decoder, enabling more accurate multi-task learning?
- RQ5Can the integration of explicit structural representations improve extractive summarization performance in a multi-task learning setup?
Key findings
- DRAGNN achieves state-of-the-art dependency parsing accuracy on the Treebank Union setup, outperforming prior models with the same computational cost.
- The framework significantly improves extractive summarization performance by allowing the summarization model to directly access phrase representations from a dependency parser via the Subtree function.
- DRAGNN reduces cascading errors in bi-directional parsing by enabling mutual error backpropagation between left-to-right and right-to-left parsers during training.
- The model achieves linear-time inference, avoiding the quadratic complexity of attention mechanisms while maintaining long-range dependency modeling through dynamic connections.
- Multi-task learning with DRAGNN yields higher performance than both single-task baselines and prior multi-task setups, such as those using stack-propagation or shared encoder-decoder structures.
- The use of TBRUs enables a single model to simultaneously predict and utilize intermediate structures, such as parse constituents, with end-to-end differentiability through the entire computation graph.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.