Skip to main content
QUICK REVIEW

[Paper Review] Shallow Syntax in Deep Water

Swabha Swayamdipta, Matthew E. Peters|arXiv (Cornell University)|Aug 29, 2019
Topic ModelingComputer Science31 references9 citations
TL;DR

This paper investigates whether incorporating shallow syntactic structures—such as phrase chunks—into contextual word representations improves performance on NLP tasks. It proposes two methods: pretraining ELMo on predicted shallow parses and adding chunk features to downstream models. Despite high-accuracy chunking (97% F1), neither approach yields significant gains over ELMo-only baselines, and probing confirms that ELMo’s representations already encode syntactic knowledge, making explicit shallow syntax awareness redundant.

ABSTRACT

Shallow syntax provides an approximation of phrase-syntactic structure of sentences; it can be produced with high accuracy, and is computationally cheap to obtain. We investigate the role of shallow syntax-aware representations for NLP tasks using two techniques. First, we enhance the ELMo architecture to allow pretraining on predicted shallow syntactic parses, instead of just raw text, so that contextual embeddings make use of shallow syntactic context. Our second method involves shallow syntactic features obtained automatically on downstream task data. Neither approach leads to a significant gain on any of the four downstream tasks we considered relative to ELMo-only baselines. Further analysis using black-box probes confirms that our shallow-syntax-aware contextual embeddings do not transfer to linguistic tasks any more easily than ELMo's embeddings. We take these findings as evidence that ELMo-style pretraining discovers representations which make additional awareness of shallow syntax redundant.

Motivation & Objective

  • To assess whether shallow syntactic structures improve contextual word representations in NLP.
  • To investigate whether pretraining on predicted shallow parses enhances ELMo-style representations.
  • To evaluate the impact of adding automatic chunk features to downstream models with contextual word representations.
  • To determine whether shallow syntax-aware representations transfer better to linguistic probing tasks.
  • To compare training schemes for integrating syntactic supervision into pretraining.

Proposed method

  • Enhanced ELMo with a joint pretraining objective that conditions on both preceding words and their predicted shallow syntactic chunks.
  • Trained a BiLSTM-CRF model on CoNLL 2000 and Penn Treebank to generate high-accuracy (97% F1) shallow syntactic annotations.
  • Integrated predicted chunk features into downstream models (e.g., biattentive classification network) for sentiment analysis and NER.
  • Used a staged training approach: first pretrain the sequence encoder, then freeze or fine-tune it while training the syntax encoder.
  • Applied black-box linguistic probes from Liu et al. (2019) to evaluate transferability of syntactic knowledge in contextual embeddings.
  • Compared end-to-end training with staged training (frozen or fine-tuned syntax encoder) for efficiency and performance.

Experimental results

Research questions

  • RQ1Does pretraining ELMo on predicted shallow syntactic parses improve downstream NLP performance?
  • RQ2Do automatically extracted chunk features provide additional benefit when combined with contextual word representations?
  • RQ3Are shallow-syntax-aware contextual embeddings more transferable to linguistic probing tasks than standard ELMo representations?
  • RQ4Does a staged training strategy for syntax-aware pretraining outperform end-to-end training in terms of efficiency and accuracy?
  • RQ5To what extent does ELMo’s pretraining already capture syntactic knowledge, making explicit syntax integration redundant?

Key findings

  • Neither the mSynC pretraining method nor the addition of automatic chunk features led to significant performance gains on any of the four downstream tasks (NER, sentiment, parsing, coreference) compared to ELMo-only baselines.
  • On fine-grained NER, the mSynC model with frozen syntax encoder achieved 87.36 ± 0.02 F1, outperforming end-to-end training (86.89 ± 0.11) and approaching fine-tuned mSynC (87.44 ± 0.07).
  • On linguistic probing tasks, mSynC achieved 96.9 F1 on chunk tagging, confirming it encodes shallow syntax, but performed worse than ELMo on 7 out of 9 other probing tasks.
  • The black-box probes showed no significant improvement in transferability of syntactic knowledge from mSynC over ELMo, indicating that ELMo already captures such information effectively.
  • The end-to-end training scheme underperformed compared to staged training, suggesting that longer training may be needed, though it is computationally prohibitive (36 hours per epoch on 2 V100s).
  • Overall, the results suggest that ELMo-style pretraining already learns representations that make explicit shallow syntax awareness redundant for downstream tasks.

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.