mlsanityData to 7 Oct 2026

InSaAF: Incorporating Safety through Accuracy and Fairness | Are LLMs ready for the Indian Legal Domain?

arXiv 2402.10567 ↗First posted 16 Feb 2024cs.CL cs.AIcited by 1

Not on the map. Why?

Abstract (arXiv)

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 textitLegal Safety Score (LSSβ), which encapsulates both the fairness and accuracy aspects of the LLM. We assess LLMs' safety by considering its performance in the textitBinary Statutory Reasoning task and its fairness exhibition with respect to various axes of disparities in the Indian society. Task performance and fairness scores of LLaMA and LLaMA--2 models indicate that the proposed LSSβ metric can effectively determine the readiness of a model for safe usage in the legal sector. We also propose finetuning pipelines, utilising specialised legal datasets, as a potential method to mitigate bias and improve model safety. The finetuning procedures on LLaMA and LLaMA--2 models increase the LSSβ, improving their usability in the Indian legal domain. Our code is publicly released.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 26 of its 52 references that are in the map. First posted on arXiv 16 Feb 2024.

Builds on

26 of 52 references.

References · 26

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  2. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  3. 2019A Survey on Bias and Fairness in Machine Learningcited by 1,911
  4. 2014Certifying and removing disparate impactcited by 715
  5. 2018Mitigating Unwanted Biases with Adversarial Learningcited by 663
  6. 2023Bias and Fairness in Large Language Models: A Surveycited by 626
  7. 2023Art or Artifice? Large Language Models and the False Promise of Creativitycited by 168
  8. 2017Data Decisions and Theoretical Implications when Adversarially Learning Fair Representationscited by 165
  9. 2017No Classification without Representation: Assessing Geodiversity Issues in Open Data Sets for the Developing Worldcited by 152
  10. 2018Classification with Fairness Constraints: A Meta-Algorithm with Provable Guaranteescited by 146
  11. 2022Bias Mitigation for Machine Learning Classifiers: A Comprehensive Surveycited by 125
  12. 2021Re-imagining Algorithmic Fairness in India and Beyondcited by 102
14 more
  1. 2021ILDC for CJPE: Indian Legal Documents Corpus for Court Judgment Prediction and Explanationcited by 78
  2. 2019Training individually fair ML models with Sensitive Subspace Robustnesscited by 73
  3. 2023Can GPT-3 Perform Statutory Reasoning?cited by 71
  4. 2022Re-contextualizing Fairness in NLP: The Case of Indiacited by 55
  5. 2022Legal Prompt Engineering for Multilingual Legal Judgement Predictioncited by 54
  6. 2020Accuracy and Fairness Trade-offs in Machine Learning: A Stochastic Multi-Objective Approachcited by 39
  7. 2016A statistical framework for fair predictive algorithmscited by 37
  8. 2023How Trustworthy are Open-Source LLMs? An Assessment under Malicious Demonstrations Shows their Vulnerabilitiescited by 33
  9. 2021Factoring Statutory Reasoning as Language Understanding Challengescited by 20
  10. 2019Fairness-enhancing interventions in stream classificationcited by 15
  11. 2022HLDC: Hindi Legal Documents Corpuscited by 11
  12. 2020Data science and AI in FinTech: An overviewcited by 7
  13. 2017Achieving non-discrimination in predictioncited by 4
  14. 2021Identifying biases in legal data: An algorithmic fairness perspectivecited by 4

Built on by

Cited by year

Citing papers per year: 2024: 1.

1 paper.