TL;DR
This paper introduces dual goal representations for goal-conditioned reinforcement learning (GCRL), redefining how an agent perceives its targets. Instead of using raw state observations, a goal is represented by its "temporal distances" from all other states in the environment. This mathematically elegant approach provides provable noise invariance and sufficiency, leading to substantial performance gains across 20 diverse robotic navigation and manipulation tasks.
What Problem Does This Paper Address?
In goal-conditioned reinforcement learning (GCRL), the agent's objective is to reach a specified target state from any starting configuration in the shortest time possible. Typically, algorithms represent goals using raw environment observations (like coordinate vectors or camera pixels).
However, raw observations are rarely optimized for task dynamics. They often contain superfluous or uncontrollable information—such as background lighting, moving distractors, or exogenous noise—that can confuse the agent. An ideal goal representation should satisfy two core desiderata:
- Sufficiency: It must retain all necessary information to recover an optimal goal-reaching policy.
- Noise Invariance: It must discard irrelevant, uncontrollable features that do not affect the underlying transition dynamics.
The authors tackle this challenge by proposing a representation framework that inherently satisfies both properties by focusing purely on the environment's intrinsic temporal dynamics.
Methods
The core idea is inspired by a "relative point of view" found in advanced mathematics (such as the Yoneda lemma in category theory): an object can be uniquely defined by its relationships to all other objects.
In this work, a goal state $g$ is represented as a functional—a mapping that takes any state $s$ as input and outputs the optimal temporal distance $d^*(s, g)$ to the goal. For a discrete state space, this can be visualized as a vector of distances from every possible state to that goal.
To make this concept practical for continuous or large state spaces, the authors introduce a two-step recipe:
-
Approximating the Distance Functional: They model the temporal distance using a universal inner product parameterization: $$d^*(s, g) \approx \psi(s)^\top \phi(g)$$ where $\psi(s)$ is the state embedding and $\phi(g)$ is the learned dual goal representation. They train these embeddings using an offline value learning algorithm, specifically goal-conditioned Implicit Q-Learning (IQL).
-
Downstream Policy Training: Once $\phi(g)$ is learned, its weights are frozen. The goal embedding $\phi(g)$ is then passed as the goal input to any standard downstream offline GCRL algorithm (e.g., Contrastive RL or Behavioral Cloning) to train the final control policy.
Datasets
The method was evaluated on two primary testbeds:
- "Lights Out" Puzzle: A discrete tabular combinatorial puzzle used as a proof of concept to evaluate the method using analytically pre-computed ground-truth temporal distances.
- OGBench: A comprehensive, standard benchmark suite for offline GCRL. The authors tested their method across 20 distinct tasks, including 13 state-based and 7 pixel-based environments. These tasks span complex robotic navigation (e.g.,
antmaze,humanoidmaze,antsoccer) and robotic arm manipulation (e.g.,cube-single-play,scene-play).
Key Insights and Ideas
- Mathematical Analogy: The dual goal representation mirrors the Riesz representation theorem in functional analysis, where points in a space are uniquely represented as linear functionals in a dual space.
- The Power of the Inner Product: While prior metric-learning methods often use Euclidean distance parameterizations ($\|\phi(s) - \phi(g)\|_2$), this paper utilizes an inner product. Because the inner product form is mathematically universal, it is expressive enough to approximate any two-variable function on a compact set, outperforming rigid metric constraints.
- Decoupling Representation from Policy: A surprising insight is that directly extracting a policy from the learned distance function $f(\psi(s), \phi(g))$ degrades performance. The inner product structure is excellent for capturing abstract goal representations (e.g., focusing only on the $x\text{-}y$ position of a robot), but the downstream control policy requires a more monolithic, unconstrained network to capture fine-grained actions (like specific joint angles).
Key Results
- Accelerated Learning: In the tabular "Lights Out" puzzle, switching to the ideal dual representation yielded a massive boost in training speed and success rate compared to raw representations.
- State-of-the-Art Offline GCRL: Across 13 state-based OGBench tasks, combining dual goal representations with goal-conditioned implicit V-learning (GCIVL) achieved the highest average success rate (41%), outperforming the standard baseline (34%) and outclassing other popular representation methods like VIP, VIB, and TRA.
- Robustness to Noise: When evaluation goals were corrupted with artificial Gaussian noise at test time, the dual representation maintained high success rates, empirically validating its theoretical noise-invariance properties.
Limitations and Future Work
Despite its success, the method encountered a notable negative result on visual puzzle tasks, failing to achieve non-zero success rates.
The authors trace this failure to an architectural constraint: standard visual policies benefit from "early fusion" (concatenating the state and goal images before passing them into a CNN). However, because the dual representation requires processing the goal separately to extract $\phi(g)$, it forces the policy into a "late fusion" architecture. Prior literature shows that late fusion severely hinders visual reasoning in complex manipulation tasks.
Fixing this limitation by designing a representation function that remains state-aware while preserving dual properties is highlighted as an important direction for future work.
Summary updated