Arabic Mini-ClimateGPT : A Climate Change and Sustainability Tailored Arabic LLM

Sahal Shaji Mullappilly, Abdelrahman Shaker, Omkar Thawakar, Hisham Cholakkal, Rao Muhammad Anwer, Salman H. Khan, Fahad Shahbaz Khan · DOI

TL;DR

This paper introduces Arabic Mini-ClimateGPT, a specialized open-source LLM fine-tuned for climate change and sustainability discussions in Arabic. By leveraging a novel Arabic instruction-tuning dataset and a retrieval-augmented approach, it significantly outperforms general-purpose LLMs in this domain, addressing a critical gap in accessible climate information for Arabic speakers.

What Problem Does This Paper Address?

Climate change is a pressing global issue, and effective communication and education are crucial for fostering awareness and driving sustainable action. While large language models (LLMs) like ChatGPT have shown impressive conversational capabilities, most are closed-source and not specifically tailored for domain-specific knowledge, especially in languages other than English. This creates a significant barrier for Arabic speakers who need accurate and nuanced information on climate change and sustainability. Existing open-source LLMs, while promising, also struggle with domain-specific accuracy and multilingualism in this critical area.

Methods

The core of Arabic Mini-ClimateGPT is built upon the open-source Vicuna-7B LLM. The key innovation lies in its fine-tuning process, which utilizes a newly created conversational-style instruction-tuning dataset called Clima500-Instruct. This dataset, comprising over 500,000 Arabic instructions related to climate change and sustainability, was meticulously curated by translating existing English datasets and then refining them with ChatGPT acting as an Arabic domain expert, followed by manual filtering and post-processing by native Arabic speakers.

Furthermore, the model incorporates a retrieval-augmented generation (RAG) approach. During inference, user queries are embedded and searched against a vector database of Arabic climate documents. If a relevant context is found, it's used to augment the user's query, providing the LLM with more specific and up-to-date information. This helps to overcome the inherent knowledge limitations of LLMs and allows for more informed responses.

Datasets

  • Clima500-Instruct: A newly introduced, large-scale (over 500k instructions) conversational-style instruction-tuning dataset in Arabic, specifically curated for climate change and sustainability. It was built upon existing datasets like CCMRC and ClimaBench.
  • CCMRC (Climate Change dataset): Used as a source for Clima500-Instruct, this dataset contains climate and sustainability Q&A pairs.
  • ClimaBench: Another dataset used for Clima500-Instruct, providing climate-related text understanding benchmarks, including Clima-QA.

Key Insights and Ideas

  • The critical need for domain-specific, multilingual LLMs: General-purpose LLMs, while powerful, fall short when specialized knowledge and nuanced language are required, especially for under-resourced languages like Arabic in critical domains like climate change.
  • The power of curated instruction-tuning datasets: The creation of Clima500-Instruct, with its focus on conversational style and expert-driven refinement, was instrumental in achieving high performance. This highlights the importance of high-quality, domain-specific training data.
  • Retrieval augmentation significantly enhances LLM performance: Integrating a vector database for context retrieval allows the model to access and utilize external, up-to-date information, leading to more accurate and relevant responses.
  • Human evaluation is paramount for assessing nuanced performance: While automated evaluations are useful, human expert evaluations provide crucial insights into the quality, coherence, and factual accuracy of responses, especially in complex domains.

Key Results

  • ChatGPT-based evaluation: Arabic Mini-ClimateGPT achieved an 88.3% win rate against baseline LLMs, indicating superior performance in generating relevant responses.
  • Human expert evaluation: Native Arabic speakers preferred the model's responses in 81.6% of cases when compared to popular open-source models like Vicuna, Alpaca-Arabic, and Dolly v2.
  • Outperforms naive baselines: When compared against baselines that involved translating queries and responses to/from English, Arabic Mini-ClimateGPT still achieved significantly higher win rates (e.g., 73.98% vs. 25.84% against Vicuna_tr).

Limitations and Future Work

  • Language limitation: The current model is exclusively focused on Arabic and cannot process visual data. The authors suggest integrating vision encoders for multimodal climate-related modalities as a promising future direction.
  • Potential for bias: As the model is based on LLaMA, it may inherit biases present in its training data. The authors acknowledge that prompts could be manipulated to elicit racial biases.
  • Out-of-domain queries and prompt hacking: The model struggles with questions outside its fine-tuned domain and can be susceptible to prompt hacking, often providing generic responses in such cases.
  • Knowledge limitations: While retrieval augmentation helps, the underlying LLM's knowledge is still derived from its training data, which may contain inaccuracies.

The authors emphasize the open-source nature of their work, releasing their models, code, and the Clima500-Instruct dataset, hoping to foster further research and development in this crucial area.

Summary updated

BibTeX
@inproceedings{mullappilly2023arabic,
  author = {Sahal Shaji Mullappilly and Abdelrahman Shaker and Omkar Thawakar and Hisham Cholakkal and Rao Muhammad Anwer and Salman H. Khan and Fahad Shahbaz Khan},
  title = {{Arabic Mini-ClimateGPT : A Climate Change and Sustainability Tailored Arabic LLM}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2023},
  doi = {10.18653/v1/2023.findings-emnlp.941},
}
Figure