Hyper-X: A Unified Hypernetwork for Multi-Task Multilingual Transfer

Ahmet Üstün, Arianna Bisazza, Gosse Bouma, Gertjan van Noord, Sebastian Ruder
5/24/2022
cs.CL

Official code: ahmetustun/hyperx (21 stars, Python, MIT, last commit 2022-12-05).

Abstract

Massively multilingual models are promising for transfer learning across tasks and languages. However, existing methods are unable to fully leverage training data when it is available in different task-language combinations.

Show full abstract

To exploit such heterogeneous supervision, we propose Hyper-X, a single hypernetwork that unifies multi-task and multilingual learning with efficient adaptation. This model generates weights for adapter modules conditioned on both tasks and language embeddings. By learning to combine task and language-specific knowledge, our model enables zero-shot transfer for unseen languages and task-language combinations. Our experiments on a diverse set of languages demonstrate that Hyper-X achieves the best or competitive gain when a mixture of multiple resources is available, while being on par with strong baselines in the standard scenario. Hyper-X is also considerably more efficient in terms of parameters and resources compared to methods that train separate adapters. Finally, Hyper-X consistently produces strong results in few-shot scenarios for new languages, showing the versatility of our approach beyond zero-shot transfer.

View on arXivView PDF

Code Implementations(1)

ahmetustun/hyperxOfficial100%
MIT
211Python, ShellOct 24, 20223 years agoMIT

Similar Papers

Cite this paper

@article{stn2022hyperx,
  title  = {Hyper-X: A Unified Hypernetwork for Multi-Task Multilingual Transfer},
  author = {Ahmet Üstün and Arianna Bisazza and Gosse Bouma and Gertjan van Noord and Sebastian Ruder},
  year   = {2022},
  eprint = {2205.12148},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.12148}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2205.12148.svg)](https://codeofpaper.com/paper/2205.12148)

Discussion