Skip to main content
QUICK REVIEW

[Paper Review] Task Selection Policies for Multitask Learning

J. Glover, Chris Hokamp|arXiv (Cornell University)|Jul 14, 2019
Advanced Bandit Algorithms ResearchDecision Sciences49 references7 citations
TL;DR

This paper proposes a counterfactual estimation-based task selection policy for multitask learning (MTL) that dynamically allocates training budget across tasks to improve model performance. By learning an optimal sampling distribution over tasks using off-policy evaluation, the method achieves performance close to task-specific fine-tuning on the GLUE benchmark, outperforming uniform and data-size-proportional policies.

ABSTRACT

One of the questions that arises when designing models that learn to solve multiple tasks simultaneously is how much of the available training budget should be devoted to each individual task. We refer to any formalized approach to addressing this problem (learned or otherwise) as a task selection policy. In this work we provide an empirical evaluation of the performance of some common task selection policies in a synthetic bandit-style setting, as well as on the GLUE benchmark for natural language understanding. We connect task selection policy learning to existing work on automated curriculum learning and off-policy evaluation, and suggest a method based on counterfactual estimation that leads to improved model performance in our experimental settings.

Motivation & Objective

  • Address the challenge of allocating limited training budget across multiple NLP tasks in multitask learning settings.
  • Investigate whether task selection policies can mitigate performance drops in MTL compared to single-task fine-tuning.
  • Explore connections between task selection and automated curriculum learning, particularly in the context of off-policy evaluation.
  • Develop and evaluate a method to learn optimal task sampling policies using counterfactual estimation for improved MTL generalization.
  • Demonstrate that learned policies can approach single-task fine-tuning performance on diverse NLP tasks with varying data sizes.

Proposed method

  • Formulate task selection as a stochastic policy learning problem, where each task is sampled with a learned probability.
  • Use counterfactual estimation (Bottou et al., 2012) to evaluate the expected performance of a policy without retraining, enabling off-policy learning.
  • Define a surrogate sample-level reward signal based on model performance on individual examples to guide policy optimization.
  • Optimize the policy using a regularized objective that includes an entropy term to prevent overfitting to low-utility tasks.
  • Train the policy on a small number of initial rollouts (4 total, including hyperparameter tuning) using a bandit-style setup.
  • Apply the learned policy to fine-tune BERT on the GLUE benchmark, comparing performance to uniform and data-size-proportional policies.

Experimental results

Research questions

  • RQ1Can a learned task selection policy outperform heuristic policies like uniform or data-size-proportional sampling in multitask learning?
  • RQ2How does the performance of a counterfactual estimation-based policy compare to random or curriculum-based policies on synthetic and real-world NLP benchmarks?
  • RQ3To what extent can off-policy evaluation via counterfactual estimation be used to optimize task sampling strategies in MTL without full retraining?
  • RQ4Does the learned policy effectively balance performance across tasks with vastly different data sizes, particularly small-data tasks?
  • RQ5Can the method generalize to real-world benchmarks like GLUE while maintaining performance close to task-specific fine-tuning?

Key findings

  • The counterfactual estimation-based policy ($\pi^{\textsc{c}}$) achieved a GLUE dev set score of 87.0, outperforming uniform and data-size-proportional policies and approaching single-task fine-tuning performance.
  • On the GLUE test set, the MTL model using $\pi^{\textsc{c}}$ achieved a score of 77.9, very close to the single-task fine-tuned BERT score of 78.3.
  • The learned policy assigns higher sampling probabilities to smaller tasks (e.g., CoLA, RTE, MRPC) despite their lower data volume, indicating effective anti-curriculum behavior.
  • Tasks like STS-B and SST-2, despite a 10x difference in training set size, received similar sampling probabilities (0.102 vs. 0.094), showing the policy captures task difficulty beyond data size.
  • The policy significantly improved performance on RTE (74.5 vs. 66.4 in baseline), while still maintaining competitive results on QNLI and SST-2.
  • The method required only four training runs (including hyperparameter tuning) to learn an effective policy, demonstrating sample efficiency in policy optimization.

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.