Language-Model-Based Paired Variational Autoencoders for Robotic Language Learning

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

Introduction

In the field of robotics, language grounding—the ability of a robot to link linguistic concepts to physical objects and actions—is a fundamental challenge. Traditional systems often rely on brittle, one-to-one mappings where a specific command triggers a predefined action. However, human communication is naturally "one-to-many"; we use diverse phrasing like "push the red block" or "please slide that red thing" to describe the same physical task. To interact effectively with humans, robots must move beyond rigid commands and develop a shared "mental space" that bridges vision, proprioception, and unconstrained natural language.

The PVAE-BERT Framework

Researchers have addressed this by developing PVAE-BERT, an architecture that integrates a pretrained BERT (Bidirectional Encoder Representations from Transformers) model into a Paired Variational Autoencoder (PVAE) framework. The system consists of two distinct VAEs—one for language and one for action—that are "bound" together during training.

The PVAE-BERT architecture binds language and action VAEs through a shared latent space.

The "secret sauce" of this model is the Binding Loss. During training, this loss function forces the latent representations (compressed "thoughts") of a paired action and its linguistic description to reside close to each other in a shared mathematical space. By replacing a standard LSTM encoder with BERT, the model leverages massive amounts of prior linguistic knowledge, allowing it to handle "messy" human instructions and grammatical variations.

Experimental Setup

The model was evaluated using the NICO (Neuro-Inspired COmpanion) robot in a simulated tabletop environment. The dataset included:

  • Action Data: Joint angle trajectories for PUSH, PULL, and SLIDE actions at varying speeds.
  • Visual Data: First-person images from the robot's cameras, processed using a channel-separated Convolutional Autoencoder (CAE) to improve color distinction.
  • Language Data: A corpus of descriptions ranging from simple color-object-action triplets to complex, polite requests and alternative vocabularies.

Results and Analysis

The PVAE-BERT model demonstrated significant improvements over previous non-variational approaches. By representing the latent space as a distribution rather than a single point, the VAE-based approach handles the natural fuzziness of human language more effectively.

Performance comparison of PVAE models against the baseline PRAE across different experimental scenarios.

As shown in the results, the PVAE with channel-separated CAE achieved 100% accuracy in multi-color scenarios, a massive leap from the ~33% managed by the older PRAE model. Furthermore, the model generalized well to complex shapes (like toy ducks or cars) with 92.13% accuracy, proving that the visual module was learning robust features rather than just overfitting to simple cubes.

Discussion and Conclusion

A key insight from the study is that better visual feature extraction directly enhances language grounding; if a robot cannot clearly distinguish colors visually, it cannot learn the corresponding words effectively. Analysis of the latent space revealed a natural semantic organization, with different axes representing action types, colors, and speeds.

While the current results are promising, limitations remain. The massive size of the BERT encoder compared to the LSTM decoder can lead to minor performance drops in language reconstruction. Future work will focus on testing the system in more cluttered, real-world environments and moving from simulation to physical hardware. Ultimately, PVAE-BERT represents a significant step toward robots that can understand and execute human instructions with human-like flexibility.

Summary updated

BibTeX
@article{ozdemir2023language,
  author = {Ozan Özdemir and Matthias Kerzel and Cornelius Weber and Jae Hee Lee and Stefan Wermter},
  title = {{Language-Model-Based Paired Variational Autoencoders for Robotic Language Learning}},
  journal = {IEEE Trans. Cogn. Dev. Syst.},
  year = {2023},
  doi = {10.1109/tcds.2022.3204452},
}
Figure