Skip to main content
QUICK REVIEW

[Paper Review] Exploring the Syntactic Abilities of RNNs with Multi-task Learning

Émile Enguehard, Yoav Goldberg|arXiv (Cornell University)|Jun 12, 2017
Topic ModelingComputer Science26 references6 citations
TL;DR

This paper investigates whether recurrent neural networks (RNNs) can learn more robust syntactic representations by jointly training on subject-verb agreement prediction alongside either CCG supertagging or language modeling. Multi-task learning significantly reduced error rates—especially on complex sentences—demonstrating that RNNs can achieve better syntactic generalization with stronger supervision, and that agreement data can improve performance on related syntactic tasks like supertagging.

ABSTRACT

Recent work has explored the syntactic abilities of RNNs using the subject-verb agreement task, which diagnoses sensitivity to sentence structure. RNNs performed this task well in common cases, but faltered in complex sentences (Linzen et al., 2016). We test whether these errors are due to inherent limitations of the architecture or to the relatively indirect supervision provided by most agreement dependencies in a corpus. We trained a single RNN to perform both the agreement task and an additional task, either CCG supertagging or language modeling. Multi-task training led to significantly lower error rates, in particular on complex sentences, suggesting that RNNs have the ability to evolve more sophisticated syntactic representations than shown before. We also show that easily available agreement training data can improve performance on other syntactic tasks, in particular when only a limited amount of training data is available for those tasks. The multi-task paradigm can also be leveraged to inject grammatical knowledge into language models.

Motivation & Objective

  • To determine whether RNNs' limitations in capturing complex syntactic structures stem from architectural constraints or insufficient supervision.
  • To evaluate whether joint training with auxiliary syntactic tasks (e.g., CCG supertagging or language modeling) improves RNNs' performance on subject-verb agreement, especially in complex sentences.
  • To investigate whether agreement prediction data can serve as weak supervision to enhance performance on low-resource syntactic tasks like CCG supertagging.
  • To assess whether multi-task training improves the syntactic awareness of language models without reducing perplexity.

Proposed method

  • Trained a single RNN to jointly perform subject-verb agreement prediction and either CCG supertagging or language modeling.
  • Used a multi-task learning framework where the model shares hidden representations across tasks and is jointly optimized via a weighted sum of task-specific losses.
  • Evaluated performance on agreement prediction using a held-out test set, including complex relative clause sentences where simple heuristics fail.
  • Measured syntactic awareness in language models by comparing the relative likelihood of grammatical vs. ungrammatical verb forms using both lexical and POS-tag-based predictions.
  • Explored both lexicalized and unlexicalized evaluation methods to assess the model’s sensitivity to syntactic constraints.
  • Conducted ablation studies to compare single-task and multi-task models, focusing on performance gains in low-data regimes for supertagging.

Experimental results

Research questions

  • RQ1Can multi-task training with syntactic auxiliary tasks improve RNNs' performance on subject-verb agreement, particularly in complex sentences?
  • RQ2Does joint training with agreement prediction enhance the syntactic awareness of language models, even without improving perplexity?
  • RQ3Can agreement data serve as effective weak supervision to improve performance on low-resource syntactic tasks such as CCG supertagging?
  • RQ4Are the syntactic limitations of RNNs due to architectural constraints or insufficient supervision from natural language corpora?

Key findings

  • Multi-task training with CCG supertagging reduced agreement error rates on complex relative clause sentences from 49.4% to 23.8%, a significant improvement from 50.6% to 76.2% accuracy.
  • Joint training with language modeling did not reduce perplexity but substantially improved the relative ranking of grammatical verb forms, indicating stronger syntactic awareness.
  • When only limited CCG training data was available, joint training with agreement prediction improved supertagging accuracy, demonstrating the utility of agreement data as weak supervision.
  • The language model trained jointly with agreement prediction achieved near-expert performance in identifying correct verb forms using POS tags, outperforming the single-task language model and baseline heuristics.
  • Even in the absence of explicit agreement heads, the jointly trained language model produced probability distributions that favored grammatical over ungrammatical forms, showing improved syntactic generalization.
  • The results suggest that RNNs are capable of learning more sophisticated syntactic representations than previously observed, and that the limitations in prior work were likely due to insufficient supervision rather than architectural incompatibility.

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.