Understanding and Improving Information Transfer in Multi-Task Learning

Sen Wu, Hongyang R. Zhang, Christopher Ré

TL;DR

Multi-task learning (MTL) often fails due to "negative transfer," where tasks interfere with each other rather than helping. This paper identifies that task data alignment (covariance) is just as critical as model similarity for successful transfer. To address this, the authors introduce two practical methods—a covariance alignment layer and an SVD-based reweighting scheme—that significantly boost performance in both NLP and computer vision tasks.

The Challenge of Negative Transfer

Multi-task learning is often considered the "holy grail" of efficient AI: train one model on many tasks to create a shared, robust representation.

Standard Multi-Task Learning Architecture

However, practitioners frequently encounter a frustrating phenomenon called negative transfer. This occurs when a model performs worse on a task when trained alongside others than it would have if trained alone.

While previous research suggested that tasks must be "similar" to transfer well, this similarity was usually defined by how close their decision boundaries (models) were. This paper argues that this is only half the story. Even if two tasks have identical decision boundaries, if their data distributions are misaligned (e.g., one task has data points in regions where the other has none), they can interfere destructively.

The Role of Data Alignment

The authors analyze MTL through the lens of three components: model capacity, task covariance, and the optimization scheme. They provide formal proofs in linear and ReLU-activated settings, showing that positive transfer is guaranteed only when the source task has sufficient data and its covariance is well-aligned with the target task.

Impact of Covariance on Transfer Performance

Model similarity is necessary but not sufficient. Task data similarity acts as a crucial second-order effect that determines if tasks interfere constructively or destructively.

Proposed Solutions

To fix these alignment and interference issues, the authors developed two practical tools:

  1. Covariance Alignment: To fix data misalignment, the authors introduce a learnable alignment matrix for each task. This matrix "rotates" the task's input embeddings before they enter the shared module, effectively aligning the data distributions of different tasks so they can benefit from a shared feature space. This alignment layer can be added to existing architectures (like BERT or LSTMs) with minimal overhead.
  2. SVD-based Task Reweighting: In scenarios where tasks share the same data but have different labels (like multi-label image classification), some labels might be noisier than others. The authors propose using Singular Value Decomposition (SVD) on the task parameters to identify the "principal directions" of information and down-weight tasks that deviate significantly, as they likely represent noise.

Key Results and Insights

The researchers validated their theories across several diverse benchmarks, including GLUE, Sentiment Analysis datasets, and ChestX-ray14.

  • BERT Gains: The alignment method achieved a 2.35% average improvement in GLUE scores over the standard BERT-Large model across five tasks.
  • Sentiment Transfer: In transfer learning settings, the method improved accuracy by up to 2.5% when transferring knowledge from the SST task to other sentiment benchmarks using LSTM models.
  • Robustness to Noise: On the ChestX-ray14 dataset, the SVD-based reweighting scheme improved the average AUC by 0.4% generally, and by 1.0% in specific scenarios where 20% of the labels were intentionally corrupted with noise.
  • The "Goldilocks" Capacity: Empirical experiments showed that MTL performance peaks when the shared capacity is significantly lower than the total single-task learning (STL) capacity. If the shared module is too large, tasks don't interact; if it's too small, they fight for resources.

Limitations and Future Work

While the empirical results on neural networks are strong, the formal theoretical guarantees for the optimization schemes are currently limited to linear models. Extending these proofs to complex, non-linear ReLU networks remains an open challenge.

Additionally, the SVD-based reweighting scheme currently assumes all tasks share the same input features (a multi-label setting). Extending this to tasks with heterogeneous input data, as well as developing a dynamic scheduler that adapts during the training process, are key areas for future research.

Summary updated

BibTeX
@inproceedings{wu2020understanding,
  author = {Sen Wu and Hongyang R. Zhang and Christopher Ré},
  title = {{Understanding and Improving Information Transfer in Multi-Task Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2020},
  url = {https://openreview.net/forum?id=1wZ1iaxf0n},
}
Figure