行为 Canary:在 RL 微调中审计私有检索上下文的使用
Behavioral Canaries: Auditing Private Retrieved Context Usage in RL Fine-Tuning
AI总结:
本文提出 Behavioral Canaries 机制,用于审计 RL 微调过程中是否非法使用受保护的检索上下文,通过行为信号检测未经授权的文档条件训练,实现 67% 的检测率。
摘要:
在代理工作流中,LLM 常常处理受法律保护的检索上下文,这些数据通常不允许进一步训练。然而,目前审计者缺乏可靠的方法来验证提供者是否通过强化学习(RL)将这些数据纳入训练中。标准审计依赖于直接记忆和成员推断,但这些方法对 RL 训练的模型无效,因为 RL 主要影响模型的行为风格而非特定事实的保留。为此,我们引入了 Behavioral Canaries,一种新的 RL 微调管道审计机制。该框架通过将文档触发器与反馈配对,奖励独特的风格响应,从而诱导潜在的触发条件偏好,如果这些数据被用于训练。实证结果表明,这些行为信号能够检测未经授权的文档条件训练,实现 67% 的检测率(在 10% 的假阳性率下,AUROC = 0.756)在 1% 的 Canary 注入率下。更广泛地说,我们的结果确立了 Behavioral Canaries 作为 RL 微调管道的新审计机制,使审计者能够在训练时间影响表现为分布行为变化而非记忆的情况下进行测试。
英文摘要:
In agentic workflows, LLMs frequently process retrieved contexts that are legally protected from further training. However, auditors currently lack a reliable way to verify if a provider has violated the terms of service by incorporating these data into post-training, especially through Reinforcement Learning (RL). While standard auditing relies on verbatim memorization and membership inference, these methods are ineffective for RL-trained models, as RL primarily influences a model's behavioral style rather than the retention of specific facts. To bridge this gap, we introduce Behavioral Canaries, a new auditing mechanism for RLFT pipelines. The framework instruments preference data by pairing document triggers with feedback that rewards a distinctive stylistic response, inducing a latent trigger-conditioned preference if such data are used in training. Empirical results show that these behavioral signals enable detection of unauthorized document-conditioned training, achieving a 67% detection rate at a 10% false-positive rate (AUROC = 0.756) at a 1% canary injection rate. More broadly, our results establish behavioral canaries as a new auditing mechanism for RLFT pipelines, enabling auditors to test for training-time influence even when such influence manifests as distributional behavioral change rather than memorization. We release our code at: https://github.com/CRChenCode/behavioral_canary.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。