Perbandingan RAG Konvensional dan Agentic RAG Terhadap Kualitas Jawaban pada Sistem Pencarian Informasi pada Dokumentasi IT

Authors

  • Adrian Hartanto Teknik Informatika S-2, Program Pascasarjana, Universitas Pamulang, Kota Tangerang Selatan, Banten
  • Arya Adhyaksa Waskita Teknik Informatika S-2, Program Pascasarjana, Universitas Pamulang, Kota Tangerang Selatan, Banten
  • Makhsun Teknik Informatika S-2, Program Pascasarjana, Universitas Pamulang, Kota Tangerang Selatan, Banten

Keywords:

Retrieval-Augmented Generation, Agentic RAG, Large Language Models, RAGAS

Abstract

Retrieval-Augmented Generation (RAG) is widely adopted in document-based question answering systems to improve factual grounding of large language models (LLMs). However, conventional RAG operates in a single-pass pipeline, limiting its effectiveness in handling complex queries that require multi-step reasoning. Agentic RAG extends this approach by introducing planning, internal evaluation, and tool-based interaction, enabling adaptive and iterative retrieval–generation processes. This study compares conventional RAG and Agentic RAG in the context of Indonesian IT documentation. Evaluation is conducted using RAGAS metrics (faithfulness, answer relevancy, and context precision) along with hallucination assessment. Two language models, llama3.1:8b and qwen3:8b, are employed to ensure that performance differences stem from the RAG architecture rather than model-specific factors. The experiment involves 50 test questions with varying levels of complexity. Results indicate that Agentic RAG consistently outperforms conventional RAG. Using llama3.1:8b, Agentic RAG achieves a faithfulness score of 0.78 and context precision of 0.81, compared to 0.70 and 0.72 in conventional RAG. Similar improvements are observed with qwen3:8b, accompanied by lower hallucination levels. These findings demonstrate that iterative mechanisms in Agentic RAG enhance answer alignment with source documents, particularly for complex IT documentation queries.

 

References

[1] P. Lewis et al., “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks,” Apr. 2021, [Online]. Available: http://arxiv.org/abs/2005.11401

[2] S. Es, J. James, L. Espinosa-Anke, and S. Schockaert, “Ragas: Automated Evaluation of Retrieval Augmented Generation,” Apr. 2025, [Online]. Available: http://arxiv.org/abs/2309.15217

[3] W. Fan et al., “A Survey on RAG Meeting LLMs: Towards Retrieval-Augmented Large Language Models,” Jun. 2024, [Online]. Available: http://arxiv.org/abs/2405.06211

[4] J. Chen, H. Lin, X. Han, and L. Sun, “Benchmarking Large Language Models in Retrieval-Augmented Generation,” 2024. [Online]. Available: www.aaai.org

[5] G. Izacard and E. Grave, “Leveraging Passage Retrieval with Generative Models for Open Domain Question Answering,” Feb. 2021, [Online]. Available: http://arxiv.org/abs/2007.01282

[6] A. P. Singh, A. Jamdar, and P. Kaul, “Agentic Retrieval-Augmented Generation: Advancing AI-Driven Information Retrieval and Processing,” International Journal of Computer Trends and Technology, vol. 73, no. 1, pp. 91–97, Jan. 2025, doi: 10.14445/22312803/ijctt-v73i1p111.

[7] A. Singh, A. Ehtesham, S. Kumar, and T. T. Khoei, “Agentic Retrieval-Augmented Generation: A Survey on Agentic RAG,” Feb. 2025, [Online]. Available: http://arxiv.org/abs/2501.09136

[8] S. Yao et al., “ReAct: Synergizing Reasoning and Acting in Language Models,” Mar. 2023, [Online]. Available: http://arxiv.org/abs/2210.03629

[9] J. Lelong, A. Errazine, and A. Blangero, “Agentic RAG with Knowledge Graphs for Complex Multi-Hop Reasoning in Real-World Applications,” Jul. 2025, [Online]. Available: http://arxiv.org/abs/2507.16507

[10] T. Nguyen, P. Chin, and Y.-W. Tai, “MA-RAG: Multi-Agent Retrieval-Augmented Generation via Collaborative Chain-of-Thought Reasoning,” Oct. 2025, [Online]. Available: http://arxiv.org/abs/2505.20096

[11] A. Vaswani et al., “Attention Is All You Need,” Aug. 2023, [Online]. Available: http://arxiv.org/abs/1706.03762

[12] I. Pujiono, I. M. Agtyaputra, and Y. Ruldeviyani, “Implementing Retrieval-Augmented Generation And Vector Databases For Chatbots In Public Services Agencies Context,” JITK (Jurnal Ilmu Pengetahuan dan Teknologi Komputer), vol. 10, no. 1, pp. 216–223, Aug. 2024, doi: 10.33480/jitk.v10i1.5572.

[13] I. Fanani, “Implementasi Retrieval Augmented Generation Untuk Evaluasi Proposal Tugas Akhir Mahasiswa,” 2025.

[14] A. Gan et al., “Retrieval Augmented Generation Evaluation in the Era of Large Language Models: A Comprehensive Survey,” Apr. 2025, [Online]. Available: http://arxiv.org/abs/2504.14891

[15] T. Taipalus, “Vector database management systems: Fundamental concepts, use-cases, and current challenges,” Cogn. Syst. Res., vol. 85, Jun. 2024, doi: 10.1016/j.cogsys.2024.101216.

[16] A. Grattafiori et al., “The Llama 3 Herd of Models,” Nov. 2024, [Online]. Available: http://arxiv.org/abs/2407.21783

[17] A. T. U. BR. Lubis, N. S. Harahap, S. Agustian, M. Irsyad, and I. Afrianty, “Question Answering System pada Chatbot Telegram Menggunakan Large Language Models (LLM) dan Langchain (Studi Kasus UU Kesehatan),” MALCOM: Indonesian Journal of Machine Learning and Computer Science, vol. 4, no. 3, pp. 955–964, May 2024, doi: 10.57152/malcom.v4i3.1378.

Downloads

Published

2026-07-31