Implementation of RAG in Jambi Cultural Information Question Answering System Using Qwen2.5-7B
DOI:
https://doi.org/10.30871/jaic.v10i5.14127Keywords:
Confidence Scorer, Hallucination, Hybrid Search, Jambi Culture, RAGAbstract
Large Language Models (LLMs) are inherently closed-book, making them prone to hallucination when answering domain-specific queries with limited training data, such as local culture. Information on Jambi's cultural heritage remains scattered across various sources, causing inefficient integrated retrieval. This study implements a Retrieval-Augmented Generation (RAG) architecture using the open-source LLM Qwen2.5-7B, strengthened by Hybrid Search (BM25 and dense retrieval fused via Reciprocal Rank Fusion), BGE-Reranker-Large reranking, and a Confidence Scorer. Three retrieval configurations Dense RAG, BM25 RAG, and Hybrid RAG were evaluated end-to-end using 130 In-Domain (ID) and 50 Out-of-Context (OOC) test queries, measured through Precision@10, Recall@10, Final Context Precision/Recall, BLEU-1, BLEU-4, ROUGE-L, Groundedness, and Rejection metrics (FRR/TRR). Results show that Dense RAG performed most dominantly end-to-end, achieving the highest Pure Recall@10 (0.992), BLEU-1 (0.499), ROUGE-L (0.506), Groundedness (0.611), and lowest False Rejection Rate (11.5%). BM25 RAG showed a specific advantage in Final Context Precision (0.746) after reranking. Hybrid RAG offered a competitive performance compromise, with Final Recall (0.938) and BLEU-4 (0.288) on par with Dense, alongside absolute hallucination protection (100% True Rejection Rate) on OOC queries. These findings indicate that while Hybrid fusion and the Confidence Scorer effectively mitigate hallucination, pure Dense retrieval consistently provides the most robust context support on the tested Jambi Culture dataset. These results demonstrate that systematic Hybrid Search and Confidence Scorer integration, combined with a dual In-Domain/Out-of-Context evaluation framework, provides a practical and empirically grounded configuration guideline for building hallucination-resistant RAG systems in low-resource local-culture domains.
Downloads
References
[1] P. Lewis et al., "Retrieval-augmented generation for knowledge-intensive NLP tasks," Adv. Neural Inf. Process. Syst., vol. 2020-Decem, 2020.
[2] Z. Ji et al., "Survey of Hallucination in Natural Language Generation," ACM Comput. Surv., vol. 55, no. 12, 2023, doi: 10.1145/3571730.
[3] L. Huang et al., "A Survey on Hallucination in Large Language Models: Principles, Taxonomy, Challenges, and Open Questions," ACM Trans. Inf. Syst., vol. 43, no. 2, 2025, doi: 10.1145/3703155.
[4] S. Farquhar, J. Kossen, L. Kuhn, and Y. Gal, "Detecting hallucinations in large language models using semantic entropy," Nature, vol. 630, no. 8017, pp. 625-630, 2024, doi: 10.1038/s41586-024-07421-0.
[5] BPSDM Provinsi Jambi, "Warisan Budaya dan Kekayaan Tradisi Suku Jambi," Portal BPSDM Provinsi Jambi. [Online]. Available: https://portalbpsdm.jambiprov.go.id/artikel/buku-sastra/warisan-budaya-dan-kekayaan-tradisi-suku-jambi/
[6] S. Robertson and H. Zaragoza, The probabilistic relevance framework: BM25 and beyond, vol. 3, no. 4. 2009. doi: 10.1561/1500000019.
[7] W. Fan et al., "A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models," Proc. ACM SIGKDD Int. Conf. Knowl. Discov. Data Min., pp. 6491-6501, 2024, doi: 10.1145/3637528.3671470.
[8] C. C. Chang, H. P. Chang, and H. S. Lee, "Leveraging Retrieval-Augmented Generation for Culturally Inclusive Hakka Chatbots: Design Insights and User Perceptions," RASSE 2024 - 2024 IEEE Int. Conf. Recent Adv. Syst. Sci. Eng. Proc., 2024, doi: 10.1109/RASSE64357.2024.10773731.
[9] L. Xu, L. Lu, M. Liu, C. Song, and L. Wu, "Nanjing Yunjin intelligent question-answering system based on knowledge graphs and retrieval augmented generation technology," Herit. Sci., vol. 12, no. 1, pp. 1-24, 2024, doi: 10.1186/s40494-024-01231-3.
[10] A. Bora and H. Cuayahuitl, "Systematic Analysis of Retrieval-Augmented Generation-Based LLMs for Medical Chatbot Applications," Mach. Learn. Knowl. Extr., vol. 6, no. 4, pp. 2355-2374, 2024, doi: 10.3390/make6040116.
[11] Z. Zhao and D. Wang, "Evaluation of large language models for the intangible cultural heritage domain," npj Herit. Sci., vol. 13, no. 1, pp. 1-11, 2025, doi: 10.1038/s40494-025-02013-1.
[12] K. Papineni, S. Roukos, T. Ward, and W.-J. Zhu, "BLEU: a method for automatic evaluation of machine translation," in Proceedings of the 40th Annual Meeting of the Association for Computational Linguistics (ACL), Philadelphia, PA, USA, 2002, pp. 311-318. doi: 10.3115/1073083.1073135.
[13] V. Karpukhin et al., "Dense passage retrieval for open-domain question answering," EMNLP 2020 - 2020 Conf. Empir. Methods Nat. Lang. Process. Proc. Conf., pp. 6769-6781, 2020, doi: 10.18653/v1/2020.emnlp-main.550.
[14] G. V. Cormack, C. L. A. Clarke, and S. Buettcher, "Reciprocal rank fusion outperforms condorcet and individual rank learning methods," Proc. - 32nd Annu. Int. ACM SIGIR Conf. Res. Dev. Inf. Retrieval, SIGIR 2009, pp. 758-759, 2009, doi: 10.1145/1571941.1572114.
[15] S. Xiao, Z. Liu, P. Zhang, N. Muennighoff, D. Lian, and J. Y. Nie, C-Pack: Packed Resources For General Chinese Embeddings, vol. 1, no. 1. Association for Computing Machinery, 2024. doi: 10.1145/3626772.3657878.
[16] O. Khattab and M. Zaharia, "ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERT," SIGIR 2020 - Proc. 43rd Int. ACM SIGIR Conf. Res. Dev. Inf. Retr., pp. 39-48, 2020, doi: 10.1145/3397271.3401075.
[17] A. Kamath, R. Jia, and P. Liang, "Selective question answering under domain shift," Proc. Annu. Meet. Assoc. Comput. Linguist., pp. 5684-5696, 2020, doi: 10.18653/v1/2020.acl-main.503.
[18] Qwen Team, "Qwen2.5: A Party of Foundation Models," Qwen Blog, Sep. 19, 2024. [Online]. Available: https://qwenlm.github.io/blog/qwen2.5/. [Accessed: Sep. 04, 2026].
[19] C.-Y. Lin, "A Package for Automatic Evaluation of Summaries," Text Summ. Branches Out, pp. 74-81, 2004.
[20] C. C. Chang, C. F. Li, C. H. Lee, and H. S. Lee, "Enhancing Low-Resource Minority Language Translation with LLMs and Retrieval-Augmented Generation for Cultural Nuances," in Intelligent Systems and Applications (IntelliSys 2025), Lecture Notes in Networks and Systems, vol. 1567, Springer, 2025.
[21] E. V. Ndimbo, Q. Luo, G. C. Fernando, X. Yang, and B. Wang, "Leveraging Retrieval-Augmented Generation for Swahili Language Conversation Systems," Applied Sciences, vol. 15, no. 2, p. 524, 2025, doi: 10.3390/app15020524.
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2026 Devit Saputra, Uung Ungkawa

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License (Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) ) that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See The Effect of Open Access).



