[Paper Review] Learning Functions to Study the Benefit of Multitask Learning
This paper proposes a symbolic regression-based approach to empirically discover mathematical formulas that quantify multitask learning (MTL) performance in sequence labeling, using a custom task simulator to control dataset size (n), number of tasks (T), and task relatedness (AMI). The key contribution is the discovery of performance dependencies on √n, √T, and √AMI—validating theoretical expectations and extending them with explicit, interpretable relationships to task relatedness.
We study and quantify the generalization patterns of multitask learning (MTL) models for sequence labeling tasks. MTL models are trained to optimize a set of related tasks jointly. Although multitask learning has achieved improved performance in some problems, there are also tasks that lose performance when trained together. These mixed results motivate us to study the factors that impact the performance of MTL models. We note that theoretical bounds and convergence rates for MTL models exist, but they rely on strong assumptions such as task relatedness and the use of balanced datasets. To remedy these limitations, we propose the creation of a task simulator and the use of Symbolic Regression to learn expressions relating model performance to possible factors of influence. For MTL, we study the model performance against the number of tasks (T), the number of samples per task (n) and the task relatedness measured by the adjusted mutual information (AMI). In our experiments, we could empirically find formulas relating model performance with factors of sqrt(n), sqrt(T), which are equivalent to sound mathematical proofs in Maurer[2016], and we went beyond by discovering that performance relates to a factor of sqrt(AMI).
Motivation & Objective
- To understand and quantify the generalization patterns of multitask learning (MTL) models in sequence labeling tasks.
- To overcome limitations of theoretical MTL bounds that rely on strong assumptions like known task relatedness and balanced datasets.
- To develop a controllable task simulator for generating diverse MTL training scenarios with tunable parameters.
- To use symbolic regression to learn interpretable mathematical expressions linking model performance to key factors like n, T, and AMI.
- To provide practitioners with a data-driven, interpretable framework to guide MTL task grouping and hyperparameter selection.
Proposed method
- A task simulator was designed to generate synthetic sequence labeling tasks with controlled parameters: number of tasks (T), samples per task (n), and task relatedness measured via adjusted mutual information (AMI).
- The simulator generates training data for MTL models across varying configurations of n, T, and AMI to collect performance metrics (F1-score).
- Symbolic regression was applied to the collected data to learn closed-form expressions relating F1-score to the input parameters (n, T, AMI).
- The method was first tested on balanced datasets (equal n per task), then extended to unbalanced settings with varying n for different tasks.
- The best-fitting symbolic expressions were selected based on minimal test mean squared error (MSE), with Equation (6) achieving an MSE of 0.009.
- The approach emulates Kepler’s scientific method—discovering functional relationships from data before seeking theoretical justification.
Experimental results
Research questions
- RQ1How does model performance in multitask learning scale with the number of tasks (T)?
- RQ2How does performance vary with the number of training samples per task (n)?
- RQ3What is the quantitative impact of task relatedness (measured by AMI) on MTL performance?
- RQ4How do these relationships change in unbalanced datasets where tasks have unequal training sizes?
- RQ5Can symbolic regression discover interpretable, data-driven formulas that reflect known theoretical convergence rates and extend them?
Key findings
- The F1-score of MTL models scales with √n, confirming theoretical convergence rates observed in prior work.
- Performance shows a dependence on √T, consistent with theoretical expectations from prior studies.
- A novel finding is that performance scales with √AMI, revealing a direct, interpretable relationship between task relatedness and MTL gains.
- In unbalanced settings, the F1-score is primarily driven by the smallest dataset (n_ner), with √n_ner emerging as the dominant factor.
- The symbolic regression model achieved a test MSE of 0.009 for the best-fitting formula, indicating strong empirical fit.
- The discovered formula F1 = √((log(T) + 0.45) * (AMI*n / (AMI + 0.6))) captures the joint influence of T, n, and AMI with high accuracy.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.