Imagine teaching a robot to open a door in your kitchen. It learns that when it is at coordinates $(x=2.5, y=4.2)$, it can turn a handle. Now, move that robot to the living room. Even though the "door-ness" of the situation is identical, the robot is lost because the global coordinates have changed. This is known as the "grounding" problem in AI: most learned symbolic representations are tied to a specific task's geometry, forcing agents to relearn everything from scratch in a new environment.
In their ICML 2020 paper, Learning Portable Representations for High-Level Planning, Steven James, Benjamin Rosman, and George Konidaris present a framework to overcome this limitation. By shifting from "problem-space" coordinates to "agent-space" egocentric observations, they developed a method for agents to learn portable skills that transfer seamlessly across different tasks.
The Grounding Problem in High-Level Planning
High-level planning requires symbols (like "at the door" or "holding the key"). Previous state-of-the-art methods could learn these symbols autonomously from low-level sensor data, but the resulting symbols were strictly task-specific. If the door moved, the symbol broke.
The core challenge is that while an agent's sensors (what it sees or feels) are often consistent across tasks, the global environment (where things are located) is not. To be truly intelligent, an agent needs a way to learn the concept of an action—such as climbing a ladder—in a way that remains valid regardless of the ladder's global position.
Methods: Creating Portable Representations
The authors propose a two-step process to decouple the "what" from the "where," creating portable representations:
1. Egocentric Learning
Instead of learning in a global coordinate frame, the agent learns symbols in an observation space $\mathcal{D}$ that is relative to itself (e.g., "there is a wall 10cm in front of me"). Because this egocentric space remains constant across tasks, the resulting symbols are inherently "portable."
2. Task-Specific Grounding
When dropped into a new environment, the agent does not relearn what a door is. Instead, it learns "linking functions." It simply learns which specific location in the new room corresponds to its pre-existing "door" symbol.
Technically, the environment is modeled as a Semi-Markov Decision Process (SMDP). The researchers use DBSCAN clustering to partition agent-space options into subgoals and Support Vector Machines (SVMs) with Platt scaling to estimate preconditions. The theoretical breakthrough of the paper is proving that even though egocentric observations are often non-Markovian (they do not encapsulate the entire world state), adding a task-specific partition label makes the representation "provably sufficient" for sound planning.
Key Insights and Ideas
- Egocentric vs. Problem Space: The core insight is that the agent's own sensor frame is the right place to learn logic, while the global frame is only needed for localization.
- Lifted Operators: The system generates "lifted" PDDL (Planning Domain Definition Language) rules. Instead of a rigid rule saying
OpenDoor_at_Location_A, it learnsOpenDoor(X), whereXis a parameter it fills in for the current task. - Sublinear Sample Complexity: Because the agent reuses its symbolic vocabulary, the number of new samples needed for each subsequent task drops. It doesn't just learn; it learns how to learn faster.
Datasets and Key Results
The framework was evaluated on two complex, continuous domains:
- Rod-and-Block: A rod moves along a track and must rotate to avoid obstacles. The "task" changes based on where the blocks are placed.
- Treasure Game: A more complex environment involving a continuous maze, ladders, doors, levers, and keys. This requires long-horizon planning (e.g., "get key, go to lever, open door, find treasure").
The authors generated 10 different task configurations for each domain to test how well the agent improved as it encountered more environments. The results showed a clear "transfer" effect:
- Sample Efficiency: In the Rod-and-Block domain, the agent initially needed ~600 samples to model a task. By the third task, this dropped to ~330 samples.
- Treasure Game Scaling: In the complex Treasure Game, the agent started at ~1600 samples per level but reduced this to ~700 samples after seven levels.
- Sublinear Growth: The cumulative number of samples required grows sublinearly. This is the "holy grail" of lifelong learning—the more you know, the less you have to work to understand something new.
Limitations and Future Work
While powerful, the framework has some constraints:
- Sensor Dependency: The quality of the portable representation depends heavily on the agent's sensors. If the sensors cannot distinguish between two different types of obstacles, the symbols will be "aliased" (confused).
- Exploration Policy: Currently, the agent gathers data by selecting actions uniformly at random. A more "curious" or directed exploration strategy would likely make the system even more efficient.
- Non-Injective Mapping: The theory relies on the observation function being non-injective (meaning multiple world states look the same to the agent's sensors). While common in robotics, this requires careful sensor design.
By decoupling the "what" from the "where," this research moves us closer to robots that can walk into a brand-new building and understand how to navigate it based on a lifetime of experience, rather than thousands of trial-and-error crashes.
Summary updated