I’m implementing MAML in the Reinforcement Learning domain. I’m planning to use PPO training for validation. However I want to know if the PPO loss function is appropriate during Meta-Training. The emphasis on gradual policy updates may not be suitable for fast adaptation to tasks in the inner loop?
I’ve seen some implementations use just the policy loss. However, I do not understand how you can calculate an accurate policy loss if you have an untrained value network (As the advantage relies on the value estimates).
Hello,
Using PPO with MAML for RL meta-training—wondering if PPO’s conservative updates hinder fast inner-loop adaptation. Also unclear how to compute policy loss accurately without a trained value network, since advantage estimates depend on it. Any insights? cat meowing
PPO and MAML don’t really play nice together. PPO is all about being careful and conservative with updates (that’s the whole point of the clipping), but MAML needs to adapt FAST in just a few gradient steps.
The Value Function Problem: how can you calculate advantages without a trained value function? Most folks just.. don’t use a value function in the inner loop. Instead, they use the actual returns from the episodes.
returns = []
R = 0
for r in reversed(rewards):
R = r + 0.99 * R
returns.insert(0, R)
# Super simple "advantage"
advantages = returns - np.mean(returns)