Body: <p>I am trying to set up an experiment where an agent is exploring an n x n gridworld environment, of which the agent can see some fraction at any given time step. I'd like the agent to build up some internal model of this gridworld.</p>
  <p>Now the environment is time-varying, so I figured it would useful to try using an LSTM so the agent can learn potentially useful information about how the environment changes. However, since the agent can only see some of the environment, each observation that could be used to train this model would be incomplete (i.e. the problem is partially-observable from this perspective). Thus I imagine that training such a network would be difficult since there would be large gaps in the data - for example, it may make an observation at position [0, 0] at t = 0, and then not make another observation there until say t = 100.</p>
  <p>My question is twofold</p>
  <ol>
  <li>Is there a canonical way of working around partial observability in LSTMs? Either direct advice or pointing to useful papers would both be appreciated.</li>
  <li>Can an LSTM account for gaps in time between observations?</li>
  </ol>
  <p>Thanks!</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-11T00:12:55.653Z
Comments.Text: Note that, in many problems, the state is only partially observable. Even in the Atari games, for example, an observation (i.e. a frame/image from the game) may not correspond to a state. In the DQN paper, they stacked multiple successive observations to build the state, given that multiple successive observations may contain more info about the current situation/state of the agent.
Comments.UserDisplayName: nbro
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2020-12-11T00:13:25.677Z
Comments.Text: There is [this question](https://ai.stackexchange.com/q/7721/2444), which is very similar to yours. After reading that question and answer, can you please tell us what is your **specific** question at that point, or if your question is a duplicate of that one?
Comments.UserDisplayName: nbro
Tags: <reinforcement-learning><long-short-term-memory><model-based-methods>
Title: Using an LSTM for model-based RL in a POMDP
UserDisplayName: DECK
ThreadText: # Using an LSTM for model-based RL in a POMDP
  
  (Asked by: username_0 on 2020-12-09)
  
  I am trying to set up an experiment where an agent is exploring an n x n gridworld environment, of which the agent can see some fraction at any given time step. I'd like the agent to build up some internal model of this gridworld.
  
  Now the environment is time-varying, so I figured it would useful to try using an LSTM so the agent can learn potentially useful information about how the environment changes. However, since the agent can only see some of the environment, each observation that could be used to train this model would be incomplete (i.e. the problem is partially-observable from this perspective). Thus I imagine that training such a network would be difficult since there would be large gaps in the data - for example, it may make an observation at position [0, 0] at t = 0, and then not make another observation there until say t = 100.
  
  My question is twofold
  
  1. Is there a canonical way of working around partial observability in LSTMs? Either direct advice or pointing to useful papers would both be appreciated.
  2. Can an LSTM account for gaps in time between observations?
  
  Thanks!
  
  **Tags:** reinforcement-learning, long-short-term-memory, model-based-methods
  > **Comments:**
  > **username_1**: Note that, in many problems, the state is only partially observable. Even in the Atari games, for example, an observation (i.e. a frame/image from the game) may not correspond to a state. In the DQN paper, they stacked multiple successive observations to build the state, given that multiple successive observations may contain more info about the current situation/state of the agent.  
  > **username_1**: There is [this question](https://ai.stackexchange.com/q/7721/2444), which is very similar to yours. After reading that question and answer, can you please tell us what is your **specific** question at that point, or if your question is a duplicate of that one?  
  
  ---
  
  ## 0 answers
  
  