arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2208.08552cs.AIcs.HCcs.LGcs.LO
收藏

一个理解和可视化RL Agent策略的框架

A Framework for Understanding and Visualizing Strategies of RL Agents

SRI International(SRI国际研究所)

Pedro Sequeira, Daniel Elenius, Jesse Hostetler, Melinda Gervasio

摘要:

近年来,随着对人工智能中信任和道德的日益重视,理解深度学习模型的需求变得越来越重要,因此可解释人工智能取得了重大进展。顺序决策任务的可理解模型是一个特殊的挑战,因为它们不仅需要理解单个预测,还需要理解与环境动态相互作用的一系列预测。我们提出了一个框架,学习可理解的模型,顺序决策任务,代理策略的特点是使用时序逻辑公式。给定一组代理轨迹,我们首先使用一种新颖的嵌入方法对轨迹进行聚类,该方法可以捕获频繁的动作模式。然后,我们寻找逻辑公式,解释代理策略在不同的集群。我们评估我们的框架在星际争霸2(SC2)的战斗场景,使用手工制作的专家政策和训练有素的强化学习代理的痕迹。我们实现了一个功能提取器SC2环境中提取的痕迹作为一系列的高层次的功能,描述了环境的状态和代理的本地行为从代理重放。我们进一步设计了一个可视化工具,描述了环境中单元的运动,有助于理解不同的任务条件如何导致每个跟踪集群中不同的代理行为模式。实验结果表明,我们的框架是能够分离代理痕迹到不同的行为组,我们的策略推理方法产生一致的,有意义的,易于理解的策略描述。

英文摘要:

Recent years have seen significant advances in explainable AI as the need to understand deep learning models has gained importance with the increased emphasis on trust and ethics in AI. Comprehensible models for sequential decision tasks are a particular challenge as they require understanding not only individual predictions but a series of predictions that interact with environmental dynamics. We present a framework for learning comprehensible models of sequential decision tasks in which agent strategies are characterized using temporal logic formulas. Given a set of agent traces, we first cluster the traces using a novel embedding method that captures frequent action patterns. We then search for logical formulas that explain the agent strategies in the different clusters. We evaluate our framework on combat scenarios in StarCraft II (SC2), using traces from a handcrafted expert policy and a trained reinforcement learning agent. We implemented a feature extractor for SC2 environments that extracts traces as sequences of high-level features describing both the state of the environment and the agent's local behavior from agent replays. We further designed a visualization tool depicting the movement of units in the environment that helps understand how different task conditions lead to distinct agent behavior patterns in each trace cluster. Experimental results show that our framework is capable of separating agent traces into distinct groups of behaviors for which our approach to strategy inference produces consistent, meaningful, and easily understood strategy descriptions.

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

↑