arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.10633cs.LGstat.ML
收藏

评估模型偏差需要刻画其错误特征

Evaluating Model Bias Requires Characterizing its Mistakes

Google DeepMind(谷歌DeepMind)

Isabela Albuquerque, Jessica Schrouff, David Warde-Farley, Taylan Cemgil, Sven Gowal, Olivia Wiles

AI总结:

针对现有标准指标无法反映模型子群体偏差的问题,提出基于假设检验框架的SkewSize指标,通过聚合虚假变量与模型预测的交互效应量捕捉偏差,在多类视觉及多模态模型场景中验证其能识别其他指标遗漏的偏差并提供技术影响洞见。

摘要:

在存在虚假相关性的情况下,恰当对模型性能进行基准测试的能力,对于构建更优的预测器以及提升人们对模型按预期运行的信心都至关重要。我们证明,刻画(而非简单量化)模型在各子群体上的错误特征,对于恰当反映模型偏差至关重要,而这类偏差会被最差群体准确率、准确率差距等标准指标所忽略。受假设检验框架的启发,我们提出了SkewSize这一兼具原则性与灵活性的指标,它能从模型预测的错误中捕捉偏差,可应用于多分类场景,也可推广至生成式模型的开放词汇场景。SkewSize是对两个分类变量间交互作用的效应量的聚合:这两个变量分别是代表偏差属性的虚假变量与模型的预测结果。我们在多种场景下验证了SkewSize的效用,包括:在合成数据上训练的标准视觉模型、在ImageNet上训练的视觉模型,以及BLIP-2系列的大规模视觉-语言模型。在各类场景中,所提出的SkewSize都能识别出其他指标无法捕捉的偏差,同时还能为指令微调等近期提出的技术的影响提供洞见。

英文摘要:

The ability to properly benchmark model performance in the face of spurious correlations is important to both build better predictors and increase confidence that models are operating as intended. We demonstrate that characterizing (as opposed to simply quantifying) model mistakes across subgroups is pivotal to properly reflect model biases, which are ignored by standard metrics such as worst-group accuracy or accuracy gap. Inspired by the hypothesis testing framework, we introduce SkewSize, a principled and flexible metric that captures bias from mistakes in a model's predictions. It can be used in multi-class settings or generalised to the open vocabulary setting of generative models. SkewSize is an aggregation of the effect size of the interaction between two categorical variables: the spurious variable representing the bias attribute and the model's prediction. We demonstrate the utility of SkewSize in multiple settings including: standard vision models trained on synthetic data, vision models trained on ImageNet, and large scale vision-and-language models from the BLIP-2 family. In each case, the proposed SkewSize is able to highlight biases not captured by other metrics, while also providing insights on the impact of recently proposed techniques, such as instruction tuning.

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

↑