Optimizing RAG Pipelines for Arabic: A Systematic Analysis of Core Components

Jumana Alsubhi, Mohammad D. Alahmadi, Ahmed Alhusayni, Ibrahim Aldailami, Israa Hamdine +3 more
6/1/2025
cs.IRcs.AIcs.CL

No confident code implementation found for this paper.

Abstract

Retrieval-Augmented Generation (RAG) has emerged as a powerful architecture for combining the precision of retrieval systems with the fluency of large language models. While several studies have investigated RAG pipelines for high-resource languages, the optimization of RAG components for Arabic remains underexplored. This study presents a comprehensive empirical evaluation of state-of-the-art RAG components-including chunking strategies, embedding models, rerankers, and language models-across a diverse set of Arabic datasets. Using the RAGAS framework, we systematically compare performance across four core metrics: context precision, context recall, answer faithfulness, and answer relevancy. Our experiments demonstrate that sentence-aware chunking outperforms all other segmentation methods, while BGE-M3 and Multilingual-E5-large emerge as the most effective embedding models. The inclusion of a reranker (bge-reranker-v2-m3) significantly boosts faithfulness in complex datasets, and Aya-8B surpasses StableLM in generation quality. These findings provide critical insights for building high-quality Arabic RAG pipelines and offer practical guidelines for selecting optimal components across different document types.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{alsubhi2025optimizing,
  title  = {Optimizing RAG Pipelines for Arabic: A Systematic Analysis of Core Components},
  author = {Jumana Alsubhi and Mohammad D. Alahmadi and Ahmed Alhusayni and Ibrahim Aldailami and Israa Hamdine and Ahmad Shabana and Yazeed Iskandar and Suhayb Khayyat},
  year   = {2025},
  eprint = {2506.06339},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.06339v1}
}

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

Discussion