Skip to main content
QUICK REVIEW

[Paper Review] Second-Order Neural Dependency Parsing with Message Passing and End-to-End Training

Xinyu Wang, Kewei Tu|arXiv (Cornell University)|Oct 10, 2020
Topic ModelingComputer Science32 references16 citations
TL;DR

This paper proposes a second-order graph-based neural dependency parser using message passing and end-to-end training, achieving state-of-the-art performance on English and Chinese treebanks while being significantly faster than prior second-order approaches. It demonstrates that second-order decoding remains beneficial even with BERT embeddings and that the head-selection constraint provides limited advantage under strong contextual representations.

ABSTRACT

In this paper, we propose second-order graph-based neural dependency parsing using message passing and end-to-end neural networks. We empirically show that our approaches match the accuracy of very recent state-of-the-art second-order graph-based neural dependency parsers and have significantly faster speed in both training and testing. We also empirically show the advantage of second-order parsing over first-order parsing and observe that the usefulness of the head-selection structured constraint vanishes when using BERT embedding.

Motivation & Objective

  • To develop a second-order graph-based dependency parser that improves accuracy and efficiency over existing neural approaches.
  • To investigate whether second-order decoding remains useful when using strong contextual embeddings like BERT.
  • To evaluate the impact of the head-selection structured constraint in first- and second-order parsing under different embedding regimes.
  • To compare the performance and speed of message-passing-based second-order parsing with existing first- and second-order neural parsers.

Proposed method

  • The paper proposes two second-order parsing approaches: a Single approach that treats edge existence independently and a Local approach that enforces head-selection via discrete random variables per word.
  • It uses Mean Field Variational Inference (MFVI) for approximate inference instead of Loopy Belief Propagation, enabling faster and equally accurate decoding.
  • The model employs a biaffine scorer for edge scores and applies a differentiable MST inference step to ensure valid parse trees during testing.
  • The Local approach incorporates a head-selection constraint by defining a discrete variable per word to select its dependency head, leading to a different message-passing formulation.
  • The method is trained end-to-end using a modified loss function that balances edge and label prediction, with a small interpolation hyperparameter to improve accuracy.
  • The architecture is compatible with modern neural encoders like BiLSTM and BERT, and is designed to be parallelizable over words, reducing time complexity compared to sequential methods.

Experimental results

Research questions

  • RQ1Does second-order decoding still provide performance gains when using strong contextual embeddings such as BERT?
  • RQ2How does the head-selection structured constraint affect parsing accuracy in first- and second-order neural dependency parsing?
  • RQ3Can message-passing-based second-order parsing achieve competitive accuracy with faster training and inference than existing state-of-the-art methods?
  • RQ4How do the relative performances of Local and Single second-order approaches vary across different languages and embedding types?

Key findings

  • The Local2O model achieves state-of-the-art performance on the English PTB and Chinese CTB treebanks, matching or exceeding recent SOTA models.
  • With BERT embeddings, the Single2O model achieves the highest accuracy on CTB, while Local2O achieves the best performance on PTB, indicating context-dependent superiority of different approaches.
  • Second-order decoding consistently outperforms first-order parsing even with BERT embeddings, showing that high-order information remains beneficial despite strong contextual representations.
  • The head-selection constraint provides limited benefit, especially when using BERT, as models without it can match or exceed its accuracy with better loss design and hyperparameter tuning.
  • The proposed models are significantly faster than prior second-order parsers: 2.4x and 2.9x faster in training and testing than Zhang et al. (2020), and 1.2x and 2.3x faster than GNN on the same hardware.
  • The time complexity of the proposed second-order decoders is O(n³), but they are highly parallelizable, unlike the sequential decoding of Zhang et al. (2020), which contributes to their speed advantage.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.