Abstract
We study three general multi-task learning (MTL) approaches on 11 sequence tagging tasks. Our extensive empirical results show that in about 50% of the cases, jointly learning all 11 tasks improves upon either independent or pairwise learning of the tasks. We also show that pairwise MTL can inform us what tasks can benefit others or what tasks can be benefited if they are learned jointly. In particular, we identify tasks that can always benefit others as well as tasks that can always be harmed by others. Interestingly, one of our MTL approaches yields embeddings of the tasks that reveal the natural clustering of semantic and syntactic tasks. Our inquiries have opened the doors to further utilization of MTL in NLP.
Introduction
Multi-Task Learning (MTL) has become a cornerstone of Natural Language Processing (NLP), leveraging shared "inductive bias" to improve performance across related tasks. By learning common features—such as grammatical structures—a model can better generalize to specific objectives like named entity recognition. Despite its popularity, most MTL research is confined to "pairwise" settings, where a single auxiliary task is paired with a target task. This study addresses the gap in understanding how MTL scales to many tasks simultaneously. We investigate whether "learning everything at once" is viable or if unrelated tasks cause "negative transfer," and we explore methods to automatically identify task compatibility.
Methodology
We evaluate Single-Task Learning (STL) against three distinct MTL architectures. All models utilize a Bidirectional Gated Recurrent Unit (Bi-GRU) encoder and a Conditional Random Field (CRF) decoder.
- Multi-Dec (Multiple Decoders): This architecture uses a shared encoder for all tasks, while maintaining a private decoder for each specific task. This represents the standard approach to MTL.
- TE⊕DEC (Task Embeddings in Decoder): This model employs a single shared encoder and a single shared decoder. To differentiate tasks, a task-specific embedding is concatenated to the encoder's output before being processed by the decoder.
- TE⊕ENC (Task Embeddings in Encoder): Inspired by multilingual translation models, this approach prepends a unique "task token" to the input sequence, signaling the target task directly to the encoder.
Additionally, we define an "Oracle MTL" baseline. This setting uses results from exhaustive pairwise experiments to select only the most beneficial partner tasks for any given target, representing an idealized upper bound for task grouping.
Experimental Setup
The study covers 11 sequence tagging tasks categorized into three groups:
- Syntactic: Universal POS (UPOS), Language-specific POS (XPOS), and Syntactic Chunking (CHUNK).
- Semantic: Named Entity Recognition (NER), Multi-word Expressions (MWE), Supersense tagging (SUPSENSE/SEM), and Semantic Traits (SEMTR).
- Miscellaneous: Sentence Compression (COM), Frame Target Identification (FRAME), and Hyper-link Detection (HYP).
Data was sourced from established benchmarks including CoNLL-2000/2003, Universal Dependencies, and SemCor.
Analysis of Task Relationships
Our empirical analysis revealed several key insights into task interactions:
- Universal Helpers vs. Harmers: Certain tasks, like CHUNK, consistently improved performance across nearly all other tasks without causing degradation. Conversely, tasks like COM and FRAME often acted as "harmers," likely due to their specialized reasoning requirements or limited dataset sizes.
- Emergent Task Taxonomy: Visualizing learned task embeddings via t-SNE revealed that the models naturally clustered tasks into syntactic and semantic groups. The model discovered relationships (e.g., between POS tagging and Chunking) without explicit supervision.
- Collective Regularization: For the Sentence Compression (COM) task, while no single auxiliary task provided a benefit in pairwise trials, training on all 11 tasks simultaneously yielded a significant performance boost. This suggests that the aggregate noise from multiple tasks can serve as a powerful regularizer for low-resource objectives.
Results
The "Oracle" selection strategy proved to be the most robust, outperforming the "All-Task" joint model in 16 out of 20 experimental cases. However, the joint "All-Task" model still outperformed the single-task baseline in approximately 50% of instances.
Significant relative gains were observed for tasks like MWE and HYP. Regarding architecture, Multi-Dec, TE⊕DEC, and TE⊕ENC showed comparable performance, though task embedding (TE) approaches are notably more parameter-efficient as the number of tasks increases.
Conclusion
This study demonstrates that large-scale MTL is a viable and often superior alternative to independent task training in sequence tagging. While identifying optimal task groupings (the "Oracle" set) remains challenging and computationally expensive, joint learning of all tasks provides a strong baseline and beneficial regularization. Future research will focus on extending these findings to higher-level NLP tasks and developing automated, embedding-based methods for predicting task compatibility.
Summary updated