Breaking the Bias: Gender Fairness in LLMs Using Prompt Engineering and In-Context Learning

IF 0.2 0 HUMANITIES, MULTIDISCIPLINARY
Satyam Dwivedi, Sanjukta Ghosh, Shivam Dwivedi
{"title":"Breaking the Bias: Gender Fairness in LLMs Using Prompt Engineering and In-Context Learning","authors":"Satyam Dwivedi, Sanjukta Ghosh, Shivam Dwivedi","doi":"10.21659/rupkatha.v15n4.10","DOIUrl":null,"url":null,"abstract":"Large Language Models (LLMs) have been identified as carriers of societal biases, particularly in gender representation. This study introduces an innovative approach employing prompt engineering and in-context learning to rectify these biases in LLMs. Through our methodology, we effectively guide LLMs to generate more equitable content, emphasizing nuanced prompts and in-context feedback. Experimental results on openly available LLMs such as BARD, ChatGPT, and LLAMA2-Chat indicate a significant reduction in gender bias, particularly in traditionally problematic areas such as ‘Literature’. Our findings underscore the potential of prompt engineering and in-context learning as powerful tools in the quest for unbiased AI language models.","PeriodicalId":43128,"journal":{"name":"Rupkatha Journal on Interdisciplinary Studies in Humanities","volume":"54 1","pages":""},"PeriodicalIF":0.2000,"publicationDate":"2023-12-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Rupkatha Journal on Interdisciplinary Studies in Humanities","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21659/rupkatha.v15n4.10","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"0","JCRName":"HUMANITIES, MULTIDISCIPLINARY","Score":null,"Total":0}
引用次数: 0

Abstract

Large Language Models (LLMs) have been identified as carriers of societal biases, particularly in gender representation. This study introduces an innovative approach employing prompt engineering and in-context learning to rectify these biases in LLMs. Through our methodology, we effectively guide LLMs to generate more equitable content, emphasizing nuanced prompts and in-context feedback. Experimental results on openly available LLMs such as BARD, ChatGPT, and LLAMA2-Chat indicate a significant reduction in gender bias, particularly in traditionally problematic areas such as ‘Literature’. Our findings underscore the potential of prompt engineering and in-context learning as powerful tools in the quest for unbiased AI language models.
打破偏见:利用提示工程和情境学习实现法律硕士的性别公平
大型语言模型(LLM)被认为是社会偏见的载体,尤其是在性别代表性方面。本研究介绍了一种采用提示工程和语境学习的创新方法,以纠正大型语言模型中的这些偏见。通过我们的方法,我们有效地引导 LLM 生成更公平的内容,强调细微的提示和上下文反馈。在 BARD、ChatGPT 和 LLAMA2-Chat 等公开的 LLM 上进行的实验结果表明,性别偏见显著减少,尤其是在 "文学 "等传统的问题领域。我们的研究结果凸显了提示工程和语境学习作为无偏见人工智能语言模型的强大工具的潜力。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
129
审稿时长
8 weeks
期刊介绍: “The fundamental idea for interdisciplinarity derives” as our Chief Editor Explains, “from an evolutionary necessity; namely the need to confront and interpret complex systems…An entity that is studied can no longer be analyzed in terms of an object of just single discipline, but as a contending hierarchy of components which could be studied under the rubric of multiple or variable branches of knowledge.” Following this, we encourage authors to engage themselves in interdisciplinary discussion of topics from the broad areas listed below and apply interdsiciplinary perspectives from other areas of the humanities and/or the sciences wherever applicable. We publish peer-reviewed original research papers and reviews in the interdisciplinary fields of humanities. A list, which is not exclusive, is given below for convenience. See Areas of discussion. We have firm conviction in Open Access philosophy and strongly support Open Access Initiatives. Rupkatha has signed on to the Budapest Open Access Initiative. In conformity with this, the principles of publications are primarily guided by the open nature of knowledge.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信