Abstract
This paper introduces the Inside-Outside Recursive Neural Network (IORNN), a novel architecture designed for generative dependency parsing. By facilitating information flow both bottom-up and top-down through tree structures, the IORNN implements an "infinite-order" generative model. This approach effectively captures global sentence context and overcomes the data sparsity limitations of traditional counting-based models. Experimental results on the Penn Treebank show a seven-fold reduction in perplexity and significant improvements in structural parsing accuracy.
Introduction
Dependency parsing involves determining the grammatical structure of a sentence by identifying links between "heads" and their "dependents." Traditional generative models rely on counting-based frequency estimates to determine the probability of these links. The "order" of such models defines the amount of context considered; while higher-order models theoretically provide better accuracy, they often suffer from the "sparsity wall," where specific contexts are too rare in training data to yield reliable estimates.
The authors propose breaking this wall using neural networks, which generalize across continuous vector spaces rather than relying on exact matches. The core of this proposal is the Inside-Outside Recursive Neural Network (IORNN).
The IORNN Architecture
Standard Recursive Neural Networks (RNNs) typically process trees in a bottom-up fashion, creating an "inner representation" ($i_p$) that summarizes the content within a node's subtree. The IORNN extends this by adding a top-down flow to create an "outer representation" ($o_p$). This vector summarizes the "context" surrounding a node, including its ancestors and siblings.
Because the outer representation at any given node is a function of its parent's context and its siblings' content, the model effectively captures information from the entire rest of the tree. This enables an "infinite-order" context where the probability of generating a word depends on every structural decision made in the tree up to that point.
Experimental Evaluation
The IORNN was evaluated on two versions of the Penn Treebank (PTB-U and PTB-YM). The model demonstrated a massive drop in perplexity, achieving a score of 236.58—more than seven times lower than the 1736.73 achieved by traditional third-order counting models. This confirms that neural networks handle high-order context far more efficiently than discrete counting.
When utilized as a reranker for the MSTParser, the IORNN significantly improved the Unlabeled Attachment Score (UAS). On the PTB-YM benchmark, it achieved a UAS of 93.12, performing competitively with state-of-the-art systems like TurboParser. Notably, the model excelled in "Exact Match" scores, improving them by 4% to 6.4% over the baseline, which highlights its superior ability to maintain global structural coherence.
Discussion and Future Work
The primary strength of the IORNN lies in its ability to map similar linguistic contexts to nearby points in a continuous vector space, allowing for robust generalization. While the model is currently implemented as a reranker—selecting the best parse from a $k$-best list—future research aims to integrate the IORNN directly into the search processes of transition-based or graph-based parsers. Additionally, while structural accuracy was high, further work is needed to improve labeling accuracy for specific grammatical relationships to match specialized parsers.
Summary updated