Unthrottling the Tanh Jacobian in SAC: A Negative Result on Bang-Bang Control and MetaDrive
解除 SAC 中 Tanh Jacobian 行列式的限制:Bang-Bang Control 和 MetaDrive 的负面结果
Faiq Shamass · arXiv:2609.09478 · 2026-09-08 · cs.LG
Soft Actor-Critic (SAC) 将连续策略表示为被 tanh 压缩的无界高斯函数。该映射的雅可比矩阵为 partial a/partial u = 1-a²,它消失为 |a|to 1。一个自然的担忧是,这种油门会让演员在极端动作(全刹车、全油门)最佳的情况下缺乏评论信号。我们测试了恢复丢失信号的最小干预:演员损失中的一个额外项,其在 tanh 均值之前的梯度是 Q 的独立动作梯度,没有增益参数。在最短时间双积分器上,其最优值是在动作边界上的 bang-bang,vanilla SAC 已经反应了
中文为机器翻译节选,以英文原文为准。
English abstract
Soft Actor-Critic (SAC) represents a continuous policy as an unbounded Gaussian that is squashed by tanh. The Jacobian of that map is partial a/partial u = 1-a², which vanishes as |a|to 1. A natural concern is that this throttle starves the actor of critic signal exactly where extreme actions (full brake, full throttle) are optimal. We test a minimal intervention that restores the missing signal: one extra term in the actor loss whose gradient on the pre-tanh mean is the detached action-gradient of Q, with no gain parameter. On a minimum-time double integrator whose optimum is bang-bang at the action bounds, vanilla SAC already reaches near-optimal return (-31.6 vs. a calibrated optimum of -30.3) across ten paired seeds. An ungated bypass does saturate the policy (99% of eval steps with |a|ge 0.9) and collapses return to -195.5. A gated bypass that fires only on the…