arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.20116cs.LG
收藏

基于次优历史数据的上下文强化学习

In-Context Reinforcement Learning From Suboptimal Historical Data

Department of Electrical and Computer Engineering, 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, Moyang Guo, Ethan X. Fang, Zhuoran Yang, Vahid Tarokh

AI总结:

DIT框架通过结合价值函数估计和加权最大似然估计,有效提升在次优历史数据下的强化学习性能。

摘要:

变换器模型在经验上取得了显著的成功,这主要归功于其上下文学习能力。受此启发,我们探索训练一个自回归变换器进行上下文强化学习(ICRL)。在此设置中,我们首先在由不同强化学习任务收集的离线数据集上训练一个变换器,然后固定并使用这个变换器为新的强化学习任务创建动作策略。值得注意的是,我们考虑离线数据集包含来自次优行为策略采样的轨迹的情况。在这种情况下,标准自回归训练对应于模仿学习,导致次优性能。为了解决这个问题,我们提出了决策重要性变换器(DIT)框架,该框架以上下文的方式模拟actor-critic算法。具体来说,我们首先训练一个基于变换器的价值函数,该函数估计收集次优轨迹的行为策略的优势函数。然后我们通过加权最大似然估计损失训练一个基于变换器的策略,其中权重是根据训练的价值函数构建的,以将次优策略引导到最优策略。我们进行了广泛的实验,以测试DIT在老虎机和马尔可夫决策过程问题上的性能。我们的结果表明,DIT在离线数据集包含次优历史数据时实现了优越的性能。

英文摘要:

Transformer models have achieved remarkable empirical successes, largely due to their in-context learning capabilities. Inspired by this, we explore training an autoregressive transformer for in-context reinforcement learning (ICRL). In this setting, we initially train a transformer on an offline dataset consisting of trajectories collected from various RL tasks, and then fix and use this transformer to create an action policy for new RL tasks. Notably, we consider the setting where the offline dataset contains trajectories sampled from suboptimal behavioral policies. In this case, standard autoregressive training corresponds to imitation learning and results in suboptimal performance. To address this, we propose the Decision Importance Transformer(DIT) framework, which emulates the actor-critic algorithm in an in-context manner. In particular, we first train a transformer-based value function that estimates the advantage functions of the behavior policies that collected the suboptimal trajectories. Then we train a transformer-based policy via a weighted maximum likelihood estimation loss, where the weights are constructed based on the trained value function to steer the suboptimal policies to the optimal ones. We conduct extensive experiments to test the performance of DIT on both bandit and Markov Decision Process problems. Our results show that DIT achieves superior performance, particularly when the offline dataset contains suboptimal historical data.

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

↑