用视觉语言模型实现机器人故障的实时反应与预防
Code-as-Monitor: Constraint-aware Visual Programming for Reactive and Proactive Robotic Failure Detection
- 将故障检测建模为时空约束问题,用生成代码实时验证
- 在复杂环境下成功率提升28.7%,执行时间减少31.8%
- 适合需要长期任务和动态环境的机器人系统开发者
闭环机器人系统中自动检测与预防开放集故障至关重要。现有方法难以同时实现故障发生后的实时响应和可预见故障的主动预防。为此,我们提出Code-as-Monitor(CaM),一种利用视觉语言模型(VLM)实现开放集反应式与前瞻性故障检测的新范式。核心思想是将两类任务统一为一组时空约束满足问题,并通过VLM生成的代码进行实时评估。为进一步提升监控的准确性和效率,我们引入约束元素,将与约束相关的实体或其部分抽象为紧凑几何元素,增强通用性、简化追踪,并支持基于这些元素的视觉编程。实验表明,在三个模拟器和一个真实场景下,与基线相比,CaM在严重扰动条件下成功率达28.7%更高,执行时间减少31.8%。此外,CaM可与开环控制策略集成形成闭环系统,在杂乱且动态的环境中完成长时序任务。
原文摘要 · Abstract (English)
Automatic detection and prevention of open-set failures are crucial in closed-loop robotic systems. Recent studies often struggle to simultaneously identify unexpected failures reactively after they occur and prevent foreseeable ones proactively. To this end, we propose Code-as-Monitor (CaM), a novel paradigm leveraging the vision-language model (VLM) for both open-set reactive and proactive failure detection. The core of our method is to formulate both tasks as a unified set of spatio-temporal constraint satisfaction problems and use VLM-generated code to evaluate them for real-time monitoring. To enhance the accuracy and efficiency of monitoring, we further introduce constraint elements that abstract constraint-related entities or their parts into compact geometric elements. This approach offers greater generality, simplifies tracking, and facilitates constraint-aware visual programming by leveraging these elements as visual prompts. Experiments show that CaM achieves a 28.7% higher success rate and reduces execution time by 31.8% under severe disturbances compared to baselines across three simulators and a real-world setting. Moreover, CaM can be integrated with open-loop control policies to form closed-loop systems, enabling long-horizon tasks in cluttered scenes with dynamic environments.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。