STAM: A Framework for Spatio-Temporal Affordance Maps

Francesco Riccio, Roberto Capobianco, Marc Hanheide, Daniele Nardi

Introduction

In robotics, the concept of "affordances" traditionally describes the action possibilities offered by specific objects—for instance, a handle affords pulling. However, as robots move into dynamic human environments, the environment itself becomes a complex, shifting "object." Standard navigation algorithms excel at obstacle avoidance but often lack the semantic context needed for sophisticated tasks like socially-aware following.

A service robot interacting with a human, illustrating the type of social environment STAM is designed to navigate.

The Spatio-Temporal Affordance Maps (STAM) framework addresses this by shifting the focus from individual objects to the entire environment. STAM provides a mathematical foundation for robots to learn and map where specific tasks are best performed based on dynamic environmental states and expert demonstrations.

The STAM Framework

The core of the proposal lies in two concepts: the Spatio-Temporal Affordance (STA) function and the resulting Spatio-Temporal Affordance Map (STAM). The STA function ($f_{E,\theta}$) processes the current world state and a specific task to output a map representing the likelihood that a specific area "affords" that task.

Modular Architecture and Composition

STAM utilizes a modular architecture consisting of an a-module (a knowledge base of task "signatures" $ heta$) and an e-module (which tracks the environment state and current tasks).

The detailed STAM architecture, showing how environment states ($s_E$) and task signatures ($\theta$) are processed and composed ($\phi$) into a final affordance map ($A_E$).

A key strength of this approach is compositionality: multiple affordances can be combined using a composition function $\phi$. This allows a robot to simultaneously balance multiple objectives, such as "following a person" while "staying within a specific zone."

Learning and Navigation

Instead of relying on hard-coded rules, STAM employs Learning from Demonstration (LfD). By observing an expert, the robot learns the "signature" ($\theta$) of a task—represented as the means, covariances, and priors of a Gaussian Mixture Model (GMM).

To translate these maps into movement, the authors replace the standard navigation "costmap" with a gainmap. While a costmap identifies areas to avoid, the gainmap highlights areas of high task suitability. The robot's path planner then seeks to maximize "gain" while maintaining safety.

Evaluation and Results

The framework was validated through a simulated "following" task where a follower robot learned to track a randomly moving target robot based on human expert demonstrations.

  • Rapid Learning: Results showed that after only three demonstrations, the robot successfully modeled a "ring-shaped" probability distribution around the target, identifying the ideal social following distance.
  • Quantitative Improvement: The mean relative distance error dropped significantly from approximately 0.5m to 0.1m over three trials. Similarly, orientation error decreased from 65 degrees to 20 degrees, demonstrating the efficiency of the GMM approach in capturing complex spatial semantics from minimal data.

Limitations and Future Outlook

While promising, the current validation is focused on a single following task. Future work is required to explore how the framework handles conflicting high-level tasks and to assess the computational scaling of real-time map updates in large, crowded environments. Nonetheless, STAM represents a significant step toward robots that understand the semantic and social nuances of the spaces they inhabit.

Summary updated

BibTeX
@inproceedings{riccio2016stam,
  author = {Francesco Riccio and Roberto Capobianco and Marc Hanheide and Daniele Nardi},
  title = {{STAM: A Framework for Spatio-Temporal Affordance Maps}},
  booktitle = {MESAS},
  year = {2016},
  doi = {10.1007/978-3-319-47605-6\_22},
}
Figure