arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.14355cs.LGcs.AI
收藏

通过交错异步推理实现大规模实时强化学习

Enabling Realtime Reinforcement Learning at Scale with Staggered Asynchronous Inference

Mila(米拉研究所);Université de Montréal(蒙特利尔大学);IBM Research(IBM研究院)

Matthew Riemer, Gopeshh Subbaraj, Glen Berseth, Irina Rish

AI总结:

针对大模型推理延迟阻碍实时强化学习的问题,提出交错异步推理算法,证明其能以线性扩展的进程数突破动作频率限制,在Game Boy游戏实时模拟中支持比现有方法大数个数量级的模型。

摘要:

实时环境即使在智能体执行动作推理和学习时也会发生变化,因此需要高交互频率以有效最小化遗憾。然而,机器学习的最新进展涉及具有更长推理时间的更大神经网络,这对其在反应时间至关重要的实时系统中的适用性提出了疑问。我们对实时强化学习(RL)环境中遗憾的下界进行了分析,以表明在典型的顺序交互和学习范式中,最小化长期遗憾通常是不可能的,但在有足够异步计算可用时,往往变得可能。我们提出了交错异步推理过程的新算法,以确保动作在一致的时间间隔内执行,并证明使用具有高动作推理时间的模型仅受推理周期内环境有效随机性的约束,而不受动作频率的约束。我们的分析表明,所需的推理进程数量随着推理时间的增加而线性扩展,同时在从Game Boy游戏(如Pokémon和Tetris)的实时模拟中学习时,能够使用比现有方法大多个数量级的模型。

英文摘要:

Realtime environments change even as agents perform action inference and learning, thus requiring high interaction frequencies to effectively minimize regret. However, recent advances in machine learning involve larger neural networks with longer inference times, raising questions about their applicability in realtime systems where reaction time is crucial. We present an analysis of lower bounds on regret in realtime reinforcement learning (RL) environments to show that minimizing long-term regret is generally impossible within the typical sequential interaction and learning paradigm, but often becomes possible when sufficient asynchronous compute is available. We propose novel algorithms for staggering asynchronous inference processes to ensure that actions are taken at consistent time intervals, and demonstrate that use of models with high action inference times is only constrained by the environment's effective stochasticity over the inference horizon, and not by action frequency. Our analysis shows that the number of inference processes needed scales linearly with increasing inference times while enabling use of models that are multiple orders of magnitude larger than existing approaches when learning from a realtime simulation of Game Boy games such as Pokémon and Tetris.

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

↑