克服未遮蔽策略梯度算法中的有效动作抑制
Overcoming Valid Action Suppression in Unmasked Policy Gradient Algorithms
AI总结:
该研究揭示了未遮蔽策略梯度算法中有效动作抑制的机制,并通过实验验证了可行性分类在无需oracle遮蔽的部署中的有效性。
摘要:
在具有状态依赖动作有效性的强化学习环境中,动作遮蔽 consistently 超过了基于惩罚处理无效动作的方法,但现有理论仅显示遮蔽保持策略梯度定理。我们识别出未遮蔽训练的一种独特失败模式:它系统地在代理尚未访问的状态中抑制有效动作。这发生因为在已访问状态中推动无效动作的梯度通过共享网络参数传播到未访问状态,其中这些动作是有效的。我们证明对于具有共享特征的softmax策略,当一个动作在已访问状态中无效但在未访问状态s*中有效时,概率π(a|s*)受到指数衰减的限制,这是由于参数共享和softmax对数的零和身份。这个界限揭示了熵正则化在保护有效动作和样本效率之间的权衡,而遮蔽消除了这种权衡。我们实证验证了深度网络表现出所需特征对齐条件,并在Craftax、Craftax-Classic和MiniHack上的实验证实了预测的指数抑制,并展示了可行性分类使部署无需oracle遮蔽。
英文摘要:
In reinforcement learning environments with state-dependent action validity, action masking consistently outperforms penalty-based handling of invalid actions, yet existing theory only shows that masking preserves the policy gradient theorem. We identify a distinct failure mode of unmasked training: it systematically suppresses valid actions at states the agent has not yet visited. This occurs because gradients pushing down invalid actions at visited states propagate through shared network parameters to unvisited states where those actions are valid. We prove that for softmax policies with shared features, when an action is invalid at visited states but valid at an unvisited state $s^*$, the probability $π(a \mid s^*)$ is bounded by exponential decay due to parameter sharing and the zero-sum identity of softmax logits. This bound reveals that entropy regularization trades off between protecting valid actions and sample efficiency, a tradeoff that masking eliminates. We validate empirically that deep networks exhibit the feature alignment condition required for suppression, and experiments on Craftax, Craftax-Classic, and MiniHack confirm the predicted exponential suppression and demonstrate that feasibility classification enables deployment without oracle masks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。