paper-with-me

Papers

SMARLA: A Safety Monitoring Approach for Deep Reinforcement Learning Agents

2023-08-03 · Amirhossein Zolfagharian, Manel Abdellatif, Lionel C. Briand, Ramesh S

Deep Reinforcement Learning (DRL) has made significant advancements in various fields, such as autonomous driving, healthcare, and robotics, by enabling agents to learn optimal policies through interactions with their environments. However, the application of DRL in safety-critical domains presents challenges, particularly concerning the safety of the learned policies. DRL agents, which are focused on maximizing rewards, may select unsafe actions, leading to safety violations. Runtime safety monitoring is thus essential to ensure the safe operation of these agents, especially in unpredictable and dynamic environments. This paper introduces SMARLA, a black-box safety monitoring approach specifically designed for DRL agents. SMARLA utilizes machine learning to predict safety violations by observing the agent's behavior during execution. The approach is based on Q-values, which reflect the expected reward for taking actions in specific states. SMARLA employs state abstraction to reduce the complexity of the state space, enhancing the predictive capabilities of the monitoring model. Such abstraction enables the early detection of unsafe states, allowing for the implementation of corrective and preventive measures before incidents occur. We quantitatively and qualitatively validated SMARLA on three well-known case studies widely used in DRL research. Empirical results reveal that SMARLA is accurate at predicting safety violations, with a low false positive rate, and can predict violations at an early stage, approximately halfway through the execution of the agent, before violations occur. We also discuss different decision criteria, based on confidence intervals of the predicted violation probabilities, to trigger safety mechanisms aiming at a trade-off between early detection and low false positive rates.

📄 PDF Abstract BibTeX arXiv:2308.02594

Code (1)

amirhosseinzlf/smarla 공식 구현 tf

Tasks

Autonomous DrivingDeep Reinforcement Learningreinforcement-learningReinforcement Learning

Similar Papers 제목 키워드 기반

ToolSafe: Enhancing Tool Invocation Safety of LLM-based agents via Proactive Step-level Guardrail and Feedback

2026-01-15 · Yutao Mou, Zhangchi Xue, Lijun Li, Peiyang Liu 외 arxiv

While LLM-based agents can interact with environments via invoking external tools, their expanded capabilities also amplify security risks. Monitoring step-level tool invocation behaviors in real time and proactively int…

Reinforcement Learning

Safety Margins for Reinforcement Learning

2023-07-25 · Alexander Grushin, Walt Woods, Alvaro Velasquez, Simon Khan

Any autonomous controller will be unsafe in some situations. The ability to quantitatively identify when these unsafe situations are about to occur is crucial for drawing timely human oversight in, e.g., freight transpor…

reinforcement-learningReinforcement Learning

Practical challenges of control monitoring in frontier AI deployments

2025-12-15 · David Lindner, Charlie Griffin, Tomek Korbak, Roland S. Zimmermann 외 arxiv

Automated control monitors could play an important role in overseeing highly capable AI agents that we do not fully trust. Prior work has explored control monitoring in simplified settings, but scaling monitoring to real…

ProbGuard: Probabilistic Runtime Monitoring for LLM Agent Safety

2025-08-01 · Haoyu Wang, Christopher M. Poskitt, Jiali Wei, Jun Sun arxiv

Large Language Model (LLM) agents increasingly operate across domains such as robotics, virtual assistants, and web automation. However, their stochastic decision-making introduces safety risks that are difficult to anti…

Autonomous Driving

VeriGuard: Enhancing LLM Agent Safety via Verified Code Generation

2025-10-03 · Lesly Miculicich, Mihir Parmar, Hamid Palangi, Krishnamurthy Dj Dvijotham 외 arxiv

The deployment of autonomous AI agents in sensitive domains, such as healthcare, introduces critical risks to safety, security, and privacy. These agents may deviate from user objectives, violate data handling policies, …

Code Generation