Where Entropy Is Measured Matters: Policy Geometry in Bounded Continuous-Control PPO
Organizations: Department of Engineering, Beihang University, Beijing, China · Department of Automation, Tsinghua University, Beijing, China
Abstract
Many continuous-control policies are optimized as unbounded Gaussians and then mapped into bounded actions. We show that where entropy is measured changes the policy geometry learned by proximal policy optimization (PPO). In an 80-muscle MyoLeg task, a clipped Gaussian executes 89.07% of actions within 5% of a bound. A same-state decomposition shows that this is not due to variance alone: setting variance to zero still leaves 83.83% of actions near a bound, while 82.12% of state-conditioned means lie outside the executable interval. Replacing clipping with a tanh map does not remove the high-variance regime. For latent Gaussian entropy H(u), the entropy loss has zero gradient with respect to the mean and a constant variance-increasing gradient. For executed-action entropy H(a), the transform Jacobian adds an inward gradient on the mean. Across three matched MyoLeg seeds, near-boundary occupancy is 71.42%, 29.76%, and 18.83% under latent entropy, no entropy, and executed-action entropy. A 38-dimensional Dog-Stand replication with an independent CleanRL-based PPO implementation reproduces the ordering in mean geometry, which also survives shared-state evaluation and boundary margins from 1% to 10%. Direct mean penalties can match or exceed the centering produced by H(a), showing that interior means are not unique to executed entropy. However, matched mean geometry can coexist with substantially different variance and return. Entropy measurement space is therefore a coupled mean-variance design choice, and task return alone does not characterize bounded-policy geometry.
Figures & tables
| Condition | Near bound (%) | log disp. | |
|---|---|---|---|
| Motor, 14D | |||
| Override, 80D | |||
| Filter, 80D | |||
| Symmetric , 80D | |||
| Beta, 80D |
| Condition | Det. near bound | |||||||
|---|---|---|---|---|---|---|---|---|
| No entropy | ||||||||
| Condition | |||||||
|---|---|---|---|---|---|---|---|
| No entropy | |||||||
| Tanh 2 mean penalty | |||||||
| Pre-tanh L2 | |||||||
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Margin | No entropy | ||
|---|---|---|---|---|
| Dog | 1% | 24.47 / 15.83 | 6.63 / 5.88 | 0.28 / 0.05 |
| Dog | 2.5% | 35.34 / 26.31 | 14.18 / 13.02 | 1.63 / 0.44 |
| Dog | 5% | 45.57 / 36.99 | 23.64 / 22.25 | 5.26 / 1.91 |
| Dog | 10% | 57.77 / 50.46 | 37.58 / 36.10 | 14.69 / 7.44 |
| MyoLeg | 1% | 56.40 / 40.46 | 10.30 / 7.69 | 2.77 / 0.82 |
| MyoLeg | 2.5% | 64.70 / 51.62 | 19.51 / 15.81 | 9.28 / 4.75 |
| Donor | No entropy | Tanh 2 penalty | Pre-tanh L2 | ||
|---|---|---|---|---|---|
| 37.05 | 28.31 | 4.56 | 0.59 | 5.30 | |
| No entropy | 38.00 | 22.26 | 5.15 | 0.96 | 4.23 |
| 42.06 | 28.62 | 1.88 | 0.57 | 4.52 | |
| Tanh 2 penalty | 42.46 | 27.31 | 5.29 | 0.09 | 5.13 |
| Pre-tanh L2 | 38.89 | 28.52 | 5.38 | 0.59 | 1.60 |
| Equal-mixture pool | 39.69 | 26.99 | 4.47 | 0.56 | 4.13 |
| Condition | Entropy | Surrogate | Net |
|---|---|---|---|
| No entropy | |||
| same | |||
| exact | |||
| Setting | MyoLeg / Stable-Baselines3 PPO | Dog-Stand / CleanRL PPO |
|---|---|---|
| Observation / action dimensions | 101 / 80 latent muscle actions | 223 / 38 latent actions |
| Parallel environments | 12, SubprocVecEnv | 1, synchronous vector environment |
| Rollout length | 2048 per environment | 2048 |
| Rollout batch | 24,576 transitions | 2,048 transitions |
| Minibatch size | 128 | 64 (32 minibatches) |
| Update epochs | 10 | 10 |
| Component | MyoLeg | Dog-Stand |
|---|---|---|
| Actor mean | , ReLU hidden layers | , tanh hidden layers |
| Critic | , ReLU hidden layers | , tanh hidden layers |
| Actor dispersion | 80 learned parameters, initialized to zero | 38 learned parameters, initialized to zero |
| Initialization | Stable-Baselines3 MlpPolicy initialization | orthogonal; hidden gain , actor-output gain 0.01, critic-output gain 1.0, zero biases |
| Trainable parameters | 671,393 | 39,565 |
Policy Optimization
Policy optimization develops algorithms for improving decision rules in reinforcement learning, language models, and sequential decision systems.
See all 225 papers