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

通过贝叶斯融合上下文和价值先验实现上下文强化学习

In-Context Reinforcement Learning through Bayesian Fusion of Context and Value Prior

University of Cambridge(剑桥大学);Mila - Quebec AI Institute(魁北克人工智能研究所);Université de Montréal(蒙特利尔大学);McGill University(麦吉尔大学)

Anaïs Berkes, Vincent Taboga, Donna Vakalis, David Rolnick, Yoshua Bengio

AI总结:

SPICE通过贝叶斯融合上下文和价值先验,实现高效适应未见过的环境,减少遗憾并保持鲁棒性。

摘要:

上下文强化学习(ICRL)承诺在不进行参数更新的情况下快速适应未见过的环境,但当前方法要么无法超越训练分布的改进,要么需要近最优的数据,限制了实际应用。我们介绍了SPICE,一种贝叶斯ICRL方法,通过深度集成学习Q值的先验,并在测试时通过贝叶斯更新使用上下文信息更新此先验。为了从训练于次优数据导致的劣质先验中恢复,我们的在线推理遵循上置信界规则,倾向于探索和适应。我们证明,即使在仅预训练于次优轨迹的情况下,SPICE在随机带宽和有限时间 horizon MDPs中均实现了最优的遗憾行为。我们通过带宽和控制基准实验验证了这些发现。SPICE在未见过的任务中实现了近最优的决策,相比先前的ICRL和元强化学习方法显著减少了遗憾,同时快速适应未见过的任务并在分布偏移下保持稳健。

英文摘要:

In-context reinforcement learning (ICRL) promises fast adaptation to unseen environments without parameter updates, but current methods either cannot improve beyond the training distribution or require near-optimal data, limiting practical adoption. We introduce SPICE, a Bayesian ICRL method that learns a prior over Q-values via deep ensemble and updates this prior at test-time using in-context information through Bayesian updates. To recover from poor priors resulting from training on sub-optimal data, our online inference follows an Upper-Confidence Bound rule that favours exploration and adaptation. We prove that SPICE achieves regret-optimal behaviour in both stochastic bandits and finite-horizon MDPs, even when pretrained only on suboptimal trajectories. We validate these findings empirically across bandit and control benchmarks. SPICE achieves near-optimal decisions on unseen tasks, substantially reduces regret compared to prior ICRL and meta-RL approaches while rapidly adapting to unseen tasks and remaining robust under distribution shift.

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

↑