Abstract
We are interested in the autonomous acquisition of repertoires of skills. Language-conditioned reinforcement learning (LC-RL) approaches are great tools in this quest, as they allow to express abstract goals as sets of constraints on the states. However, most LC-RL agents are not autonomous and cannot learn without external instructions and feedback. Besides, their direct language condition cannot account for the goal-directed behavior of pre-verbal infants and strongly limits the expression of behavioral diversity for a given language input. To resolve these issues, we propose a new conceptual approach to language-conditioned RL: the Language-Goal-Behavior architecture (LGB). LGB decouples skill learning and language grounding via an intermediate semantic representation of the world. To showcase the properties of LGB, we present a specific implementation called DECSTR. DECSTR is an intrinsically motivated learning agent endowed with an innate semantic representation describing spatial relations between physical objects. In a first stage (G -> B), it freely explores its environment and targets self-generated semantic configurations. In a second stage (L -> G), it trains a language-conditioned goal generator to generate semantic goals that match the constraints expressed in language-based inputs. We showcase the additional properties of LGB w.r.t. both an end-to-end LC-RL approach and a similar approach leveraging non-semantic, continuous intermediate representations. Intermediate semantic representations help satisfy language commands in a diversity of ways, enable strategy switching after a failure and facilitate language grounding.
Introduction
Standard Language-Conditioned Reinforcement Learning (LC-RL) typically trains agents to map language instructions directly to behaviors. While effective in some domains, this end-to-end approach suffers from several major flaws: a lack of autonomy (relying on external instructions and rewards), low behavioral diversity (rigid 1-to-1 mappings), and an inability to switch strategies upon failure. For instance, an instruction like "put the red block close to the green block" usually results in one specific behavior, even though a pyramid, a stack, or a simple cluster would all satisfy the command.
This paper introduces the Language-Goal-Behavior (LGB) architecture, which addresses these issues by decoupling sensorimotor skill learning from language grounding through an intermediate semantic representation. By implementing this via the DECSTR agent, the authors show that agents can first autonomously master a repertoire of spatial skills and later learn to map language instructions to these semantic goals.
The LGB Architecture and DECSTR
The core innovation of LGB is the introduction of a "semantic bottleneck" between language and behavior. This is instantiated in the DECSTR (DEep sets and Curriculum with SemanTic goal Representations) agent. Unlike traditional agents that target specific continuous 3D coordinates, DECSTR targets abstract semantic configurations defined by spatial predicates such as close and above applied to pairs of objects.
Training occurs in three distinct phases:
- Skill Learning (Goal → Behavior): The agent explores a MuJoCo-based robotic block manipulation environment. It uses an intrinsically motivated curriculum (tracking its own learning progress) to select semantic goals and learns to reach them using Soft Actor-Critic (SAC) and Hindsight Experience Replay (HER). It utilizes an object-centered network architecture with symmetry biases to generalize across different blocks.
- Language Grounding (Language → Goal): Once the agent masters the physical physics of the blocks, it interacts with a "social partner" that describes state changes. A Conditional Variational Auto-Encoder (C-VAE) is trained to map an initial state and a language instruction to a distribution of valid semantic goals.
- Instruction Following (Language → Goal → Behavior): At test time, the agent receives a command, samples a valid semantic goal from the C-VAE, and uses its RL policy to execute it. If it fails, it can sample a different valid semantic goal and try again.
Experimental Results
DECSTR demonstrates significant advantages over end-to-end baselines. During the autonomous exploration phase, it successfully discovers and masters all 35 physically valid semantic configurations (stacks, pyramids, etc.) without any external reward. In instruction-following evaluations, it achieves an 89% success rate on the first attempt, which jumps to 99% when allowed five attempts (strategy switching).
Key insights from the results include:
- Behavioral Diversity: DECSTR can satisfy a single command in many ways. When asked to repeat the same instruction 50 times, it achieved an average of 15.6 different physical configurations, whereas an end-to-end baseline averaged only 4.2.
- Strategy Switching: Because the C-VAE models a distribution of valid goals, the agent can creatively try alternative physical configurations if an initial attempt fails (e.g., knocking over a stack).
- Abstraction for Grounding: Using semantic predicates instead of continuous coordinates significantly facilitates language grounding. Baselines using continuous intermediate representations (LGB-C) completely failed to map language effectively.
- Sequence Execution: DECSTR can execute an average of 14.9 instructions in a row without environment resets, vastly outperforming the end-to-end baseline (3.01 instructions).
Discussion and Future Work
While DECSTR currently relies on a fixed configuration space (3 blocks), it highlights the power of intermediate semantic representations in building autonomous, flexible agents. Future directions include using Graph Neural Networks (GNNs) to handle variable numbers of objects and intertwining the skill learning and language grounding phases to allow social teaching during exploration.
Summary updated