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

一种检测语言模型行为偏移的审计测试

An Auditing Test To Detect Behavioral Shift in Language Models

UCL Centre for Artificial Intelligence, University College London(伦敦大学学院人工智能中心,大学学院伦敦);School of Informatics, University of Edinburgh(信息学院,爱丁堡大学);Miniml.AI, United Kingdom(Miniml.AI,英国);Polytechnique Montréal, Canada(蒙特利尔理工学院,加拿大);Mila – Quebec AI Institute, Canada(魁北克人工智能研究所,加拿大)

Leo Richter, Xuanli He, Pasquale Minervini, Matt J. Kusner

AI总结:

针对语言模型微调或部署修改后可能出现非预期行为偏移的问题,提出基于假设检验的持续行为偏移审计测试方法,仅用数百样本即可检测行为分布变化,还可配置容差调整敏感度。

摘要:

随着语言模型(LMs)接近人类水平的性能,全面理解其行为变得至关重要,这包括评估能力、偏见、任务表现以及与社会价值观的对齐程度。包括红队测试和多样化基准测试在内的大量初始评估可建立模型的行为画像,但后续的微调或部署修改可能会以非预期的方式改变这些行为。我们提出一种用于语言模型持续行为偏移审计(BSA)的方法。基于假设检验的最新研究,我们的审计测试仅通过模型生成结果即可检测行为偏移。该测试将基线模型的生成结果与受审查模型的生成结果进行比较,在控制误报率的同时为变化检测提供理论保证,还具备可配置的容差参数,可针对不同用例调整对行为变化的敏感度。我们通过两个案例研究评估该方法:监测(a)毒性和(b)翻译性能的变化。结果发现,该测试仅需数百个样本就能检测出行为分布中的显著变化。

英文摘要:

As language models (LMs) approach human-level performance, a comprehensive understanding of their behavior becomes crucial. This includes evaluating capabilities, biases, task performance, and alignment with societal values. Extensive initial evaluations, including red teaming and diverse benchmarking, can establish a model's behavioral profile. However, subsequent fine-tuning or deployment modifications may alter these behaviors in unintended ways. We present a method for continual Behavioral Shift Auditing (BSA) in LMs. Building on recent work in hypothesis testing, our auditing test detects behavioral shifts solely through model generations. Our test compares model generations from a baseline model to those of the model under scrutiny and provides theoretical guarantees for change detection while controlling false positives. The test features a configurable tolerance parameter that adjusts sensitivity to behavioral changes for different use cases. We evaluate our approach using two case studies: monitoring changes in (a) toxicity and (b) translation performance. We find that the test is able to detect meaningful changes in behavior distributions using just hundreds of examples.

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

↑