Skip to main content
QUICK REVIEW

[Paper Review] A Joint Many-Task Model: Growing a Neural Network for Multiple NLP Tasks

Kazuma Hashimoto, Caiming Xiong|arXiv (Cornell University)|Nov 5, 2016
Topic ModelingComputer Science40 references52 citations
TL;DR

This paper proposes a joint many-task (JMT) model that trains a single deep neural network to perform multiple NLP tasks—POS tagging, chunking, dependency parsing, semantic relatedness, and textual entailment—by stacking them in increasing depth, leveraging linguistic hierarchies through shortcut connections from lower to higher layers. The model uses adaptive regularization and progressive depth growth to prevent catastrophic interference, achieving state-of-the-art or competitive results across all five tasks.

ABSTRACT

Transfer and multi-task learning have traditionally focused on either a single source-target pair or very few, similar tasks. Ideally, the linguistic levels of morphology, syntax and semantics would benefit each other by being trained in a single model. We introduce a joint many-task model together with a strategy for successively growing its depth to solve increasingly complex tasks. Higher layers include shortcut connections to lower-level task predictions to reflect linguistic hierarchies. We use a simple regularization term to allow for optimizing all model weights to improve one task's loss without exhibiting catastrophic interference of the other tasks. Our single end-to-end model obtains state-of-the-art or competitive results on five different tasks from tagging, parsing, relatedness, and entailment tasks.

Motivation & Objective

  • To address the limitations of traditional multi-task learning, which typically focuses on few or similar tasks, by enabling a single model to jointly learn multiple diverse NLP tasks.
  • To overcome catastrophic interference during joint training of multiple NLP tasks by introducing a regularization strategy that allows optimization for one task without degrading performance on others.
  • To exploit linguistic hierarchies—where lower-level tasks (e.g., POS tagging) inform higher-level ones (e.g., dependency parsing, entailment)—by structuring the model with successively deeper layers.
  • To demonstrate that modeling tasks at different depths, rather than at the same layer, improves performance by capturing hierarchical linguistic dependencies.

Proposed method

  • The model uses a deep bi-LSTM architecture with successively deeper layers for increasingly complex tasks: POS tagging (layer 1), chunking (layer 2), dependency parsing (layer 3), semantic relatedness (layer 4), and textual entailment (layer 5).
  • Each word is represented by a concatenation of pre-trained word embeddings and character n-gram embeddings, where character n-grams are learned via Skip-gram and averaged to form word-level character representations.
  • Lower-level predictions (e.g., POS tags) are embedded as weighted label embeddings and fed into higher layers as auxiliary inputs to maintain linguistic hierarchy and improve generalization.
  • Shortcut connections from lower-layer hidden states and predictions are used in higher layers to preserve and propagate low-level linguistic features.
  • A regularization term is applied during training to allow optimization of a single task’s loss without degrading performance on other tasks, mitigating catastrophic interference.
  • The model is trained end-to-end using a curriculum learning strategy, with tasks trained in a fixed order based on linguistic complexity, and learning rate decay applied uniformly across tasks.

Experimental results

Research questions

  • RQ1Can a single deep neural network jointly learn multiple diverse NLP tasks while avoiding catastrophic interference?
  • RQ2Does structuring tasks in a depth-increasing hierarchy—where lower-level predictions inform higher-level tasks—improve performance compared to training tasks at the same layer?
  • RQ3How effective is the use of weighted label embeddings from lower-level predictions in enhancing higher-level task performance?
  • RQ4To what extent does progressive depth growth and regularization improve multi-task generalization across tasks with varying data sizes and complexity?
  • RQ5Can joint training of tasks with vastly different training data scales (e.g., 39k sentences for dependency parsing vs. 4.5k sentence pairs for entailment) still yield strong performance across all tasks?

Key findings

  • The JMT model achieves state-of-the-art performance on chunking (95.65% F1) and dependency parsing (94.12% UAS), with competitive results on semantic relatedness and textual entailment.
  • The model achieves 97.52% POS tagging accuracy, which drops to 97.38% when character n-gram embeddings are not pre-trained, demonstrating the importance of morphological features.
  • Random task ordering during training leads to significant performance drops in semantic tasks, confirming that the fixed hierarchical order is crucial for model effectiveness.
  • Using multi-layer bi-LSTMs for single tasks (with same depth as JMT) does not outperform the joint model, indicating that joint learning is more effective than model depth alone.
  • Jointly using word and character n-gram embeddings improves performance across all tasks, with the largest gains seen in POS and chunking tasks.
  • The model’s performance on semantic tasks (relatedness and entailment) improves when trained with the relatedness task as a prior, supporting the hypothesis of shared semantic representation.

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.