cs.CLSep 6, 2026

Hierarchical Wasserstein Merging for Multi-Domain Multi-Task Learning: From Specialists to a Generalist

Authors: Ming Cheng, Jiaying Gong, Hoda Eldardiry

Organizations: Virginia Tech · Amazon

Abstract

Multi-domain multi-task learning (MD-MTL) aims to build a single generalist model that performs well across heterogeneous domains and tasks. However, joint training often suffers from interference under distribution shifts. Existing model merging methods mostly operate on model parameters while overlooking the geometric structure of latent representation distributions across domains and tasks. To address these limitations, we propose Hierarchical Wasserstein Merging (HWM), a representation-level framework that models each domain-task specialist as a distribution of hidden representations on a shared support. HWM constructs task-level and global Wasserstein barycenters to capture within-task domain variation and cross-task structure, enabling either training-free specialist aggregation by Wasserstein-derived weights or training-based generalist learning through a hybrid Wasserstein alignment loss. Experiments on four NLP tasks across four domains per task show that HWM achieves superior effectiveness and generalization capability in MD-MTL settings.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Bridging Domains through Subspace-Aware Model Merging

    Mar 6, 2026Levy Chaves, Chao Zhou, Rebekka Burkholz +2Model MergingCross-Domain Generalization

  2. Domain-Adaptive Model Merging Across Disconnected Modes

    Mar 6, 2026Junming Liu, Yusen Zhang, Rongchao Zhang +2Model MergingCross-Domain Transfer Learning

  3. Data-Aware Model Merging in the Essential Subspace for Multi-Task Knowledge Aggregation

    Jun 17, 2026Longhua Li, Lei Qi, Qi Tian +1Multi-Task LearningModel Merging