{"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/optionzero-planning-with-learned-options","title":"OptionZero: Planning with Learned Options","arxiv_id":"2502.16634","date":"2025-02-23","proceeding":null,"authors":["Po-Wei Huang","Pei-Chiun Peng","Hung Guei","Ti-Rong Wu"],"abstract":"Planning with options -- a sequence of primitive actions -- has been shown effective in reinforcement learning within complex environments. Previous studies have focused on planning with predefined options or learned options through expert demonstration data. Inspired by MuZero, which learns superhuman heuristics without any human knowledge, we propose a novel approach, named OptionZero. OptionZero incorporates an option network into MuZero, providing autonomous discovery of options through self-play games. Furthermore, we modify the dynamics network to provide environment transitions when using options, allowing searching deeper under the same simulation constraints. Empirical experiments conducted in 26 Atari games demonstrate that OptionZero outperforms MuZero, achieving a 131.58% improvement in mean human-normalized score. Our behavior analysis shows that OptionZero not only learns options but also acquires strategic skills tailored to different game characteristics. Our findings show promising directions for discovering and using options in planning. Our code is available at https://rlg.iis.sinica.edu.tw/papers/optionzero.","url_abs":"https://arxiv.org/abs/2502.16634v1","url_pdf":"https://arxiv.org/pdf/2502.16634v1.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":"optionzero-planning-with-learned-options","repo_url":"https://github.com/rlglab/optionzero","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[{"task_slug":"atari-games","task_name":"Atari Games"}],"methods":[{"method_slug":"average-pooling","method_name":"Average Pooling"},{"method_slug":"batch-normalization","method_name":"Batch Normalization"},{"method_slug":"convolution","method_name":"Convolution"},{"method_slug":"monte-carlo-tree-search","method_name":"Monte-Carlo Tree Search"},{"method_slug":"muzero","method_name":"MuZero"},{"method_slug":"prioritized-experience-replay","method_name":"Prioritized Experience Replay"},{"method_slug":"relu","method_name":"ReLU"},{"method_slug":"residual-block","method_name":"Residual Block"},{"method_slug":"residual-connection","method_name":"Residual Connection"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2502.16634","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2502.16634"}},"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/rlglab/optionzero","reach":null}],"summary":{"ran":7,"unverified":1},"by_repo_kind":{"official":{"samples":8,"ran":7,"repositories":1}},"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":8,"samples":[{"code_sha256_prefix":"56e2cf691f3b33c8","entry":"DiscreteValueNetwork","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"56e2cf691f3b33c8"}},{"code_sha256_prefix":"9e1ae50a3f095675","entry":"MuZeroConsistencyNetwork","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9e1ae50a3f095675"}},{"code_sha256_prefix":"25f9412e2ba0f5f8","entry":"MuZeroDynamicsNetwork","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"25f9412e2ba0f5f8"}},{"code_sha256_prefix":"813fdfe2cb218b40","entry":"MuZeroPredictionNetwork","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"813fdfe2cb218b40"}},{"code_sha256_prefix":"0567222fd794b583","entry":"MuZeroRepresentationNetwork","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0567222fd794b583"}},{"code_sha256_prefix":"345160ccdcdb2d64","entry":"PolicyNetwork","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"345160ccdcdb2d64"}},{"code_sha256_prefix":"565d420a109ae795","entry":"ResidualBlock","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"565d420a109ae795"}},{"code_sha256_prefix":"4480eba16658777b","entry":"MuZeroAtariNetwork","repo":"rlglab/optionzero","repo_kind":"official","path":"minizero/network/py/muzero_atari_network.py","file_url":"https://github.com/rlglab/optionzero/blob/HEAD/minizero/network/py/muzero_atari_network.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4480eba16658777b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}