arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.05787cs.RO
收藏

揭秘扩散策略:动作记忆与简单查找表替代方案

Demystifying Diffusion Policies: Action Memorization and Simple Lookup Table Alternatives

National University of Singapore(新加坡国立大学);Stanford University(斯坦福大学)

Chengyang He, Xu Liu, Gadiel Sznaier Camps, Guillaume Sartoretti, Mac Schwager

AI总结:

本文揭示扩散策略本质上是在潜在空间中记忆训练动作查找表,并提出轻量级动作查找表(ALT)策略,以极低的推理时间和内存占用达到相当性能,同时支持显式OOD检测。

摘要:

扩散策略在复杂、高维的机器人操作任务中展现了卓越的灵巧性和鲁棒性,并且仅需少量演示数据进行训练。然而,这种性能背后的原因仍然是一个谜。在本文中,我们提出了一个令人意外的假设:扩散策略本质上是在记忆一个动作查找表——而且这是有益的。我们认为,在运行时,扩散策略会在潜在空间中找到与测试图像最接近的训练图像,并召回相关的训练动作序列,从而在无需动作泛化的情况下提供反应能力。这在稀疏数据机制中是有效的,因为此时没有足够的数据密度让模型学习动作泛化。我们用系统的经验证据支持这一主张。即使以严重超出分布(OOD)的猫和狗图像作为条件输入,扩散策略仍然会输出来自训练数据的动作序列。基于这一见解,我们提出了一种简单的策略,即动作查找表(ALT),作为扩散策略的轻量级替代方案。我们的ALT策略使用对比图像编码器作为哈希函数,来索引最接近的对应训练动作序列,显式地执行扩散策略隐式学习的计算。我们通过实验表明,对于相对较小的数据集,ALT能够达到与扩散模型相当的性能,而推理时间仅为扩散模型的0.0034,内存占用仅为0.0085,从而允许在资源受限的机器人上实现更快的闭环推理。我们还训练ALT策略在运行时图像与训练图像在潜在空间中的距离过远时给出显式的OOD标志,从而提供一个简单但有效的运行时监控器。更多信息可在以下网址找到:https://stanfordmsl.github.io/alt/。

英文摘要:

Diffusion policies have demonstrated remarkable dexterity and robustness in intricate, high-dimensional robot manipulation tasks, while training from a small number of demonstrations. However, the reason for this performance remains a mystery. In this paper, we offer a surprising hypothesis: diffusion policies essentially memorize an action lookup table -- and this is beneficial. We posit that, at runtime, diffusion policies find the closest training image to the test image in a latent space, and recall the associated training action sequence, offering reactivity without the need for action generalization. This is effective in the sparse data regime, where there is not enough data density for the model to learn action generalization. We support this claim with systematic empirical evidence. Even when conditioned on wildly out of distribution (OOD) images of cats and dogs, the Diffusion Policy still outputs an action sequence from the training data. With this insight, we propose a simple policy, the Action Lookup Table (ALT), as a lightweight alternative to the Diffusion Policy. Our ALT policy uses a contrastive image encoder as a hash function to index the closest corresponding training action sequence, explicitly performing the computation that the Diffusion Policy implicitly learns. We show empirically that for relatively small datasets, ALT matches the performance of a diffusion model, while requiring only 0.0034 of the inference time and 0.0085 of the memory footprint, allowing for much faster closed-loop inference with resource constrained robots. We also train our ALT policy to give an explicit OOD flag when the distance between the runtime image is too far in the latent space from the training images, giving a simple but effective runtime monitor. More information can be found at: https://stanfordmsl.github.io/alt/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑