From RAG to Agentic RAG for Faithful Islamic Question Answering
Gagan Bhatia, Hamdy Mubarak, Mustafa Jarrar, George Mikros, Fadi Zaraket, Mahmoud Alhirthani, Mutaz Al-Khatib, Logan Cochrane, Kareem Darwish, Rashid Yahiaoui, Firoj Alam
TL;DR
This work tackles hallucination and abstention in Islamic question answering by introducing IslamicFaithQA, a bilingual benchmark with 3,810 Arabic–English questions and atomic single-gold answers. It pairs this with an end-to-end data suite (25K Arabic text-grounded SFT pairs, 5K bilingual RL samples, and a Qur'an ayat retrieval corpus of 6,236 units) and proposes an agentic RAG framework that uses structured tool calls to iteratively seek evidence and revise answers. Across Arabic-centric and multilingual LLMs, retrieval consistently improves correctness, and agentic RAG yields the largest gains, achieving state-of-the-art performance and reducing Arabic–English gaps even for smaller models like Qwen3-4B-2507 and Fanar variants. The authors release the experimental resources and datasets to the community, highlighting the practical potential of grounding and tool-augmented reasoning for trustworthy Islamic assistants while noting limitations related to madhahib diversity and potential citation manipulation.
Abstract
LLMs are increasingly used for Islamic question answering, where ungrounded responses may carry serious religious consequences. Yet standard MCQ/MRC-style evaluations do not capture key real-world failure modes, notably free-form hallucinations and whether models appropriately abstain when evidence is lacking. To shed a light on this aspect we introduce ISLAMICFAITHQA, a 3,810-item bilingual (Arabic/English) generative benchmark with atomic single-gold answers, which enables direct measurement of hallucination and abstention. We additionally developed an end-to-end grounded Islamic modelling suite consisting of (i) 25K Arabic text-grounded SFT reasoning pairs, (ii) 5K bilingual preference samples for reward-guided alignment, and (iii) a verse-level Qur'an retrieval corpus of $\sim$6k atomic verses (ayat). Building on these resources, we develop an agentic Quran-grounding framework (agentic RAG) that uses structured tool calls for iterative evidence seeking and answer revision. Experiments across Arabic-centric and multilingual LLMs show that retrieval improves correctness and that agentic RAG yields the largest gains beyond standard RAG, achieving state-of-the-art performance and stronger Arabic-English robustness even with a small model (i.e., Qwen3 4B). We will make the experimental resources and datasets publicly available for the community.
