{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/rlpyt-a-research-code-base-for-deep","title":"rlpyt: A Research Code Base for Deep Reinforcement Learning in PyTorch","arxiv_id":"1909.01500","date":"2019-09-03","proceeding":null,"authors":["Adam Stooke","Pieter Abbeel"],"abstract":"Since the recent advent of deep reinforcement learning for game play and simulated robotic control, a multitude of new algorithms have flourished. Most are model-free algorithms which can be categorized into three families: deep Q-learning, policy gradients, and Q-value policy gradients. These have developed along separate lines of research, such that few, if any, code bases incorporate all three kinds. Yet these algorithms share a great depth of common deep reinforcement learning machinery. We are pleased to share rlpyt, which implements all three algorithm families on top of a shared, optimized infrastructure, in a single repository. It contains modular implementations of many common deep RL algorithms in Python using PyTorch, a leading deep learning library. rlpyt is designed as a high-throughput code base for small- to medium-scale research in deep RL. This white paper summarizes its features, algorithms implemented, and relation to prior work, and concludes with detailed implementation and usage notes. rlpyt is available at https://github.com/astooke/rlpyt.","url_abs":"https://arxiv.org/abs/1909.01500v2","url_pdf":"https://arxiv.org/pdf/1909.01500v2.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/astooke/rlpyt","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/Improbable-AI/curiosity_baselines","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/RexGLiu/rlpyt_crbp","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/akterskii/rlpyt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/alexsax/testing_rlpyt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/eac-replication/eac-replication","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/improbable-ai/eipo","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/mariuslindegaard/curiosity_baselines","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"rlpyt-a-research-code-base-for-deep","repo_url":"https://github.com/sarahisyoung/rlpyt","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"deep-reinforcement-learning","task_name":"Deep Reinforcement Learning"},{"task_slug":"q-learning","task_name":"Q-Learning"},{"task_slug":"reinforcement-learning","task_name":"Reinforcement Learning"},{"task_slug":"reinforcement-learning-1","task_name":"Reinforcement Learning (RL)"},{"task_slug":"reinforcement-learning-2","task_name":"reinforcement-learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1909.01500","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1909.01500"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/akterskii/rlpyt","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/astooke/rlpyt","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sarahisyoung/rlpyt","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Improbable-AI/curiosity_baselines","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/eac-replication/eac-replication","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/alexsax/testing_rlpyt","reach":{"status":"gone","observed_at":"2026-09-17","how":"tree_404+repo_404"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/RexGLiu/rlpyt_crbp","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mariuslindegaard/curiosity_baselines","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/improbable-ai/eipo","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":10},"by_repo_kind":{"listed":{"samples":10,"ran":0,"repositories":3}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"fc2d9d7f350a539e","entry":"conv2d_output_shape","repo":"Improbable-AI/curiosity_baselines","repo_kind":"listed","path":"rlpyt/models/utils.py","file_url":"https://github.com/Improbable-AI/curiosity_baselines/blob/HEAD/rlpyt/models/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fc2d9d7f350a539e"}},{"code_sha256_prefix":"06fff5432ff7085e","entry":"default_category_choice","repo":"mariuslindegaard/curiosity_baselines","repo_kind":"listed","path":"rlpyt/models/curiosity/online_fuzzy_art.py","file_url":"https://github.com/mariuslindegaard/curiosity_baselines/blob/HEAD/rlpyt/models/curiosity/online_fuzzy_art.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"06fff5432ff7085e"}},{"code_sha256_prefix":"2bd3443af64af7d2","entry":"fa_cluster","repo":"mariuslindegaard/curiosity_baselines","repo_kind":"listed","path":"rlpyt/models/curiosity/fuzzy_art.py","file_url":"https://github.com/mariuslindegaard/curiosity_baselines/blob/HEAD/rlpyt/models/curiosity/fuzzy_art.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2bd3443af64af7d2"}},{"code_sha256_prefix":"0967a632ede688b0","entry":"fuzzy_and","repo":"mariuslindegaard/curiosity_baselines","repo_kind":"listed","path":"rlpyt/models/curiosity/fuzzy_art.py","file_url":"https://github.com/mariuslindegaard/curiosity_baselines/blob/HEAD/rlpyt/models/curiosity/fuzzy_art.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0967a632ede688b0"}},{"code_sha256_prefix":"c47f024ee204904a","entry":"get_category","repo":"mariuslindegaard/curiosity_baselines","repo_kind":"listed","path":"graph.py","file_url":"https://github.com/mariuslindegaard/curiosity_baselines/blob/HEAD/graph.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c47f024ee204904a"}},{"code_sha256_prefix":"68ccf52cd821bb33","entry":"max_norm","repo":"mariuslindegaard/curiosity_baselines","repo_kind":"listed","path":"rlpyt/models/curiosity/fuzzy_art.py","file_url":"https://github.com/mariuslindegaard/curiosity_baselines/blob/HEAD/rlpyt/models/curiosity/fuzzy_art.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"68ccf52cd821bb33"}},{"code_sha256_prefix":"97382e35222ebaf9","entry":"max_norm","repo":"mariuslindegaard/curiosity_baselines","repo_kind":"listed","path":"rlpyt/models/curiosity/online_fuzzy_art.py","file_url":"https://github.com/mariuslindegaard/curiosity_baselines/blob/HEAD/rlpyt/models/curiosity/online_fuzzy_art.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"97382e35222ebaf9"}},{"code_sha256_prefix":"42314ae14e08b822","entry":"preprocess","repo":"mariuslindegaard/curiosity_baselines","repo_kind":"listed","path":"graph.py","file_url":"https://github.com/mariuslindegaard/curiosity_baselines/blob/HEAD/graph.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"42314ae14e08b822"}},{"code_sha256_prefix":"6b1cccb4333e7320","entry":"strip_ddp_state_dict","repo":"Improbable-AI/curiosity_baselines","repo_kind":"listed","path":"rlpyt/models/utils.py","file_url":"https://github.com/Improbable-AI/curiosity_baselines/blob/HEAD/rlpyt/models/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6b1cccb4333e7320"}},{"code_sha256_prefix":"1a929bb446f49571","entry":"strip_ddp_state_dict","repo":"akterskii/rlpyt","repo_kind":"listed","path":"rlpyt/models/utils.py","file_url":"https://github.com/akterskii/rlpyt/blob/HEAD/rlpyt/models/utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1a929bb446f49571"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}