Skip to content

Clarification on terminology: 'Memory' vs 'Replay Buffer' #213

Closed Answered by Toni-SM
jborbik asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Jendker

skrl implemnents a generic memory definition that are not tied to the agent implementation and can be used for any role, such as rollout or replay buffers. The skrl's memory is an empty shell, and the agents are in charge of defining the tensors according to their needs.

Depending on the agent, the memory can be used as:

  • Replay buffer: large in size memories typically used by off-policy algorithms to storage environment transitions (state, action, reward, next state, done) with various sample strategies: random (implemented), prioritized, etc.
  • Rollout buffer: small in size memories typically used by on-policy algorithms to store batches collected by the current policy and tha…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jborbik
Comment options

@Toni-SM
Comment options

Answer selected by Toni-SM
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants