TRANSMISSION // 2606.16515v2

Teaching robots to follow a direction, not just a destination

Source published

A reinforcement-learning method guides agents using learned directions and visited waypoints. In simulations it beat a contrastive-learning baseline on most final measures, but struggled when its learned directions misrepresented a goal.

AI-generated conceptual illustration for Teaching robots to follow a direction, not just a destination
AI-generated conceptual illustration; not documentary evidence.

A robot told to reach a distant goal may have little useful experience of what that goal looks like. Direction-Conditioned Policies (DCP) instead uses a learned representation to give the agent a direction and distance to follow. Simulated tests found gains in many settings, but also a failure that highlights how much the method depends on what the agent has experienced.

For a learning agent, “go there” can be a surprisingly difficult instruction. If a target is far from places the agent has visited, its learned representation of that goal may be poorly calibrated. The policy—the part of the system that chooses actions—may then receive a signal that does not help it work out how to get there.

A paper by S K Swaminathan and colleagues proposes a different signal: a direction and distance in a learned representation of the environment. The work studies online goal-conditioned reinforcement learning, where an agent learns to reach requested goals while gathering its own experience, rather than relying on a pre-collected set of demonstrations.

From visited states to a direction

The method, called Direction-Conditioned Policies (DCP), builds on contrastive reinforcement learning. Its InfoNCE objective trains encoders for state-action pairs and goals so their scores capture how likely an action from a state is to lead toward a goal. DCP uses the learned goal representation to guide the policy.

During training, the system keeps a pool of states it has visited. It scores candidates against the final goal and selects a promising waypoint. The policy receives the direction and distance from the current state to that waypoint in representation space, rather than just the waypoint’s raw coordinates. Because the waypoint was visited, its representation comes from the agent’s experience. At deployment, the pool and scoring step can be removed: the system calculates the direction toward the requested goal directly.

The authors connect this design to Hamilton–Jacobi–Bellman (HJB) theory, a mathematical framework for optimal control. Under the paper’s stated assumptions, the optimal action depends on the goal through the gradient of the cost-to-go: informally, how the estimated effort of reaching the goal changes around the current state. DCP approximates this information using its learned representation. The theoretical result is conditional; it does not show that a learned direction will always be accurate in practice.

The paper also gives a bound relating training-time directions toward waypoints to deployment-time directions toward final goals. This result assumes, among other conditions, that a selected waypoint lies close to an optimal route and that the learned representation approximates the true goal-reaching distance sufficiently well. The authors explicitly do not prove that their scoring rule always picks an on-route waypoint.

Tests in simulated tasks

The researchers compared DCP with Contrastive RL (CRL), a baseline using the same general learning setup but giving its actor the raw goal. They also tested a variant that gives the actor the selected waypoint’s coordinates instead of a direction. Experiments used nine simulated environments in Brax, including maze navigation, object pushing, and an ant-like robot kicking a ball. The main comparison used five training seeds per method and measured whether an agent reached the goal and how much time it spent near it.

DCP had higher final mean values than CRL on most reported measures across the nine environments. The clearest gains appeared in several pushing and obstacle-interaction tasks. Results were not uniformly better: CRL had the higher final time-near-goal measure in Ant U-Maze and higher final measures on both reported metrics in AntSoccer. The paper identifies AntSoccer as a failure case for DCP.

The authors’ analysis suggests that early experience in AntSoccer seldom included states where the ball had moved. The learned representation therefore received little evidence about changes in ball position. The direction given to the policy could be misaligned with what was needed to reach the ball-position goal. This is the authors’ proposed explanation of the failure, not proof that the same mechanism explains every poor result.

What the results do—and don’t—show

The experiments support DCP as a promising change to a policy’s input, not as a general solution to goal-reaching. They cover nine simulated environments and compare against one main baseline under a shared training setup; the paper says this is not an exhaustive comparison with all goal-conditioned methods. Five seeds provide a limited basis for estimating variation, and the authors caution that their summary of final means is not a significance test. The method also depends on the agent’s visited states exposing goal-relevant directions to its learned representation.

The source is an arXiv preprint accepted to a workshop at ICML 2026. That context is worth noting, but it is not evidence of broad real-world performance. The authors describe sim-to-real transfer to a robot as future work. Whether DCP works reliably on physical robots with different sensors and dynamics remains open.

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.