arXiv:2608.30406cs.LGAug 2026

Manuscript Offprint

arXiv:2608.30406

Locally-Guided Actor-Critic: Training a Goal-conditioned Actor with a Subgoal-aware Critic

Olivier Serris, Stéphane Doncieux, Olivier Sigaud

Abstract

Goal-conditioned reinforcement learning struggles with long horizons when rewards are sparse. While a planner can provide subgoals to guide a low-level policy, its use at test time may introduce practical subgoal management difficulties. An alternative paradigm utilizes a high-level planner to assist learning, while the policy remains conditioned only on the final goal, enabling planner-free deployment. Among these methods, Reinforcement Learning with Imagined Subgoals (RIS) introduces a regularization term that encourages the policy to take the same actions for the final goal as it does for an intermediate goal. This regularization, however, may lead to goal-chaining issues when intermediate goals are low-dimensional. Potential-based reward shaping (PBRS) translates plans into an additional reward while ensuring that the optimal policy remains unchanged. Yet, it can generate deceptive rewards in terminal states. We study these failure cases and first propose an alternative reward shaping method (RS) that removes these deceptive rewards at the expense of theoretical guarantees of PBRS. Similar to this RS variant, we then propose another method named Locally-Guided Actor Critic (LG-AC) that rewards the agent for reaching intermediate goals. Unlike RS, where intermediate rewards are implicit in the shaping signal, we explicitly condition a value estimator on the full sequence of intermediate goals but represent the value function as a sum of subgoal-conditioned value functions, enabling dense hindsight relabeling. We evaluate all these methods in tasks with challenging goal-chaining requirements and empirically highlight specific cases in which either action regularization or reward shaping yield low performance, while LG-AC achieves the best overall performance across tasks.

1 Introduction

In Reinforcement Learning (RL), an agent typically learns to master a task by maximizing a reward signal over a sequence of actions. However, standard RL methods often struggle when horizons are long and rewards are sparse. Goal-Conditioned (GC) policies [Schaul et al., 2015] are no exception, frequently failing to reach distant goals without additional guidance. To address this, hierarchical reinforcement learning (HRL) approaches decompose the task into a hierarchy of subtasks. While HRL encompasses a vast range of approaches, most follow three primary families: the option framework [Sutton et al., 1999], where a high-level policy iteratively selects low-level sub-policies.

Preprint. Under review.

to execute, the feudal framework [Dayan and Hinton, 1992] where a high-level policy outputs intermediate goals that a low-level policy must reach iteratively, or graph-based planning [Savinov et al., 2018] where the low-level policy is similarly conditioned on intermediate goals, but these goals are generated via search over a graph of previously visited states. While effective for long-horizon tasks, these approaches typically require the high-level planner to operate during inference to guide the low-level policy which can lead to increased computation cost or subgoal management difficulties [Serris et al., 2026]. An orthogonal line of research only uses the high-level as a guidance for a low-level policy during learning, while the low-level policy operates on its own, conditioned solely on the final goal. With this paradigm, the high-level planner can utilize privileged information, such as ground-truth simulation states or global maps, that is only available in simulation.

Within this category of methods, RIS [Chane-Sane et al., 2021] proposes to constrain the policy to output the same action for a far-away final goal as it would for a goal placed midway between its current location and the final goal. However, Chenu et al. [2025] highlights a general chaining issue that can arise in similar contexts: when intermediate goals are low-dimensional and thus do not fully specify the state, a goal can be reached in a state incompatible with the achievement of the rest of the trajectory. To avoid these problems, other methods use potential-based reward shaping (PBRS) [Ng et al., 1999] to convert high-level plans into rewards. This method preserves the optimal policy of the original MDP, but respecting PBRS constraints can create deceptive rewards in terminal states [Müller and Kudenko, 2025]. Consequently, the agent is either incentivized to terminate in any previously visited terminal state or discouraged from reaching any terminal state, including goals.

In this paper, we evaluate an alternative method based on reward shaping (RS) that rewards reaching each intermediate goal while removing deceptive rewards in terminal states, at the expense of PBRS's theoretical guarantees. Additionally, we propose a second method inspired by the RS approach but with a key architectural difference. In RS, the agent receives implicit rewards for reaching subgoals through a shaped reward signal. In another approach named Locally-Guided Actor Critic (LG-AC), this structure is made explicit by conditioning a value estimator on the complete sequence of intermediate goals provided by a high-level planner. This structure enables hindsight relabeling for intermediate goals. To maintain a fixed input size regardless of the length of the plan, LG-AC decomposes the value into a sum of per-goal components. This decomposition leads to an estimator conditioned on two distinct goal types simultaneously: the final goal, corresponding to the goal targeted by the policy, and an intermediate goal that provides an auxiliary reward. The actor is optimized using this estimator to reach all intermediate goals, which constitutes the plan for a given final goal.

We present an experimental study comparing methods using the RIS loss, PBRS, RS, and LG-AC. All methods share the same SAC+HER backbone and a handcrafted planner to ensure that each success or failure can be directly attributed to the low-level policy. We evaluate these methods in five goal-conditioned environments where the agent must learn to reach any goal from any state. Our results show that RIS performs well in all environments except GC-Hopper and GC-Walker, where goal chaining issues arise. The PBRS variant struggles when the environment contains terminal states, while the RS variant performs well except in AntMaze. Our LG-AC method achieves the best overall mean and interquartile mean (IQM) across all environments.

References (33)