[Paper Review] Multi-task Learning for Universal Sentence Embeddings: A Thorough Evaluation using Transfer and Auxiliary Tasks
This paper proposes a multi-task learning framework to train universal sentence embeddings by jointly optimizing on three diverse text classification tasks—SNLI, Multi-NLI, and Quora duplicate questions—resulting in significantly improved transfer performance across 15 downstream tasks. The method outperforms single-task learning and state-of-the-art baselines when combined with contextualized word representations like ELMo and CoVe.
Learning distributed sentence representations is one of the key challenges in natural language processing. Previous work demonstrated that a recurrent neural network (RNNs) based sentence encoder trained on a large collection of annotated natural language inference data, is efficient in the transfer learning to facilitate other related tasks. In this paper, we show that joint learning of multiple tasks results in better generalizable sentence representations by conducting extensive experiments and analysis comparing the multi-task and single-task learned sentence encoders. The quantitative analysis using auxiliary tasks show that multi-task learning helps to embed better semantic information in the sentence representations compared to single-task learning. In addition, we compare multi-task sentence encoders with contextualized word representations and show that combining both of them can further boost the performance of transfer learning.
Motivation & Objective
- To investigate whether multi-task learning improves the generalization of universal sentence embeddings compared to single-task learning.
- To evaluate whether combining multi-task sentence embeddings with contextualized word representations (e.g., ELMo, CoVe) further boosts transfer learning performance.
- To analyze the linguistic information (syntactic and semantic) captured by multi-task learned sentence representations using auxiliary tasks.
- To determine whether performance gains in multi-task learning stem from increased training data or from the inductive bias of joint optimization.
- To assess the impact of diverse domains in training data on the quality of learned sentence representations.
Proposed method
- Train a shared sentence encoder on three large-scale text classification datasets: SNLI (natural language inference), Multi-NLI (multi-genre NLI), and Quora (duplicate question detection).
- Implement two multi-task learning frameworks: fully shared (FS) and shared-private (SP) models, where the sentence encoder is shared across tasks while task-specific heads are trained separately.
- Use the shared encoder from the SP model for evaluation on 15 downstream transfer tasks and six auxiliary linguistic tasks.
- Combine multi-task sentence embeddings with contextualized word representations (ELMo, CoVe) to create a hybrid encoding approach.
- Conduct ablation studies by sampling equal-sized subsets of SNLI and Quora data to isolate the effect of multi-task learning from data quantity.
- Evaluate performance on transfer tasks and auxiliary tasks to assess syntactic and semantic representational quality.
Experimental results
Research questions
- RQ1Does multi-task learning on diverse NLP tasks lead to better generalization of sentence embeddings compared to single-task learning?
- RQ2To what extent do improvements in transfer learning stem from increased training data versus the inductive bias of joint optimization?
- RQ3How well do multi-task learned sentence embeddings capture syntactic and semantic linguistic information compared to single-task and contextualized word representations?
- RQ4Can combining multi-task sentence embeddings with contextualized word vectors (e.g., ELMo, CoVe) achieve state-of-the-art performance on transfer tasks?
- RQ5Does training on a multi-domain dataset like Multi-NLI lead to more robust sentence representations than training on a single-domain dataset?
Key findings
- Multi-task learning outperforms single-task learning on 7 out of 10 transfer tasks and achieves comparable results on the remaining 3, demonstrating improved generalization.
- The combination of multi-task sentence embeddings with ELMo and CoVe achieves new state-of-the-art performance on 5 out of 10 transfer tasks.
- On auxiliary tasks, multi-task embeddings show competitive performance, particularly in word sense disambiguation, indicating effective capture of semantic information.
- The sentence encoder trained on Multi-NLI alone outperforms other task-specific and shared encoders on auxiliary tasks, suggesting that domain diversity enhances representation quality.
- Ablation experiments show that multi-task learning provides a 0.69% average improvement in transfer tasks over single-task learning with the same total data size, confirming gains beyond data quantity.
- On tasks with high similarity between source and target (e.g., STS-16), multi-task learning still outperforms single-task learning, indicating robustness even in low-data-transfer scenarios.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.