Cited by 5Artificial Intelligence in LawTopic ModelingArtificial Intelligence in Healthcare and Education

The DOI matches its Crossref record; 21 of the 21 references it cites were found in a registry or an index.

Reducing Hallucinations in Legal AI: A Retrieval Augmented Generation-Based Model for Accurate Legal Guidance

Open access

Abstract

The expansion of generative Artificial Intelligence (AI), particularly Large Language Models (LLMs), has significantly transformed various industries, including law, by automating complex tasks and enhancing overall productivity. However, these models are susceptible to generating fabricated or inaccurate information, commonly referred to as hallucinations. This phenomenon poses substantial risks in fields like legal practice, where precision and accuracy are of utmost importance. To mitigate these challenges, a Retrieval-Augmented Generation (RAG) model integrated with LLMs is proposed. This approach grounds AI-generated responses in verified, authoritative sources, such as legal practice guides and rulebooks, by utilizing a customized vectorized database of legal documents. By doing so, the RAG model effectively minimizes the likelihood of errors in legal advice and case references, thereby improving the accuracy, reliability, and ethical application of AI in legal decision-making processes. This is particularly crucial in high-stakes environments where the cost of misinformation can be significant. In this study, a total of 17 recent Indian legal documents sourced from the official Indian government legislation website were employed to create a comprehensive vector database using an advanced embedding model. Six combinations of core and embedding models were rigorously tested and evaluated to determine their effectiveness. Notably, the combination of Llama2 as the core model and All-mpnet-base-v2 as the embedding model demonstrated superior performance, achieving a BERTScore F1 of 56.87%. This finding underscores the potential of RAG models to enhance the reliability of AI-driven legal assistance, ensuring that users receive contextually relevant and trustworthy legal information.

Overview

Integrity signals

Registry

Crossref · 10.1109/access.2026.3675624

Cites

0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Verification

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Citations

Cites

The publisher hasn’t deposited this paper’s reference list.

Research works printed but not linked: 6

  1. Chu, Unpacking legal reasoning in llms: Chain-of-thought as a key to human-machine alignment in essay-based nlu tasks, 7
  2. Suresh Kumar, 2025, Lawrag: Retrieval-augmented generation for judicial question answering, Propuls. Technol. J., 46, 472
  3. Yu, RAG based question answering of Korean laws and precedents, 91
  4. Johnston, 2025, Retrieval-augmented generation (RAG): Towards a promising LLM architecture for legal work, Harvard J. Law & Technol. Dig.
  5. 2025, RAG for law firms: Automating legal research without hallucinations, Alternates AI Blog
  6. 2024, Indian Goverment Offical Site

Cited by

Sorted by citations

Metadata

Authors
Gupta, S., Agrawal, V., Negi, Y., Karunanithi, S., & Balakrishnan, A.
Affiliations
  • Vellore Institute of Technology University (IN)
  • Manipal Academy of Higher Education (IN)
Venue
IEEE Access
Published
2026
Volume
14
Pages
44451-44463
ISSN
2169-3536 (ISSN-L)
OpenAlex
W7139092293
Cited by
2
References
0
Citations by year
2026: 2
FWCI
38.96
Type
journal article
Language
en
Open access
Locations
  • IEEE Access (publishedVersion, cc-by)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
Funders
VIT University
Topics
  • Social Sciences › Law › Artificial Intelligence in Law
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Health Sciences › Medicine › Health Informatics › Artificial Intelligence in Healthcare and Education
Keywords
hallucination mitigation, retrieval-augmented generation, legal AI, large language models, legal advice, vector databases, legal documents, embedding models, Llama 2, Indian law

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review