用卡尔曼滤波层显式建模隐藏状态不确定性,提升部分可观测强化学习性能。
Uncertainty Representations in State-Space Layers for Deep Reinforcement Learning under Partial Observability
- 引入可端到端训练的卡尔曼滤波层,实现高斯推理与状态不确定性建模
- 在多种部分可观测任务中超越传统循环模型,尤其在需推理不确定性的场景
- 结构类似线性循环层,支持并行扫描,序列长度增长时计算开销仅对数级上升
在部分可观测环境下最优决策需要对环境隐藏状态的不确定性进行推理。然而,大多数强化学习架构(如循环神经网络、确定性状态空间模型和Transformer)缺乏在隐藏状态表示中融入不确定性的内部机制。受强化学习中概率世界模型进展的启发,我们提出一种独立的卡尔曼滤波层,可在线性状态空间模型中执行闭式高斯推断,并在无模型架构中端到端训练以最大化回报。与高效线性循环层类似,卡尔曼滤波层通过并行扫描处理序列数据,其计算复杂度随序列长度呈对数级增长。设计上,该层可作为标准无模型架构中其他循环层的即插即用替代品,且关键优势在于显式包含潜在状态表示的概率滤波机制。在多种具有部分可观测性的任务实验中,卡尔曼滤波层在需要不确定性推理的关键决策问题上表现卓越,优于其他有记忆模型。
原文摘要 · Abstract (English)
Optimal decision-making under partial observability requires reasoning about the uncertainty of the environment's hidden state. However, most reinforcement learning architectures handle partial observability with sequence models that have no internal mechanism to incorporate uncertainty in their hidden state representation, such as recurrent neural networks, deterministic state-space models and transformers. Inspired by advances in probabilistic world models for reinforcement learning, we propose a standalone Kalman filter layer that performs closed-form Gaussian inference in linear state-space models and train it end-to-end within a model-free architecture to maximize returns. Similar to efficient linear recurrent layers, the Kalman filter layer processes sequential data using a parallel scan, which scales logarithmically with the sequence length. By design, Kalman filter layers are a drop-in replacement for other recurrent layers in standard model-free architectures, but importantly they include an explicit mechanism for probabilistic filtering of the latent state representation. Experiments in a wide variety of tasks with partial observability show that Kalman filter layers excel in problems where uncertainty reasoning is key for decision-making, outperforming other stateful models.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。