mlsanityData to 7 Oct 2026

A Distance-based Anomaly Detection Framework for Deep Reinforcement Learning

arXiv 2109.09889 ↗First posted 21 Sep 2021cs.LG cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

In deep reinforcement learning (RL) systems, abnormal states pose significant risks by potentially triggering unpredictable behaviors and unsafe actions, thus impeding the deployment of RL systems in real-world scenarios. It is crucial for reliable decision-making systems to have the capability to cast an alert whenever they encounter unfamiliar observations that they are not equipped to handle. In this paper, we propose a novel Mahalanobis distance-based (MD) anomaly detection framework, called textitMDX, for deep RL algorithms. MDX simultaneously addresses random, adversarial, and out-of-distribution (OOD) state outliers in both offline and online settings. It utilizes Mahalanobis distance within class-conditional distributions for each action and operates within a statistical hypothesis testing framework under the Gaussian assumption. We further extend it to robust and distribution-free versions by incorporating Robust MD and conformal inference techniques. Through extensive experiments on classical control environments, Atari games, and autonomous driving scenarios, we demonstrate the effectiveness of our MD-based detection framework. MDX offers a simple, unified, and practical anomaly detection tool for enhancing the safety and reliability of RL systems in real-world applications.

Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 39 of its 95 references that are in the map. First posted on arXiv 21 Sep 2021.

Builds on

39 of 95 references.

References · 39

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2017Proximal Policy Optimization Algorithmscited by 14,441
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  4. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
  5. 2013Intriguing properties of neural networkscited by 5,114
  6. 2018Soft Actor-Critic: Off-Policy Maximum Entropy Deep Reinforcement Learning with a Stochastic Actorcited by 4,635
  7. 2015Continuous control with deep reinforcement learningcited by 3,279
  8. 2015Trust Region Policy Optimizationcited by 2,503
  9. 2017CARLA: An Open Urban Driving Simulatorcited by 2,431
  10. 2018Addressing Function Approximation Error in Actor-Critic Methodscited by 2,302
  11. 2016Asynchronous Methods for Deep Reinforcement Learningcited by 2,218
  12. 2015High-Dimensional Continuous Control Using Generalized Advantage Estimationcited by 1,916
27 more
  1. 2020Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problemscited by 1,873
  2. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  3. 2018Experience Replay for Continual Learningcited by 1,074
  4. 2017Rainbow: Combining Improvements in Deep Reinforcement Learningcited by 774
  5. 2020Deep Reinforcement Learning for Autonomous Driving: A Surveycited by 698
  6. 2019Conformal Prediction Under Covariate Shiftcited by 511
  7. 2017Robust Adversarial Reinforcement Learningcited by 439
  8. 2020Uncertainty Sets for Image Classifiers using Conformal Predictioncited by 365
  9. 2017Adversarial Attacks on Neural Network Policiescited by 314
  10. 2018Learning to Adapt in Dynamic, Real-World Environments Through Meta-Reinforcement Learningcited by 270
  11. 2020Towards Continual Reinforcement Learning: A Review and Perspectivescited by 268
  12. 2020Transfer Learning in Deep Reinforcement Learning: A Surveycited by 259
  13. 2021A Simple Fix to Mahalanobis Distance for Improving Near-OOD Detectioncited by 206
  14. 2015Actor-Mimic: Deep Multitask and Transfer Reinforcement Learningcited by 176
  15. 2018ShapeShifter: Robust Physical Adversarial Attack on Faster R-CNN Object Detectorcited by 159
  16. 2018Meta-Gradient Reinforcement Learningcited by 156
  17. 2017Robust Deep Reinforcement Learning with Adversarial Attackscited by 152
  18. 2020Improving Generalization in Reinforcement Learning with Mixture Regularizationcited by 81
  19. 2019Measuring the Reliability of Reinforcement Learning Algorithmscited by 49
  20. 2020Evaluating the Performance of Reinforcement Learning Algorithmscited by 35
  21. 2020Why is the Mahalanobis Distance Effective for Anomaly Detection?cited by 28
  22. 2019Uncertainty-Based Out-of-Distribution Classification in Deep Reinforcement Learningcited by 15
  23. 2021Out-of-Distribution Dynamics Detection: RL-Relevant Benchmarks and Resultscited by 14
  24. 2017Conformal k-NN Anomaly Detector for Univariate Data Streamscited by 13
  25. 2020Policy Entropy for Out-of-Distribution Classificationcited by 11
  26. 2020Adversarial Attacks and Detection on Reinforcement Learning-Based Interactive Recommender Systemscited by 9
  27. 2017Online Robust Principal Component Analysis with Change Point Detectioncited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 1; 2026: 3.

5 papers.