Introduction
Multitask Learning (MTL) is built on the premise that training a model on multiple related tasks simultaneously allows it to learn shared representations that benefit all objectives. However, this premise often fails in practice due to "negative transfer"—a phenomenon where unrelated or noisy "source" tasks interfere with the optimization of a specific "target" task. Identifying which tasks to include and which to discard is a significant challenge in machine learning.
Finding the optimal subset of tasks is a combinatorial problem. For a set of $k$ source tasks, there are $2^k$ possible combinations. As $k$ grows, testing every combination becomes computationally prohibitive; for instance, 20 tasks result in over a million potential subsets. While existing methods attempt to use task affinity (measuring how task A affects task B in isolation), these often fail to capture the complex, joint interactions that occur when multiple tasks are trained together. This paper introduces a scalable framework using linear surrogate models to efficiently identify and filter out these "bad apples."
The Surrogate Modeling Framework
The authors propose a three-step procedure to predict task performance without exhaustive searching:
- Subsampling: Instead of testing all $2^k$ combinations, the researchers sample a small number ($n$) of random task subsets.
- Surrogate Training: For each sampled subset, an MTL model is trained, and its performance (loss) on the target task is recorded.
- Linear Approximation: A simple linear regression model is fitted to the collected data: $g_\theta(S) = \sum_{i \in S} \theta_i$. In this model, $\theta_i$ represents the "relevance score" of task $i$. A lower score indicates that the task contributes positively to reducing the target loss, while a higher score suggests negative transfer.
Once the relevance scores are calculated, the system discards any tasks with scores above a predefined threshold ($\gamma$), leaving only the beneficial tasks for the final training run.
Theoretical Scalability
A core contribution of this work is the theoretical proof regarding the method's efficiency. The researchers demonstrate that the number of samples required to accurately estimate task relevance is $O(k \log^2 k)$. This near-linear scaling is a significant breakthrough, as it allows the method to remain feasible even as the number of source tasks grows into the hundreds—a scenario where traditional branch-and-bound or exhaustive search methods would require thousands of GPU hours.
Experimental Evaluation
The effectiveness of the surrogate modeling approach was validated across three distinct domains:
1. Weak Supervision
Using text classification datasets (YouTube, TREC, CDR, Chemprot, Semeval), the authors treated various noisy labeling functions as source tasks. The surrogate model provided up to a 3.6% absolute accuracy lift over standard optimization methods by successfully filtering out the most detrimental labeling functions.
2. NLP Benchmarks
The method was tested on 25 datasets from major benchmarks, including GLUE, SuperGLUE, TweetEval, and ANLI. The surrogate model achieved 4x higher accuracy in predicting whether a specific transfer would be positive or negative compared to existing baseline measures like gradient similarity.
3. Multi-group Fairness
To test the method's impact on algorithmic fairness, the researchers used US Census income data split by state (51 tasks) and racial groups. By selecting task subsets that prioritized the performance of the most disadvantaged groups, the approach improved "worst-group accuracy" by an average of 1.17%, demonstrating that task selection is a viable tool for building more equitable models.
Key Insights
- Linearity in Complex Systems: Perhaps the most surprising finding is that a simple linear surrogate can accurately predict the performance of highly non-linear deep neural networks. The model effectively captures the "average" contribution of a task across various contexts.
- Contextual Relevance: Unlike pairwise affinity measures, these relevance scores account for how a task performs in the presence of other tasks, providing a more holistic view of task dynamics.
- Efficiency: The runtime scales linearly with the number of source tasks, making it one of the few subset-selection methods capable of handling $k > 20$ efficiently.
Conclusion and Future Work
This research provides a robust, scalable solution to the negative transfer problem in MTL. By treating task selection as a regression problem on a surrogate model, researchers can navigate the combinatorial explosion of task subsets with minimal computational overhead.
Future work may explore adaptive sampling strategies—picking subsets more strategically rather than uniformly—to further reduce the number of required trials. Additionally, while the linear model is highly efficient, exploring quadratic surrogates to capture specific task-to-task interactions could further refine prediction accuracy in cases where task dependencies are particularly complex.
Summary updated