InSaAF: Incorporating Safety through Accuracy and Fairness | Are LLMs ready for the Indian Legal Domain?
Yogesh Tripathi, Raghav Donakanti, Sahil Girhepuje, Ishan Kavathekar,, Bhaskara Hanuma Vedula, Gokul S Krishnan, Shreya Goyal, Anmol Goel, Balaraman, Ravindran, Ponnurangam Kumaraguru

TL;DR
This paper introduces a new metric, $LSS_{\beta}$, to evaluate the fairness and accuracy of Large Language Models in performing Indian legal tasks, and demonstrates how finetuning improves their safety and suitability.
Contribution
The study proposes the $LSS_{\beta}$ metric for assessing legal AI safety and fairness, and shows how finetuning on legal datasets enhances model performance and fairness in the Indian legal context.
Findings
$LSS_{\beta}$ effectively measures legal model safety and fairness.
Finetuning improves LLaMA and LLaMA--2 models' $LSS_{\beta}$ scores.
Models show increased readiness for Indian legal applications after finetuning.
Abstract
Recent advancements in language technology and Artificial Intelligence have resulted in numerous Language Models being proposed to perform various tasks in the legal domain ranging from predicting judgments to generating summaries. Despite their immense potential, these models have been proven to learn and exhibit societal biases and make unfair predictions. In this study, we explore the ability of Large Language Models (LLMs) to perform legal tasks in the Indian landscape when social factors are involved. We present a novel metric, -weighted \textit{Legal Safety Score (LSS_{\beta})}, which encapsulates both the fairness and accuracy aspects of the LLM. We assess LLMs' safety by considering its performance in the task and its fairness exhibition with respect to various axes of disparities in the Indian society. Task performance and…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsQuality and Safety in Healthcare · Artificial Intelligence in Law · Quality and Management Systems
