Deep multi-task learning with low level tasks supervised at lower layers

Anders Søgaard, Yoav Goldberg

Introduction

In the field of Natural Language Processing (NLP), there is a long-standing intuition regarding linguistic hierarchy. Tasks like Part-of-Speech (POS) tagging are considered "low-level" because they provide the foundational information necessary for "high-level" tasks such as syntactic chunking or Combinatory Categorial Grammar (CCG) supertagging. Despite this, standard deep multi-task learning (MTL) approaches typically treat all tasks as equal, supervising them at the final output layer of a shared network.

This paper challenges the "flat" MTL paradigm. The authors argue that forcing low-level tasks to be predicted at the same depth as complex tasks prevents the model from effectively leveraging the linguistic hierarchy. Instead, they propose a hierarchical architecture where low-level tasks are supervised at earlier, shallower layers, allowing higher layers to "lean on" these optimized representations.

Methodology: Layer-wise Supervision

The authors employ Deep Bi-directional Recurrent Neural Networks (bi-RNNs) with Long Short-Term Memory (LSTM) units. The core innovation lies in Layer-wise Supervision.

In a standard MTL setup, all tasks share $k$ hidden layers, and predictions for every task are made from the final layer $k$. In the proposed hierarchical MTL model, each task $t$ is assigned a specific layer $\ell(t)$ for supervision. For instance, in a 3-layer network:

  • POS tagging (low-level) is supervised at Layer 1.
  • Syntactic Chunking (mid-level) is supervised at Layer 2 or 3.
  • CCG Supertagging (high-level) is supervised at Layer 3.

During training, the model iterates through tasks. When a low-level task is selected, only the parameters of the layers up to its assigned level are updated. This constraint forces the initial layers to capture fundamental linguistic features, which subsequent layers then refine for more complex objectives. This approach bridges the gap between traditional MTL and "cascaded" learning, where the output of one model serves as the input for the next.

Experimental Setup

The researchers evaluated the hierarchical model across two primary scenarios:

  1. In-domain Multi-task Learning: Using the English Penn Treebank (Wall Street Journal sections) to evaluate POS tagging, syntactic chunking, and CCG supertagging.
  2. Domain Adaptation: Using OntoNotes 4.0. The model was trained on the WSJ newswire (source domain) and tested on four distinct target domains: Broadcast News, Magazine Articles, Weblogs, and Broadcast Conversations.

Results and Discussion

The experimental results strongly support the hypothesis that linguistic hierarchy should be reflected in network architecture.

Performance Gains in In-domain Tasks

As shown in Figure 2, supervising POS tagging at the innermost layer (Layer 1) consistently outperformed supervision at the outermost layer (Layer 3) or single-task baselines.

Performance comparison of different layer-wise supervision strategies on the Penn Treebank. Supervising the low-level POS task at Layer 1 yields the best results for high-level tasks.

For CCG supertagging, the hierarchical model achieved an accuracy of 93.26% (POS at Layer 1), compared to 92.94% (POS at Layer 3) and 91.04% for the single-task baseline. Similarly, for syntactic chunking, the model reached a state-of-the-art F1-score of 95.56%, surpassing previous MTL benchmarks.

Robustness in Domain Adaptation

The hierarchical approach also demonstrated superior generalization capabilities. When moving from the source newswire domain to more informal or varied domains like weblogs or broadcast conversations, the model with Layer 1 supervision for POS tagging maintained higher performance than its counterparts.

Domain adaptation results across four target domains. The hierarchical model (3/1) consistently outperforms the flat MTL (3/3) and single-task (3/-) models.

On the "Magazines" dataset, for example, the hierarchical approach achieved an F1 of 91.53, a significant improvement over the single-task baseline of 90.09.

Theoretical Insights: Implicit Regularization

To understand why this works, the authors analyzed the model's Rademacher complexity. They found that supervising a subtask at a lower layer acts as a powerful regularizer. By increasing the inductive bias, the model is prevented from over-fitting to noise and is instead forced to learn more generalized, linguistically grounded patterns. Quantitative analysis showed that complexity decreased from 1.298 (no subtask) to 0.990 when the subtask was supervised at the first layer.

However, the authors noted a "similarity" constraint: MTL was most effective when tasks shared a clear underlying syntactic structure. Adding unrelated tasks like Named Entity Recognition (NER) did not yield similar improvements, suggesting that the benefits of hierarchical supervision are tied to the inherent relationships between the tasks.

Conclusion

This research demonstrates that "flat" architectures in multi-task learning may be suboptimal for tasks with inherent hierarchies. By supervising low-level tasks at shallower layers, deep neural networks can better emulate the linguistic dependencies found in natural language. While task selection and layer assignment currently require manual tuning based on linguistic intuition, this architecture provides a robust framework for combining multi-task and cascaded learning in complex NLP pipelines.

Summary updated

BibTeX
@inproceedings{sgaard2016deep,
  author = {Anders Søgaard and Yoav Goldberg},
  title = {{Deep multi-task learning with low level tasks supervised at lower layers}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-2038},
}
Figure