Skip to main content
QUICK REVIEW

[Paper Review] A Simple General Approach to Balance Task Difficulty in Multi-Task Learning

Sicong Liang, Yu Zhang|arXiv (Cornell University)|Feb 12, 2020
Domain Adaptation and Few-Shot LearningComputer Science37 references7 citations
TL;DR

This paper proposes a Balanced Multi-Task Learning (BMTL) framework that dynamically balances task difficulty by transforming individual task losses using a function that prioritizes tasks with higher current losses. By minimizing the sum of these transformed losses, BMTL improves optimization efficiency and generalization, achieving state-of-the-art performance across multiple multi-task learning benchmarks without relying on hand-designed weights or non-smooth objectives.

ABSTRACT

In multi-task learning, difficulty levels of different tasks are varying. There are many works to handle this situation and we classify them into five categories, including the direct sum approach, the weighted sum approach, the maximum approach, the curriculum learning approach, and the multi-objective optimization approach. Those approaches have their own limitations, for example, using manually designed rules to update task weights, non-smooth objective function, and failing to incorporate other functions than training losses. In this paper, to alleviate those limitations, we propose a Balanced Multi-Task Learning (BMTL) framework. Different from existing studies which rely on task weighting, the BMTL framework proposes to transform the training loss of each task to balance difficulty levels among tasks based on an intuitive idea that tasks with larger training losses will receive more attention during the optimization procedure. We analyze the transformation function and derive necessary conditions. The proposed BMTL framework is very simple and it can be combined with most multi-task learning models. Empirical studies show the state-of-the-art performance of the proposed BMTL framework.

Motivation & Objective

  • To address the challenge of varying task difficulty levels in multi-task learning, which undermines performance when tasks are treated equally.
  • To overcome limitations of existing methods—such as manual task weighting, non-smooth objectives, and incompatibility with regularization—by introducing a general, differentiable solution.
  • To develop a simple, plug-and-play framework that can be combined with most existing multi-task learning models.
  • To ensure balanced learning by dynamically increasing attention to tasks with higher current training losses through a transformation function.

Proposed method

  • Proposes a transformation function $ h(\ell_i) $ that maps each task's training loss $ \ell_i $ to a new value, increasing the weight of tasks with higher losses.
  • Minimizes the sum of transformed losses $ \sum_i h(\ell_i) $, where $ h $ is designed to amplify the impact of high-loss tasks during optimization.
  • Derives necessary conditions for the transformation function $ h $ to ensure effective balancing and generalization.
  • Analyzes the generalization bound of the BMTL framework to theoretically justify its robustness.
  • Employs a simple, differentiable transformation (e.g., exponential or polynomial) that can be easily integrated into any multi-task learning model.
  • Applies the framework to various models including DMTL, DMTRL, TNRMTL, and MRN, using standard deep learning setups with Adam optimization and learning rate decay.

Experimental results

Research questions

  • RQ1How can task difficulty imbalance in multi-task learning be effectively addressed without relying on manually designed task weights?
  • RQ2Can a general, differentiable transformation of training losses improve optimization dynamics and model performance across diverse multi-task learning architectures?
  • RQ3How does the proposed BMTL framework compare to existing balancing strategies in terms of accuracy and robustness across varying training proportions?
  • RQ4What are the theoretical properties of the transformation function $ h(\cdot) $, and how do they affect generalization and convergence?

Key findings

  • The BMTL framework consistently outperforms all baseline balancing strategies across multiple datasets, including Office-31, ImageCLEF, and Office-Home, across all training proportions (50%, 60%, 70%).
  • On the Office-31 and ImageCLEF datasets, BMTL improved performance over all multi-task learning baselines (e.g., DMTL, DMTRL, TNRMTL, MRN) regardless of the training split.
  • On the SARCOS regression dataset, BMTL achieved the lowest mean squared error, especially when combined with TNRMTL methods, demonstrating strong performance in regression tasks.
  • Training loss curves from the Office-Home dataset show that tasks with higher initial losses decrease faster, confirming that BMTL effectively prioritizes hard tasks during optimization.
  • The BMTL framework is robust to hyperparameter choices and model initialization, as evidenced by consistent performance across five repeated experiments.
  • Theoretical analysis confirms that the transformation function $ h(\cdot) $ satisfies necessary conditions for balancing and generalization, supporting its empirical success.

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.