Fair Resource Allocation in Multi-Task Learning

Hao Ban, Kaiyi Ji
2/23/2024
cs.LG

Official code: OptMN-Lab/FairGrad (23 stars, MIT, last commit 2024-10-22).

Abstract

By jointly learning multiple tasks, multi-task learning (MTL) can leverage the shared knowledge across tasks, resulting in improved data efficiency and generalization performance. However, a major challenge in MTL lies in the presence of conflicting gradients, which can hinder the fair optimization of some tasks and subsequently impede MTL's ability to achieve better overall performance. Inspired by fair resource allocation in communication networks, we formulate the optimization of MTL as a utility maximization problem, where the loss decreases across tasks are maximized under different fairness measurements. To solve this problem, we propose FairGrad, a novel MTL optimization method. FairGrad not only enables flexible emphasis on certain tasks but also achieves a theoretical convergence guarantee. Extensive experiments demonstrate that our method can achieve state-of-the-art performance among gradient manipulation methods on a suite of multi-task benchmarks in supervised learning and reinforcement learning. Furthermore, we incorporate the idea of $α$-fairness into loss functions of various MTL methods. Extensive empirical studies demonstrate that their performance can be significantly enhanced. Code is provided at \url{https://github.com/OptMN-Lab/fairgrad}.

View on arXivView PDF

Code Implementations(1)

OptMN-Lab/FairGradOfficial100%
MIT

Official implementation of "Fair Resource Allocation in Multi-Task Learning" [ICML 2024]

233Shell, PythonFeb 23, 20241 years agoMIT

Similar Papers

Cite this paper

@article{ban2024fair,
  title  = {Fair Resource Allocation in Multi-Task Learning},
  author = {Hao Ban and Kaiyi Ji},
  year   = {2024},
  eprint = {2402.15638},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.15638v2},
  journal = {ICML 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.15638.svg)](https://codeofpaper.com/paper/2402.15638)

Discussion