STLCG++:一种用于可微信号时序逻辑规约的掩码方法
STLCG++: A Masking Approach for Differentiable Signal Temporal Logic Specification
AI总结:
本文提出基于掩码的STLCG++方法,通过跨时间步并行化STL鲁棒性评估与反向传播,实现超1000倍加速,并引入平滑技术支持时间区间边界微分,提升了机器人在基于梯度优化任务中的效率与适用性。
摘要:
信号时序逻辑(STL)提供了一个简洁而富有表达力的框架,用于指定和推理机器人系统的时空行为。吸引人的是,STL 允许鲁棒性的概念,即输入信号满足或违反 STL 规约的程度,从而提供了对系统性能的细致评估。特别是,STL 鲁棒性的可微性使其能够直接集成到依赖基于梯度的优化的机器人工作流中,例如轨迹优化和深度学习。然而,现有的评估和微分 STL 鲁棒性的方法依赖于递归计算,这在处理较长序列时变得低效,限制了它们在时间敏感型应用中的使用。在本文中,我们提出了 STLCG++,一种基于掩码的方法,它跨时间步并行化了 STL 鲁棒性评估和反向传播,与递归方法相比实现了超过 1000 倍的更快计算时间。我们还引入了一种平滑技术,以实现对时间区间边界的微分,从而扩展了 STL 在涉及空间和时间变量的基于梯度的优化任务中的适用性。最后,我们通过三个机器人用例展示了 STLCG++ 的优势,并提供了 JAX 和 PyTorch 库,以便无缝集成到现代机器人工作流中。项目网站包含演示和代码:https://uw-ctrl.github.io/stlcg/。
英文摘要:
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/.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。