arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.08244cs.LGcs.AI
收藏

在情境中学习,由选择引导:一种无奖励的强化学习与Transformer的范式

Learning in Context, Guided by Choice: A Reward-Free Paradigm for Reinforcement Learning with Transformers

Department of Electrical and Computer Engineering, Duke University, Durham, US(电子工程系,杜克大学,达勒姆,美国);Department of Computer Science, Duke University, Durham, US(计算机科学系,杜克大学,达勒姆,美国);Department of Biostatistics and Bioinformatics, Duke University, Durham, US(生物统计学与生物信息学系,杜克大学,达勒姆,美国);Department of Statistics and Data Science, Yale University, New Haven, US(统计学与数据科学系,耶鲁大学,纽 Haven,美国)

Juncheng Dong, Bowen He, Moyang Guo, Ethan X. Fang, Zhuoran Yang, Vahid Tarokh

AI总结:

本文提出ICPRL范式,通过仅使用偏好反馈实现无奖励的强化学习,适用于奖励难以获取的场景,实验显示其在连续控制等任务中性能接近传统ICRL方法。

摘要:

在情境中的强化学习(ICRL)利用Transformer模型(TMs)的在情境学习能力,以高效地泛化到未见过的序列决策任务,而无需参数更新。然而,现有的ICRL方法在预训练过程中依赖显式的奖励信号,这限制了当奖励模糊、难以指定或成本高昂时的应用。为克服这一限制,我们提出了一种新的学习范式,即基于偏好的在情境中的强化学习(ICPRL),其中预训练和部署仅依赖于偏好反馈,消除了对奖励监督的需求。我们研究了两种变体,它们在反馈的粒度上有所不同:具有每一步偏好的即时偏好强化学习(I-PRL)和具有轨迹级比较的轨迹偏好强化学习(T-PRL)。我们首先表明,监督预训练,一种ICRL中的标准方法,在仅使用偏好数据集的情况下仍然有效,证明了仅使用偏好信号进行在情境中的强化学习的可行性。为了进一步提高数据效率,我们引入了替代的偏好原生框架用于I-PRL和T-PRL,这些框架直接从偏好数据中优化Transformer策略,而无需奖励信号或最优动作标签。在dueling bandits、导航和连续控制任务中的实验表明,ICPRL能够实现对未见过的任务的强大在情境泛化,其性能与使用完整奖励监督训练的ICRL方法相当。

英文摘要:

In-context reinforcement learning (ICRL) leverages the in-context learning capabilities of transformer models (TMs) to efficiently generalize to unseen sequential decision-making tasks without parameter updates. However, existing ICRL methods rely on explicit reward signals during pretraining, which limits their applicability when rewards are ambiguous, hard to specify, or costly to obtain. To overcome this limitation, we propose a new learning paradigm, In-Context Preference-based Reinforcement Learning (ICPRL), in which both pretraining and deployment rely solely on preference feedback, eliminating the need for reward supervision. We study two variants that differ in the granularity of feedback: Immediate Preference-based RL (I-PRL) with per-step preferences, and Trajectory Preference-based RL (T-PRL) with trajectory-level comparisons. We first show that supervised pretraining, a standard approach in ICRL, remains effective under preference-only context datasets, demonstrating the feasibility of in-context reinforcement learning using only preference signals. To further improve data efficiency, we introduce alternative preference-native frameworks for I-PRL and T-PRL that directly optimize TM policies from preference data without requiring reward signals nor optimal action labels.Experiments on dueling bandits, navigation, and continuous control tasks demonstrate that ICPRL enables strong in-context generalization to unseen tasks, achieving performance comparable to ICRL methods trained with full reward supervision.

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

↑