arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.17282cs.AI
收藏

破解行动密码:面向强化学习的可供性的生成式方法

Cracking the Code of Action: a Generative Approach to Affordances for Reinforcement Learning

McGill University(麦吉尔大学);Mila;Google DeepMind(谷歌DeepMind)

Lynn Cherif, Flemming Kondrup, David Venuto, Ankit Anand, Doina Precup, Khimya Khetarpal

AI总结:

提出CoGA方法,利用预训练视觉语言模型生成代码以约束行动空间,在MiniWob++基准上显著提升强化学习样本效率,并实现任务内泛化。

摘要:

能够通过图形用户界面(GUI)自主导航并使用统一行动空间(例如鼠标和键盘操作)的智能体,可能需要大量的特定领域专家示范才能达到良好的性能。在稀疏奖励和大行动空间环境(如网页GUI)中,低样本效率往往更加严重,因为在任何给定情境下只有少数行动是相关的。在这项工作中,我们考虑低数据情形,即专家行为有限或无法获取。为了实现样本高效学习,我们探索了通过基于意图的可供性(intent-based affordances)来约束行动空间的效果——即在任何情境下仅考虑能够实现预期结果的行动子集。我们提出了代码即生成式可供性(Code as Generative Affordances, CoGA)方法,该方法利用预训练的视觉语言模型(VLMs)生成代码,通过隐式意图完成函数和全自动程序生成与验证流程来确定可行的行动。这些程序随后被用于强化学习智能体的循环中,根据像素观察返回一组可供性。通过大幅减少智能体必须考虑的行动数量,我们在MiniWob++基准的广泛任务上证明:1) CoGA的样本效率比其RL智能体高出数个数量级;2) CoGA的程序能够在任务族内泛化;3) 当少量专家示范可用时,CoGA的表现优于或等同于行为克隆。

英文摘要:

Agents that can autonomously navigate the web through a graphical user interface (GUI) using a unified action space (e.g., mouse and keyboard actions) can require very large amounts of domain-specific expert demonstrations to achieve good performance. Low sample efficiency is often exacerbated in sparse-reward and large-action-space environments, such as a web GUI, where only a few actions are relevant in any given situation. In this work, we consider the low-data regime, with limited or no access to expert behavior. To enable sample-efficient learning, we explore the effect of constraining the action space through $\textit{intent-based affordances}$ -- i.e., considering in any situation only the subset of actions that achieve a desired outcome. We propose $\textbf{Code as Generative Affordances}$ $(\textbf{$\texttt{CoGA}$})$, a method that leverages pre-trained vision-language models (VLMs) to generate code that determines affordable actions through implicit intent-completion functions and using a fully-automated program generation and verification pipeline. These programs are then used in-the-loop of a reinforcement learning agent to return a set of affordances given a pixel observation. By greatly reducing the number of actions that an agent must consider, we demonstrate on a wide range of tasks in the MiniWob++ benchmark that: $\textbf{1)}$ $\texttt{CoGA}$ is orders of magnitude more sample efficient than its RL agent, $\textbf{2)}$ $\texttt{CoGA}$'s programs can generalize within a family of tasks, and $\textbf{3)}$ $\texttt{CoGA}$ performs better or on par compared with behavior cloning when a small number of expert demonstrations is available.

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

↑