Coding Agents with an Obstacle-Aware Harness for Safe Robot Manipulation

TL;DR

SafeHarness enhances robot manipulation safety with obstacle-aware planning, achieving 71.9% task success and 87.5% collision avoidance.

cs.RO 🔴 Advanced 2026-09-18 11 views
Bingxin Xu Yuzhang Shang Zhen Dong Emilio Ferrara
robot manipulation safety language model route planning obstacle awareness

Key Findings

Methodology

The study introduces SafeHarness, a method that enhances robot manipulation safety through obstacle-aware route planning and contact execution. Route planning treats objects as bounding boxes and draws candidate routes over them. Contact execution selects contact positions that avoid obstacles.

Key Results

  • SafeHarness achieved a 71.9% task success rate and 87.5% collision avoidance rate on the SafeLIBERO benchmark, surpassing previous SOTA by 6.5% and 27.0%, respectively.
  • Compared to similar agents without SafeHarness, task success and collision avoidance rates improved by 2.3x and 1.5x, respectively.
  • Experiments indicate that safety improvements primarily stem from SafeHarness rather than model enhancements.

Significance

This research is significant in the field of robot manipulation, marking the first time safety is treated on par with task success. By introducing SafeHarness, it addresses safety issues in complex environments, reducing risks of hardware damage and personal injury.

Technical Contribution

Technical contributions include two obstacle-aware tools that prioritize safety constraints during task execution. Compared to existing methods, SafeHarness significantly improves safety in both route planning and contact execution.

Novelty

SafeHarness is the first to prioritize safety as a core objective in robot manipulation, significantly enhancing task success and safety compared to existing methods, especially in complex environments.

Limitations

  • SafeHarness may still fail to avoid collisions in certain complex scenarios, particularly with dynamic obstacles.
  • Route planning incurs significant computational overhead, potentially affecting real-time performance.
  • Obstacle recognition depends on the accuracy of the vision model.

Future Work

Future work could explore improving safety in dynamic environments and optimizing route planning algorithms to reduce computational overhead.

AI Executive Summary

Ensuring safety in complex environments is a major challenge in robot manipulation. Traditional methods often focus solely on task completion, neglecting safety issues. To address this challenge, the research team introduced SafeHarness, an obstacle-aware tool that prioritizes safety constraints during task execution. SafeHarness achieves this through route planning and contact execution. In route planning, objects are treated as bounding boxes, and candidate routes are drawn over them and verified before execution. In contact execution, contact positions are selected to avoid obstacles, ensuring safety. Experimental results show that SafeHarness significantly improves task success and collision avoidance rates, demonstrating its potential for application in complex environments. Despite these advances, SafeHarness still faces challenges in certain dynamic scenarios, and future work will continue to optimize its performance.

Deep Analysis

Background

As robotics technology advances, robot manipulation becomes increasingly important in industry and daily life. However, ensuring safety in complex environments remains a pressing issue. Traditional methods often focus solely on task completion, neglecting safety issues, leading to risks of hardware damage and personal injury.

Core Problem

Robots often face complex environments where obstacles can affect task success and safety. Existing methods often fail to effectively handle these obstacles, leading to collisions and task failures.

Innovation

SafeHarness introduces obstacle-aware route planning and contact execution to address safety issues in robot manipulation. Route planning treats objects as bounding boxes and draws candidate routes over them. Contact execution selects contact positions that avoid obstacles.

Methodology

  • �� Route Planning: Treat objects as bounding boxes, draw candidate routes, and verify before execution.
  • �� Contact Execution: Select contact positions that avoid obstacles to ensure safety.
  • �� Experimental Validation: Conduct validation on the SafeLIBERO benchmark.

Experiments

Experiments use the SafeLIBERO benchmark, comprising 32 tasks with 10 seeds each. Evaluation metrics include task success rate and collision avoidance rate. Experiments compare SafeHarness with existing methods.

Results

Experimental results show that SafeHarness outperforms existing methods in both task success and collision avoidance rates. SafeHarness achieved a 71.9% task success rate and 87.5% collision avoidance rate on the SafeLIBERO benchmark.

Applications

SafeHarness can be applied in industrial robot manipulation, automated production lines, and home service robots, significantly improving robot safety in complex environments.

Limitations & Outlook

SafeHarness faces challenges in dynamic environments, with significant computational overhead in route planning potentially affecting real-time performance. Future work will continue to optimize its performance.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen full of pots and pans. You need to complete tasks without bumping into these obstacles, like placing a bowl on a plate. SafeHarness acts like a smart assistant, planning your route to ensure you don't hit anything. When you approach the bowl, it chooses a safe position to avoid collisions. This way, you can complete tasks safely without breaking anything.

ELI14 Explained like you're 14

Hey, imagine you're playing a super cool robot game. Your mission is to guide the robot through a room full of obstacles, like placing a bowl on a plate. SafeHarness is like a game power-up, helping you plan the route so the robot doesn't hit anything. When you approach the bowl, it chooses a safe position to avoid collisions. This way, you can complete tasks safely without breaking anything! Isn't that awesome?

Glossary

Coding Agent

An agent that uses language models to write robot control programs.

Used in robot manipulation to write control programs.

SafeHarness

An obstacle-aware tool that enhances robot manipulation safety.

Used in route planning and contact execution.

Obstacle-aware Route Planning

A planning method that treats objects as bounding boxes and draws candidate routes.

Ensures routes do not intersect obstacles.

Obstacle-aware Contact Execution

A method that selects contact positions to avoid obstacles.

Ensures safety in contact execution.

Collision Avoidance Rate

Evaluates a robot's ability to avoid collisions during task execution.

Used to measure SafeHarness performance.

Open Questions Unanswered questions from this research

  • 1 How can SafeHarness improve safety in dynamic environments?
  • 2 How can route planning computational overhead be optimized for real-time performance?
  • 3 How does vision model accuracy affect SafeHarness performance?

Applications

Immediate Applications

Industrial Robot Manipulation

SafeHarness can be used to enhance industrial robot safety in complex environments, reducing risks of hardware damage and personal injury.

Home Service Robots

In home environments, SafeHarness can help service robots safely complete tasks, such as cleaning and transporting items.

Long-term Vision

Automated Production Lines

SafeHarness can be applied in automated production lines to improve efficiency and safety, reducing downtime.

Abstract

Coding agents have emerged as a promising paradigm for robot manipulation: a language model writes the robot controller as a program, and agents built in this way now operate robots without robot-specific training.Whether this paradigm is also safe, however, has not been asked. We evaluate coding agent under a safety constraint, where each task pairs a manipulation goal with an obstacle the robot must not touch. The agent pursues the goal but collides with the obstacle in most cases, treating task completion as its sole objective while neglecting safety. The agent reasons about the obstacle in its traces, and the prompt already forbids touching it, so neither perception nor instruction is at fault; the fault lies in the planning, where the stated constraint never becomes a priority. By decomposing manipulation into a route phase and a contact-rich moment, we locate the source of the failure. Along the route, the model cannot prioritize the safety constraint, having no notion of a clearing route and none of replanning once a chosen route becomes infeasible. At the contact, it is unaware that contact execution is bounded by the same constraint. To close this gap, we present SafeHarness, which equips the model with two obstacle-aware harnesses that enable it to prioritize the safety constraint. Obstacle-aware route planning grounds the objects as bounding boxes and draws candidate routes over them as sequences of waypoints. The agent then plans a route in advance, verifies it, replans when necessary, and only then executes it. Obstacle-aware contact execution instead selects the contact position so that the contact itself avoids the obstacle. SafeHarness attains 71.9% task success and 87.5% collision avoidance, surpassing the previous SOTA by 6.5% and 27.0%, respectively. These results are $2.3\times$ and $1.5\times$ those of the same agent without harnesses.

cs.RO cs.AI cs.CL cs.CV