随机删除训练数据能显著提升强化学习在动态环境中的适应能力。
Data Deletion Can Help in Adaptive RL
- 通过随机删减旧数据,缓解策略迭代中训练与部署分布不一致问题。
- 使参数少5倍的窄MLP性能超越宽MLP,降低30%鲁棒性差距。
- 适用于需持续适应环境的RL系统,尤其对序列模型效果明显。
在上下文马尔可夫决策过程(cMDP)框架下,真实世界中的强化学习需适应随时间变化的环境。标准方法是先训练一个假设已知上下文的通用策略,再用轨迹估计上下文。本文发现一种反直觉但有效的技巧:每轮后随机删除一部分训练缓存。由于策略迭代过程中数据分布不断变化,旧数据与部署时分布不匹配;随机删除相当于隐式实现指数衰减,无需识别过时样本即可保留多样性。该方法使MLP的鲁棒性差距降低30%,递归网络平均降低6%。更惊人的是,一个参数少5倍的窄MLP在删除策略下表现优于未删除的宽MLP。理论分析表明,在训练与部署分布存在偏差的正则化经验风险最小化框架下,随机删除一个训练点可降低预期测试损失。对岭回归的定量分析显示,当正则化系数适中且信噪比(SNR)足够低时,删除有益,且该SNR阈值直接反映了分布偏移所需的最小程度。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。