Reflex:通过复用与修正过往动作实现快速机器人策略服务
Reflex: Fast Robot Policy Serving by Reusing and Correcting Past Actions
AI总结:
Reflex是一款机器人策略服务层,通过缓存完整动作块绕过策略主干,经两级缓存修正解决动作复用问题,可在不修改底层策略的情况下提升机器人推理延迟与吞吐量,且保持相当任务成功率。
摘要:
现代机器人策略通常需要进行计算开销高昂的推理来生成动作块,这使得其服务成为实时控制的延迟瓶颈,以及多机器人服务的吞吐量瓶颈。借鉴图像、视频和音频生成中缓存技术的成功经验,近期机器人策略领域的进展通过复用中间去噪状态以避免冗余计算,已实现了有前景的速度提升。令人惊讶的是,我们发现这种复用相比直接从新噪声运行更少的去噪步骤(无需任何缓存),往往几乎没有优势。此外,加速去噪过程并未改变计算开销高昂的策略主干,而该主干可占GPU时间的70%。我们提出Reflex,这是一个将过往策略执行转化为未来决策的无主干路径的服务层。Reflex并非复用中间计算,而是缓存完整的动作块以绕过策略主干和动作头。这带来了两个挑战:相似的观测可能需要不同的动作,且复用中的微小动作偏差(错误)会累积为执行停滞。Reflex通过两级缓存修正解决这些问题:在动作层面,它从过往策略决策中学习动作感知的相似度,组装兼容的动作块,并应用轻量级残差修正以限制动作不匹配;在执行层面,它捕捉任务进度并自适应刷新原始策略,以限制累积错误并平衡推理成本。在不修改底层策略的情况下,Reflex在代表性工作负载和真实机器人上,将推理延迟提升1.4倍至11倍,吞吐量提升2.0倍至2.2倍,同时保持相当的任务成功率。
英文摘要:
Modern robot policies often perform expensive inference to generate action chunks, making serving a latency bottleneck for real-time control and a throughput bottleneck for multi-robot serving. Building on the success of caching in image, video, and audio generation, recent robot-policy advances have reported promising speedups by reusing intermediate denoising states to avoid redundant computation. Surprisingly, we find that such reuse often offers little advantage over simply running fewer denoising steps from fresh noise, without any cache. Moreover, accelerating denoising leaves the expensive policy backbone intact, which can account for 70% of GPU time. We present Reflex, a serving layer that turns past policy executions into a backbone-free path for future decisions. Rather than reusing intermediate computations, Reflex caches complete action chunks to bypass both the backbone and action head. This introduces two challenges: similar observations can demand different actions, and small action deviations (errors) in reuse can compound into execution stalls. Reflex addresses these through two-level cache correction. At the action level, it learns action-aware similarity from past policy decisions, assembles compatible chunks, and applies lightweight residual correction to limit action mismatch. At the execution level, it captures task progress and adaptively refreshes the original policy to limit accumulated errors and balance inference cost. Without modifying the underlying policy, Reflex improves inference latency by 1.4x to 11x and throughput by 2.0x to 2.2x on representative workloads and real robots, while preserving comparable task success.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。