Skip to main content
QUICK REVIEW

[Paper Review] Fair Resource Allocation in Multi-Task Learning

Hao Ban, Kaiyi Ji|arXiv (Cornell University)|Feb 23, 2024
Distributed Sensor Networks and Detection AlgorithmsComputer Science3 citations
TL;DR

This paper proposes FairGrad, a novel multi-task learning (MTL) method that formulates MTL optimization as an $α$-fair utility maximization problem inspired by fair resource allocation in communication networks. By leveraging $α$-fairness to balance conflicting gradients across tasks, FairGrad enables flexible fairness trade-offs (e.g., max-min, proportional) and guarantees convergence to a Pareto stationary point, achieving state-of-the-art performance on supervised and reinforcement learning benchmarks with up to 40 tasks.

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}.

Motivation & Objective

  • To address the challenge of conflicting gradients in multi-task learning (MTL), which can degrade performance by favoring tasks with larger gradients.
  • To unify diverse fairness concepts—such as max-min, proportional, and minimum potential delay fairness—within a single MTL optimization framework.
  • To develop a method with theoretical convergence guarantees that can flexibly balance task performance based on user-defined fairness criteria.
  • To enhance existing MTL methods by incorporating $α$-fairness into their loss functions, improving overall performance.

Proposed method

  • Formulates MTL as a utility maximization problem where each task’s loss decrease is modeled as a utility under $α$-fairness, with $α$ controlling the fairness trade-off.
  • Proposes FairGrad, an optimization algorithm that computes a shared gradient direction by solving the $α$-fair utility maximization problem using a projected gradient method.
  • Employs a stepsize rule derived from theoretical analysis to ensure convergence to a Pareto stationary point under mild assumptions.
  • Introduces a general $α$-fair loss transformation that can be applied to existing MTL methods like MGDA, PCGrad, CAGrad, and DWA to improve their performance.
  • Uses the Gram matrix and singular value analysis to prove that the algorithm converges to a point where task gradients are linearly dependent, indicating a Pareto stationary solution.
  • Applies the method across multiple benchmarks, including NYU-v2 and Cityscapes, with 2 to 40 tasks, under both supervised and reinforcement learning settings.

Experimental results

Research questions

  • RQ1Can a unified framework based on $α$-fairness effectively balance conflicting gradients in multi-task learning across diverse fairness criteria?
  • RQ2Does the proposed FairGrad method achieve theoretical convergence to a Pareto stationary point under standard assumptions?
  • RQ3Can the $α$-fairness concept be effectively transferred to existing gradient manipulation methods to improve their performance?
  • RQ4How does FairGrad compare to state-of-the-art gradient manipulation methods in terms of performance and fairness trade-offs?

Key findings

  • FairGrad achieves state-of-the-art performance among gradient manipulation methods on five multi-task benchmarks in supervised and reinforcement learning, with up to 40 tasks.
  • The method converges to the Pareto front from multiple initialization points, as demonstrated in a two-task illustrative example, showing robustness and fairness.
  • Applying $α$-fair loss transformation with $α=0.5$ significantly improves performance across multiple MTL methods, including MGDA, PCGrad, and CAGrad, on NYU-v2 and Cityscapes datasets.
  • On the Cityscapes dataset, Fair-CAGrad reduces absolute error by 11.64 to 33.04 and improves mIoU from 93.48 to 93.39, demonstrating consistent gains.
  • Fair-PCGrad achieves a 10.71% relative error reduction (from 18.29 to 10.71) and a 10.7% mIoU improvement (from 93.48 to 93.51) on the Cityscapes benchmark.
  • The theoretical analysis confirms that FairGrad converges to a Pareto stationary point under mild assumptions, with a stepsize rule ensuring convergence via singular value decay of the Gram matrix.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.