No Train but Gain: Language Arithmetic for training-free Language Adapters enhancement

Mateusz Klimaszewski, Piotr Andruszkiewicz, Alexandra Birch
4/24/2024
cs.CL

Official code: mklimasz/language-arithmetic (1 star, Apache-2.0, last commit 2026-04-16).

Abstract

Modular deep learning is the state-of-the-art solution for lifting the curse of multilinguality, preventing the impact of negative interference and enabling cross-lingual performance in Multilingual Pre-trained Language Models. However, a trade-off of this approach is the reduction in positive transfer learning from closely related languages. In response, we introduce a novel method called language arithmetic, which enables training-free post-processing to address this limitation. Extending the task arithmetic framework, we apply learning via addition to the language adapters, transitioning the framework from a multi-task to a multilingual setup. The effectiveness of the proposed solution is demonstrated on three downstream tasks in a MAD-X-based set of cross-lingual schemes, acting as a post-processing procedure. Language arithmetic consistently improves the baselines with significant gains, especially in the most challenging case of zero-shot application. Our code and models are available at https://github.com/mklimasz/language-arithmetic .

View on arXivView PDF

Code Implementations(1)

Apache-2.0
10C, C++Apr 23, 20246 months agoApache-2.0

Similar Papers

Cite this paper

@article{klimaszewski2024train,
  title  = {No Train but Gain: Language Arithmetic for training-free Language Adapters enhancement},
  author = {Mateusz Klimaszewski and Piotr Andruszkiewicz and Alexandra Birch},
  year   = {2024},
  eprint = {2404.15737},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.15737v2}
}

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/2404.15737.svg)](https://codeofpaper.com/paper/2404.15737)

Discussion