Overview
In goal-conditioned reinforcement learning (GCRL), an agent must learn to reach any target state from any starting position. Traditionally, researchers represent the "goal" using the raw observation of that state, such as a set of coordinates or an image. However, raw observations are often cluttered with exogenous noise—superfluous information like background textures or moving distractors that do not affect the environment's underlying dynamics.
An ideal representation should be sufficient (containing all information needed to reach the goal) and noise-invariant (ignoring irrelevant details). This paper introduces dual goal representations, a novel framework where goals are encoded by their temporal distances to all other states. This approach is theoretically proven to be sufficient for optimal control and invariant to irrelevant noise, leading to significant performance gains across diverse robotic tasks.
The "Relative" Philosophy: Methods and Concept
The core idea is a "relative" approach inspired by category theory (the Yoneda lemma) and functional analysis: instead of defining a goal by what it looks like, define it by its relationship to every other state in the environment. In the context of RL, the most fundamental relation is temporal distance.
- The Concept: A "dual" representation $\phi^\vee(g)$ characterizes a goal $g$ as a functional—a function that takes any state $s$ as input and outputs the optimal temporal distance $d^*(s, g)$ to reach the goal.
- Practical Approximation: Since we cannot store a function for every state in continuous spaces, the authors approximate it using a learned inner product: $d^*(s, g) \approx \psi(s)^\top \phi(g)$. Here, $\phi(g)$ serves as the compact, finite-dimensional "dual representation" of the goal.
- Training Pipeline: The authors use an offline algorithm, Goal-Conditioned Implicit Q-Learning (GCIQL), to learn these embeddings from a static dataset of trajectories.
- Downstream Integration: Once learned, the dual representation $\phi(g)$ is used as the goal input for standard GCRL algorithms, replacing the original state observations.
Key Insights
- Provable Robustness: The authors mathematically prove that dual representations are naturally invariant to noise that doesn't change the environment's transition dynamics.
- Universality of Inner Products: While many prior works use Euclidean distance $\|\phi(s) - \phi(g)\|_2$ for representations, this paper demonstrates that the inner product form $\psi(s)^\top \phi(g)$ is more expressive and "universal," allowing it to approximate complex distance functions more accurately.
Experimental Results
The authors evaluated their method on OGBench, a comprehensive suite for offline GCRL featuring 13 state-based tasks (ranging from simple navigation to complex 21-DOF humanoids) and 7 pixel-based tasks (robotic manipulation directly from $64 \times 64$ images).
- Performance Boost: On state-based tasks, dual representations achieved an average success rate of 41%, significantly outperforming the raw baseline (34%) and other popular representation methods like VIB or VIP.
- Manipulation Gains: In complex manipulation tasks, the method improved success rates by up to 3x compared to using raw states.
- Noise Immunity: In experiments where Gaussian noise was added to goals at test time, the dual representation remained highly robust, whereas the performance of agents using raw representations crashed.
Limitations and Future Work
While highly effective, the method struggled with certain pixel-based visual puzzle tasks. The authors attribute this to "late fusion"—processing the state and goal separately before combining them. In tasks requiring fine-grained visual comparison, "early fusion" (comparing pixels directly) is often superior.
A promising future direction is modifying the representation function to be aware of the current state's context. This could potentially overcome the late fusion bottleneck while retaining the powerful theoretical benefits of dual representations.
Summary updated