Jul 2026· JOIV: International Journal on Informatics Visualization· Vol 10, pp. 1674· 0 citations
TL;DR
It is demonstrated that RAG significantly reduces the risk of LLM hallucinations in a legal context, and error analysis suggests that future improvements should focus on strengthening generation controls to address these issues: unsupported generation and remaining model-rejection behavior.
Abstract
The exponential growth of court decisions in Indonesia has posed a crucial challenge for legal practitioners in obtaining relevant information. Conventional search systems fail to capture the in-depth legal context, while Large Language Models (LLMs) are prone to producing hallucinations that can mislead legal reasoning. This study proposes and tests the implementation of Retrieval-Augmented Generation (RAG) to support Legal Question Answering LLM-based Quality Assurance (LQA) to improve factual accuracy. This study used 408 Indonesian court decisions related to criminal cases. Human trafficking data collected and standardized from 143 district courts. The RAG framework is designed in three stages: indexing, search, and incremental generation. We evaluated three Open-source LLM models: Gemma, LLaMA, and Qwen. Three models are also combined with two retrieval methods: BM25 (lexical) and Dense (semantics). Experimental results show that Qwen 3, especially when combined with BM25 RAG, consistently produces the highest overall answer quality across all evaluation metrics (ROUGE and BLEU). The BM25 method is significantly more effective than dense retrieval. Due to the highly standardized nature of court decision documents, Qwen demonstrated peak performance on structured information categories such as “identitas_terdakwa”, achieving a ROUGE-L score of 0.899. The primary contribution of this study is demonstrating that RAG significantly reduces the risk of LLM hallucinations in a legal context. However, error analysis suggests that future improvements should focus on strengthening generation controls to address these issues: unsupported generation and remaining model-rejection behavior.
This research paper proposes a Retrieval Augmented Generation framework that is specific to the legal field in order to assist interactive retrieval and reason about judgments from the Supreme Court of India and demonstrates strong performance on metrics including contextual recall and answer relevancy.
Sayed Ayaan Ahmed Sha, Sangeetha Sivanesan, A. Madasamy et al.· 0 citations
An integrated legal AI platform that combines interpretable case outcome prediction with multilingual, retrieval-grounded legal question answering to improve access to Indian law is presented, concluding that transparent machine learning, retrieval-augmented generation, and multilingual interfaces can work together to...
M. D· International Journal of Lat...· 0 citations
Findings indicate that realizing the benefits of agentic RAG depends on selecting models with sufficient tool-use propensity, as tool access alone did not guarantee performance gains in the authors' experiments.
Under the study’s evaluation protocol, some AI-generated responses received higher ratings than the available reference answers, particularly when they contained accurate and relevant supporting detail, should not be interpreted as evidence that the models generally outperform qualified legal professionals.
S. Nigam, Shubham Kumar Mishra, Noel Shallum et al.· Artificial Intelligence and...· 1 citation
: The legal domain imposes unique demands on Large Language Models (LLMs), requiring high factual accuracy, precise statutory citation, and transparent reasoning. Retrieval-Augmented Generation (RAG) has emerged as a promising paradigm to mitigate hallucinations and improve knowledge grounding in legal applications. Wh...
Xin Li· Proceedings of the 3rd Inter...· 0 citations
This work introduces an artificial-intelligence-driven legal research assistant tailored to the jurisprudence of the Supreme Court of India that helps legal practitioners locate relevant precedents, anticipate probable case outcomes, and streamline the overall research process.
Krish P. Gokhale, Tanvi Kshirsagar, Anugraha Kasbe et al.· International Journal for Re...· 0 citations
We use cookies to run the site and, with your consent, for analytics and to show ads.
See our Cookie Policy.