让行为基础模型通过环境交互高效推断未知任务
Optimistic Task Inference for Behavior Foundation Models
- 基于乐观决策准则,仅用环境互动完成任务推断
- 仅需数个智能体回合即可找到并优化未见奖励函数
- 适合需要快速适应新任务的强化学习应用
行为基础模型(BFM)可在测试时直接指定奖励函数,实现零样本强化学习,但通常需大量数据或标注。为缓解此问题,本文提出OpTI-BFM,一种仅通过与环境交互进行任务推断的方法。该方法基于对奖励函数不确定性的建模,采用乐观决策准则指导数据收集。理论上,我们建立了训练良好的BFM的后悔界,其与线性多臂老虎机的上置信界算法直接关联。实验表明,在零样本基准上,基于后续特征的BFM借助OpTI-BFM,仅需少数几轮即可识别并优化未见奖励函数,且计算开销极低。代码已开源。
原文摘要 · Abstract (English)
Behavior Foundation Models (BFMs) are capable of retrieving high-performing policy for any reward function specified directly at test-time, commonly referred to as zero-shot reinforcement learning (RL). While this is a very efficient process in terms of compute, it can be less so in terms of data: as a standard assumption, BFMs require computing rewards over a non-negligible inference dataset, assuming either access to a functional form of rewards, or significant labeling efforts. To alleviate these limitations, we tackle the problem of task inference purely through interaction with the environment at test-time. We propose OpTI-BFM, an optimistic decision criterion that directly models uncertainty over reward functions and guides BFMs in data collection for task inference. Formally, we provide a regret bound for well-trained BFMs through a direct connection to upper-confidence algorithms for linear bandits. Empirically, we evaluate OpTI-BFM on established zero-shot benchmarks, and observe that it enables successor-features-based BFMs to identify and optimize an unseen reward function in a handful of episodes with minimal compute overhead. Code is available at https://github.com/ThomasRupf/opti-bfm.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。