Lightweight Domain Adaptation of a Large Language Model for Legal Assistance in the Indian Context
Not on the map. Why?
Abstract (arXiv)
In India, access to legal assistance for the general public has been observed to have a critical gap, as many citizens are not able to take full advantage of their legal rights due to limited access and awareness of apposite legal information. This paper thus introduces Legal Assist AI, a highly efficient framework designed to provide legal assistance in the Indian domain. The core contribution is a framework demonstrating how a smaller, 8-billion-parameter quantized model (Llama 3.1) can achieve superior domain-specific performance. This effective performance stems from integrating a Retrieval-Augmented Generation (RAG) system with strategic prompt engineering, supported by a high-quality, up to date corpus of more than 600 legal documents. This corpus includes the Indian Constitution and more importantly, the newly enacted Bharatiya Nyaya Sanhita (BNS) and Bharatiya Nagarik Suraksha Sanhita (BNSS) among others. Further, by achieving a score of 60.08% in the All-India Bar Examination (AIBE) benchmark, the specialized approach based on RAG was found to be highly efficient and effective, improving on the 58.72% score of the 175-billion parameter GPT-3.5 Turbo. It was also observed that the framework was able to manage and mitigate instances of hallucinations successfully, which is a critical requirement for practical legal applications. A Parameter Efficiency Index (PEI) is also introduced, with the goal of quantifying the superior efficiency that the framework was able to achieve, demonstrating how the 8B model is 22 times more parameter-efficient than the 175B baseline, and hence corroborating the potential of smaller domain-adapted models.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 9 of its 21 references that are in the map. First posted on arXiv 28 May 2025.
Builds on
9 of 21 references.
References · 9
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2020GLU Variants Improve Transformercited by 1,804
- 2019Root Mean Square Layer Normalizationcited by 1,480
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2024Better Call GPT, Comparing Large Language Models Against Lawyerscited by 26
- 2024Aalap: AI Assistant for Legal & Paralegal Functions in Indiacited by 4
Built on by
Citing papers per year: 2025: 1.
1 paper.
- 2025Large Language Models Acing Chartered Accountancycited by 0
- 2025Large Language Models Acing Chartered Accountancy26 Jun 2025
Similar, not cited
Close in wording, no citation either way
- 2026NepKANUN: A RAG-Based Nepali Legal Assistant
- 2026Quecto-V1: Empirical Analysis of 8-bit Quantized Small Language Models for On-Device Legal Retrieval
- 2025LawPal : A Retrieval Augmented Generation Based System for Enhanced Legal Accessibility in India
- 2026NyayaAI: An AI-Powered Legal Assistant Using Multi-Agent Architecture and Retrieval-Augmented Generation
- 2025Domain-Partitioned Hybrid RAG for Legal Reasoning: Toward Modular and Explainable Legal AI for India
- 2026Retrieval Augmented Generation Framework for the Nepali Legal Domain Question Answering
- 2026AILQA: Evaluating AI-Driven Legal Question Answering Systems for the Indian Legal System
- 2024HyPA-RAG: A Hybrid Parameter Adaptive Retrieval-Augmented Generation System for AI Legal and Policy Applications