{"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/arxiv-2602-02722","title":"Hierarchical Entity-centric Reinforcement Learning with Factored Subgoal Diffusion","arxiv_id":"2602.02722","date":"2026-02-02","proceeding":null,"authors":["Dan Haramati","Carl Qi","Tal Daniel","Amy Zhang","Aviv Tamar","George Konidaris"],"abstract":"We propose a hierarchical entity-centric framework for offline Goal-Conditioned Reinforcement Learning (GCRL) that combines subgoal decomposition with factored structure to solve long-horizon tasks in domains with multiple entities. Achieving long-horizon goals in complex environments remains a core challenge in Reinforcement Learning (RL). Domains with multiple entities are particularly difficult due to their combinatorial complexity. GCRL facilitates generalization across goals and the use of subgoal structure, but struggles with high-dimensional observations and combinatorial state-spaces, especially under sparse reward. We employ a two-level hierarchy composed of a value-based GCRL agent and a factored subgoal-generating conditional diffusion model. The RL agent and subgoal generator are trained independently and composed post hoc through selective subgoal generation based on the value function, making the approach modular and compatible with existing GCRL algorithms. We introduce new variations to benchmark tasks that highlight the challenges of multi-entity domains, and show that our method consistently boosts performance of the underlying RL agent on image-based long-horizon tasks with sparse rewards, achieving over 150% higher success rates on the hardest task in our suite and generalizing to increasing horizons and numbers of entities. Rollout videos are provided at: https://sites.google.com/view/hecrl","url_abs":"https://arxiv.org/abs/2602.02722","url_pdf":"https://arxiv.org/pdf/2602.02722","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2602.02722","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2602.02722"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/DanHrmti/ECRL","reach":{"status":"ok","spdx":"MIT"}},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/seohongpark/ogbench","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/DanHrmti/HECRL","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/carl-qi/EC-Diffuser","reach":null}],"summary":{"ran":9,"ran_draft_wrong":3,"ran_honours":2,"unverified":17},"by_repo_kind":{"found_in_text":{"samples":31,"ran":14,"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":"09f1831060c9ac79","entry":"EntityAttention","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"09f1831060c9ac79"}},{"code_sha256_prefix":"eff3741649fc49e6","entry":"FinalLayer","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"eff3741649fc49e6"}},{"code_sha256_prefix":"f7534870f9202f83","entry":"FinalLayer","repo":"carl-qi/EC-Diffuser","repo_kind":"found_in_text","path":"diffuser/diffuser/models/transformer_modules.py","file_url":"https://github.com/carl-qi/EC-Diffuser/blob/HEAD/diffuser/diffuser/models/transformer_modules.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f7534870f9202f83"}},{"code_sha256_prefix":"54539835cf34d475","entry":"GaussianDiffusion","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"54539835cf34d475"}},{"code_sha256_prefix":"631ebce8b5618a76","entry":"GoalConditionedSampler","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"631ebce8b5618a76"}},{"code_sha256_prefix":"35583be7932ff902","entry":"MLP","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"35583be7932ff902"}},{"code_sha256_prefix":"d95157530021729f","entry":"MLP","repo":"carl-qi/EC-Diffuser","repo_kind":"found_in_text","path":"diffuser/diffuser/models/transformer_modules.py","file_url":"https://github.com/carl-qi/EC-Diffuser/blob/HEAD/diffuser/diffuser/models/transformer_modules.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d95157530021729f"}},{"code_sha256_prefix":"1d4bb5bf017a860c","entry":"SimpleRelativePositionalBias","repo":"carl-qi/EC-Diffuser","repo_kind":"found_in_text","path":"diffuser/diffuser/models/transformer_modules.py","file_url":"https://github.com/carl-qi/EC-Diffuser/blob/HEAD/diffuser/diffuser/models/transformer_modules.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1d4bb5bf017a860c"}},{"code_sha256_prefix":"3f9e9512b765d426","entry":"SinusoidalPosEmb","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3f9e9512b765d426"}},{"code_sha256_prefix":"b3d593fb33f79ac5","entry":"apply_conditioning","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b3d593fb33f79ac5"}},{"code_sha256_prefix":"b6113e0f43155a33","entry":"cosine_beta_schedule","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b6113e0f43155a33"}},{"code_sha256_prefix":"896418fd494c4d3d","entry":"default_sample_fn","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"896418fd494c4d3d"}},{"code_sha256_prefix":"c409be426eec3eec","entry":"sort_by_values","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c409be426eec3eec"}},{"code_sha256_prefix":"9d23c8e40238297e","entry":"to_torch","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"9d23c8e40238297e"}},{"code_sha256_prefix":"63b4f79f55f7aee8","entry":"AdaLNEITBlock","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","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":"63b4f79f55f7aee8"}},{"code_sha256_prefix":"f474464406bc42e7","entry":"AdaLNEntityTransformer","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","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":"f474464406bc42e7"}},{"code_sha256_prefix":"c129051ef1ab4cb6","entry":"AdaLNPINTBlock","repo":"carl-qi/EC-Diffuser","repo_kind":"found_in_text","path":"diffuser/diffuser/models/transformer_modules.py","file_url":"https://github.com/carl-qi/EC-Diffuser/blob/HEAD/diffuser/diffuser/models/transformer_modules.py","link_basis":"first_harvest_node","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":"c129051ef1ab4cb6"}},{"code_sha256_prefix":"8196622b45ac426b","entry":"AdaLNParticleTransformer","repo":"carl-qi/EC-Diffuser","repo_kind":"found_in_text","path":"diffuser/diffuser/models/transformer_modules.py","file_url":"https://github.com/carl-qi/EC-Diffuser/blob/HEAD/diffuser/diffuser/models/transformer_modules.py","link_basis":"first_harvest_node","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":"8196622b45ac426b"}},{"code_sha256_prefix":"3a9859a10e10a315","entry":"CausalParticleAttention","repo":"carl-qi/EC-Diffuser","repo_kind":"found_in_text","path":"diffuser/diffuser/models/transformer_modules.py","file_url":"https://github.com/carl-qi/EC-Diffuser/blob/HEAD/diffuser/diffuser/models/transformer_modules.py","link_basis":"first_harvest_node","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":"3a9859a10e10a315"}},{"code_sha256_prefix":"dd04ddf6e3a6b579","entry":"SubgoalDiffuser","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","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":"dd04ddf6e3a6b579"}},{"code_sha256_prefix":"1e098df88752131f","entry":"TransformerDiffuser","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","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":"1e098df88752131f"}},{"code_sha256_prefix":"bf97061c5f8a7aa2","entry":"apply_dict","repo":"DanHrmti/HECRL","repo_kind":"found_in_text","path":"agents/diffuser/subgoal_diffuser.py","file_url":"https://github.com/DanHrmti/HECRL/blob/HEAD/agents/diffuser/subgoal_diffuser.py","link_basis":"first_harvest_node","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":"bf97061c5f8a7aa2"}},{"code_sha256_prefix":"c6779ef568a575ea","entry":"axisangle2quat","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"isaac_panda_push_env.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/isaac_panda_push_env.py","link_basis":"first_harvest_node","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":"c6779ef568a575ea"}},{"code_sha256_prefix":"9330641b45f958fd","entry":"conv2d","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"slot_attention/slate_model.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/slot_attention/slate_model.py","link_basis":"first_harvest_node","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":"9330641b45f958fd"}},{"code_sha256_prefix":"62001b2163460d68","entry":"convert_obs_to_dlp_rep","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"chamfer_reward.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/chamfer_reward.py","link_basis":"first_harvest_node","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":"62001b2163460d68"}},{"code_sha256_prefix":"03234d185899f504","entry":"extract_dlp_features","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"chamfer_reward.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/chamfer_reward.py","link_basis":"first_harvest_node","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":"03234d185899f504"}},{"code_sha256_prefix":"62186577f208bf25","entry":"extract_dlp_features","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"latent_classifier.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/latent_classifier.py","link_basis":"first_harvest_node","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":"62186577f208bf25"}},{"code_sha256_prefix":"649850da42fe3886","entry":"get_dlp_rep","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"chamfer_reward.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/chamfer_reward.py","link_basis":"first_harvest_node","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":"649850da42fe3886"}},{"code_sha256_prefix":"3219c7505517e845","entry":"get_dlp_rep","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"latent_classifier.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/latent_classifier.py","link_basis":"first_harvest_node","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":"3219c7505517e845"}},{"code_sha256_prefix":"94c911439007d22c","entry":"gumbel_softmax","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"slot_attention/slate_model.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/slot_attention/slate_model.py","link_basis":"first_harvest_node","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":"94c911439007d22c"}},{"code_sha256_prefix":"0a0911522ce533d0","entry":"quat2axisangle","repo":"DanHrmti/ECRL","repo_kind":"found_in_text","path":"isaac_panda_push_env.py","file_url":"https://github.com/DanHrmti/ECRL/blob/HEAD/isaac_panda_push_env.py","link_basis":"first_harvest_node","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":"0a0911522ce533d0"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":0,"rejected_by_independent_check":0,"refused_by_a_rule":0,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}