ForkMerge: Mitigating Negative Transfer in Auxiliary-Task Learning
About
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.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Depth Estimation | NYU v2 (test) | -- | 423 | |
| Semantic segmentation | NYU v2 (test) | mIoU53.67 | 248 | |
| Surface Normal Estimation | NYU v2 (test) | Mean Angle Distance (MAD)22.18 | 206 | |
| Multi-task Learning | NYU v2 (test) | Delta m%403 | 31 | |
| Image Recognition | DomainNet 50% test split (val) | Accuracy (Clipart)79.9 | 16 | |
| Multi-task Recommendation | AliExpress (test) | CTR ES0.7402 | 16 | |
| Semi-supervised Image Classification | CIFAR-10 4000 labeled samples (train test) | Test Error13.1 | 14 | |
| Semi-Supervised Learning | SVHN 1000 labels (test) | Test Error5.49 | 14 |