Mitigating Deep Reinforcement Learning Backdoors in the Neural Activation Space
Sanyam Vyas, Chris Hicks, Vasilios Mavroudis
TL;DR
This work addresses backdoor threats in DRL policies with a focus on elusive in-distribution triggers that evade existing sanitisation. It demonstrates that neural activation patterns in the policy network differ when a trigger is present, enabling a lightweight detector trained on clean activations to achieve high accuracy (AUC up to 0.98, F1 up to 0.94, TPR 92%). The proposed trigger classifier provides a practical runtime defense that does not require retraining or access to the triggers. The results, obtained in Atari Breakout and MiniGrid-LavaWorld settings, suggest activation-space analysis as a promising direction for robust DRL backdoor mitigation in real-world deployments.
Abstract
This paper investigates the threat of backdoors in Deep Reinforcement Learning (DRL) agent policies and proposes a novel method for their detection at runtime. Our study focuses on elusive in-distribution backdoor triggers. Such triggers are designed to induce a deviation in the behaviour of a backdoored agent while blending into the expected data distribution to evade detection. Through experiments conducted in the Atari Breakout environment, we demonstrate the limitations of current sanitisation methods when faced with such triggers and investigate why they present a challenging defence problem. We then evaluate the hypothesis that backdoor triggers might be easier to detect in the neural activation space of the DRL agent's policy network. Our statistical analysis shows that indeed the activation patterns in the agent's policy network are distinct in the presence of a trigger, regardless of how well the trigger is concealed in the environment. Based on this, we propose a new defence approach that uses a classifier trained on clean environment samples and detects abnormal activations. Our results show that even lightweight classifiers can effectively prevent malicious actions with considerable accuracy, indicating the potential of this research direction even against sophisticated adversaries.
