PreprintCited by 1Natural Language Processing TechniquesTopic ModelingDomain Adaptation and Few-Shot Learning

Tik-to-Tok: Translating Language Models One Token at a Time: An Embedding Initialization Strategy for Efficient Language Adaptation

Open access
Remy, François, Delobelle, Pieter, Berendt, Bettina, Demuynck, Kris, Demeester, Thomas·2023·arXiv

Abstract

Training monolingual language models for low and mid-resource languages is made challenging by limited and often inadequate pretraining data. In this study, we propose a novel model conversion strategy to address this issue, adapting high-resources monolingual language models to a new target language. By generalizing over a word translation dictionary encompassing both the source and target languages, we map tokens from the target tokenizer to semantically similar tokens from the source language tokenizer. This one-to-many token mapping improves tremendously the initialization of the embedding table for the target language. We conduct experiments to convert high-resource models to mid- and low-resource languages, namely Dutch and Frisian. These converted models achieve a new state-of-the-art performance on these languages across all sorts of downstream tasks. By reducing significantly the amount of data and time required for training state-of-the-art models, our novel model conversion strategy has the potential to benefit many languages worldwide.

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Integrity signals

Registry

DataCite · 10.48550/arxiv.2310.03477

Cites

Statistics

Claims the paper makes

The claims and statistics of this paper haven’t been checked yet.

Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.

A few free checks a day · papers already verified open instantly · results are public

Self-check

Percentages, sums and reported differences re-computed from the paper’s own numbers.

The self-check needs the paper’s full text.

Cites

No references could be resolved yet.

Research works printed but not linked: 32

  1. Mikel Artetxe, Gorka Labaka, and Eneko Agirre. 2020a. Translation artifacts in cross-lingual transfer learning. In Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 7674- 7684, Online. Association for Computational Linguistics. · DOI
  2. Mikel Artetxe, Sebastian Ruder, and Dani Yo- gatama. 2020b. On the cross-lingual transfer- ability of monolingual representations. In Pro- ceedings of the 58th Annual Meeting of the As- sociation for Computational Linguistics, pages 4623-4637, Online. Association for Computa- tional Linguistics. · DOI
  3. Gosse Bouma and Gertjan van Noord. 2017. In- creasing return on annotation investment: The automatic construction of a Universal Depen- dency treebank for Dutch. In Proceedings of the NoDaLiDa 2017 Workshop on Universal Depen- dencies (UDW 2017), pages 19-26, Gothenburg, Sweden. Association for Computational Linguis- tics.
  4. Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sas- try, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. Language models are few-shot learners. In Advances in Neural Infor- mation Processing Systems, volume 33, pages 1877-1901.
  5. Cristian Buciluǎ, Rich Caruana, and Alexandru Niculescu-Mizil. 2006. Model compression. In Proceedings of the 12th ACM SIGKDD interna- tional conference on Knowledge discovery and data mining, pages 535-541.
  6. Branden Chan, Stefan Schweter, and Timo Möller. 2020. German's next language model. In Pro- ceedings of the 28th International Conference on Computational Linguistics, pages 6788-6796, Barcelona, Spain (Online). International Com- mittee on Computational Linguistics. · DOI
  7. Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Francisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. 2020. Unsupervised cross-lingual representation learn- ing at scale. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 8440-8451, Online. Associa- tion for Computational Linguistics. · DOI · Paper page
  8. Pieter Delobelle, Thomas Winters, and Bettina Berendt. 2020. RobBERT: a Dutch RoBERTa- based Language Model. In Findings of the Asso- ciation for Computational Linguistics: EMNLP 2020, pages 3255-3265, Online. Association for Computational Linguistics. · DOI
  9. Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 Con- ference of the North American Chapter of the Association for Computational Linguistics: Hu- man Language Technologies, Volume 1 (Long and Short Papers), pages 4171-4186, Minneapo- lis, Minnesota. Association for Computational Linguistics. · DOI · Paper page
  10. Xavier Garcia, Noah Constant, Ankur Parikh, and Orhan Firat. 2021. Towards continual learning for multilingual machine translation via vocab- ulary substitution. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 1184- 1192, Online. Association for Computational Linguistics. · DOI
  11. Evangelia Gogoulou, Ariel Ekgren, Tim Isbister, and Magnus Sahlgren. 2022b. Cross-lingual transfer of monolingual models. In Proceedings of the Thirteenth Language Resources and Eval- uation Conference, pages 948-955, Marseille, France. European Language Resources Associa- tion.
  12. Geoffrey Hinton, Oriol Vinyals, and Jeff Dean. 2015. Distilling the knowledge in a neural net- work. arXiv:1503.02531. · arXiv
  13. Pierre Lison, Jörg Tiedemann, and Milen Kouylekov. 2018. OpenSubtitles2018: Statis- tical rescoring of sentence alignments in large, noisy parallel corpora. In Proceedings of the Eleventh International Conference on Lan- guage Resources and Evaluation (LREC 2018), Miyazaki, Japan. European Language Resources Association (ELRA).
  14. Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoy- anov. 2019. RoBERTa: A robustly optimized BERT pretraining approach. arXiv preprint arXiv:1907.11692. · arXiv
  15. Louis Martin, Benjamin Muller, Pedro Javier Or- tiz Suárez, Yoann Dupont, Laurent Romary, Éric de la Clergerie, Djamé Seddah, and Benoît Sagot. 2020. CamemBERT: a tasty French language model. In Proceedings of the 58th Annual Meet- ing of the Association for Computational Lin- guistics, pages 7203-7219, Online. Association for Computational Linguistics. · DOI
  16. Tomas Mikolov, Edouard Grave, Piotr Bojanowski, Christian Puhrsch, and Armand Joulin. 2018. Advances in pre-training distributed word repre- sentations. In Proceedings of the International Conference on Language Resources and Evalua- tion (LREC 2018).
  17. Vít Novotný, Eniafe Festus Ayetiran, Dalibor Bačovský, Dávid Lupták, Michal Štefánik, and Petr Sojka. 2021. One size does not fit all: Find- ing the optimal subword sizes for FastText mod- els across languages. In Proceedings of the In- ternational Conference on Recent Advances in Natural Language Processing (RANLP 2021), pages 1068-1074, Held Online. INCOMA Ltd.
  18. Telmo Pires, Eva Schlinger, and Dan Garrette. 2019. How multilingual is multilingual BERT? In Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics, pages 4996-5001, Florence, Italy. Association for Computational Linguistics. · DOI · Paper page
  19. Ivan Provilkov, Dmitrii Emelianenko, and Elena Voita. 2020. BPE-dropout: Simple and effective subword regularization. In Proceedings of the 58th Annual Meeting of the Association for Com- putational Linguistics, pages 1882-1892, Online. Association for Computational Linguistics. · DOI
  20. François Remy, Peter De Jaeger, and Kris De- muynck. 2022. Taming large lexicons : trans- lating clinical text using medical ontologies and sentence templates. In EmP : 1st RADar confer- ence on Engineer meets Physician, Proceedings, page 5.
  21. Anna Rogers, Olga Kovaleva, and Anna Rumshisky. 2020. A primer in BERTology: What we know about how BERT works. Trans- actions of the Association for Computational Linguistics, 8:842-866. · DOI · Paper page
  22. Julian Salazar, Davis Liang, Toan Q Nguyen, and Katrin Kirchhoff. 2019. Masked language model scoring. arXiv preprint arXiv:1910.14659. · arXiv
  23. Rico Sennrich, Barry Haddow, and Alexandra Birch. 2016. Neural machine translation of rare words with subword units. In Proceedings of the 54th Annual Meeting of the Association for Com- putational Linguistics (Volume 1: Long Papers), pages 1715-1725, Berlin, Germany. Association for Computational Linguistics. · DOI · Paper page
  24. Benjamin van der Burgh and Suzan Verberne. 2019. The merits of Universal Language Model Fine- tuning for Small Datasets -a case with Dutch book reviews. arXiv:1910.00896 [cs. · arXiv
  25. Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, Aidan N Gomez, Ł ukasz Kaiser, and Illia Polosukhin. 2017. At- tention is all you need. In I. Guyon, U. V. Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, and R. Garnett, editors, Ad- vances in Neural Information Processing Sys- tems 30, pages 5998-6008.
  26. David Vilar and Marcello Federico. 2021. A sta- tistical extension of byte-pair encoding. In Pro- ceedings of the 18th International Conference on Spoken Language Translation (IWSLT 2021), pages 263-275, Bangkok, Thailand (online). As- sociation for Computational Linguistics. · DOI
  27. Wietse de Vries, Martijn Bartelds, Malvina Nissim, and Martijn Wieling. 2021. Adapting monolin- gual models: Data can be scarce when language similarity is high. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 4901-4907, Online. Association for Computational Linguistics. · DOI
  28. Wietse de Vries, Andreas van Cranenburgh, Ar- ianna Bisazza, Tommaso Caselli, Gertjan van Noord, and Malvina Nissim. 2019. BERTje: A Dutch BERT model. arXiv preprint arXiv:1912.09582. · arXiv
  29. Wietse de Vries and Malvina Nissim. 2021. As good as new. how to successfully recycle En- glish GPT-2 to make models for other languages. In Findings of the Association for Computational Linguistics: ACL-IJCNLP 2021, pages 836-846, Online. Association for Computational Linguis- tics. · DOI
  30. Zirui Wang, Zachary C. Lipton, and Yulia Tsvetkov. 2020. On negative interference in multilingual models: Findings and a meta-learning treatment. In Proceedings of the 2020 Conference on Em- pirical Methods in Natural Language Processing (EMNLP), pages 4438-4450, Online. Associa- tion for Computational Linguistics. · DOI
  31. Gijs Wijnholds and Michael Moortgat. 2021. SICK-NL: A dataset for Dutch natural language inference. In Proceedings of the 16th Confer- ence of the European Chapter of the Association for Computational Linguistics: Main Volume, pages 1474-1479.
  32. Yonghui Wu, Mike Schuster, Zhifeng Chen, Quoc V Le, Mohammad Norouzi, Wolfgang Macherey, Maxim Krikun, Yuan Cao, Qin Gao, Klaus Macherey, et al. 2016. Google's neural machine translation system: Bridging the gap between human and machine translation. arXiv preprint arXiv:1609.08144. · arXiv

Cited by

Sorted by citations

Authors
Remy, F., Delobelle, P., Berendt, B., Demuynck, K., & Demeester, T.
Affiliations
  • KU Leuven (BE)
  • Ghent University (BE)
Venue
arXiv
Publisher
arXiv
Published
2023
ISSN
2331-8422 (ISSN-L)
OpenAlex
W4387430778
Cited by
0
References
0
Type
posted content
Language
en
Open access
Locations
  • arXiv (Cornell University) (submittedVersion, cc-by)
  • Lirias (submittedVersion, cc-by-nc-sa)
  • arXiv (Cornell University) (cc-by)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
Keywords
language model adaptation, low-resource languages, embedding initialization, model transformation, multilingual language models, Dutch language, Frisians

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review