NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Scalarization for Multi-Task and Multi-Domain Learning at Scale

Amelie Royer, Tijmen Blankevoort, Babak Ehteshami Bejnordi

Introduction

In the pursuit of general-purpose AI, the ability to train a single "backbone" model across multiple tasks (Multi-Task Learning, MTL) or diverse data distributions (Multi-Domain Learning, MDL) is paramount. However, these paradigms often suffer from "interference" or negative transfer, where learning one objective degrades performance on another. To mitigate this, the field has recently pivoted toward complex Multi-Task Optimization (MTO) techniques—such as gradient surgery—designed to resolve conflicting updates.

This paper challenges the necessity of these complex methods. Through an extensive empirical study, the authors demonstrate that simple scalarization—training on a weighted sum of losses—is not only competitive but often superior to MTO methods, provided the task weights are properly tuned. Crucially, the research reveals that optimal weights are consistent across model scales and can be discovered efficiently using Population-Based Training (PBT).

The Impact of Model Capacity

A central finding of the study is that model capacity acts as a buffer against task interference. By evaluating models of varying widths and depths, the authors observed that the "multi-task tax"—the performance gap between joint training and single-task baselines—diminishes as model size increases. In some instances, larger models even exhibit a performance boost from multi-tasking, suggesting that the benefits of shared representations eventually outweigh the costs of interference as the architecture's expressive power grows.

Weight Consistency and Scalability

One of the most significant contributions of this work is the observation of "weight consistency." The authors found that the relative ranking and optimal values of scalarization weights ($p$) remain remarkably stable across different model depths and widths within the same architecture family.

This has profound implications for practitioners: instead of performing expensive hyperparameter searches on massive production-scale models, one can identify optimal task weights using a much smaller, "proxy" version of the model. These weights can then be directly applied to the full-scale model, drastically reducing the computational overhead of tuning multi-task systems.

Re-evaluating Gradient Conflicts

Many MTO methods are predicated on the idea that "conflicting gradients" (updates that point in opposing directions) are the primary cause of poor MTL performance. However, this study's analysis of cosine similarity between task gradients suggests a more nuanced reality. Gradient conflicts were found to naturally increase toward the end of training, even as model performance continued to improve. This suggests that "correcting" every conflict via gradient surgery may be unnecessary and, given the high memory cost of storing individual task gradients, computationally inefficient.

Efficient Optimization via Population-Based Training (PBT)

To navigate the high-dimensional search space of task weights, the authors employ Population-Based Training (PBT). PBT is an evolutionary strategy that trains a population of models in parallel. Periodically, poorly performing models are replaced by mutated versions of the most successful ones. This allows the system to discover optimal scalarization weights dynamically during the training process itself, rather than requiring a separate, exhaustive search.

Experimental Results and Benchmarks

The effectiveness of PBT-tuned scalarization was validated across several diverse benchmarks, including DomainNet (MDL), CelebA (MTL), and Taskonomy-tiny (MTL).

On the DomainNet benchmark using a ResNet26 architecture, PBT-tuned scalarization achieved an average accuracy of 48.01%. This significantly outperformed uniform scalarization (46.78%) and surpassed specialized MTO methods like PCGrad and CAGrad, which reached only 42-43%. Furthermore, while MTO methods suffer from exploding memory requirements as the number of tasks increases, scalarization maintains a flat memory profile, making it a much more viable approach for large-scale applications involving dozens of tasks.

Conclusion

This research provides a compelling case for returning to scalarization as the primary tool for multi-task and multi-domain learning. By leveraging the consistency of task weights across scales and utilizing efficient search strategies like PBT, researchers can achieve state-of-the-art performance without the memory overhead or complexity of gradient-based optimization methods. The findings suggest that as we move toward even larger models, the simplicity and scalability of tuned scalarization will become increasingly vital.

Summary updated

BibTeX
@inproceedings{royer2023scalarization,
  author = {Amelie Royer and Tijmen Blankevoort and Babak Ehteshami Bejnordi},
  title = {{Scalarization for Multi-Task and Multi-Domain Learning at Scale}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=TSuq3debnD},
}
Figure