Cross-Lingual Transfer with MAML on Trees
Jezabel Garcia, Federica Freddi, Jamie McGowan, Tim Nieradzik, Feng-Ting Liao, Ye Tian, Da-shan Shiu, Alberto Bernacchia
Abstract
In meta-learning, the knowledge learned from previous tasks is transferred to new ones, but this transfer only works if tasks are related. Sharing information between unrelated tasks might hurt performance, and it is unclear how to transfer knowledge across tasks that have a hierarchical structure. Our research extends a meta-learning model, MAML, by exploiting hierarchical task relationships. Our algorithm, TreeMAML, adapts the model to each task with a few gradient steps, but the adaptation follows the hierarchical tree structure: in each step, gradients are pooled across tasks clusters and subsequent steps follow down the tree. We also implement a clustering algorithm that generates the tasks tree without previous knowledge of the task structure, allowing us to make use of implicit relationships between the tasks. We show that TreeMAML successfully trains natural language processing models for cross-lingual Natural Language Inference by taking advantage of the language phylogenetic tree. This result is useful since most languages in the world are under-resourced and the improvement on cross-lingual transfer allows the internationalization of NLP models.- Anthology ID:
- 2021.adaptnlp-1.8
- Volume:
- Proceedings of the Second Workshop on Domain Adaptation for NLP
- Month:
- April
- Year:
- 2021
- Address:
- Kyiv, Ukraine
- Editors:
- Eyal Ben-David, Shay Cohen, Ryan McDonald, Barbara Plank, Roi Reichart, Guy Rotman, Yftah Ziser
- Venue:
- AdaptNLP
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 72–79
- Language:
- URL:
- https://aclanthology.org/2021.adaptnlp-1.8
- DOI:
- Cite (ACL):
- Jezabel Garcia, Federica Freddi, Jamie McGowan, Tim Nieradzik, Feng-Ting Liao, Ye Tian, Da-shan Shiu, and Alberto Bernacchia. 2021. Cross-Lingual Transfer with MAML on Trees. In Proceedings of the Second Workshop on Domain Adaptation for NLP, pages 72–79, Kyiv, Ukraine. Association for Computational Linguistics.
- Cite (Informal):
- Cross-Lingual Transfer with MAML on Trees (Garcia et al., AdaptNLP 2021)
- PDF:
- https://preview.aclanthology.org/nschneid-patch-5/2021.adaptnlp-1.8.pdf
- Data
- XNLI