Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

LoRA-Based Fine-Tuning of Local LLMs for Hallucination Detection in Indonesian RAG Systems

Author 1: I Ketut Resika Arthana Author 2: Nyoman Gunantara Author 3: Made Sudarma Author 4: Made Sukarsa
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 3 · Published 2026

DOI: https://doi.org/10.14569/IJACSA.2026.0170389

Abstract

Retrieval Augmented Generation (RAG) improves the factual grounding of Large Language Models (LLMs) by incorporating external knowledge. However, RAG systems may still generate hallucinated responses, and this issue remains underexplored in Indonesian language settings, particularly in settings where local deployment is preferred. This study proposes a hallucination detection approach for Indonesian RAG systems using Low Rank Adaptation (LoRA) fine-tuning. To support this objective, the study constructs a dataset in the Human-Computer Interaction domain consisting of 908 context, question, and answer pairs. The dataset is classified into four categories: FACT-H, FAITH-H, LOG-H, and FAITHFUL. Three local LLMs, namely, Gemma-7B-it, LlaMA-2-7B chat, and Phi-3-medium-4k-instruct, were evaluated using 5-fold cross-validation. The results show that Gemma-7B-it achieved the best performance in the four-class setting, with a Macro F1 score of 0.846. In the binary classification setting, Gemma achieved an accuracy of 98.1 per cent. Further analysis shows that Gemma was particularly effective in recognizing FAITHFUL, FAITH-H, and FACT-H, while LOG-H remained the most difficult class to distinguish consistently.

Keywords

How to Cite this Article

Arthana, I. K. R., Gunantara, N., Sudarma, M., & Sukarsa, M. (2026). LoRA-Based Fine-Tuning of Local LLMs for Hallucination Detection in Indonesian RAG Systems. International Journal of Advanced Computer Science and Applications, 17(3). https://doi.org/10.14569/IJACSA.2026.0170389

Arthana, I Ketut Resika, et al.. "LoRA-Based Fine-Tuning of Local LLMs for Hallucination Detection in Indonesian RAG Systems." International Journal of Advanced Computer Science and Applications, vol. 17, no. 3, 2026, https://doi.org/10.14569/IJACSA.2026.0170389.

@article{Arthana2026,
  title     = {LoRA-Based Fine-Tuning of Local LLMs for Hallucination Detection in Indonesian RAG Systems},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {3},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {I Ketut Resika Arthana and Nyoman Gunantara and Made Sudarma and Made Sukarsa},
  doi       = {10.14569/IJACSA.2026.0170389},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170389}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.