提出快速计算机器人时序逻辑规范的并行方法
STLCG++: A Masking Approach for Differentiable Signal Temporal Logic Specification
- 用掩码技术并行计算信号时序逻辑鲁棒性
- 速度比传统方法快1000倍以上,支持长序列处理
- 适合需要梯度优化的机器人路径规划与学习任务
信号时序逻辑(STL)为机器人系统时空行为的建模与推理提供了简洁而强大的框架。其鲁棒性概念可量化输入信号满足或违反规范的程度,从而实现对系统性能的细致评估。特别地,STL鲁棒性的可微性使得其能直接融入基于梯度优化的机器人工作流,如轨迹优化和深度学习。然而,现有鲁棒性评估与求导方法依赖递归计算,在长序列下效率低下,限制了其在实时应用中的使用。本文提出STLCG++,一种基于掩码的并行方法,可并行化STL鲁棒性计算与反向传播,相比递归方法实现超过1000倍的加速。我们还引入平滑技术,使时间区间边界可微,扩展了STL在涉及时空变量的梯度优化任务中的适用性。通过三个机器人应用场景验证了STLCG++的优势,并提供了JAX与PyTorch库,便于集成至现代机器人工作流。项目主页含演示与代码:https://uw-ctrl.github.io/stlcg/
原文摘要 · Abstract (English)
Signal Temporal Logic (STL) offers a concise yet expressive framework for specifying and reasoning about spatio-temporal behaviors of robotic systems. Attractively, STL admits the notion of robustness, the degree to which an input signal satisfies or violates an STL specification, thus providing a nuanced evaluation of system performance. In particular, the differentiability of STL robustness enables direct integration to robotic workflows that rely on gradient-based optimization, such as trajectory optimization and deep learning. However, existing approaches to evaluating and differentiating STL robustness rely on recurrent computations, which become inefficient with longer sequences, limiting their use in time-sensitive applications. In this paper, we present STLCG++, a masking-based approach that parallelizes STL robustness evaluation and backpropagation across timesteps, \revised{achieving more than 1000$\times$ faster computation time than the recurrent approach (STLCG++).}{achieving significant speed-ups compared to a recurrent approach.} We also introduce a smoothing technique to enable the differentiation of time interval bounds, thereby expanding STL's applicability in gradient-based optimization tasks involving spatial and temporal variables. Finally, we demonstrate STLCG++'s benefits through three robotics use cases and provide JAX and PyTorch libraries for seamless integration into modern robotics workflows. Project website with demo and code: https://uw-ctrl.github.io/stlcg/.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。