Learning Object-Centered Autotelic Behaviors with Graph Neural Networks

Ahmed Akakzia, Olivier Sigaud · DOI

Introduction

A fundamental goal in artificial intelligence is the development of "open-ended learners"—agents capable of autonomously discovering, practicing, and mastering an ever-expanding repertoire of skills. Autotelic agents represent a significant step toward this vision. These agents are intrinsically motivated to set their own goals and provide their own reward signals upon achievement. However, a persistent challenge in autotelic learning is the representation of the environment. Traditional agents often perceive the world as a "flat" vector of coordinates, a format that struggles to capture the underlying relational structure of objects, making it difficult to transfer learned skills to new, more complex scenarios.

This research investigates how relational inductive biases, specifically those provided by Graph Neural Networks (GNNs), can enhance the ability of autotelic agents to learn and generalize. By representing the environment as a graph of objects and their relationships, the authors demonstrate that agents can move beyond simple coordinate matching to understand high-level concepts like stacking and arrangement.

Methodology

Environment and Agent Architecture

The study utilizes the Fetch Manipulate domain, featuring a 4-degree-of-freedom robotic arm interacting with five colored blocks. The agents are trained using Soft Actor-Critic (SAC) combined with Multi-criteria Hindsight Experience Replay (MC-HER), which allows the agent to learn from failed attempts by re-evaluating them as successful achievements of different goals.

Relational Architectures

The core of the experiment compares four GNN variants to determine which architectural components are most vital for relational learning:

  1. Full Graph Network (GN): Updates both edge features (pairwise relationships) and node features (individual objects) using global information.
  2. Interaction Network (IN): Updates edges and nodes but omits global feature updates.
  3. Relation Network (RN): Focuses exclusively on pairwise relationships, bypassing node updates.
  4. Deep Sets (DS): Updates individual object features but ignores pairwise edge relationships.

Goal Spaces

The researchers contrasted two distinct ways an agent might define its objectives:

  • Continuous (Geometric): Goals defined by precise XYZ coordinates for every object.
  • Semantic: Goals defined by high-level binary predicates, such as close(Block A, Block B) or above(Block A, Block B).

Experimental Results and Generalization

The Necessity of Relational Bias

The results highlight a stark contrast between object-centered and traditional architectures. Standard MLP-based agents (S-FLAT) failed entirely to learn semantic goals, proving that a flat representation cannot capture the relational logic required for high-level tasks. In contrast, all GNN-based agents achieved a global success rate of approximately 75%.

The Role of Edge and Node Updates

The study found that for semantic goals, the edge update—the process of calculating relationships between pairs—is the most critical component. The Deep Sets model, which lacks edge updates, saw a significant performance drop. However, for more complex structures like 3-block pyramids ($P_3$), node updates became essential. Node updates allow information to propagate across the graph, enabling the agent to understand the dependencies between multiple objects simultaneously.

Transfer to Unseen Tasks

To test the robustness of these representations, the authors introduced three transfer scenarios involving taller stacks and complex combinations. A key finding was that simpler models often generalize better. In the "Higher-order Stacking" scenario (training on 2-block stacks and testing on 3+), the Relation Network (RN) achieved a success rate of 0.64, significantly outperforming the more complex Full Graph Network (0.28) and Interaction Network (0.47). The authors suggest that the more complex models may overfit to the specific configurations seen during training, while the RN’s focus on local pairwise relations allows for more flexible transfer to larger structures.

Discussion and Future Work

While GNNs significantly improve autotelic learning, the agents still exhibit limitations, such as "greedy" behavior where they attempt to place a top block before the base of a stack is stable. This suggests that while the agents understand the goal state, they still struggle with the optimal temporal sequencing of complex tasks.

Future research directions include scaling these approaches to more cluttered, real-world environments and integrating social learning mechanisms. By combining the self-motivated exploration of autotelic agents with the ability to learn from human demonstrations or other agents, we may move closer to truly open-ended artificial intelligence.

Summary updated

BibTeX
@inproceedings{akakzia2022learning,
  author = {Ahmed Akakzia and Olivier Sigaud},
  title = {{Learning Object-Centered Autotelic Behaviors with Graph Neural Networks}},
  booktitle = {CoLLAs},
  year = {2022},
  url = {https://openreview.net/forum?id=mfqa4BYtKa},
}
Figure