通过“失败虽注定,但可被淡化”实现LLM辅助的扩散模型红队测试
LLM-Assisted Red Teaming of Diffusion Models through "Failures Are Fated, But Can Be Faded"
AI总结:
本文通过引入深度强化学习算法、筛选测试及LLM驱动的奖励与状态生成,改进“失败虽注定,但可被淡化”框架,在扩散模型上更有效地探索、重构并远离失败模式,从而提升模型审计与调试能力。
摘要:
在那些似乎在许多任务上表现惊人的大型深度神经网络中,我们同样观察到一些与准确性、社会偏见以及与人类价值观的一致性等相关的失败。因此,在部署这些模型之前,刻画这一失败图景对于工程师调试或审计模型至关重要。然而,穷尽测试所有可能导致模型失败的因素组合是不可行的。在本文中,我们改进了“失败虽注定,但可被淡化”框架(arXiv:2406.07145)——一种在预训练生成模型中探索和构建失败图景的事后方法——通过引入多种深度强化学习算法、筛选测试以及基于LLM的奖励和状态生成。借助有限的人类反馈,我们随后展示了如何通过远离已发现的失败模式来重构失败图景,使其更符合期望。我们在扩散模型上实证证明了所提方法的有效性。我们还强调了每种算法在识别失败模式方面的优势与不足。
英文摘要:
In large deep neural networks that seem to perform surprisingly well on many tasks, we also observe a few failures related to accuracy, social biases, and alignment with human values, among others. Therefore, before deploying these models, it is crucial to characterize this failure landscape for engineers to debug or audit models. Nevertheless, it is infeasible to exhaustively test for all possible combinations of factors that could lead to a model's failure. In this paper, we improve the "Failures are fated, but can be faded" framework (arXiv:2406.07145)--a post-hoc method to explore and construct the failure landscape in pre-trained generative models--with a variety of deep reinforcement learning algorithms, screening tests, and LLM-based rewards and state generation. With the aid of limited human feedback, we then demonstrate how to restructure the failure landscape to be more desirable by moving away from the discovered failure modes. We empirically demonstrate the effectiveness of the proposed method on diffusion models. We also highlight the strengths and weaknesses of each algorithm in identifying failure modes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。