Cognitive architecture aided by working-memory for self-supervised multi-modal humans recognition

Jonas Gonzalez-Billandon, Giulia Belgiovine, Alessandra Sciutti, Giulio Sandini, Francesco ReaarXiv 2021

Abstract

This paper presents a novel cognitive architecture designed to enable robots to autonomously recognize and label individuals in real-world environments. By leveraging spatial working memory to link multi-modal sensory data—specifically face and voice—to physical locations, the system facilitates self-supervised data collection. This approach addresses the "domain gap" inherent in pre-trained models when deployed in noisy, unconstrained robotic settings. Experimental results using an iCub robot demonstrate significant improvements in recognition accuracy, particularly in challenging scenarios such as those involving face masks and high ambient noise.

Introduction

While deep learning has achieved remarkable success in face and speaker recognition, these models often falter when transitioned from clean, curated datasets to the messy reality of robotic interaction. Robots encounter unique environmental challenges, including low-resolution sensors, mechanical noise from cooling fans, and acoustic echoes. Furthermore, the COVID-19 pandemic introduced the widespread use of face masks, which significantly degrades the performance of standard facial recognition systems.

Manually labeling large datasets for every new environment is impractical. This research investigates whether a robot can utilize its own sensory experience to autonomously learn identity. The core hypothesis is that spatial consistency can serve as a supervisor: by associating a person's identity with their physical location in a room, a robot can build its own training dataset without human intervention.

Methods

The proposed architecture is a modular system integrated with the YARP middleware, organized into three primary pillars: perceptual modules, spatial working memory, and a self-supervised data collection pipeline.

The proposed cognitive architecture, illustrating the flow from sensory signals through perceptual modules to action and memory.

Perceptual and Memory Modules

The iCub robot utilizes a Sound Localization System (SLS) to determine the direction of incoming audio and a Multiple Object Tracker (MOT) to maintain visual continuity of faces. The "secret sauce" of the architecture is the Spatial Working Memory. The robot discretizes its surrounding environment into three spatial bins (left, center, and right). It maintains a dictionary-based mapping between these bins and tracked entities. For instance, if a voice is localized to the "left" bin, the system automatically associates that audio signature with the visual entity currently tracked in the same spatial sector.

Self-Supervised Learning Pipeline

Data collection occurs during a structured game-like interaction (a modified version of "Taboo"). The robot acts as a referee and asks participants for their names. Using speech-to-text, the robot extracts the name and immediately links it to the current spatial bin. All subsequent face images and audio snippets captured from that location are automatically labeled with that name, creating a personalized, domain-specific dataset.

Experimental Setup and Datasets

To evaluate the system, a user study was conducted involving 12 healthy volunteers (8 male, 4 female) participating in a "History Taboo" game. The setup, shown below, positioned participants at specific angular offsets relative to the iCub.

Experimental setup showing the iCub robot interacting with participants at designated spatial locations (Left, Front, Right).

The study generated a custom dataset comprising 1,320 seconds of audio and 1,200 face images. This data was used to compare the performance of the robot's self-supervised models against state-of-the-art benchmarks pre-trained on LibriSpeech (audio) and VGGFace2 (visuals).

Key Results

The experiments highlighted a significant "domain gap" for pre-trained models. Due to the iCub's internal fan noise (resulting in a Signal-to-Noise Ratio of only 9 dB), pre-trained speaker recognition models achieved only 30.3% accuracy. In contrast, the model re-trained on the robot's self-collected data reached 65% accuracy.

Similarly, in face recognition, a pre-trained Triplet-Loss model achieved 55% accuracy, largely due to the difficulty of recognizing masked faces. The self-supervised model, having trained on the actual masked faces encountered during the interaction, improved accuracy to 72%. The Sound Localization System proved highly robust, achieving 97% accuracy in predicting sound direction, which validated its use as a reliable spatial supervisor.

Discussion and Conclusion

This research demonstrates that spatial location is a powerful proxy for identity in human-robot interaction. By using "where" to determine "who," robots can autonomously bridge the gap between general-purpose pre-trained models and the specific requirements of their operating environment. This memory-aided perception allows the robot to organize chaotic sensory streams into structured, useful training data.

Future work will focus on scaling the system to more dynamic environments with a higher number of participants and moving toward a fully "online" learning pipeline where the robot improves its recognition capabilities in real-time during a conversation, rather than through post-hoc training.

Summary updated

Abstract

The ability to recognize human partners is an important social skill to build personalized and long-term human-robot interactions, especially in scenarios like education, care-giving, and rehabilitation. Faces and voices constitute two important sources of information to enable artificial systems to reliably recognize individuals. Deep learning networks have achieved state-of-the-art results and demonstrated to be suitable tools to address such a task. However, when those networks are applied to different and unprecedented scenarios not included in the training set, they can suffer a drop in performance. For example, with robotic platforms in ever-changing and realistic environments, where always new sensory evidence is acquired, the performance of those models degrades. One solution is to make robots learn from their first-hand sensory data with self-supervision. This allows coping with the inherent variability of the data gathered in realistic and interactive contexts. To this aim, we propose a cognitive architecture integrating low-level perceptual processes with a spatial working memory mechanism. The architecture autonomously organizes the robot's sensory experience into a structured dataset suitable for human recognition. Our results demonstrate the effectiveness of our architecture and show that it is a promising solution in the quest of making robots more autonomous in their learning process.
BibTeX
@misc{gonzalezbillandon2021cognitive,
  author = {Jonas Gonzalez-Billandon and Giulia Belgiovine and Alessandra Sciutti and Giulio Sandini and Francesco Rea},
  title = {{Cognitive architecture aided by working-memory for self-supervised multi-modal humans recognition}},
  year = {2021},
  eprint = {2103.09072},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.09072},
}
Figure