EUVIMEDEUVIMED entdecken
Crossref

Privacy-Preserving Legal Assistance: An Offline RAG-Based Large Language Model for the Indian Legal Context

Abhishek Singh, Md Sajid Anwer

International Journal on Science and Technology · 04.04.2026 · 17 (2)

DOI: 10.71097/ijsat.v17.i2.10732 ↗

Kurz gefasst

Fachartikel in der Zeitschrift International Journal on Science and Technology, online erschienen am 04.04.2026. Verfasst von Abhishek Singh und 1 weiteren Autor:innen.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

In this AI progressing World, there is a lot of legal work which can be done with the help of AI (LLM) with rapid rate and minimal human effort which makes it perfect for legal sector, but there is issue with how maximum LLM model works or integrated. Currently most of the LLMs are dependent on cloud-based system to operate which introduces data privacy risks for user also most of the LLMs are trained on the Western legal Dataset which introduces jurisdictional bias with respect to Indian laws. And third but very important issue with generalized models is “hallucination”. LLM models are trained in a way that they have to respond to the query confidently which makes it unreliable for domain specific work like Indian Constitution and Bharatiya Nyaya Sanhita (BNS). To handle these critical issues of LLMs in legal sector, this paper proposes a fully localized, offline architecture that work with the integration of RAFT (RAG + Fine Tuning) with 8-billion parameter Llama-3 model and Chroma DB pipeline. By implementing hallucination shield and Fine Tuning our model achieved a 95% retrieval accuracy on Indian penal statues and successfully blocked 75% of out of the bounds queries as compare to base model, which makes it perfect framework for privacy preserving offline legal AI.

Zitieren

APA

Singh, A., & Anwer, M. S. (2026). Privacy-Preserving Legal Assistance: An Offline RAG-Based Large Language Model for the Indian Legal Context. International Journal on Science and Technology, 17(2). https://doi.org/10.71097/ijsat.v17.i2.10732

Vancouver

Singh A, Anwer MS. Privacy-Preserving Legal Assistance: An Offline RAG-Based Large Language Model for the Indian Legal Context. International Journal on Science and Technology. 2026;17(2). doi:10.71097/ijsat.v17.i2.10732

BibTeX
@article{Singh2026,
  author = {Singh, Abhishek and Anwer, Md Sajid},
  title = {Privacy-Preserving Legal Assistance: An Offline RAG-Based Large Language Model for the Indian Legal Context},
  journal = {International Journal on Science and Technology},
  year = {2026},
  volume = {17},
  number = {2},
  doi = {10.71097/ijsat.v17.i2.10732}
}
Kostenlos starten →