MARGIN: A Risk-Aware Agent for Robot Program Refinement
Hongbo Duan, Fan Du, Haipeng Luo, Bin Qian, Zichao Nie, Yilin Mi, Yaopeng Tian, Jiake Tian, Siyuan Liu, Yan Gao, Fangming Liu, Xueqian Wang
Abstract
Robot-programming agents improve executable control policies through repeated testing and repair, yet binary success saturates while execution risk persists across unseen scenes. We introduce MARGIN, a risk-aware agent that converts successful robot rollouts into actionable evidence for program refinement. Its near-miss margin measures the fraction of the execution budget remaining in the slowest successful development rollout. The agent uses this signal to prioritize fragile programs, guide targeted repairs, and select revisions that preserve development success while increasing execution headroom. An exact safe-racing rule accelerates success-based candidate evaluation. We evaluate MARGIN across LIBERO-Pro, LIBERO-90, and Robosuite. In our 80-task LIBERO-Pro reproduction, 78 programs attain perfect development success while accounting for substantial failures on unseen seeds. The near-miss margin predicts held-out failures with an AUC of 0.774, and low-margin programs exhibit 2.97 times higher failure risk. Across two independent evaluation rounds spanning 37 unique LIBERO-Pro tasks, MARGIN reduces executed control steps by 10.7% and 15.0%, with reductions of 18.0-20.0% on LIBERO-90 and Robosuite. Safe racing reduces fixed-sequence candidate-evaluation episodes by 53.5% while retaining identical selections, and paired execution probes improve acceptance decisions by identifying hidden regressions. Together, these results establish near-miss evidence as an effective basis for risk-aware, budget-efficient robot program refinement.
Create a lesson
Metadata
- Categories
- cs.RO, cs.AI
- Comments
- 12 pages, 7 figures, 8 tables
Related papers
Boundary-Aware Policy Learning for Agent-Orchestrated Robot Manipulation
Shared title terminologycs.ROKaipeng Fang, Yuhao Wang, Ji Zhang et al.
BARE: Body-Aware Reflexive Evasion for Humanoid Robots
Shared title terminologycs.ROZihao Li, Tong Chen, Hua Song et al.
An XR-Based System for Enhanced Spatial Awareness in Mobile Robot Teleoperation
Shared title terminologycs.ROSubhransu Sourav Priyadarshan, Valentina Pericu, Federico Rollo et al.
Follow-Bench 2.0: An End-to-End 3D Benchmark for Socially-Aware Robot Person Following
Shared title terminologycs.ROHanjing Ye, Tianle Zeng, Jianwei Peng et al.
Next-Manip: On-Demand Agent-Policy Collaboration for Robotic Manipulation
Shared title terminologycs.ROJiayi Liu, Ke Ye, Jiaming Zhou et al.
Roboclock: A Unified Benchmark for Time-Aware Robotic Intelligence
Shared title terminologycs.ROYujie Zhao, Anthony L. Hu, Zimeng Huang et al.