[Paper Review] Bi-directional Attention with Agreement for Dependency Parsing
This paper proposes BiAtt-DP, a novel graph-based dependency parser using bi-directional attention with alignment agreement to improve parsing accuracy. By modeling forward and backward parsing directions and enforcing attention agreement via a differentiable approximation of golden alignments, the model captures high-order dependencies with O(n²) complexity, achieving state-of-the-art unlabeled attachment scores on 6 of 14 languages in the CoNLL 2006 benchmark.
We develop a novel bi-directional attention model for dependency parsing, which learns to agree on headword predictions from the forward and backward parsing directions. The parsing procedure for each direction is formulated as sequentially querying the memory component that stores continuous headword embeddings. The proposed parser makes use of {\it soft} headword embeddings, allowing the model to implicitly capture high-order parsing history without dramatically increasing the computational complexity. We conduct experiments on English, Chinese, and 12 other languages from the CoNLL 2006 shared task, showing that the proposed model achieves state-of-the-art unlabeled attachment scores on 6 languages.
Motivation & Objective
- To improve dependency parsing accuracy by leveraging bi-directional attention that captures richer contextual information from both forward and backward parsing directions.
- To address the misalignment issue in bi-directional decoding by introducing an agreement objective between forward and backward attention alignments.
- To implicitly model high-order parsing history without increasing computational complexity beyond O(n²), unlike traditional graph-based parsers.
- To bridge the gap between latent attention mechanisms and observed golden alignments in dependency parsing by deriving a simple, interpretable approximation for the agreement objective.
- To demonstrate the effectiveness of memory network-based attention in graph-based dependency parsing, a novel application in this domain.
Proposed method
- The model uses a memory network where all possible headword embeddings are stored as continuous vectors, forming a memory component.
- The query component employs a bi-directional RNN to sequentially generate queries for the memory, producing soft headword embeddings via attention over the memory.
- The attention mechanism computes alignment scores between the query and each headword embedding, producing a probability distribution over all possible heads.
- A novel agreement objective is introduced to align the attention distributions from forward and backward parsing directions, using a differentiable approximation of the golden arc alignments.
- Token embeddings are constructed additively from word form, POS tags, lemmas, and other features, using shared embedding matrices to reduce parameter count.
- The parsing process treats all possible arcs simultaneously, similar to MSTParser, but uses neural attention to dynamically attend to relevant headwords during sequential decoding.
Experimental results
Research questions
- RQ1Can bi-directional attention with alignment agreement improve dependency parsing performance compared to uni-directional or non-agreement-based models?
- RQ2Does enforcing agreement between forward and backward attention directions lead to more consistent and accurate headword predictions?
- RQ3Can a memory network-based attention mechanism implicitly model high-order parsing history without increasing computational complexity beyond O(n²)?
- RQ4Is the proposed approximation of the agreement objective effective and interpretable in the context of supervised dependency parsing?
- RQ5Does the model achieve state-of-the-art performance across diverse languages, including low-resource ones?
Key findings
- The BiAtt-DP achieves state-of-the-art unlabeled attachment score (UAS) on Chinese, Czech, Dutch, German, Spanish, and Turkish in the CoNLL 2006 shared task.
- On English, the model outperforms all previously reported graph-based parsers, demonstrating strong generalization.
- The model achieves competitive performance across 14 languages, including high-resource and low-resource languages, with consistent improvements in UAS.
- The agreement objective significantly improves alignment consistency between forward and backward parsing directions, leading to more robust predictions.
- The computational complexity remains O(n²), enabling efficient parsing even for longer sentences, despite modeling high-order dependencies.
- The additive token embedding design reduces model parameters and improves feature integration, especially when multiple linguistic features are used.
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.