NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Multitask Contrastive Learning

Emily Mu, John Guttag, Maggie MakarOpenReview 2024 · Submission to ICLR 2024 · Rejected

Abstract

Multi-task and contrastive learning are both aimed at enhancing the robustness of learned embeddings. But combining these two fields presents challenges. Supervised contrastive learning brings together examples of the same class while pushing apart examples of different classes, which is intuitive in single-task scenarios. However, it becomes less intuitive when dealing with multiple tasks, which might require different notions of similarity. In this work, we introduce a novel method, Multi-Task Contrastive Loss (MTCon), that improves the generalization capabilities of learned embeddings by concurrently incorporating supervision from multiple similarity metrics. MTCon learns task weightings that consider the uncertainty associated with each task, reducing the influence of uncertain tasks. In a series of experiments, we show that these learned weightings enhance out-of-domain generalization to novel tasks. Across three distinct multi-task datasets, we find that networks trained with MTCon consistently outperform networks trained with weighted multi-task cross-entropy in both in-domain and out-of domain multi-task learning scenarios. Code will be made available upon publication.
BibTeX
@misc{mu2024multitask,
  author = {Emily Mu and John Guttag and Maggie Makar},
  title = {{Multitask Contrastive Learning}},
  year = {2024},
  url = {https://openreview.net/forum?id=UB03wcP8RH},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2024},
}

Loading related content...

Figure