Grounding Language to Autonomously-Acquired Skills via Goal Generation

Ahmed Akakzia, Cédric Colas, Pierre-Yves Oudeyer, Mohamed Chétouani, Olivier Sigaud · DOI

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: From Language-Behavior to Language-Goal-Behavior

Standard language-conditioned reinforcement learning (LC-RL) agents typically learn to map language instructions directly to motor actions (Language → Behavior). While effective in narrow domains, this end-to-end approach suffers from several drawbacks: it lacks autonomy, requiring constant external supervision; it is biologically implausible compared to human development; and it often results in low behavioral diversity.

To address these issues, we propose the Language-Goal-Behavior (LGB) architecture. Unlike standard LC-RL, LGB decouples skill acquisition from language grounding by introducing an intermediate semantic representation of the world. This allows an agent to first master physical skills through intrinsic motivation and subsequently learn to map language instructions to these pre-acquired semantic goals.

Comparison between standard Language-Behavior (LB) reinforcement learning and the proposed Language-Goal-Behavior (LGB) architecture.

The DECSTR Framework

We implement the LGB architecture through DECSTR (DEep sets and Curriculum with SemanTic goal Representations), an agent designed for robotic block manipulation. DECSTR operates in three distinct phases:

  1. Skill Learning (Goal → Behavior): The agent explores its environment without language input, using intrinsic motivation to target self-generated semantic configurations (e.g., "block A above block B"). It employs Soft Actor-Critic (SAC) with Hindsight Experience Replay (HER) and an automatic curriculum to master physically possible configurations.
  2. Language Grounding (Language → Goal): After mastering a repertoire of skills, the agent observes a "social partner" describing its actions. It trains a Conditional Variational Auto-Encoder (C-VAE) to map these descriptions to sets of valid semantic goals.
  3. Instruction Following (Language → Goal → Behavior): At inference, the agent receives a command, samples a compatible semantic goal via the C-VAE, and executes the corresponding learned policy.

Key Results and Insights

DECSTR demonstrates significant advantages over end-to-end baselines. By decoupling motor learning from language, the agent builds a robust foundation of physical control, where language serves as a pointer to mastered concepts.

Experimental results for DECSTR, showing (a) success rates across task buckets, (b) curriculum progress, and (c) comparison against baselines.

As shown in the experimental results, DECSTR achieves near-perfect success rates (99% in 5-shot evaluation) and significantly outperforms baselines that use direct language conditioning or non-semantic continuous representations. The use of discrete semantic predicates (e.g., close, above) allows for "opportunistic goal reaching," where the agent only needs to satisfy a relational rule rather than hitting precise coordinates.

Furthermore, the C-VAE-based goal generator enables high behavioral diversity. When given the same instruction multiple times, DECSTR produces a wide variety of valid physical configurations (averaging 15.6 vs. 4.2 for the baseline). This diversity also unlocks strategy switching; if one approach fails, the agent can sample an alternative semantic goal to satisfy the same command without resetting the environment.

Conclusion

The LGB architecture provides a more autonomous and flexible framework for language-conditioned RL. By leveraging intermediate semantic representations, agents like DECSTR can generalize to complex logical combinations of commands and maintain high performance across diverse tasks. Future work will focus on scaling these representations using Graph Neural Networks and exploring concurrent development of skills and language.

Summary updated

BibTeX
@inproceedings{akakzia2021grounding,
  author = {Ahmed Akakzia and Cédric Colas and Pierre-Yves Oudeyer and Mohamed Chétouani and Olivier Sigaud},
  title = {{Grounding Language to Autonomously-Acquired Skills via Goal Generation}},
  booktitle = {International Conference on Learning Representations},
  year = {2021},
  url = {https://openreview.net/forum?id=chPj_I5KMHG},
}
Figure