arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.00298cs.LGmath.OC
收藏

数据删除有助于自适应强化学习

Data Deletion Can Help in Adaptive RL

Department of Electrical and Computer Engineering, Boston University(波士顿大学电气与计算机工程系);Faculty of Electrical and Computer Engineering, Systems Engineering, Boston University(波士顿大学电气与计算机工程学院、系统工程学院)

Param Budhraja, Aditya Gangrade, Alex Olshevsky, Venkatesh Saligrama

AI总结:

研究通过在上下文马尔可夫决策过程框架中,利用随机删除训练缓冲区中的部分数据来提升自适应强化学习的鲁棒性,减少30%的鲁棒性差距,并在特定条件下使模型性能更优。

摘要:

在现实世界中部署强化学习策略需要适应时间变化的环境。我们研究了在上下文马尔可夫决策过程(cMDP)框架中的问题,其中一组环境由一个低维上下文索引,该上下文在测试时未知。标准方法将问题分解为:训练一个所谓的“通用策略”,假设了解真实的上下文,然后将其与一个上下文估计器配对,该估计器使用观察到的轨迹来近似上下文。我们识别出一个简单但反直觉的技巧,可以显著提高估计器:在每次轮次后随机删除一部分训练缓冲区的数据。这是因为数据是在多个轮次中使用逐步改进的策略收集的,而较早的轨迹来自不同的分布,不同于估计器在部署时将面对的分布;随机删除在隐含地对旧数据进行指数衰减,同时保持多样性,而无需显式识别哪些样本是陈旧的。这将MLP的鲁棒性差距减少了30%,并在平均上减少了6%的递归网络。令人惊讶的是,这使一个参数仅为5倍更少的窄MLP能够超越没有删除的宽MLP。为了理解何时以及为何删除有所帮助,我们分析了具有训练分布和部署分布之间不匹配的正则化经验风险最小化;在这一理想化设定中,我们证明了在轻微条件下,移除一个均匀随机的训练点会减少预期测试损失。对于岭回归,我们将其量化:删除有助于当正则化系数适中且信号噪声比(SNR)足够低时,并且,关键的是,这个SNR阈值提供了直接衡量训练和部署分布之间不匹配程度的指标,以使删除变得有益。

英文摘要:

Deploying reinforcement learning policies in the real world requires adapting to time-varying environments. We study this problem in the contextual Markov Decision Process (cMDP) framework, where a family of environments is indexed by a low-dimensional context unknown at test time. The standard approach decomposes the problem: train a so-called "universal policy" which assumes knowledge of the true context, then pair it with a context estimator which approximates context using the observed trajectory. We identify a simple, counterintuitive trick that substantially improves the estimator: randomly delete a fraction of the training buffer after each round. This works because data is collected across multiple rounds using progressively better policies, and older trajectories come from a different distribution than what the estimator will face at deployment time; random deletion creates an implicit exponential decay on older data while preserving diversity without requiring any explicit identification of which samples are stale. This reduces robustness gap by 30% for MLPs and by 6% on average for recurrent networks. Strikingly, it allows a narrow MLP with 5x fewer parameters to outperform a wide MLP trained without deletion. To understand when and why deletion helps, we analyze regularized empirical risk minimization with a mismatch between the train distribution and the distribution at deployment; in this idealized setting, we prove that removing a single uniformly random training point decreases expected test loss in expectation under mild conditions. For ridge regression we make this quantitative: deletion helps when the regularization coefficient is moderate and the signal-to-noise ratio (SNR) is sufficiently low, and, crucially, this SNR threshold gives a direct measure of how large the distribution mismatch between training and deployment must be for deletion to be beneficial.

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

↑