用反事实推理提升视觉语言模型在线微调的探索效率
Towards Efficient Online Tuning of VLM Agents via Counterfactual Soft Reinforcement Learning
- 通过反事实分析动态评估文本中每个词对动作的影响
- 在安卓控制、游戏和具身智能任务中提升探索效率
- 适合需要高效在线学习的视觉语言智能体研究者
在动态环境中,通过强化学习对视觉语言模型(VLM)智能体进行在线微调,有望赋予其多步、目标导向的能力。然而,其开放式的文本动作空间和非端到端的动作生成机制,给强化学习中的有效探索带来了挑战,例如探索空间爆炸。本文提出一种新型在线微调方法——反事实软强化学习(CoSo),更适用于VLM智能体的文本输出空间。与以往对所有词分配统一不确定性的方法不同,CoSo利用反事实推理动态评估单个词对后处理动作的因果影响。通过优先探索对动作关键的词,同时降低语义冗余或低影响词的影响,CoSo实现了更精准高效的在线推演。我们提供了理论分析,证明了CoSo的收敛性和策略改进保证,并通过大量实证评估验证了其有效性。在安卓设备控制、卡牌游戏和具身智能等多种任务中,CoSo展现出显著的探索效率提升和一致的性能增益。代码已开源:https://github.com/langfengQ/CoSo。
原文摘要 · Abstract (English)
Online fine-tuning vision-language model (VLM) agents with reinforcement learning (RL) has shown promise for equipping agents with multi-step, goal-oriented capabilities in dynamic environments. However, their open-ended textual action space and non-end-to-end nature of action generation present significant challenges to effective online exploration in RL, e.g., explosion of the exploration space. We propose a novel online fine-tuning method, Counterfactual Soft Reinforcement Learning (CoSo), better suited to the textual output space of VLM agents. Compared to prior methods that assign uniform uncertainty to all tokens, CoSo leverages counterfactual reasoning to dynamically assess the causal influence of individual tokens on post-processed actions. By prioritizing the exploration of action-critical tokens while reducing the impact of semantically redundant or low-impact tokens, CoSo enables a more targeted and efficient online rollout process. We provide theoretical analysis proving CoSo's convergence and policy improvement guarantees, and extensive empirical evaluations supporting CoSo's effectiveness. Our results across a diverse set of agent tasks, including Android device control, card gaming, and embodied AI, highlight its remarkable ability to enhance exploration efficiency and deliver consistent performance gains. The code is available at https://github.com/langfengQ/CoSo.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。