Semantic-Metric Bayesian Risk Fields: Learning Robot Safety from Human Videos with a VLM Prior

Timothy Chen, Marcus Dominguez-Kuhne, Aiden Swann, Xu Liu, Mac Schwager · DOI

Introduction

Traditional robot safety is often reduced to a binary state: a robot is safe if it avoids physical collisions and unsafe if it makes contact. However, human safety is far more nuanced. We intuitively understand "intangible safety"—the contextual risk associated with certain actions, such as moving a sharp knife near a person's arm or carrying a glass of water over a laptop. While no collision occurs, the potential for harm is high.

Researchers from Stanford and Caltech have introduced Semantic-Metric Bayesian Risk Fields to bridge this gap, enabling robots to quantify risk using a combination of "common sense" and observed human behavior.

The proposed Bayesian risk model draws a direct analogy to the human mental model of risk, combining semantic common sense with learned experience.

Quantifying Contextual Risk

The framework formalizes human intuition into a mathematically rigorous Bayesian model. Risk is decomposed into two primary components:

  1. The Prior (Semantic Common Sense): This captures the inherent risk between object pairs regardless of distance. Using a Vision-Language Model (VLM), the researchers generated a risk lookup table for over 60,000 object combinations. This allows the robot to understand that a "knife + person" interaction is inherently high-risk, whereas "book + table" is not.
  2. The Likelihood (Spatial Behavior): This captures the spatial margins humans maintain during tasks. By observing human demonstration videos, the model learns the "safe" distances humans naturally keep from hazardous objects.

By multiplying the semantic prior with the spatial likelihood, the system generates a continuous, pixel-dense risk map. This map serves as a value function that informs robot trajectory planning, creating virtual "buffer zones" around risky areas.

Technical Implementation and Data

The technical pipeline leverages state-of-the-art computer vision and transformer architectures to process visual data into actionable risk metrics.

The system processes human demonstration videos to extract spatial likelihoods and combines them with semantic features to generate control points for robot planning.

As shown in the technical pipeline, the Likelihood Transformer is trained on features extracted via DINOv3. Crucially, the model learns from safe demonstrations. By observing the detours humans take and the margins they maintain, the model infers the underlying risk boundaries without needing examples of actual accidents. The dataset included targeted RGB-D videos of pick-and-place tasks, augmented by a lookup table of 338 object categories generated via LLM prompting.

Key Results and Insights

The study demonstrates that the combined Bayesian posterior aligns more closely with human intuition than either the VLM prior or the learned likelihood alone. The prior provides the "what," and the likelihood provides the "where."

  • Human Alignment: In trajectory selection tests, the model outperformed standalone VLMs like GPT-4 and Gemini. While VLMs can be stochastic and inconsistent, this framework provides a deterministic and human-aligned ranking of path safety.
  • Robot Performance: When integrated with trajectory optimizers, the system significantly outperformed end-to-end policies like Diffusion Policy or GR00T (VLA). In "Top 1 Box" human preference rankings, the risk-aware optimizer scored 134, compared to scores of 13-14 for baseline models.
  • Generalization: Thanks to the use of foundation model features (DINOv3), the system successfully generalized to novel objects not present in the training videos, such as umbrellas and box cutters.

Conclusion and Future Work

Semantic-Metric Bayesian Risk Fields represent a significant step toward robots that can operate safely and naturally in human environments. By fusing high-level semantic reasoning with low-level spatial geometry, robots can finally move beyond simple collision avoidance toward a true understanding of contextual risk.

Future work will focus on scaling the likelihood model with larger video datasets to create a "foundation model" for risk. Additionally, the researchers aim to optimize the pipeline—which currently relies on heavy models like SAM2 and DINOv3—for real-time, high-frequency control in dynamic environments.

Summary updated

BibTeX
@misc{chen2025semantic,
  author = {Timothy Chen and Marcus Dominguez-Kuhne and Aiden Swann and Xu Liu and Mac Schwager},
  title = {{Semantic-Metric Bayesian Risk Fields: Learning Robot Safety from Human Videos with a VLM Prior}},
  year = {2025},
  eprint = {2512.08233},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.08233},
}
Figure