You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sb3VecEnvWrapper clamps unbounded action spaces to [-100, 100] (source). This works fine for on-policy algorithms like PPO (which sample from an unbounded Gaussian and ignore bounds), but breaks off-policy algorithms like SAC.
SAC squashes actions through tanh() then rescales to the full [low, high] range via unscale_action(). With [-100, 100] bounds, the initial action distribution is spread across the entire range, while the useful range is typically around [-1, 1]. This causes reward divergence or collapse on every environment tested.
Train SAC on any environment with unbounded action spaces (which includes all ManagerBasedRLEnv environments and any DirectRLEnv using integer action_space configs):
importgymnasiumasgymfromstable_baselines3importSACfromisaaclab_rl.sb3importSb3VecEnvWrapperenv=gym.make("Isaac-Ant-v0", cfg=env_cfg)
env=Sb3VecEnvWrapper(env)
# env.action_space is now Box(-100, 100)agent=SAC("MlpPolicy", env)
agent.learn(total_timesteps=1_000_000)
Results across 3 environments (SAC, 1M steps, 64 envs):
Additionally, ManagerBasedRLEnv always creates unbounded action spaces (low=-np.inf, high=np.inf), so this code path is hit by the majority of environments.
Checklist
I have checked that there is no similar issue in the repo (required)
I have checked that the issue is not in running Isaac Sim itself and is related to the repo
Acceptance Criteria
SAC can train successfully on environments with unbounded action spaces without manual intervention
Thank you for posting this. Would it be possible to try this on Isaac Sim 5.1 or later? That would give us a set up we could use to reproduce this issue if it persists. Thank you.
Apologies, @RandomOakForest my initial statement was mis-stated, and this training was done on IsaacSim 5.1.0, IsaacLab 2.3.2. I have edited the original issue.
I think #7910 might have broken training SB3 PPO policy (at least for locomotion envs). If you read the blog post, the issue is for SAC and other algorithm using a tanh to rescale the output.
However setting the action space to [-1, 1] breaks the performance for PPO (if I recall my experiments when I wrote the blog post). For SAC, it is a better default than the large action space but not optimal (optimal would be properly defining action bounds per task and maybe retuning the reward weights).
Activity
RandomOakForest commentedon Mar 23, 2026
Thank you for posting this. Would it be possible to try this on Isaac Sim 5.1 or later? That would give us a set up we could use to reproduce this issue if it persists. Thank you.
e-ndorfin commentedon Mar 24, 2026
Apologies, @RandomOakForest my initial statement was mis-stated, and this training was done on IsaacSim 5.1.0, IsaacLab 2.3.2. I have edited the original issue.
RandomOakForest commentedon Apr 3, 2026
Thank you for the correction and adding the PR. The team will review it.
[RL] Normalize unbounded SB3 action spaces (#7910)
StafaH commentedon Sep 20, 2026
Resolved by #7910.
[RL] Normalize unbounded SB3 action spaces (isaac-sim#7910)
araffin commentedon Nov 6, 2026
I think #7910 might have broken training SB3 PPO policy (at least for locomotion envs). If you read the blog post, the issue is for SAC and other algorithm using a tanh to rescale the output.
However setting the action space to
[-1, 1]breaks the performance for PPO (if I recall my experiments when I wrote the blog post). For SAC, it is a better default than the large action space but not optimal (optimal would be properly defining action bounds per task and maybe retuning the reward weights).