Introduction
Determining the semantic relationship between two sentences is a cornerstone of natural language processing (NLP). Traditionally, researchers have treated different types of relationships—such as similarity, relatedness, or entailment—as distinct, independent tasks. However, these relations are often conceptually intertwined. For instance, knowing that two sentences are "similar" (sharing the same meaning) inherently provides information about their "relatedness" (sharing a common topic).
Researchers from the University of Michigan propose a Multi-Label Transfer Learning (MLL) framework that leverages these interdependencies. By training a single model to predict multiple semantic relations simultaneously, the approach captures shared linguistic nuances that single-task models often overlook.
The Multi-Label Transfer Learning Architecture
The proposed MLL architecture follows a "hard-parameter sharing" design, where a single encoder is shared across all tasks, while task-specific "heads" handle individual relations.
As shown in Figure 1, the process begins with two input sentences (Sentence L and Sentence R). These are converted into word vectors using a shared word embedding matrix and then processed by a Bi-LSTM encoder (specifically, the pre-trained InferSent model). The resulting sentence embeddings are fed into multiple parallel dense layers ($d_L, d_R$, etc.), each dedicated to a specific semantic relation.
A key innovation of this approach is the simultaneous learning mechanism. Unlike standard Multi-Task Learning (MTL), which often alternates between tasks across different batches, MLL calculates the loss for every relation for every sentence pair in a single forward-backward pass. The total loss is the simple sum of these individual losses, which the authors found to be more robust than complex weighting schemes.
Experimental Setup and Datasets
The MLL model was evaluated against three benchmarks that provide multiple annotations per sentence pair:
- Human Activity Phrase: Contains 1,000 pairs describing human actions, annotated for Similarity (SIM), Relatedness (REL), Motivational Alignment (MA), and Perceived Actor Congruence (PAC).
- SICK (Sentences Involving Compositional Knowledge): Includes approximately 10,000 pairs annotated for Relatedness and Entailment.
- Typed-Similarity: Features 750 pairs of metadata descriptions (e.g., books, art) annotated across eight dimensions like "author," "time," and "location."
Results and Analysis
The MLL approach demonstrated significant performance gains across various benchmarks, particularly where relations are highly correlated.
On the Human Activity Phrase dataset (Figure 4), the MLL model achieved state-of-the-art results in three out of four categories: Similarity (.720), Relatedness (.721), and Perceived Actor Congruence (.557). It notably outperformed both single-task baselines and traditional MTL approaches.
On the SICK dataset, the MLL model improved upon the standard InferSent baseline for both relatedness and entailment tasks. For the Typed-Similarity dataset, while MLL proved superior to other transfer learning methods, it fell short of specialized models that utilize heavy manual feature engineering for specific entities like dates or locations. This highlights that while deep learning captures general semantic structure well, certain factual relations still benefit from traditional information retrieval techniques.
Conclusion
The Multi-Label Transfer Learning framework offers a simple yet powerful method for improving semantic similarity models. By aggregating losses from multiple related tasks, the model achieves better generalization and significantly faster training times—roughly $n$ times faster than sequential training for $n$ relations. Future research will explore integrating transformer-based encoders like BERT and extending the multi-label paradigm to multi-modal tasks, such as image captioning and visual relationship detection.
Summary updated