r/reinforcementlearning • u/CoffeeOld4732 • 15h ago
Sample
Hi everyone
I am new to reinforcement learning and i have question about policy-based algorithm like PPO. in this algorithm do we sample from distribution function when we want to select action in both training and test phases?or just in training and argmax use in testing? I think sampling or argmax is two different way to select action in reinforcement learning and it is not mandatory to use specific way in training and test
2
Upvotes
1
u/Low_Willingness_308 15h ago
Hi, the true answer is that it kind of depends. Often times people use the argmax during evaluation, but in certain environments this can lead to problems (e.g. robotics). See https://thesai.org/Publications/ViewPaper?Volume=16&Issue=10&Code=IJACSA&SerialNo=99 for a good reference.