ILeSiA: Interactive Learning of Robot Situational Awareness From Camera Input

Petr Vanc, Giovanni Franzese, Jan Kristof Behrens, Cosimo Della Santina, Karla Štěpánová, Jens Kober, Robert Babuška

Introduction

In the field of robotics, Learning from Demonstration (LfD) has become a standard approach for teaching robots complex skills by having a human guide them through successful task executions. However, a significant limitation of LfD is its focus on success: demonstrations rarely account for the myriad ways a task can fail. When a robot encounters an unforeseen obstacle—such as a misaligned component, a tangled cable, or a human entering the workspace—it often lacks the "situational awareness" to recognize the anomaly, leading to potential damage or safety hazards.

ILeSiA (Interactive Learning of Robot Situational Awareness) addresses this challenge by providing a framework that enables robots to detect both known and novel faults in real-time. By combining an autoencoder for feature extraction with a Gaussian Process (GP) for risk estimation, the system can identify when a situation is "out-of-distribution" and pause to request human intervention.

The ILeSiA Framework

The ILeSiA pipeline is designed for efficiency and real-time performance, utilizing a two-stage process to translate raw camera input into a reliable risk assessment.

1. Feature Extraction via Autoencoder

High-dimensional camera frames are first processed by a standard Autoencoder (AE). The AE compresses the visual data into a low-dimensional (12D) latent space vector. This dimensionality reduction is critical, as it allows the subsequent regression model to operate efficiently without the computational overhead of processing raw images directly.

2. Risk Estimation with Gaussian Processes

The latent vector, paired with a normalized time-stamp of the current task, is fed into a Gaussian Process (GP) regression model. Unlike traditional neural networks that provide a single point estimate, the GP provides a predictive distribution characterized by a mean ($\mu$) and a standard deviation ($\sigma$).

The core innovation of ILeSiA lies in its risk score calculation: $$r = \text{clip}(\mu + \sigma)$$ By incorporating the uncertainty ($\sigma$) into the risk score, the system flags situations as risky not only when they resemble known faults (high $\mu$) but also when they are entirely unlike the training data (high $\sigma$).

3. Human-in-the-Loop Interaction

When the risk score exceeds a predefined threshold, the robot pauses its execution. A human supervisor then reviews the state and labels it as "safe" or "risky." This new data point is immediately incorporated into the GP, allowing the robot to update its internal model of situational awareness in real-time. This interactive approach allows the system to learn from a single example of a novel fault.

Experimental Evaluation

The researchers validated ILeSiA using the Electronic Task Board from the Robothon 2023 challenge. The evaluation focused on three distinct robotic skills:

  • Pick Peg: Retrieving a small component from a holder.
  • Open Door: Manipulating a hinged door on the task board.
  • Place Peg: Inserting a component into a designated hole.

The testing environment included "seen faults" (anomalies present in the initial training) and "novel faults" (unseen hazards like human hands or cable interference).

Key Results

ILeSiA demonstrated superior performance compared to standard Multi-Layer Perceptron (MLP) baselines, particularly in detecting novel anomalies:

  • Novel Fault Detection: In the "Pick Peg" task, ILeSiA achieved 84.2% accuracy, whereas the MLP baseline managed only 39.5%. This highlights the critical role of uncertainty quantification in situational awareness.
  • High Reliability: On seen faults, the system reached up to 99.3% accuracy for the "Open Door" task.
  • Computational Efficiency: The system maintains an inference time of approximately 35ms, supporting high-speed manipulation. Furthermore, retraining the risk estimator for a new skill requires only 16 to 36 seconds.

Discussion and Future Work

ILeSiA demonstrates that situational awareness can be learned efficiently without massive, pre-annotated datasets. By treating uncertainty as a primary feature, the system provides a robust mechanism for robots to "know what they don't know."

However, several avenues for improvement remain. Currently, the system is vision-centric; incorporating additional modalities such as force/torque sensors or auditory input could provide a more holistic view of the robot's environment. Additionally, the system's performance is inherently linked to the quality of the autoencoder's latent space; improvements in visual reconstruction could further reduce false alarms. Future research will also focus on reducing the "expert burden" by exploring semi-autonomous ways to label risky states.

Summary updated

BibTeX
@article{vanc2025ilesia,
  author = {Petr Vanc and Giovanni Franzese and Jan Kristof Behrens and Cosimo Della Santina and Karla Štěpánová and Jens Kober and Robert Babuška},
  title = {{ILeSiA: Interactive Learning of Robot Situational Awareness From Camera Input}},
  journal = {IEEE Robotics and Automation Letters},
  year = {2025},
  doi = {10.1109/lra.2025.3601037},
}
Figure