Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this algorithm suitable for off-policy policy? #15

Open
dbsxdbsx opened this issue Oct 10, 2020 · 1 comment
Open

Is this algorithm suitable for off-policy policy? #15

dbsxdbsx opened this issue Oct 10, 2020 · 1 comment

Comments

@dbsxdbsx
Copy link

I just finished reading your paper, and I notice that it is an on policy method.
And I wondering if anyone has tested it with an rl method that has a replay_buff pool.
As far as I know, for off-policy method with RNN structure(like lstm, gru or attention or transformer...), if hidden state is stored with a sample (s,a,r,s'), the hidden state would become a stale data after a long training--- Is this issue conqured with adaptive-transformer?

@shaktikshri
Copy link
Collaborator

The algorithm we use is IMPALA which uses Vtrace targets– this is an instance of off-policy learning.
As far as adaptive transformer is concerned, it just makes sure that the attention context length you use is not fixed but rather learnt over the training sequence. Now the transformer-xl used in our experiments takes care of the hidden states for the previous (state, action) pairs, similar to the role of a replay buffer you're pointing out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants