TL;DR
This paper introduces "task modeling," a novel approach to efficiently select beneficial auxiliary tasks for a target task in multitask learning. By modeling higher-order task transfers, it significantly improves performance over existing methods, especially in scenarios with noisy data or when optimizing for robustness and fairness.
What Problem Does This Paper Address?
In multitask learning, we often have a primary target task and several auxiliary source tasks. The challenge is to select the right source tasks to help the target task, as poorly chosen ones can actually hurt performance (negative transfer). Previous methods primarily relied on "first-order task affinity" (how well each individual source task helps the target), but this fails to capture more complex, higher-order interactions where a combination of source tasks might be beneficial or detrimental. This paper aims to address this limitation by developing a method that can effectively model and leverage these higher-order task relationships.
Methods
The core of the proposed method is task modeling. It works in two main steps:
- Evaluate Multitask Predictions: The authors sample various subsets of source tasks. For each subset, they perform multitask training and then evaluate the prediction loss on the target task's validation set. This gives them a measure of how well that specific combination of source tasks transfers to the target.
- Estimate Surrogate Functions: They then train a linear model (a "task model") to predict these multitask losses based on the characteristics of the source task subsets. This surrogate function effectively learns to approximate the complex, higher-order transfer behavior.
This task modeling approach allows them to efficiently estimate the impact of task combinations without exhaustively training every possible combination. The learned task model can then be used to select the most beneficial source tasks by identifying those with negative predicted coefficients.
Datasets
The authors evaluate their approach on several datasets:
- Text Classification Tasks: Five datasets from the WRENCH benchmark [56] are used, featuring noisy supervision sources.
- Binary Classification Tasks: Six datasets derived from the US Census (Folktables) [15] are used, focusing on income prediction across different states, with each state treated as a task. These datasets are designed to exhibit group shifts.
- Additional Datasets: For experiments on convergence and hyperparameter tuning, they utilize a broader range of NLP benchmarks including GLUE [48], SuperGLUE [47], TweetEval [3], and ANLI [30], as well as additional binary classification tasks.
Key Insights and Ideas
- Higher-Order Transfers Matter: The paper strongly emphasizes that simply looking at individual source-target task relationships (first-order affinity) is insufficient. The interaction between source tasks and their combined effect on the target is crucial and can be positive or negative.
- Task Modeling as an Efficient Surrogate: By sampling subsets and training a linear model to predict multitask losses, they create an efficient proxy for complex transfer behavior. This avoids the combinatorial explosion of evaluating all task combinations.
- Predicting Positive/Negative Transfer: The learned task model can not only estimate the magnitude of transfer but also predict whether a set of source tasks will transfer positively or negatively to the target task.
- Generalizability Beyond Accuracy: The approach is shown to be effective not just for standard prediction accuracy but also for optimizing group robustness and fairness metrics.
Key Results
- Accuracy Improvement: On five text classification tasks with noisy supervision, their method achieved up to 3.6% accuracy improvement over existing methods.
- Efficiency: Task modeling can be estimated in nearly-linear time with respect to the number of tasks, significantly faster than exhaustive search for higher-order transfers. The sample complexity is theoretically bounded.
- Robustness and Fairness: On tabular datasets, their approach consistently improved worst-group accuracy and fairness metrics (demographic parity, equality of opportunity) compared to baselines.
- Predictive Power: Ablation studies showed that task models could accurately predict whether a set of up to four source tasks would transfer positively to the target.
- Convergence: The MSE of task modeling consistently converged close to the variance of the prediction loss across various datasets, indicating accurate approximation.
Limitations and Future Work
- Subset Size: While task modeling works well, the paper notes that increasing the subset size of source tasks beyond a certain point (e.g., |S|=5) did not significantly improve results, suggesting that the number of truly beneficial tasks is limited.
- Theoretical Assumptions: The theoretical guarantees for task selection (Theorem 3.2) rely on specific assumptions about isotropic covariates and a linear model for task relationships.
- Future Work: The authors suggest extending their approach to few-shot learning and meta-learning settings, as well as exploring its application to more complex network architectures and task relationships. They also highlight the potential for combining their work with spectral norm bounds for deeper theoretical analysis.
Summary updated