The Johns Hopkins University
Towards Understanding Conflict & Transfer in Multi-Task Deep Learning
Abstract
dc:description.abstractMulti-task learning (MTL)-training a model to fit multiple tasks or distributions simultaneously-has become a cornerstone in the training of foundation models such as large language models (LLMs). However, despite it's widespread adoption, multi-task learning often leads to negative transfer, instances where information shared between tasks harms the models predictive power. Common intuition suggests that conflict between tasks during training is an indication of when multi-task learning is leading to negative transfer and, as a result, a large amount of prior work has been devoted to the sub-field of specialized multi-task optimization methods (SMTOs) designed to mitigating task conflict and improve transfer between tasks; however, so far, no SMTO has shown a seminal improvement in negative transfer and foundation models are still trained with naive optimizers on multi-task data. In this thesis, I study the question of whether or not optimization can explain why multi-task learning results in positive or negative benefits in deep learning. By comparing the trajectories of single-task and multi-task models, I show that the impact of MTL on generalization always arises early into training, and therefore cannot be attributed to task conflict. Moreover, I show that other aspects of optimization trajectories, previously shown to explain generalization gaps in single-task learning, are not capable of explaining multi-task transfer. While these results do not preclude the potential for optimization to predict transfer, they demonstrate that the common intuitions around optimization and transfer in MTL are wrong and, moreover, that we currently lack the tools to understand transfer. Next, I shift from focusing of transfer from in-distribution performance to out-of-distribution behavior, to focusing on what I term functional shift: when MTL changes the causal mechanisms behind which a model makes predictions. I find that, surprisingly, MTL rarely results in functional shift, even in idealized scenarios; MTL often results in much richer, robust features being learned, but these features are often not used by the target-task model to make predictions. Moreover, even from this perspective, I find that task conflict is not predictive of functional shift or increased feature richness, nor does addressing task conflict with SMTOs improve task sharing. Finally, I show that the transition from the canonical MTL architecture (which we have focused on up until this point) to text-to-text generative models does not fundamentally change task relationships or conflict, implying that my findings so far also apply to large text-to-text models. Moreover, I show that negative transfer and task conflict when instruction tuning on hundreds or thousands of tasks jointly can have negative impacts on the down-stream capabilities of LLMs, suggesting that understanding and addressing task relationships is still important even for modern LLMs.
Degree
thesis:*- Name thesis:degree_name
- Ph.D.
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor dc:publisher
- The Johns Hopkins University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Mueller, David Andrew
- Advisors dc:contributor.advisor
-
- Nicholas Andrews
- Mark Dredze
- Chairs dc:contributor.chair
-
- Mark Dredze
- Nicholas Andrews
- Committee member dc:contributor.committeemember
-
- Kevin Duh
Subjects
dc:subject × 3Rights
- Language dc:language.iso
- English (United States)
Identifiers
dc:identifier.*- Repository record dc:identifier.uri
- https://jscholarship.library.jhu.edu/handle/1774.2/71930