Learning Object-Centered Autotelic Behaviors with Graph Neural Networks

Ahmed Akakzia, Olivier Sigaud

Abstract

Although humans live in an open-ended world and endlessly face new challenges, they do not have to learn from scratch each time they face the next one. Rather, they have access to a handful of previous experiences and relational knowledge. This paper explores how autotelic agents—AI that autonomously sets and pursues its own goals—can better learn and transfer skills in multi-object environments. By combining Graph Neural Networks (GNNs) with semantic goal representations (e.g., "Object A is above Object B"), the authors demonstrate that agents can generalize to complex, unseen configurations like high stacks and pyramids far more effectively than those using standard coordinate-based goals or flat neural architectures.

Introduction: The Challenge of Relational Learning

Traditional Reinforcement Learning (RL) typically relies on a fixed, human-defined reward signal. Autotelic agents break this mold by intrinsically motivating themselves to discover, represent, and reach their own goals. However, these agents are often limited by their "representational power." If an agent perceives the world as a flat vector of coordinates, it struggles to understand the underlying relationships between objects, such as the concept of "stacking." This research investigates the synergy between object-centered inductive biases (using GNNs) and structured goal spaces (semantic predicates vs. continuous coordinates). The core challenge is determining which specific GNN components—like edge updates or node updates—are necessary to enable "combinatorial generalization," where an agent can perform a complex task having only practiced simpler sub-tasks.

Methods: Architectural Inductive Biases

The authors compare four GNN variants to evaluate how different computational "flows" affect learning and generalization. These architectures vary in their use of edge updates, node updates, and global features.

Comparison of Graph Neural Network (GNN) architectures: Full Graph Networks (GN), Interaction Networks (IN), Relation Networks (RN), and Deep Sets (DS).
  1. Full Graph Networks (GN): The most complex; updates edges, then nodes, then the global state.
  2. Interaction Networks (IN): Similar to GN but omits global features during edge updates.
  3. Relation Networks (RN): Bypasses node updates, focusing purely on pairwise edge relations.
  4. Deep Sets (DS): Bypasses edge updates, treating objects as an unordered set with only node-level processing.

These architectures are tested against two types of goal spaces: Continuous (target coordinates for every object) and Semantic (binary predicates describing relations, specifically close(A, B) and above(A, B)).

Key Results and Generalization

The experimental results highlight a significant performance gap between GNN-based agents and traditional flat architectures.

Success rates for semantic (a) and continuous (b) goal spaces across different GNN architectures and flat baselines.

The Power of Semantic Abstraction

Semantic goal spaces provide a higher level of abstraction that allows even simpler architectures, like Relation Networks, to perform on par with more complex models. Flat architectures (MLPs) failed completely to learn semantic goals, while GNN-based agents reached a global success rate of approximately 75%.

Edge vs. Node Updates

The study reveals that edge updates are crucial for semantic goals as they allow the model to focus on the pairwise relations defining predicates like above. Conversely, node updates are critical for transferring knowledge to "triple-wise" relations, such as building pyramids. Without node updates, information does not flow effectively between all objects to understand the global structure.

Transfer Capabilities

In transfer scenarios involving configurations never seen during training (e.g., higher stacks), Relation Networks (RN) surprisingly outperformed more complex models. This suggests that simpler architectures may overfit less to training data, providing greater flexibility when combining basic pairwise skills into more complex structures.

Conclusion and Future Directions

While GNNs and semantic goals significantly improve generalization, agents still face challenges with very high stacks (4 or 5 blocks). This is attributed to "greedy" RL critics that prioritize immediate rewards over the sequential coordination required for stable towers. Future work may involve more complex physical properties, such as weight and friction, or social learning mechanisms to further enhance the capabilities of autotelic agents in open-ended environments.

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