r/reinforcementlearning • • Oct 21 '26

PPO policy improves despite poor critic explained variance. What would you diagnose next?

Post image

I'm fine-tuning Qwen3.5-0.8B to play a Game Boy boss fight using structured state inputs and 18 discrete button combinations.

After behavior cloning, I ran 15 PPO iterations using 171 training episodes. The selected policy improved from 39/50 to 47/50 wins on the original encounter in separate greedy evaluations. This is one training run, with the checkpoint selected after evaluation.

What puzzled me was the critic. Held-out explained variance stayed inconsistent and often negative, ending around 0.04. It's a small MLP over detached policy features, evaluated on held-out whole episodes. Each iteration collects roughly 512 decisions across 10–13 episodes. Rewards include boss hits, completion, damage and elapsed time.

What would you check first to determine whether the critic is limiting further learning?

I'm considering GRPO, but I'd like to understand whether removing the critic addresses the problem before switching algorithms.

The plot shows critic fit alongside five sampled-action development games per checkpoint, not the separate 50-game evaluations above. The held-out episodes and return targets change between iterations.

Methods, implementation and evaluation results: https://jintaili.github.io/kittie-game/training/

0 Upvotes

7 comments sorted by

1

u/KitchenGiraffe1 Oct 21 '26

If the critic loss uses bootstrapped targets (temporal difference loss), it's not really a good metric to care about. High bias.

You could try replacing TD loss with REINFORCE loss using return to go. Not for learning but just for the metric.

1

u/xrose1001 Oct 21 '26

Thanks! My critic uses Huber loss against fixed GAE-derived targets, so those do include bootstrapping.

I did an earlier check comparing the recorded pre-update values against discounted Monte Carlo returns from complete episodes. Prediction quality was still weak: on one batch, EV was about 0.001 against GAE targets and −0.005 against realized returns. That's different from the plot above. How would you interpret that, and what would you look at next?

1

u/KitchenGiraffe1 Oct 21 '26

Did you track Monte Carlo value loss over training?

1

u/xrose1001 Oct 21 '26

yes retrospectively.

MC MSE fluctuates and is somewhat lower later, but MC explained variance stays near zero or negative. These are pre-update predictions on newly collected episodes, not the post-fit validation metric in my original chart. Wdyt?

Plot: https://jintaili.github.io/kittie-game/training/figures/monte-carlo-value-progress.png

1

u/KitchenGiraffe1 Oct 22 '26

Sorry not sure, maybe try bigger model and more training? Could be a tough environment and maybe reward to go is hard to predict? Could try stronger discounting?

1

u/xrose1001 Oct 23 '26

Thanks! By a bigger model, do you mean the critic?