From fe0bdb23ff589f4d941478bc17e041c6fa3415d7 Mon Sep 17 00:00:00 2001 From: Sven Mika Date: Mon, 17 Aug 2020 22:07:17 +0200 Subject: [PATCH] [RLlib] Attention Net/Transformers docs improvement. --- doc/source/rllib-algorithms.rst | 28 +++++++++++++++------------- doc/source/rllib-models.rst | 7 +++++++ 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/doc/source/rllib-algorithms.rst b/doc/source/rllib-algorithms.rst index 4aeefe3a8..92de766aa 100644 --- a/doc/source/rllib-algorithms.rst +++ b/doc/source/rllib-algorithms.rst @@ -5,40 +5,42 @@ RLlib Algorithms Check out the `environments `__ page to learn more about different environment types. -Feature Compatibility Matrix -~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +Available Algorithms - Overview +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -=================== ========== ======================= ================== =========== ===================== +=================== ========== ======================= ================== =========== ============================================================= Algorithm Frameworks Discrete Actions Continuous Actions Multi-Agent Model Support -=================== ========== ======================= ================== =========== ===================== -`A2C, A3C`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+autoreg`_ +=================== ========== ======================= ================== =========== ============================================================= +`A2C, A3C`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+LSTM auto-wrapping`_, `+Transformer`_, `+autoreg`_ `ARS`_ tf + torch **Yes** **Yes** No `ES`_ tf + torch **Yes** **Yes** No `DDPG`_, `TD3`_ tf + torch No **Yes** **Yes** `APEX-DDPG`_ tf + torch No **Yes** **Yes** `DQN`_, `Rainbow`_ tf + torch **Yes** `+parametric`_ No **Yes** `APEX-DQN`_ tf + torch **Yes** `+parametric`_ No **Yes** -`IMPALA`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+autoreg`_ +`IMPALA`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+LSTM auto-wrapping`_, `+Transformer`_, `+autoreg`_ `MAML`_ tf + torch No **Yes** No `MARWIL`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_ -`PG`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+autoreg`_ -`PPO`_, `APPO`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+autoreg`_ +`PG`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+LSTM auto-wrapping`_, `+Transformer`_, `+autoreg`_ +`PPO`_, `APPO`_ tf + torch **Yes** `+parametric`_ **Yes** **Yes** `+RNN`_, `+LSTM auto-wrapping`_, `+Transformer`_, `+autoreg`_ `QMIX`_ torch **Yes** `+parametric`_ No **Yes** `+RNN`_ `SAC`_ tf + torch **Yes** **Yes** **Yes** -------------------- ---------- ----------------------- ------------------ ----------- --------------------- +------------------- ---------- ----------------------- ------------------ ----------- ------------------------------------------------------------- `AlphaZero`_ torch **Yes** `+parametric`_ No No `LinUCB`_, `LinTS`_ torch **Yes** `+parametric`_ No **Yes** `MADDPG`_ tf **Yes** Partial **Yes** -=================== ========== ======================= ================== =========== ===================== +=================== ========== ======================= ================== =========== ============================================================= +.. _`+autoreg`: rllib-models.html#autoregressive-action-distributions +.. _`+LSTM auto-wrapping`: rllib-models.html#built-in-models .. _`+parametric`: rllib-models.html#variable-length-parametric-action-spaces .. _`+RNN`: rllib-models.html#recurrent-models -.. _`+autoreg`: rllib-models.html#autoregressive-action-distributions +.. _`+Transformer`: rllib-models.html#attention-networks .. _`A2C, A3C`: rllib-algorithms.html#a3c -.. _`Rainbow`: rllib-algorithms.html#dqn -.. _`TD3`: rllib-algorithms.html#ddpg .. _`APEX-DQN`: rllib-algorithms.html#apex .. _`APEX-DDPG`: rllib-algorithms.html#apex +.. _`Rainbow`: rllib-algorithms.html#dqn +.. _`TD3`: rllib-algorithms.html#ddpg High-throughput architectures ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/doc/source/rllib-models.rst b/doc/source/rllib-models.rst index 163d2e705..139f7c4c2 100644 --- a/doc/source/rllib-models.rst +++ b/doc/source/rllib-models.rst @@ -156,6 +156,13 @@ You can check out the `rnn_model.py `__ on how to use these with some of our algorithms. +`There is also a test case `__, which confirms their learning capabilities in PPO and IMPALA. + Batch Normalization ~~~~~~~~~~~~~~~~~~~