arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.10567cs.CLcs.AI
收藏

InSaAF:通过准确性与公平性纳入安全性 | 大语言模型准备好进入印度法律领域了吗?

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

Centre for Responsible AI, Indian Institute of Technology Madras(印度马德拉斯理工学院负责任人工智能中心);International Institute of Information Technology, Hyderabad(海德拉巴国际信息技术学院);AmexAI Labs, American Express(美国运通AmexAI实验室);Wadhwani School of Data Science and AI, Indian Institute of Technology Madras(印度马德拉斯理工学院瓦德瓦尼数据科学与人工智能学院)
Yogesh Tripathi, Raghav Donakanti, Sahil Girhepuje, Ishan Kavathekar, Bhaskara Hanuma Vedula, Gokul S Krishnan, Shreya Goyal, Anmol Goel, Balaraman Ravindran, P… 展开作者

Yogesh Tripathi, Raghav Donakanti, Sahil Girhepuje, Ishan Kavathekar, Bhaskara Hanuma Vedula, Gokul S Krishnan, Shreya Goyal, Anmol Goel, Balaraman Ravindran, Ponnurangam Kumaraguru

AI总结:

本文提出兼顾准确性与公平性的 LSS_β 指标评估 LLM 在印度法律场景中的安全性,并通过法律数据微调提升 LLaMA 系列模型表现。

摘要:

语言技术与人工智能的最新进展促使大量语言模型被提出,用于法律领域的各种任务,范围从预测判决到生成摘要。尽管这些模型具有巨大潜力,但已有研究证明它们会学习并表现出社会偏见,并作出不公平的预测。在本研究中,我们探讨了当涉及社会因素时,大语言模型(LLM)在印度环境中执行法律任务的能力。我们提出了一种新的指标,即 β 加权的 Legal Safety Score(LSS_β,法律安全分数),该指标同时涵盖 LLM 的公平性与准确性两个方面。我们通过考察模型在 Binary Statutory Reasoning(二元成文法推理)任务中的表现,以及其在印度社会多种不平等维度上表现出的公平性,来评估 LLM 的安全性。LLaMA 和 LLaMA-2 模型的任务表现与公平性分数表明,所提出的 LSS_β 指标能够有效确定模型是否已准备好在法律部门安全使用。我们还提出了利用专门法律数据集的微调流程,将其作为缓解偏见并提升模型安全性的潜在方法。对 LLaMA 和 LLaMA-2 模型进行的微调程序提高了 LSS_β,从而改善了它们在印度法律领域的可用性。我们的代码已公开发布。

英文摘要:

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_β$)}$, which encapsulates both the fairness and accuracy aspects of the LLM. We assess LLMs' safety by considering its performance in the $\textit{Binary 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑