arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2601.03087cs.LGcs.CLcs.CY
收藏

审计我:查询高效主动公平性审计黑盒大语言模型

Audit Me If You Can: Query-Efficient Active Fairness Auditing of Black-Box LLMs

Weizenbaum Institut Berlin(魏泽恩堡研究所柏林);Technische Universität Berlin(柏林技术大学);FIZ Karlsruhe(卡尔斯鲁厄FIZ);KU Leuven(鲁汶大学);Aleph Alpha(Aleph Alpha公司)

David Hartmann, Lena Pohlmann, Lelia Hanslik, Noah Gießing, Bettina Berendt, Pieter Delobelle

AI总结:

BAFA通过主动查询减少资源消耗,实现高效黑盒LLM公平性审计

摘要:

大型语言模型(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.

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

↑