Multi-Task Learning of Pairwise Sequence Classification Tasks over Disparate Label Spaces

Isabelle Augenstein, Sebastian Ruder, Anders Søgaard

Abstract

Traditional multi-task learning (MTL) approaches typically share hidden representations while maintaining separate output layers for tasks with disparate label spaces. This paper introduces a novel MTL framework that bridges this gap by embedding labels into a joint semantic space and utilizing a "Label Transfer Network" (LTN) to translate predictions between tasks. By exploiting label-level synergies, the proposed model achieves state-of-the-art results in topic-based sentiment analysis and demonstrates that semantic relationships between labels are a powerful, underutilized signal in natural language processing.

Introduction

In standard MTL, models share internal features but treat output layers as isolated islands. This architecture assumes that while input features are related, the labels themselves are independent. However, in real-world scenarios, labels across different datasets are often highly correlated—for instance, a "positive" sentiment label in one task is semantically linked to a "favor" stance label in another. By ignoring these relationships, standard models fail to capture "synergies" between classification functions. The challenge lies in mathematically relating disparate label sets, such as a 3-class sentiment task and a 5-class emotion task.

Methodology

To exploit these label-level relationships, the authors propose three architectural innovations:

  1. Label Embedding Layer (LEL): Instead of a standard softmax output, every label from every task is embedded into a joint vector space. Predictions are made by calculating the dot product between the document's hidden representation and these label embeddings, allowing the model to learn spatial proximity between semantically similar labels (e.g., "Positive" and "Agree").
  2. Label Transfer Network (LTN): A small multi-layer perceptron designed to "translate" predictions. It aggregates weighted label embeddings from auxiliary tasks to predict a "pseudo-label" for the target task, effectively learning cross-task dependencies.
  3. Semi-supervised MTL: The LTN generates pseudo-labels for unlabeled data or auxiliary datasets, allowing the target task to benefit from the volume of data available in related tasks, even those with different label sets.
Architectural variants: (a) standard MTL, (b) MTL with Label Embedding Layer (LEL), and (c) Semi-supervised MTL with Label Transfer Network (LTN).

The base architecture utilizes a Bidirectional LSTM (BiLSTM) to encode relationships between pairs of sequences, such as a tweet and its corresponding topic.

Experimental Setup

The model was evaluated on eight pairwise sequence classification tasks across diverse domains, including:

  • Sentiment Analysis: Topic-2 & Topic-5 (Twitter), Target-dependent sentiment, and Aspect-Based Sentiment Analysis (ABSA).
  • Stance Detection: Determining favor/against orientation toward a target.
  • Fake News Detection: The FNC-1 dataset (headline-body agreement).
  • Natural Language Inference (NLI): The MultiNLI dataset.

Key Results and Insights

The MTL + LEL approach outperformed single-task baselines on 7 out of 8 tasks, achieving a new state-of-the-art on the SemEval topic-based sentiment analysis task (Topic-2). Notably, for the difficult Stance task, the model improved performance from a 41.1 baseline to 46.26.

Visualization of learned label embeddings across different tasks, showing semantic clustering of similar concepts.

Visualization of the learned label embeddings via PCA (Figure 2) revealed that the model naturally clusters "positive-leaning" and "negative-leaning" labels together across entirely different datasets. This confirms that labels possess inherent semantics that can be leveraged for zero-shot-like transfer. Furthermore, the authors found that the distribution of auxiliary predictions (the "soft" labels) contains rich "dark knowledge" that aids in model distillation and cross-domain adaptation.

Discussion and Future Work

While the framework is robust, performance can be affected by data imbalance; on massive datasets like MultiNLI, the MTL model occasionally underperformed compared to single-task models due to task-alternation training schedules. Additionally, the effectiveness of the synergy depends on the relatedness of the tasks. Future research will explore more complex label transfer functions and the application of this framework to sequence labeling tasks like Named Entity Recognition (NER).

Summary updated

BibTeX
@inproceedings{augenstein2018multi,
  author = {Isabelle Augenstein and Sebastian Ruder and Anders Søgaard},
  title = {{Multi-Task Learning of Pairwise Sequence Classification Tasks over Disparate Label Spaces}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2018},
  doi = {10.18653/v1/n18-1172},
}
Figure