Proceedings

GreenPLM: Cross-Lingual Transfer of Monolingual Pre-Trained Language Models at Almost No Cost

Download BibTeX Cite

Proceedings of the Thirty-Second International Joint Conference on Artificial Intelligence. AI for Good. Pages 6290-6298.

https://doi.org/10.24963/ijcai.2023/698

Abstract

Large pre-trained models have revolutionized natural language processing (NLP) research and applications, but high training costs and limited data resources have prevented their benefits from being shared equally amongst speakers of all the world's languages. To address issues of cross-linguistic access to such models and reduce energy consumption for sustainability during large-scale model training, this study proposes an effective and energy-efficient framework called GreenPLM that uses bilingual lexicons to directly ``translate'' pre-trained language models of one language into another at almost no additional cost. We validate this approach in 18 languages' BERT models and show that this framework is comparable to, if not better than, other heuristics with high training costs. In addition, given lightweight continued pre-training on limited data where available, this framework outperforms the original monolingual language models in six out of seven tested languages with up to 200x less pre-training efforts. Aiming at the Leave No One Behind Principle (LNOB), our approach manages to reduce inequalities between languages and energy consumption greatly. We make our codes and models publicly available at https://github.com/qcznlp/GreenPLMs.

  1. [Adelani et al., 2021] David Ifeoluwa Adelani, Jade Abbott, Graham Neubig, Daniel D'souza, Julia Kreutzer, Constan- tine Lignos, Chester Palen-Michel, Happy Buzaaba, Shruti Rijhwani, Sebastian Ruder, Stephen Mayhew, Israel Abebe Azime, Shamsuddeen H. Muhammad, Chris Chinenye Emezue, Joyce Nakatumba-Nabende, Perez Ogayo, Aremu Anuoluwapo, Catherine Gitau, Derguene Mbaye, Jesujoba Alabi, Seid Muhie Yimam, Tajuddeen Rabiu Gwadabe, Ig- natius Ezeani, Rubungo Andre Niyongabo, Jonathan Mukiibi, Verrah Otiende, Iroro Orife, Davis David, Samba Ngom, Tosin Adewumi, Paul Rayson, Mofetoluwa Adeyemi, Gerald Muriuki, Emmanuel Anebi, Chiamaka Chukwuneke, Nkiruka Odu, Eric Peter Wairagala, Samuel Oyerinde, Clemencia Siro, Tobius Saul Bateesa, Temilola Oloyede, Yvonne Wambui, Victor Akinode, Deborah Nabagereka, Maurice Katusiime, Ayodele Awokoya, Mouhamadane MBOUP, Dibora Gebreyohannes, Henok Tilaye, Kelechi Nwaike, Degaga Wolde, Abdoulaye Faye, Blessing Sibanda, Orevaoghene Ahia, Bonaventure F. P. Dossou, Kelechi Ogueji, Thierno Ibrahima DIOP, Abdoulaye Diallo, Adewale Akinfaderin, Tendai Marengereke, and Salomey Osei. MasakhaNER: Named entity recognition for African languages. Transactions of the Association for Computational Linguistics, 9:1116-1131, 2021.
  2. [Artetxe et al., 2016] Mikel Artetxe, Gorka Labaka, and Eneko Agirre. Learning principled bilingual mappings of word embed- dings while preserving monolingual invariance. In Proceedings of the 2016 EMNLP, pages 2289-2294, Austin, Texas, November 2016.
  3. [Artetxe et al., 2020] Mikel Artetxe, Sebastian Ruder, and Dani Yo- gatama. On the cross-lingual transferability of monolingual rep- resentations. In Proceedings of the 58th ACL, pages 4623-4637, Online, July 2020.
  4. [Assembly, 2015] UN General Assembly. Transforming our world: the 2030 agenda for sustainable development. https://www. refworld.org/docid/57b6e3e44.html, 2015. Accessed: 2023-06- 13. Link
  5. [Bird, 2020] Steven Bird. Decolonising speech and language tech- nology. In Proceedings of the 28th COLING, pages 3504-3519, Barcelona, Spain (Online), December 2020.
  6. [Blevins and Zettlemoyer, 2022] Terra Blevins and Luke Zettle- moyer. Language contamination helps explains the cross-lingual capabilities of English pretrained models. In Proceedings of the 2022 EMNLP, pages 3563-3574, Abu Dhabi, United Arab Emi- rates, December 2022.
  7. [Brown et al., 2020] Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, 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, Ma- teusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christo- pher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. Language models are few-shot learners. In H. Larochelle, M. Ranzato, R. Hadsell, M.F. Balcan, and H. Lin, editors, NIPS, volume 33, pages 1877-1901.
  8. Curran Associates, Inc., 2020.
  9. [Cañete et al., 2020] José Cañete, Gabriel Chaperon, Rodrigo Fuentes, Jou-Hui Ho, Hojin Kang, and Jorge Pérez. Spanish pre- trained bert model and evaluation data. In PML4DC at ICLR 2020, 2020.
  10. [Chen et al., 2022] Cheng Chen, Yichun Yin, Lifeng Shang, Xin Jiang, Yujia Qin, Fengyu Wang, Zhi Wang, Xiao Chen, Zhiyuan Liu, and Qun Liu. bert2BERT: Towards reusable pretrained lan- guage models. In Proceedings of the 60th ACL, pages 2134- 2148, Dublin, Ireland, May 2022. [Conneau and Lample, 2019] Alexis Conneau and Guillaume Lam- ple. Cross-Lingual Language Model Pretraining. Curran Asso- ciates Inc., Red Hook, NY, USA, 2019.
  11. [Conneau et al., 2017] Alexis Conneau, Guillaume Lample, Marc'Aurelio Ranzato, Ludovic Denoyer, and Hervé Jégou. Word translation without parallel data. arXiv preprint arXiv:1710.04087, 2017.
  12. [Conneau et al., 2020a] Alexis Conneau, Kartikay Khandelwal, Naman Goyal, Vishrav Chaudhary, Guillaume Wenzek, Fran- cisco Guzmán, Edouard Grave, Myle Ott, Luke Zettlemoyer, and Veselin Stoyanov. Unsupervised cross-lingual representation learning at scale. In Proceedings of the 58th ACL, pages 8440- 8451, Online, July 2020.
  13. [Conneau et al., 2020b] Alexis Conneau, Shijie Wu, Haoran Li, Luke Zettlemoyer, and Veselin Stoyanov. Emerging cross-lingual structure in pretrained language models. In Proceedings of the 58th ACL, pages 6022-6034, Online, July 2020.
  14. [Cruz and Cheng, 2019] Jan Christian Blaise Cruz and Charibeth Cheng. Evaluating language model finetuning techniques for low-resource languages. arXiv preprint arXiv:1907.00409, 2019.
  15. [Cruz and Cheng, 2020] Jan Christian Blaise Cruz and Charibeth Cheng. Establishing baselines for text classification in low- resource languages. arXiv preprint arXiv:2005.02068, 2020.
  16. [Cruz et al., 2020] Jan Christian Blaise Cruz, Jose Kristian Resa- bal, James Lin, Dan John Velasco, and Charibeth Cheng. Investi- gating the true performance of transformers in low-resource lan- guages: A case study in automatic corpus creation. arXiv preprint arXiv:2010.11574, 2020.
  17. [de Marneffe et al., 2021] Marie-Catherine de Marneffe, Christo- pher D. Manning, Joakim Nivre, and Daniel Zeman. Univer- sal Dependencies. Computational Linguistics, 47(2):255-308, 07 2021.
  18. [de Vries and Nissim, 2021] Wietse de Vries and Malvina Nissim. As good as new. how to successfully recycle English GPT-2 to make models for other languages. In Findings of the ACL: ACL- IJCNLP 2021, pages 836-846, Online, August 2021.
  19. [Devlin et al., 2019] Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. BERT: Pre-training of deep bidirectional transformers for language understanding. In Proceedings of the 2019 NAACL-HLT, pages 4171-4186, Minneapolis, Minnesota, June 2019.
  20. [Dumitrescu et al., 2020] Stefan Dumitrescu, Andrei-Marius Avram, and Sampo Pyysalo. The birth of Romanian BERT. In Findings of the ACL: EMNLP 2020, pages 4324-4328, Online, November 2020.
  21. [Ebrahimi and Kann, 2021] Abteen Ebrahimi and Katharina Kann. How to adapt your pretrained multilingual model to 1600 lan- guages. In Proceedings of the 59th ACL, pages 4555-4567, On- line, August 2021.
  22. [Farahani et al., 2021] Mehrdad Farahani, Mohammad Gharachor- loo, Marzieh Farahani, and Mohammad Manthouri. ParsBERT: Transformer-based model for persian language understanding. Neural Processing Letters, 53(6):3831-3847, oct 2021.
  23. [Joshi et al., 2020] Pratik Joshi, Sebastin Santy, Amar Budhiraja, Kalika Bali, and Monojit Choudhury. The state and fate of lin- guistic diversity and inclusion in the NLP world. In Proceedings of the 58th ACL, pages 6282-6293, Online, July 2020.
  24. [Kamholz et al., 2014] David Kamholz, Jonathan Pool, and Susan Colowick. PanLex: Building a resource for panlingual lexical translation. In Proceedings of the Ninth LREC, pages 3145-3150, Reykjavik, Iceland, May 2014.
  25. [Koto et al., 2020] Fajri Koto, Afshin Rahimi, Jey Han Lau, and Timothy Baldwin. IndoLEM and IndoBERT: A benchmark dataset and pre-trained language model for Indonesian NLP. In Proceedings of the 28th COLING, pages 757-770, Barcelona, Spain (Online), December 2020.
  26. [Lewis et al., 2020] Mike Lewis, Yinhan Liu, Naman Goyal, Mar- jan Ghazvininejad, Abdelrahman Mohamed, Omer Levy, Veselin Stoyanov, and Luke Zettlemoyer. BART: Denoising sequence- to-sequence pre-training for natural language generation, transla- tion, and comprehension. In Proceedings of the 58th ACL, pages 7871-7880, Online, July 2020.
  27. [Lin et al., 2019] Yu-Hsiang Lin, Chian-Yu Chen, Jean Lee, Zirui Li, Yuyan Zhang, Mengzhou Xia, Shruti Rijhwani, Junxian He, Zhisong Zhang, Xuezhe Ma, Antonios Anastasopoulos, Patrick Littell, and Graham Neubig. Choosing transfer languages for cross-lingual learning. In Proceedings of the 57th ACL, pages 3125-3135, Florence, Italy, July 2019.
  28. [Liu et al., 2022] Pengfei Liu, Weizhe Yuan, Jinlan Fu, Zhengbao Jiang, Hiroaki Hayashi, and Graham Neubig. Pre-train, prompt, and predict: A systematic survey of prompting methods in natural language processing. ACM Comput. Surv., sep 2022.
  29. [Minixhofer et al., 2022] Benjamin Minixhofer, Fabian Paischer, and Navid Rekabsaz. WECHSEL: Effective initialization of sub- word embeddings for cross-lingual transfer of monolingual lan- guage models. In Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 3992-4006, Seattle, United States, July 2022. Association for Computational Linguistics.
  30. [Muller et al., 2021] Benjamin Muller, Antonios Anastasopoulos, Benoît Sagot, and Djamé Seddah. When being unseen from mBERT is just the beginning: Handling new languages with mul- tilingual language models. In Proceedings of the 2021 NAACL- HLT, pages 448-462, Online, June 2021. [OpenAI, 2023] OpenAI. Gpt-4 technical report. ArXiv, abs/2303.08774, 2023.
  31. [Ortiz Suárez et al., 2019] Pedro Javier Ortiz Suárez, Benoît Sagot, and Laurent Romary. Asynchronous pipelines for processing huge corpora on medium to low resource infrastructures. Pro- ceedings of the Workshop on Challenges in the Management of Large Corpora (CMLC-7) 2019. Cardiff, 22nd July 2019, pages 9 -16, Mannheim, 2019. Leibniz-Institut für Deutsche Sprache.
  32. [Peters et al., 2018] Matthew E. Peters, Mark Neumann, Mohit Iyyer, Matt Gardner, Christopher Clark, Kenton Lee, and Luke Zettlemoyer. Deep contextualized word representations. In Pro- ceedings of the 2018 NAACL-HLT, pages 2227-2237, New Or- leans, Louisiana, June 2018.
  33. [Pires et al., 2019] Telmo Pires, Eva Schlinger, and Dan Garrette. How multilingual is multilingual BERT? In Proceedings of the 57th ACL, pages 4996-5001, Florence, Italy, July 2019.
  34. [Qin et al., 2022] Yujia Qin, Yankai Lin, Jing Yi, Jiajie Zhang, Xu Han, Zhengyan Zhang, Yusheng Su, Zhiyuan Liu, Peng Li, Maosong Sun, and Jie Zhou. Knowledge inheritance for pre- trained language models. In Proceedings of the 2022 NAACL- HLT, pages 3921-3937, Seattle, United States, July 2022.
  35. [Raffel et al., 2020] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. Exploring the limits of transfer learn- ing with a unified text-to-text transformer. JMLR, 21(140):1-67, 2020.
  36. [Schwartz et al., 2020] Roy Schwartz, Jesse Dodge, Noah A Smith, and Oren Etzioni. Green ai. Communications of the ACM, 63(12):54-63, 2020.
  37. [Schweter, 2020a] Stefan Schweter. Berturk -bert models for turk- ish. https://doi.org/10.5281/zenodo.3770924, 2020. Accessed: 2023-06-13. DOI
  38. [Schweter, 2020b] Stefan Schweter. Italian bert and electra models. https://doi.org/10.5281/zenodo.4263142, 2020. Accessed: 2023- 06-13. DOI
  39. [Strubell et al., 2019] Emma Strubell, Ananya Ganesh, and An- drew McCallum. Energy and policy considerations for deep learning in NLP. In Proceedings of the 57th ACL, pages 3645- 3650, Florence, Italy, July 2019.
  40. [Strubell et al., 2020] Emma Strubell, Ananya Ganesh, and An- drew McCallum. Energy and policy considerations for modern deep learning research. Proceedings of the AAAI, 34(09):13693- 13696, Apr. 2020.
  41. [Tiedemann and Nygaard, 2004] Jörg Tiedemann and Lars Ny- gaard. The OPUS corpus -parallel and free: http://logos.uio. no/opus. In Proceedings of the Fourth LREC, Lisbon, Portugal, May 2004. Link
  42. [Tran, 2020] Ke Tran. From english to foreign languages: Transferring pre-trained language models. arXiv preprint arXiv:2002.07306, 2020.
  43. [Vaswani et al., 2017] Ashish Vaswani, Noam Shazeer, Niki Par- mar, Jakob Uszkoreit, Llion Jones, Aidan N. Gomez, Łukasz Kaiser, and Illia Polosukhin. Attention is all you need. In Pro- ceedings of the 31st International Conference on Neural Informa- tion Processing Systems, NIPS'17, page 6000-6010, Red Hook, NY, USA, 2017.
  44. [Curran Associates Inc. Wang et al., 2022] Xinyi Wang, Sebastian Ruder, and Graham Neubig. Expanding pretrained models to thousands more lan- guages via lexicon-based adaptation. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 863-877, Dublin, Ireland, May 2022. Association for Computational Linguistics.
  45. [Warstadt et al., 2023] Alex Warstadt, Leshem Choshen, Aaron Mueller, Adina Williams, Ethan Wilcox, and Chengxu Zhuang. Call for papers-the babylm challenge: Sample-efficient pre- training on a developmentally plausible corpus. arXiv preprint arXiv:2301.11796, 2023.
  46. [Wu and Dredze, 2020] Shijie Wu and Mark Dredze. Are all lan- guages created equal in multilingual BERT? In Proceedings of the 5th Workshop on Representation Learning for NLP, pages 120-130, Online, July 2020.
  47. [Yang and Zhang, 2018] Jie Yang and Yue Zhang. NCRF++: An open-source neural sequence labeling toolkit. In Proceedings of ACL 2018, System Demonstrations, pages 74-79, Melbourne, Australia, July 2018.
  48. [Yao et al., 2022] Xingcheng Yao, Yanan Zheng, Xiaocong Yang, and Zhilin Yang. NLP from scratch without large-scale pretrain- ing: A simple and efficient framework. In Kamalika Chaud- huri, Stefanie Jegelka, Le Song, Csaba Szepesvari, Gang Niu, and Sivan Sabato, editors, Proceedings of the 39th ICML, vol- ume 162 of PMLR, pages 25438-25451. PMLR, 17-23 Jul 2022.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards