arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2502.01679cs.CYcs.CLcs.LG
收藏

LIBRA:从本地语境衡量大型语言模型的偏见

LIBRA: Measuring Bias of Large Language Model from a Local Context

School of Computer Science, University of Auckland(奥克兰大学计算机科学学院);The Liggins Institute, University of Auckland(奥克兰大学利金斯研究所);Research Centre for Māori Health and Development, Massey University(梅西大学毛利人健康与发展研究中心)

Bo Pang, Tingrui Qiao, Caroline Walker, Chris Cunningham, Yun Sing Koh

AI总结:

本文提出LIBRA框架和新指标EiCAT,利用新西兰本地语料构建超36万测试用例,以衡量LLM在本地语境中的偏见并处理超出知识边界的问题。

摘要:

大型语言模型(LLMs)已显著推动自然语言处理应用的发展,但其广泛使用引发了关于固有偏见的担忧,这些偏见可能降低实用性或对特定社会群体造成伤害。尽管在解决LLM偏见方面已取得进展,现有研究仍存在两大局限。第一,现有的LLM偏见评估集中于美国文化语境,难以揭示LLM对其他文化的刻板印象偏见,从而导致LLM的开发和使用不公平。第二,当前的偏见评估通常假设模型熟悉目标社会群体。当LLM遇到超出其知识边界、在训练数据中不熟悉的词语时,会因幻觉和过度自信而在本地语境中产生不相关的结果,这并不一定表明存在固有偏见。本研究通过一个本地综合偏见识别与评估框架(LIBRA)来解决这些局限,该框架使用来自本地语料库的数据集测量偏见,无需众包。通过实现该框架,我们构建了一个包含超过360,000个新西兰语境测试用例的数据集。此外,我们提出了增强理想化CAT分数(EiCAT),将iCAT分数与超出知识边界分数(bbs)以及基于分布差异的偏见测量相结合,以应对LLM遇到超出知识边界词语的挑战。我们的结果表明,BERT系列、GPT-2和Llama-3模型很少理解不同语境中的本地词语。虽然Llama-3表现出更大的偏见,但它对不同文化语境的响应更好。代码和数据集可在以下地址获取:https://github.com/ipangbo/LIBRA。

英文摘要:

Large Language Models (LLMs) have significantly advanced natural language processing applications, yet their widespread use raises concerns regarding inherent biases that may reduce utility or harm for particular social groups. Despite the advancement in addressing LLM bias, existing research has two major limitations. First, existing LLM bias evaluation focuses on the U.S. cultural context, making it challenging to reveal stereotypical biases of LLMs toward other cultures, leading to unfair development and use of LLMs. Second, current bias evaluation often assumes models are familiar with the target social groups. When LLMs encounter words beyond their knowledge boundaries that are unfamiliar in their training data, they produce irrelevant results in the local context due to hallucinations and overconfidence, which are not necessarily indicative of inherent bias. This research addresses these limitations with a Local Integrated Bias Recognition and Assessment Framework (LIBRA) for measuring bias using datasets sourced from local corpora without crowdsourcing. Implementing this framework, we develop a dataset comprising over 360,000 test cases in the New Zealand context. Furthermore, we propose the Enhanced Idealized CAT Score (EiCAT), integrating the iCAT score with a beyond knowledge boundary score (bbs) and a distribution divergence-based bias measurement to tackle the challenge of LLMs encountering words beyond knowledge boundaries. Our results show that the BERT family, GPT-2, and Llama-3 models seldom understand local words in different contexts. While Llama-3 exhibits larger bias, it responds better to different cultural contexts. The code and dataset are available at: https://github.com/ipangbo/LIBRA.

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

↑