Few-Shot Prompting for Extractive Quranic QA with Instruction-Tuned LLMs
Basem, Mohamed, Oshallah, Islam, Hamdi, Ali, Mohammed, Ammar
–arXiv.org Artificial Intelligence
--This paper presents two effective approaches for Extractive Question Answering (QA) on the Qur'an. It addresses challenges related to complex language, unique terminology, and deep meaning in the text. The second uses few-shot prompting with instruction-tuned large language models such as Gemini and DeepSeek. A specialized Arabic prompt framework is developed for span extraction. A strong post-processing system integrates subword alignment, overlap suppression, and semantic filtering. This improves precision and reduces hallucinations. Evaluations show that large language models with Arabic instructions outperform traditional fine-tuned models. The best configuration achieves a pAP@10 score of 0.637. The results confirm that prompt-based instruction tuning is effective for low-resource, semantically rich QA tasks.
arXiv.org Artificial Intelligence
Aug-11-2025
- Country:
- Africa
- Middle East > Egypt
- Giza Governorate > Giza (0.04)
- Sudan (0.04)
- Middle East > Egypt
- Africa
- Genre:
- Research Report > New Finding (0.88)
- Technology: