Is Supervised Syntactic Parsing Beneficial for Language Understanding? An Empirical Investigation

Goran Glavaš, Ivan Vulić
8/15/2020
73 citations
cs.CL
transformer-attention

Official code: huggingface/transformers (169,409 stars, Python, Apache-2.0, PyTorch, last commit 2026-04-30).

Abstract

Traditional NLP has long held (supervised) syntactic parsing necessary for successful higher-level semantic language understanding (LU). The recent advent of end-to-end neural models, self-supervised via language modeling (LM), and their success on a wide range of LU tasks, however, questions this belief.

Show full abstract

In this work, we empirically investigate the usefulness of supervised parsing for semantic LU in the context of LM-pretrained transformer networks. Relying on the established fine-tuning paradigm, we first couple a pretrained transformer with a biaffine parsing head, aiming to infuse explicit syntactic knowledge from Universal Dependencies treebanks into the transformer. We then fine-tune the model for LU tasks and measure the effect of the intermediate parsing training (IPT) on downstream LU task performance. Results from both monolingual English and zero-shot language transfer experiments (with intermediate target-language parsing) show that explicit formalized syntax, injected into transformers through IPT, has very limited and inconsistent effect on downstream LU performance. Our results, coupled with our analysis of transformers' representation spaces before and after intermediate parsing, make a significant step towards providing answers to an essential question: how (un)availing is supervised parsing for high-level semantic natural language understanding in the era of large neural models?

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.

169,40935,271Python, DockerfileOct 29, 20187 months agoApache-2.0
audiodeep-learningdeepseekgemmaglm+14 more

Similar Papers

Cite this paper

@article{glava2020supervised,
  title  = {Is Supervised Syntactic Parsing Beneficial for Language Understanding? An Empirical Investigation},
  author = {Goran Glavaš and Ivan Vulić},
  year   = {2020},
  eprint = {2008.06788},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.06788}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.06788.svg)](https://codeofpaper.com/paper/2008.06788)

Discussion