TL;DR
This paper introduces a novel method for grouping tasks in multi-task learning (MTL) by leveraging pointwise V-usable information (PVI) to estimate task difficulty. By grouping tasks with similar PVI scores, the authors demonstrate that MTL can achieve competitive or superior performance compared to single-task learning, especially in domain-specific NLP tasks, while being more computationally efficient.
What Problem Does This Paper Address?
Fine-tuning large language models (LLMs) is a common practice for deploying them on various tasks. While multi-task learning (MTL) can improve performance and efficiency by sharing representations across tasks, its success heavily depends on how tasks are grouped. Naively grouping tasks can lead to "negative transfer," where performance degrades compared to single-task learning. Identifying optimal task groupings is a challenging research problem due to the vast number of possible combinations and the difficulty in measuring task relatedness. This paper aims to address this by proposing a new metric for task grouping based on task difficulty.
Methods
The core of this paper's methodology lies in using pointwise V-usable information (PVI) as a proxy for task relatedness. PVI, a metric that estimates the difficulty of data instances for a given model, is calculated by fine-tuning a model in two setups: one with input-target pairs and another with only targets. A higher PVI score indicates an instance is easier for the model.
The proposed method involves two stages:
- Calculating PVI estimates: PVI scores are computed for each instance across all datasets.
- Grouping tasks: Datasets are grouped based on the similarity of their PVI score distributions. Statistical tests (paired t-test or ANOVA) are used to determine if PVI distributions are statistically significantly different. Tasks with non-significantly different PVI distributions are grouped together.
These grouped tasks are then jointly trained using a hard parameter-sharing strategy in an MTL framework.
Datasets
The study utilizes 15 NLP datasets across three domains:
- General-domain: BoolQ, CB, RTE, COPA, WiC, CoLA, SST2 (from GLUE and SuperGLUE benchmarks).
- Biomedical: Health Advice, Causal Language.
- Clinical: 6 tasks from the THYME corpus, SHARP Seed, and SHARP Stratified, including negation and contextual modality tasks.
Key Insights and Ideas
- Task difficulty as a proxy for relatedness: The paper posits that tasks with similar difficulty levels, as measured by PVI, are likely to benefit from joint training. This is a novel perspective on task grouping for MTL.
- PVI's effectiveness in grouping: The experiments show that PVI-based grouping leads to competitive or improved performance, suggesting its value as a task similarity metric.
- Domain-specific benefits: The proposed MTL approach shows particularly strong improvements in biomedical and clinical domains, where tasks often share more constrained language and terminology.
- Efficiency gains: MTL with PVI-based grouping offers significant computational efficiency advantages over training multiple single-task models, especially for institutions with limited resources.
Key Results
- Competitive performance: For the majority of general domain tasks and all biomedical and clinical tasks, MTL with PVI-based grouping yielded results comparable to or better than single-task learning (STL).
- Improved F1 scores: For clinical tasks like SeedUncert and StratUncert, MTL consistently improved F1 scores by substantial margins over STL.
- Efficiency: Training a single MTL model with shared parameters is significantly more efficient than training multiple separate models, as demonstrated by the comparison of parameter counts and GPU memory consumption.
- LLM comparison: While LLMs like Llama and GPT-4 showed strong performance, the fine-tuned MTL models often outperformed them, especially in domain-specific tasks. This highlights the continued relevance of fine-tuning for specialized NLP applications.
Limitations and Future Work
- Limited GPT-4 evaluation: The study could not evaluate GPT-4 on clinical tasks due to HIPAA regulations and the lack of access to HIPAA-compliant GPT models.
- Complementary measures: While PVI is valuable, its effectiveness could be further enhanced by incorporating other similarity measures like vocabulary overlap or label distribution divergence.
- Future directions: The authors suggest exploring data instance selection for joint learning, investigating parameter sharing mechanisms, and incorporating their approach into frameworks for optimizing LM prompting, fine-tuning, and reasoning. They also encourage further research with LLMs as base models to potentially improve results.
Summary updated