How RL + lstm work

5 ビュー (過去 30 日間)
Jin
Jin 2025 年 9 月 8 日
回答済み: Shantanu 2025 年 9 月 12 日
I'm using MATLAB for reinforcement learning. I've activated the RNN of the agent and noticed that a layer of LSTM has been added to the network. Now I want to know whether this LSTM uses the parameters of the previous network output at the current time as the time series, or uses the observations at different times or the previous layer of the LSTM network as the time series. Also, are there any relevant literatures on RL + LSTM?

回答 (1 件)

Shantanu
Shantanu 2025 年 9 月 12 日
Hi Jin,
As for the LSTM input, it uses the activations (not parameters) from the previous network layer at the current time as its main input. It handles the "time series" aspect by combining this with its internal hidden state (its memory) from the previous time step.
Therefore, it processes observations one by one, not all at once. As for the RL agents that can use LSTMs, the main ones are DQN, PPO, A2C, DDPG, SAC, and TD3.
Some resources and examples that may be helpful

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

タグ

製品


リリース

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by