用蒙特卡洛规划检测并清除强化学习模型中的后门攻击。
Plan2Cleanse: Test-Time Backdoor Defense via Monte-Carlo Planning in Deep Reinforcement Learning

- 将后门检测转为规划问题,搜索潜在触发序列。
- 在隐蔽场景中检测成功率提升超61.4个百分点。
- 无需重训练,适合部署阶段主动防御的工程师。
保障强化学习(RL)模型的安全至关重要,尤其当模型由第三方训练并在真实系统中部署时。攻击者可植入后门,使模型在正常情况下表现良好,但在特定触发条件下执行恶意行为。本文提出Plan2Cleanse,一种测试时检测与缓解框架,通过蒙特卡洛树搜索高效识别并中和RL后门攻击,无需模型重训练。我们将后门检测重构为规划问题,可在黑盒条件下系统性探索时序扩展的触发序列。基于检测结果,Plan2Cleanse进一步通过树搜索预防性重规划实现高效缓解。我们在竞争性MuJoCo环境、模拟O-RAN无线网络和Atari游戏中进行了评估。Plan2Cleanse显著提升性能:在隐蔽的O-RAN场景中,触发检测成功率提高超过61.4个百分点;在竞争性Humanoid环境中,胜率从35%提升至53%。结果验证了该测试时防御方法的有效性,并凸显了在RL部署中主动防御后门威胁的重要性。代码已开源:https://github.com/rl-bandits-lab/RL-Backdoor。
原文摘要 · Abstract (English)
Ensuring the security of reinforcement learning (RL) models is critical, particularly when they are trained by third parties and deployed in real-world systems. Attackers can implant backdoors into these models, causing them to behave normally under typical conditions, but execute malicious behaviors when specific triggers are activated. In this work, we propose Plan2Cleanse, a test-time detection and mitigation framework that adapts Monte Carlo Tree Search to efficiently identify and neutralize RL backdoor attacks without requiring model retraining. Our approach recasts backdoor detection as a planning problem, enabling systematic exploration of temporally extended trigger sequences while maintaining black-box access to the target policy. By leveraging the detection results, Plan2Cleanse can further achieve efficient mitigation through tree-search preventive replanning. We evaluated our method in competitive MuJoCo environments, simulated O-RAN wireless networks, and Atari games. Plan2Cleanse achieves substantial improvements, increasing trigger detection success rates by more than 61.4 percentage points in stealthy O-RAN scenarios and improving win rates from 35\% to 53\% in competitive Humanoid environments. These results demonstrate the effectiveness of our test-time defense approach and highlight the importance of proactive defenses against backdoor threats in RL deployments. Our implementation is publicly available at https://github.com/rl-bandits-lab/RL-Backdoor.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。