[Paper Review] DTW at Qur'an QA 2022: Utilising Transfer Learning with Transformers for Question Answering in a Low-resource Domain
This paper presents a transfer learning and ensemble learning approach using AraELECTRA and CamelBERT to improve machine reading comprehension on the low-resource Qur'anic text domain. By fine-tuning on Arabic MRC data (SOQAL) and applying self-ensemble strategies, the method achieved a 0.495 partial Reciprocal Rank (pRR) on the Qur’an QA 2022 test set, demonstrating strong performance in low-resource religious NLP tasks.
The task of machine reading comprehension (MRC) is a useful benchmark to evaluate the natural language understanding of machines. It has gained popularity in the natural language processing (NLP) field mainly due to the large number of datasets released for many languages. However, the research in MRC has been understudied in several domains, including religious texts. The goal of the Qur'an QA 2022 shared task is to fill this gap by producing state-of-the-art question answering and reading comprehension research on Qur'an. This paper describes the DTW entry to the Quran QA 2022 shared task. Our methodology uses transfer learning to take advantage of available Arabic MRC data. We further improve the results using various ensemble learning strategies. Our approach provided a partial Reciprocal Rank (pRR) score of 0.49 on the test set, proving its strong performance on the task.
Motivation & Objective
- Address the lack of research in machine reading comprehension (MRC) for religious, low-resource texts like the Qur’an.
- Overcome the challenge of limited annotated data in the Qur’an MRC dataset (1,337 examples) compared to large-scale datasets like SQuAD.
- Evaluate the effectiveness of transfer learning from existing Arabic MRC resources (e.g., SOQAL) to improve performance on the Qur’anic MRC task.
- Investigate whether ensemble learning enhances model robustness and performance on the Qur’anic MRC benchmark.
- Provide open-source code, pre-trained models, and reproducible Docker images to support future research in low-resource NLP.
Proposed method
- Fine-tuned pre-trained Transformer models (AraELECTRA, CamelBERT, mBERT, AraBERTv2) on the Qur’an QA 2022 dataset using transfer learning.
- Applied transfer learning from the SOQAL Arabic MRC dataset to improve generalization and performance on the smaller Qur’anic dataset.
- Implemented self-ensemble learning by combining predictions from multiple models to improve robustness and performance.
- Used partial Reciprocal Rank (pRR), Exact Match (EM), and F1@1 as evaluation metrics to assess model performance on dev and test sets.
- Pre-processed Qur’anic text to handle special characters and diacritics, improving model compatibility with standard NLP tokenizers.
- Deployed experiments via a Docker container compliant with ACL reproducibility standards and released code, models, and tools on GitHub, PyPI, and Hugging Face.
Experimental results
Research questions
- RQ1Do ensemble models provide better results compared to single models in the Qur’an QA 2022 task?
- RQ2Can transfer learning from other Arabic MRC datasets (e.g., SOQAL) improve performance on the low-resource Qur’anic MRC dataset?
- RQ3Which pre-trained Transformer model architecture performs best on the Qur’anic MRC benchmark?
- RQ4How does transfer learning affect model generalization when training data is scarce?
- RQ5Can open-sourcing models and code accelerate research in low-resource religious NLP domains?
Key findings
- The AraELECTRA-discriminator model achieved the highest pRR score of 0.616 on the dev set after transfer learning from SOQAL, outperforming other models.
- Ensemble learning significantly improved model stability and performance, with the best ensemble model achieving 0.495 pRR on the test set.
- Transfer learning from SOQAL improved the AraELECTRA-discriminator’s pRR from 0.528 to 0.616 on the dev set, confirming its effectiveness for low-resource settings.
- The camelbert-mix model without transfer learning saw a 47% drop in pRR (from 0.549 to 0.290), highlighting the importance of transfer learning in low-data regimes.
- The final submission using AraELECTRA-discriminator with both transfer learning and ensemble learning achieved a test set pRR of 0.495, the best among all submitted models.
- The study demonstrates that transfer learning and ensemble methods can effectively bridge performance gaps in low-resource MRC tasks, especially for religious texts with limited annotated data.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.