[Paper Review] ForkMerge: Mitigating Negative Transfer in Auxiliary-Task Learning
ForkMerge is a novel method that mitigates negative transfer in auxiliary-task learning by periodically forking a model into multiple branches, dynamically optimizing task weights via target validation error minimization, and merging branches to filter out harmful parameter updates. It achieves state-of-the-art performance across multiple benchmarks, including a 1.30% absolute improvement on the AliExpress dataset and 46.3% test error reduction on SVHN with 1000 labels.
Auxiliary-Task Learning (ATL) aims to improve the performance of the target task by leveraging the knowledge obtained from related tasks. Occasionally, learning multiple tasks simultaneously results in lower accuracy than learning only the target task, which is known as negative transfer. This problem is often attributed to the gradient conflicts among tasks, and is frequently tackled by coordinating the task gradients in previous works. However, these optimization-based methods largely overlook the auxiliary-target generalization capability. To better understand the root cause of negative transfer, we experimentally investigate it from both optimization and generalization perspectives. Based on our findings, we introduce ForkMerge, a novel approach that periodically forks the model into multiple branches, automatically searches the varying task weights by minimizing target validation errors, and dynamically merges all branches to filter out detrimental task-parameter updates. On a series of auxiliary-task learning benchmarks, ForkMerge outperforms existing methods and effectively mitigates negative transfer.
Motivation & Objective
- To systematically investigate the root causes of negative transfer in auxiliary-task learning beyond gradient conflicts.
- To address the limitation of existing optimization-based methods that overlook generalization capability.
- To develop a method that enhances model generalization by combining diverse task distribution hypotheses through model branching and merging.
- To improve performance in multi-task learning by filtering out detrimental parameter updates while preserving beneficial ones.
- To achieve state-of-the-art results on diverse auxiliary-task learning benchmarks, including large-scale recommendation and semi-supervised learning tasks.
Proposed method
- ForkMerge periodically forks the main model into multiple branches, each trained with different task weight configurations.
- It dynamically searches task weights by minimizing the target validation error during training.
- At regular intervals, all branches are merged and synchronized to form a unified model, filtering out harmful parameter updates.
- The approach treats the combination of task distributions as a hypothesis combination problem, avoiding exhaustive search over all possible data distribution combinations.
- The method is implemented using a gradient-based optimization strategy that balances positive transfer and mitigates negative transfer.
- It is compatible with existing multi-task learning frameworks and can be integrated into both supervised and self-supervised learning pipelines.
Experimental results
Research questions
- RQ1What are the root causes of negative transfer in auxiliary-task learning beyond gradient conflicts?
- RQ2How does distribution shift between training and test data affect negative transfer?
- RQ3Can model branching and dynamic weight optimization improve generalization in multi-task learning?
- RQ4Does filtering out harmful parameter updates through merging lead to better performance than standard multi-task training?
- RQ5Can ForkMerge outperform existing state-of-the-art methods in both supervised and semi-supervised auxiliary-task learning settings?
Key findings
- ForkMerge achieves a 1.30% absolute improvement in mean performance on the AliExpress recommendation benchmark compared to the strongest baseline.
- On the SVHN dataset with 1000 labeled examples, ForkMerge reduces test error to 5.49%, achieving a 46.3% error reduction compared to the baseline S4L method.
- The method outperforms existing state-of-the-art methods such as GradNorm, CAGrad, and Auto-λ across all evaluated benchmarks.
- Experiments show that gradient conflicts alone do not necessarily cause negative transfer, as even conflicting auxiliary tasks like weight decay can be beneficial.
- Negative transfer is more strongly correlated with distribution shift between training and test data than with optimization interference.
- The dynamic merging mechanism effectively filters out harmful parameter updates while preserving and amplifying beneficial ones.
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.