Adapting Multilingual LLMs to Low-Resource Languages with Knowledge Graphs via Adapters

Daniil Gurgurov,Mareike Hartmann,Simon Ostermann
2024-07-23
Abstract:This paper explores the integration of graph knowledge from linguistic ontologies into multilingual Large Language Models (LLMs) using adapters to improve performance for low-resource languages (LRLs) in sentiment analysis (SA) and named entity recognition (NER). Building upon successful parameter-efficient fine-tuning techniques, such as K-ADAPTER and MAD-X, we propose a similar approach for incorporating knowledge from multilingual graphs, connecting concepts in various languages with each other through linguistic relationships, into multilingual LLMs for LRLs. Specifically, we focus on eight LRLs -- Maltese, Bulgarian, Indonesian, Nepali, Javanese, Uyghur, Tibetan, and Sinhala -- and employ language-specific adapters fine-tuned on data extracted from the language-specific section of ConceptNet, aiming to enable knowledge transfer across the languages covered by the knowledge graph. We compare various fine-tuning objectives, including standard Masked Language Modeling (MLM), MLM with full-word masking, and MLM with targeted masking, to analyse their effectiveness in learning and integrating the extracted graph data. Through empirical evaluation on language-specific tasks, we assess how structured graph knowledge affects the performance of multilingual LLMs for LRLs in SA and NER, providing insights into the potential benefits of adapting language models for low-resource scenarios.
Computation and Language,Artificial Intelligence
What problem does this paper attempt to address?
The paper aims to address the poor performance of Low-Resource Languages (LRLs) in Sentiment Analysis (SA) and Named Entity Recognition (NER) tasks. Specifically, the authors propose a method to inject structured knowledge from multilingual knowledge graphs (such as ConceptNet) into Multilingual Large Language Models (LLMs) through adapters to improve the performance of these models on low-resource languages. The authors focus on eight low-resource languages: Maltese, Bulgarian, Indonesian, Nepali, Javanese, Uyghur, Tibetan, and Sinhala. The study employs various fine-tuning objectives, including standard Masked Language Modeling (MLM), Full-Word Masked Language Modeling (FLM), and Targeted Masked Language Modeling (TLM), to evaluate their effectiveness in learning and integrating the extracted knowledge graph data. Through empirical evaluation, the authors explore how structured graph knowledge impacts the performance of multilingual LLMs on SA and NER tasks in low-resource languages and provide insights into the potential benefits of adapting language models to address low-resource scenarios.