arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.10774cs.CL
收藏

检测大语言模型中的偏见:微调后的KcBERT

Detecting Bias in Large Language Models: Fine-tuned KcBERT

College of Science, Sungkyunkwan University(成均馆大学理学院)

J. K. Lee, T. M. Chung

AI总结:

本研究使用KcBERT和KOLD数据微调模型,通过MLM和LPBS、CBS指标评估韩语模型中的社会偏见,并提出数据平衡和去偏正则化两种缓解方法,证明韩语模型存在语言依赖的社会偏见。

摘要:

大语言模型(LLMs)的快速发展使得自然语言处理能力接近人类水平,LLMs正被广泛应用于教育、医疗等社会各个领域。虽然这些模型的通用性有所提高,但它们有可能生成主观和规范性的语言,导致社会群体之间的歧视性待遇或结果,尤其是在线攻击性语言。在本文中,我们将此类危害定义为社会偏见,并使用基于模板的掩码语言建模(MLM),通过双向编码器表示(KcBERT)和KOLD数据,评估了用韩语评论微调的模型中的民族、性别和种族偏见。为了定量评估偏见,我们采用了LPBS和CBS指标。与KcBERT相比,微调后的模型在民族偏见上有所减少,但在性别和种族偏见上表现出显著变化。基于这些结果,我们提出了两种缓解社会偏见的方法。首先,在预训练阶段采用数据平衡方法,通过调整特定单词出现次数的分布并将周围的有害词转换为非有害词来调整数据的均匀性。其次,在训练阶段,我们通过调整dropout和正则化来应用去偏正则化,并确认了训练损失的减少。我们的贡献在于证明了韩语模型中因语言依赖性特征而存在社会偏见。

英文摘要:

The rapid advancement of large language models (LLMs) has enabled natural language processing capabilities similar to those of humans, and LLMs are being widely utilized across various societal domains such as education and healthcare. While the versatility of these models has increased, they have the potential to generate subjective and normative language, leading to discriminatory treatment or outcomes among social groups, especially due to online offensive language. In this paper, we define such harm as societal bias and assess ethnic, gender, and racial biases in a model fine-tuned with Korean comments using Bidirectional Encoder Representations from Transformers (KcBERT) and KOLD data through template-based Masked Language Modeling (MLM). To quantitatively evaluate biases, we employ LPBS and CBS metrics. Compared to KcBERT, the fine-tuned model shows a reduction in ethnic bias but demonstrates significant changes in gender and racial biases. Based on these results, we propose two methods to mitigate societal bias. Firstly, a data balancing approach during the pre-training phase adjusts the uniformity of data by aligning the distribution of the occurrences of specific words and converting surrounding harmful words into non-harmful words. Secondly, during the in-training phase, we apply Debiasing Regularization by adjusting dropout and regularization, confirming a decrease in training loss. Our contribution lies in demonstrating that societal bias exists in Korean language models due to language-dependent characteristics.

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

↑