Measuring and Mitigating Gender Bias in Legal Contextualized Language Models

Author:

Bozdag Mustafa1,Sevim Nurullah1,Koç Aykut1

Affiliation:

1. Dept. of Electrical and Electronics Engineering and UMRAM, Bilkent University, Turkey

Abstract

Transformer-based contextualized language models constitute the state-of-the-art in several natural language processing (NLP) tasks and applications. Despite their utility, contextualized models can contain human-like social biases as their training corpora generally consist of human-generated text. Evaluating and removing social biases in NLP models has been a major research endeavor. In parallel, NLP approaches in the legal domain, namely legal NLP or computational law, have also been increasing. Eliminating unwanted bias in legal NLP is crucial since the law has the utmost importance and effect on people. In this work, we focus on the gender bias encoded in BERT-based models. We propose a new template-based bias measurement method with a new bias evaluation corpus using crime words from the FBI database. This method quantifies the gender bias present in BERT-based models for legal applications. Furthermore, we propose a new fine-tuning-based debiasing method using the European Court of Human Rights (ECtHR) corpus to debias legal pre-trained models. We test the debiased models’ language understanding performance on the LexGLUE benchmark to confirm that the underlying semantic vector space is not perturbed during the debiasing process. Finally, we propose a bias penalty for the performance scores to emphasize the effect of gender bias on model performance.

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Reference97 articles.

1. Predicting judicial decisions of the European Court of Human Rights: a Natural Language Processing perspective

2. Vincent Aleven . 2003. Using background knowledge in case-based legal reasoning: A computational model and an intelligent learning environment. Artificial Intelligence 150 (11 2003 ), 183–237. https://doi.org/10.1016/S0004-3702(03)00105-X 10.1016/S0004-3702(03)00105-X Vincent Aleven. 2003. Using background knowledge in case-based legal reasoning: A computational model and an intelligent learning environment. Artificial Intelligence 150 (11 2003), 183–237. https://doi.org/10.1016/S0004-3702(03)00105-X

3. Michał Araszkiewicz Trevor Bench-Capon Enrico Francesconi Marc Lauritsen and Antonino Rotolo. 2022. Thirty years of Artificial Intelligence and Law: overviews. Artificial Intelligence and Law(2022) 1–18. Michał Araszkiewicz Trevor Bench-Capon Enrico Francesconi Marc Lauritsen and Antonino Rotolo. 2022. Thirty years of Artificial Intelligence and Law: overviews. Artificial Intelligence and Law(2022) 1–18.

4. Elliott Ash , Daniel  L Chen , and Arianna Ornaghi . 2021. Gender attitudes in the judiciary: Evidence from US circuit courts . Center for Law & Economics Working Paper Series 2019 , 02 (2021). Elliott Ash, Daniel L Chen, and Arianna Ornaghi. 2021. Gender attitudes in the judiciary: Evidence from US circuit courts. Center for Law & Economics Working Paper Series 2019, 02 (2021).

5. Kevin  D. Ashley . 1988. Modelling legal argument: Reasoning with cases and hypotheticals. Ph. D. Dissertation . University of Massachusetts , USA. Order No: GAX88-13198. Kevin D. Ashley. 1988. Modelling legal argument: Reasoning with cases and hypotheticals. Ph. D. Dissertation. University of Massachusetts, USA. Order No: GAX88-13198.

Cited by 1 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Extraction of Subjective Information from Large Language Models;2024 IEEE 48th Annual Computers, Software, and Applications Conference (COMPSAC);2024-07-02

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3