I was testing SARSA with lambda = 1 with Windy Grid World and if the exploration causes the same state-action pair to be visited many times before reaching the goal, the eligibility trace gets incremented each time without any decay, therefore it explodes and causes everything to overflow. How can this be avoided?
Asked
Active
Viewed 356 times
0
-
what means SARSA(1)? SARSA with `lambda = 1`? – Pablo EM Jul 24 '17 at 06:25
-
Yes, that's what I meant. I will modify the question to make it more clear. Thanks. – Ahmed El-Hinidy Jul 24 '17 at 22:51
1 Answers
0
If I've understood correctly your question, the problem is that the trace for a given state gets incremented too much. In this case, a potential solution is to use replacing traces instead of the classic incremental traces.
The idea in replacing traces is to reset the trace to a value (typically 1) each time the state is visited. The following figure illustrates the main difference between both kinds of traces:
You can find more information in the classical Sutton & Barto book Reinforcement Learning: An Introduction, especifically in Section 7.8.

Pablo EM
- 6,190
- 3
- 29
- 37