arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.00997cs.AI
收藏

面向安全约束网格环境中无模型任务适配的安全探索策略

A Safe Exploration Strategy for Model-free Task Adaptation in Safety-constrained Grid Environments

University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校)

Erfan Entezami, Mahsa Sahebdel, Dhawal Gupta

AI总结:

本文提出一种安全探索框架,通过预训练不安全状态分类器并在风险情形下引导智能体遵循预定义安全策略,使无模型强化学习智能体在安全约束网格环境中以显著更少的安全违规适应新任务并学习最优策略。

摘要:

训练无模型强化学习智能体需要允许智能体充分探索环境以搜索最优策略。在安全约束环境中,采用无监督探索或非最优策略可能导致智能体进入不期望的状态,从而对智能体和环境产生潜在的高昂代价或危险后果。本文提出了一种新的用于网格环境导航的探索框架,使无模型智能体能够在遵守安全约束的同时与环境交互。该框架包含一个预训练阶段,在此阶段智能体根据环境中可观测特征和指定的安全约束学习识别潜在不安全状态。随后,训练一个二分类模型,用于在具有相似动态特性的新环境中预测这些不安全状态。该训练好的分类器使无模型智能体能够判断在哪些情况下采用随机探索或次优策略可能带来安全风险,此时框架会提示智能体遵循预定义的安全策略,以降低发生危险后果的可能性。我们在三个随机生成的网格环境上评估了该框架,并展示了无模型智能体如何安全地适应新任务并为新环境学习最优策略。结果表明,通过定义适当的安全策略并利用训练良好的模型检测不安全状态,我们的框架使无模型智能体能够以显著更少的安全违规次数适应新任务和新环境。

英文摘要:

Training a model-free reinforcement learning agent requires allowing the agent to sufficiently explore the environment to search for an optimal policy. In safety-constrained environments, utilizing unsupervised exploration or a non-optimal policy may lead the agent to undesirable states, resulting in outcomes that are potentially costly or hazardous for both the agent and the environment. In this paper, we introduce a new exploration framework for navigating the grid environments that enables model-free agents to interact with the environment while adhering to safety constraints. Our framework includes a pre-training phase, during which the agent learns to identify potentially unsafe states based on both observable features and specified safety constraints in the environment. Subsequently, a binary classification model is trained to predict those unsafe states in new environments that exhibit similar dynamics. This trained classifier empowers model-free agents to determine situations in which employing random exploration or a suboptimal policy may pose safety risks, in which case our framework prompts the agent to follow a predefined safe policy to mitigate the potential for hazardous consequences. We evaluated our framework on three randomly generated grid environments and demonstrated how model-free agents can safely adapt to new tasks and learn optimal policies for new environments. Our results indicate that by defining an appropriate safe policy and utilizing a well-trained model to detect unsafe states, our framework enables a model-free agent to adapt to new tasks and environments with significantly fewer safety violations.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑