Hierarchical Entity-centric Reinforcement Learning with Factored Subgoal Diffusion
Dan Haramati, Carl Qi, Tal Daniel, Amy Zhang, Aviv Tamar, George Konidaris
TL;DR
HECRL tackles long-horizon, multi-entity goal-conditioned RL in offline settings by combining a value-based low-level agent with a high-level, entity-factored Subgoal Diffuser. The diffusion-based subgoal generator is trained on offline data and, at test time, selects subgoals that are within a computed competence radius using the value function, enabling efficient, modular planning without altering the underlying RL algorithm. Factored subgoals produced by the diffusion model bias the agent toward sparse changes to state factors, improving tractability in combinatorial, image-based observation spaces. Empirically, HECRL yields substantial gains over baselines on several long-horizon multi-object tasks, including more than a 150% increase in success rate on the hardest image-based PPP-Cube task, and shows non-trivial zero-shot generalization as the number of entities grows, with limitations tied to the quality of the factored representations and the need for robust auto-encoding of scene factors.
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
