大型语言模型(LLMs)在不同人口群体中表现出系统性偏见。审计被提出作为黑盒LLM应用的问责工具,但受到资源密集型查询访问的限制。我们将审计概念化为对目标公平性指标的不确定性估计,并引入BAFA,即Bounded Active Fairness Auditor,用于查询高效的黑盒LLM审计。BAFA维护与查询分数一致的替代模型版本空间,并通过约束经验风险最小化计算公平性指标(例如ΔAUC)的不确定性区间。主动查询选择缩小这些区间以减少估计误差。我们评估BAFA在两个标准公平性数据集案例研究中:CivilComments和Bias-in-Bios,与分层抽样、幂抽样和消融实验进行比较。BAFA在紧阈值下以比分层抽样少高达40倍的查询次数达到目标误差阈值(例如,CivilComments在ε=0.02时,144 vs 5,956次查询),在时间上表现明显更好,并且在运行中显示较低的方差。这些结果表明,主动抽样可以减少使用LLM进行独立公平性审计所需的资源,支持持续的模型评估。
英文摘要:
Large Language Models (LLMs) exhibit systematic biases across demographic groups. Auditing is proposed as an accountability tool for black-box LLM applications, but suffers from resource-intensive query access. We conceptualise auditing as uncertainty estimation over a target fairness metric and introduce BAFA, the Bounded Active Fairness Auditor for query-efficient auditing of black-box LLMs. BAFA maintains a version space of surrogate models consistent with queried scores and computes uncertainty intervals for fairness metrics (e.g., $Δ$ AUC) via constrained empirical risk minimisation. Active query selection narrows these intervals to reduce estimation error. We evaluate BAFA on two standard fairness dataset case studies: \textsc{CivilComments} and \textsc{Bias-in-Bios}, comparing against stratified sampling, power sampling, and ablations. BAFA achieves target error thresholds with up to 40$\times$ fewer queries than stratified sampling (e.g., 144 vs 5,956 queries at $\varepsilon=0.02$ for \textsc{CivilComments}) for tight thresholds, demonstrates substantially better performance over time, and shows lower variance across runs. These results suggest that active sampling can reduce resources needed for independent fairness auditing with LLMs, supporting continuous model evaluations.
Auditing large language models: a three-layered approach
University of Oxford(牛津大学);Princeton University(普林斯顿大学);Centre for the Governance of AI(人工智能治理中心);Goethe University Frankfurt(法兰克福歌德大学);University of Bologna(博洛尼亚大学)
Say It Another Way: Auditing LLMs with a User-Grounded Automated Paraphrasing Framework
Mila - Quebec AI Institute(魁北克人工智能研究所);McGill University(麦吉尔大学);University of Waterloo(滑铁卢大学);Vector Institute(向量研究所);Université de Sherbrooke(舍布鲁克大学);Université de Montréal(蒙特利尔大学)
Information Suppression in Large Language Models: Auditing, Quantifying, and Characterizing Censorship in DeepSeek
Thomas Lord Department of Computer Science, University of Southern California, USA(汤姆斯·劳德计算机科学系,南加州大学);Information Sciences Institute, University of Southern California, USA(信息科学研究所,南加州大学);Annenberg School of Communication, University of Southern California, USA(安纳伯格传播学院,南加州大学)
Auditing Data Membership in Reinforcement Learning With Verifiable Rewards
The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Shanghai Jiao Tong University(上海交通大学);Shandong University(山东大学);Xidian University(西安电子科技大学);Wuhan University(武汉大学)
Offscript: Automated Auditing of Instruction Adherence in LLMs
University of Washington Information School Seattle Washington USA;University of Washington\ G. Allen School of Computer Science \& Engineering Seattle Washington USA;University of Washington Information School;University of Washington\ G. Allen School of Computer Science \& Engineering
Pragmatic auditing: a pilot-driven approach for auditing Machine Learning systems
Machine Learning Research Lab, Volkswagen Group(大众集团机器学习研究实验室);German Research Center for Artificial Intelligence (DFKI)(德国人工智能研究中心);Technical University of Munich (TUM)(慕尼黑工业大学);Algorithm Accountability Lab, TU Kaiserslautern(凯泽斯劳滕大学算法问责实验室);Munich Institute of Robotics and Machine Intelligence (MIRMI), Technical University of Munich (TUM)(慕尼黑工业大学慕尼黑机器人与机器智能研究所)