Learning Flexible Translation Between Robot Actions and Language Descriptions

Ozan Özdemir, Matthias Kerzel, Cornelius Weber, Jae Hee Lee, Stefan Wermter

Introduction

In the pursuit of creating truly autonomous agents, the field of embodied language learning seeks to bridge the gap between abstract linguistic concepts and physical sensorimotor experiences. For a robot to function effectively alongside humans, it must not only execute commands like "push the red cube" but also describe its own actions or those of others. Traditionally, models capable of such bidirectional translation have been rigid, requiring manual reconfiguration to switch between "execution" and "description" modes.

This paper introduces the Paired Gated Autoencoders (PGAE), a novel neural network architecture designed to provide a fluid, end-to-end solution for multimodal translation. By utilizing a gated bottleneck and natural language task signaling, the PGAE allows a robot to dynamically transition between various tasks without structural changes.

The Paired Gated Autoencoder (PGAE) Architecture

The core of the PGAE consists of two specialized branches that converge at a shared latent space:

  1. Language Autoencoder: This branch processes textual input using either a Long Short-Term Memory (LSTM) network or a pretrained BERT model. It is responsible for encoding instructions and decoding action descriptions.
  2. Action Autoencoder: This branch handles physical modalities. It processes sequences of joint angles and visual features—the latter extracted via a separate Convolutional Autoencoder (CAE)—using an LSTM to capture the temporal dynamics of movement.

The critical innovation lies in the Gated Multimodal Unit (GMU) situated at the bottleneck where these branches meet. The GMU functions as an intelligent filter, employing an attention-like mechanism to regulate the flow of information between the language and action representations. This allows the model to "bind" different modalities into a cohesive concept space, where a physical "push" and the word "push" share a common internal representation.

Task-Switching via Language Signaling

To overcome the rigidity of previous models, the researchers implemented a "signal word" strategy. By prepending a task-specific instruction (e.g., "execute: push the red cube") to the input, the model learns to reconfigure its internal routing dynamically. This removes the need for artificial mode-switching in the code.

This approach enables the PGAE to perform four distinct tasks within a single architecture:

  • Describe: Action $\rightarrow$ Language.
  • Execute: Language $\rightarrow$ Action.
  • Repeat Action: Reconstructing a motor sequence (imitation).
  • Repeat Language: Reconstructing a text description.

Experimental Evaluation

The model was evaluated using a dataset of 864 samples involving the NICO (Neuro-Inspired COmpanion) humanoid robot in a simulated tabletop environment. The dataset included 12 distinct actions (such as pushing and pulling) and 6 different cube colors, resulting in 288 unique language descriptions.

A significant aspect of the study involved "perspective taking." The researchers introduced a second robot agent positioned opposite NICO. This required the model to recognize and describe actions from an external viewpoint, a task that is visually distinct from first-person execution. This forced the model to learn that the concept of "pulling" remains the same even when the visual features change based on perspective.

Results and Analysis

The PGAE demonstrated high performance across all evaluated tasks, outperforming or matching previous state-of-the-art models like PRAE or PVAE while offering greater flexibility:

  • High Accuracy: The standard PGAE achieved a 93.05% accuracy rate in action description. When integrated with a pretrained BERT model (PGAE-BERT), this accuracy improved to 94.91%, suggesting that large-scale language pretraining enhances the model's ability to handle natural language.
  • Precision: In execution tasks, the model showed near-perfect performance, with less than 1% error in joint movement reconstruction.
  • Generalization: The model successfully generalized to the "opposite-sitting agent" scenario, maintaining a 65.28% description accuracy. While lower than first-person accuracy, this represents a significant achievement in cross-perspective visual understanding.
  • Efficiency: Unlike prior models that often required separate passes for different directions, the PGAE simultaneously produced correct text and joint positions across tasks.

Conclusion and Future Work

The PGAE architecture represents a step forward in creating flexible, multimodal robotic agents. By treating task instructions as part of the linguistic input and utilizing gated autoencoders, the model achieves a high degree of autonomy and bidirectional capability.

However, several challenges remain. The current study was conducted entirely in simulation; transitioning this "brain" to a physical NICO robot (sim-to-real transfer) is a primary goal for future research. Additionally, moving from discrete tasks to a continuous, closed-loop human-robot dialogue would allow for more natural interactions. Finally, incorporating Reinforcement Learning could enable the robot to handle more complex, dexterous manipulations beyond simple tabletop actions.

Summary updated

BibTeX
@inproceedings{ozdemir2022learning,
  author = {Ozan Özdemir and Matthias Kerzel and Cornelius Weber and Jae Hee Lee and Stefan Wermter},
  title = {{Learning Flexible Translation Between Robot Actions and Language Descriptions}},
  booktitle = {ICANN},
  year = {2022},
  url = {https://openreview.net/forum?id=bT7aeEY2oVk},
}
Figure