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

认证大语言模型中的反事实偏见

Certifying Counterfactual Bias in LLMs

UIUC(伊利诺伊大学香槟分校);Amazon(亚马逊);Oracle Health(Oracle健康)

Isha Chaudhary, Qian Hu, Manoj Kumar, Morteza Ziyadi, Rahul Gupta, Gagandeep Singh

AI总结:

提出首个框架LLMCert-B,通过高置信度概率界限认证大语言模型在反事实提示分布上的偏见,并揭示最先进模型在低成本前缀分布下的脆弱性。

摘要:

大语言模型(LLMs)可能产生有偏见的响应,从而造成表征性危害。然而,传统研究不足以彻底评估不同人口群体(即反事实偏见)在LLM响应中的偏见,因为它们无法扩展到大量输入且不提供保证。因此,我们提出了首个框架LLMCert-B,用于在提示词分布上认证LLM的反事实偏见。证书包括对从分布中采样的任意一组反事实提示(即按人口群体区分的提示)的无偏见LLM响应概率的高置信度界限。我们展示了对于通过将从前缀分布中采样的前缀应用于给定提示集而创建的反事实提示分布的反事实偏见认证。我们考虑的前缀分布包括随机令牌序列、手动越狱的混合以及LLM嵌入空间中越狱的扰动。我们为最先进的LLM生成了非平凡的证书,揭示了它们在由计算成本低廉的前缀分布生成的提示分布上的脆弱性。

英文摘要:

Large Language Models (LLMs) can produce biased responses that can cause representational harms. However, conventional studies are insufficient to thoroughly evaluate biases across LLM responses for different demographic groups (a.k.a. counterfactual bias), as they do not scale to large number of inputs and do not provide guarantees. Therefore, we propose the first framework, LLMCert-B that certifies LLMs for counterfactual bias on distributions of prompts. A certificate consists of high-confidence bounds on the probability of unbiased LLM responses for any set of counterfactual prompts - prompts differing by demographic groups, sampled from a distribution. We illustrate counterfactual bias certification for distributions of counterfactual prompts created by applying prefixes sampled from prefix distributions, to a given set of prompts. We consider prefix distributions consisting random token sequences, mixtures of manual jailbreaks, and perturbations of jailbreaks in LLM's embedding space. We generate non-trivial certificates for SOTA LLMs, exposing their vulnerabilities over distributions of prompts generated from computationally inexpensive prefix distributions.

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

↑