Digi-Q:学习Q值函数以训练设备控制智能体
Digi-Q: Learning Q-Value Functions for Training Device-Control Agents
AI总结:
Digi-Q通过离线时序差分学习训练VLM的Q值函数,利用Best-of-N策略提取实现无需环境交互的移动设备控制,在Android-in-the-Wild上超越先前方法21.2%。
摘要:
尽管许多现有的构建基础模型智能体的方法依赖于提示或使用人类示范进行微调,但在动态环境(如移动设备控制)中,这些方法并不充分。在线强化学习(RL)应能解决这些局限性,但在真正开放式的智能体问题(如移动设备控制或与人类交互)中,收集环境中的实际轨迹往往不可取,因为每次交互都伴随成本。在此类场景中,利用离线经验并通过学习训练好的动作价值函数来进行策略学习的方法更为有效。在本文中,我们提出了一种名为Digi-Q的方法,用于训练基于视觉语言模型(VLM)的动作价值Q函数,并利用该函数提取智能体策略。我们在移动设备控制场景中研究了该方法。Digi-Q使用离线时序差分(TD)学习,在冻结的VLM中间层特征之上训练Q函数。与微调整个VLM相比,该方法节省了计算资源并增强了可扩展性。为了使VLM特征适合表示Q函数,我们需要采用一个初始微调阶段,以增强对价值函数所需可操作信息的覆盖。训练完成后,我们通过Best-of-N策略提取算子使用该Q函数,该算子从当前策略的多个候选动作中模仿由价值函数排序的最佳动作,从而在无需环境交互的情况下实现策略改进。在Android-in-the-Wild中,Digi-Q在用户规模设备控制任务上优于多种先前方法,相较于先前最佳方法实现了21.2%的提升。在某些情况下,我们的Digi-Q方法已可与需要交互的最先进RL方法相媲美。该项目已在https://github.com/DigiRL-agent/digiq开源。
英文摘要:
While a number of existing approaches for building foundation model agents rely on prompting or fine-tuning with human demonstrations, it is not sufficient in dynamic environments (e.g., mobile device control). On-policy reinforcement learning (RL) should address these limitations, but collecting actual rollouts in an environment is often undesirable in truly open-ended agentic problems such as mobile device control or interacting with humans, where each unit of interaction is associated with a cost. In such scenarios, a method for policy learning that can utilize off-policy experience by learning a trained action-value function is much more effective. In this paper, we develop an approach, called Digi-Q, to train VLM-based action-value Q-functions which are then used to extract the agent policy. We study our approach in the mobile device control setting. Digi-Q trains the Q-function using offline temporal-difference (TD) learning, on top of frozen, intermediate-layer features of a VLM. Compared to fine-tuning the whole VLM, this approach saves us compute and enhances scalability. To make the VLM features amenable for representing the Q-function, we need to employ an initial phase of fine-tuning to amplify coverage over actionable information needed for value function. Once trained, we use this Q-function via a Best-of-N policy extraction operator that imitates the best action out of multiple candidate actions from the current policy as ranked by the value function, enabling policy improvement without environment interaction. Digi-Q outperforms several prior methods on user-scale device control tasks in Android-in-the-Wild, attaining 21.2% improvement over prior best-performing method. In some cases, our Digi-Q approach already matches state-of-the-art RL methods that require interaction. The project is open-sourced at https://github.com/DigiRL-agent/digiq
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。