Language as Cost: Proactive Hazard Mapping using VLM for Robot Navigation

Mintaek Oh, Chan Kim, Seung-Woo Seo, Seong-Woo KimarXiv 2025

TL;DR

This paper introduces a zero-shot "language-as-cost" mapping framework that leverages Vision-Language Models (VLMs) to proactively anticipate environmental hazards before they materialize. By translating common-sense reasoning into spatial navigation costs, robots can safely steer clear of potential risks—like a closed door that might suddenly swing open—without needing prior direct experience or training.

What Problem Does This Paper Address?

Traditional mobile robot navigation relies heavily on static geometric maps (such as occupancy grids) to detect and avoid obstacles. While effective for stationary walls or boxes, these systems are fundamentally reactive when dealing with dynamic environments. A standard robot cannot foresee that a person sitting in an office chair might abruptly stand up, or that a pedestrian might step out from an elevator.

While some recent methods use machine learning to detect anomalies or learn from past collisions, they often lack semantic understanding and require the robot to experience a hazard (or a crash) at least once before learning to avoid it. The authors address this gap by giving robots a human-like ability to infer hidden, potential dangers from visual context using common-sense prior knowledge.

Methods

The proposed framework converts visual semantic reasoning into a continuous cost map through a multi-step pipeline:

  1. Hazard Reasoner & Emotion Evaluator: The robot captures an RGB image and queries a large VLM (GPT-4o) to describe the scene and identify potentially hazardous objects using Chain-of-Thought (CoT) reasoning. A smaller, faster VLM (GPT-4o-mini) then acts as an "Emotion Evaluator," assigning an "anxiety score" (from 1 to 3) to quantify the risk level of each identified object.
  2. Language-Based Segmentation: The identified hazardous objects are localized at the pixel level using Grounded Edge SAM, a fast, zero-shot semantic segmentation model that handles open-set text prompts in real time.
  3. Gaussian Map Building & Integration: The segmented masks are combined with depth data to create a localized 3D point cloud of hazards, which is projected onto a 2D grid map. To simulate human caution, these anxiety scores are propagated outward using a 2D multivariate Gaussian distribution. The spatial spread (covariance) increases logarithmically with the anxiety score, a design choice inspired by the Weber-Fechner law of human perception. Finally, this continuous hazard cost map is fused with a standard geometric obstacle map using a max-fusion strategy.

Datasets

The method was evaluated using custom simulation setups and real-world field tests designed to challenge the robot with dynamic, open-set scenarios:

  • Simulation: Conducted in a Gazebo environment replicating a real room. The testing platform was a Unitree Go1 quadruped robot executing the D* Lite algorithm for path planning and Model Predictive Path Integral (MPPI) for low-level control.
  • Real-World Data: Collected using the Earth Rover Zero mobile platform equipped with a ZED stereo camera for RGB-D perception and VINS-Mono for state estimation. Testing covered complex indoor hallways (doors, elevators) and outdoor winter environments.

Key Insights and Ideas

  • Language as a Spatial Cost: Instead of using language merely for high-level task planning (e.g., "go to the kitchen"), this work directly maps semantic descriptions to numerical navigation costs, bridging the gap between abstract reasoning and low-level geometric path planning.
  • Anxiety-Driven Safety Margins: Modeling the spatial influence of a hazard based on human psychological principles elegantly scales how much clearance a robot gives to an uncertain threat. A higher anxiety score translates directly into a wider, softer safety berth on the cost map.
  • Zero-Shot & Open-Set Generalization: Because it relies on foundation models, the system doesn't need to be pre-trained on specific hazard classes (like "wet floor" or "slippery snow"). It generalizes to entirely novel environments out-of-the-box.

Key Results

  • 100% Success Rate in Dynamic Simulations: In Gazebo testing across three challenging scenarios (a suddenly appearing danger sign, an abruptly opening door, and a seated person standing up), the proposed method achieved a perfect 10/10 success rate. In contrast, standard geometric maps failed completely (0/10) on the dynamic door and seated chair scenarios because they could not anticipate the movement.
  • Proactive Real-World Mapping: In real-world indoor tests, the system successfully inflated navigation costs around high-risk zones like elevator doors and closed hallway doors. In outdoor tests, it correctly identified a snowy patch as a potential slipping hazard and proactively routed the robot around it.

Limitations and Future Work

  • Safety vs. Efficiency Trade-off: Proactively avoiding potential hazards can lead to highly conservative paths and longer travel times, especially if the anticipated danger never actually materializes (e.g., a door that stays closed).
  • VLM Inference Latency: The high-level VLM reasoning loop takes approximately 4 seconds per cycle. While the zero-shot segmentation model runs much faster to handle real-time tracking, the latency of the primary hazard assessment remains a bottleneck for fast-moving robots.
  • Future Integration: The authors suggest combining this a priori linguistic mapping with a posteriori experience-based refinement to optimize path efficiency over time as the robot becomes familiar with specific environments.

Summary updated

BibTeX
@misc{oh2025language,
  author = {Mintaek Oh and Chan Kim and Seung-Woo Seo and Seong-Woo Kim},
  title = {{Language as Cost: Proactive Hazard Mapping using VLM for Robot Navigation}},
  year = {2025},
  eprint = {2508.03138},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.03138},
}
Figure