对强化学习中合成数据的取证分析:诊断和解决基于模型的策略优化中的算法故障
A Forensic Analysis of Synthetic Data in RL: Diagnosing and Solving Algorithmic Failures in Model-Based Policy Optimization
AI总结:
本文研究了基于模型的策略优化中合成数据导致性能下降的原因,提出FTFL方法修复算法故障,提升DMC任务性能并保持Gym表现。
摘要:
合成数据在数据高效的Dyna风格基于模型的强化学习中至关重要,但可能降低性能。我们研究了基于模型的策略优化(MBPO)中这一失败现象,该方法通过模型生成的合成状态转移进行actor-critic更新。尽管MBPO在OpenAI Gym上表现出强大的样本效率,但最近的研究表明,在DeepMind Control Suite(DMC)中,它经常在Soft Actor-Critic(SAC)之下,尽管两者都涉及基于MuJoCo的感知连续控制。我们识别出两种耦合原因:动态与奖励目标之间的尺度不匹配,这会抑制奖励学习并导致批评者低估,以及残余的下一状态预测,这会增加模型方差并产生不可靠的合成转换。我们引入Fixing That Free Lunch(FTFL),一种最小的修复方法,结合独立的目标归一化和直接的下一状态预测。FTFL在七个先前失败的DMC任务中的五个中优于SAC,同时保持MBPO在Gym上的强大表现。我们进一步表明,MBPO派系算法,包括基于模型不确定性的变体,这些变体根据模型不确定性过滤、惩罚或拒绝合成转换,除非应用FTFL到它们共享的学得模型主干,否则仍会继承这些失败。更广泛地说,我们的结果展示了受限评估如何将环境特定的假设编码到算法设计中,从而推动映射MDP结构到算法故障模式的分类学。
英文摘要:
Synthetic data is central to data-efficient Dyna-style model-based reinforcement learning, but it can also degrade performance. We study this failure in Model-Based Policy Optimization (MBPO), which performs actor-critic updates using model-generated synthetic state transitions. Although MBPO reports strong sample-efficiency gains on OpenAI Gym, recent work shows that it often underperforms Soft Actor-Critic (SAC), its non-Dyna base, in the DeepMind Control Suite (DMC), despite both suites involving MuJoCo-based proprioceptive continuous control. We identify two coupled causes of this collapse: scale mismatch between dynamics and reward targets, which suppresses reward learning and induces critic underestimation, and residual next-state prediction, which inflates model variance and produces unreliable synthetic transitions. We introduce Fixing That Free Lunch (FTFL), a minimal repair that combines independent target normalization with direct next-state prediction. FTFL outperforms SAC in five of seven previously failing DMC tasks while preserving MBPO's strong Gym performance. We further show that MBPO-lineage algorithms, including uncertainty-aware variants that filter, penalize, or reject synthetic transitions based on model uncertainty, still inherit these failures unless FTFL is applied to their shared learned-model backbone. More broadly, our results show how benchmark-limited evaluation can encode environment-specific assumptions into algorithm design, motivating taxonomies that map MDP structure to algorithmic failure modes.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。