用宽松接受机制提升视觉语言动作模型的生成速度
Spec-VLA: Speculative Decoding for Vision-Language-Action Models with Relaxed Acceptance
- 提出宽松接受策略,利用动作令牌的相对距离放松验证条件
- 相比OpenVLA基线提速1.42倍,接受长度提升44%
- 适合需要高效推理的机器人决策与多模态交互场景
视觉语言动作(VLA)模型在借鉴视觉语言模型(VLM)强大能力的基础上取得了显著进展。然而,由于VLM参数量大且采用自回归(AR)解码方式,给VLA模型带来了巨大的计算负担。虽然推测解码(SD)已在大型语言模型(LLM)中证明能通过高效草稿和并行验证实现加速,一次前向传播生成多个词元,但其在VLA模型中的应用尚未被探索。本文提出Spec-VLA框架,用于加速VLA模型。由于动作预测任务难度高及VLA模型的贪婪解码机制,直接应用先进SD框架对VLA预测任务带来的速度提升有限。为此,我们提出一种有效机制,通过动作令牌表示的相对距离放松接受条件。在多种测试场景下的实证结果验证了Spec-VLA框架的有效性,进一步分析表明,所提策略使接受长度提升44%,相较于OpenVLA基线实现1.42倍的速度提升,且不降低成功率。Spec-VLA的成功凸显了推测执行在更广泛VLA预测场景中的潜力。
原文摘要 · Abstract (English)
Vision-Language-Action (VLA) models have made substantial progress by leveraging the robust capabilities of Visual Language Models (VLMs). However, VLMs' significant parameter size and autoregressive (AR) decoding nature impose considerable computational demands on VLA models. While Speculative Decoding (SD) has shown efficacy in accelerating Large Language Models (LLMs) by incorporating efficient drafting and parallel verification, allowing multiple tokens to be generated in one forward pass, its application to VLA models remains unexplored. This work introduces Spec-VLA, an SD framework designed to accelerate VLA models. Due to the difficulty of the action prediction task and the greedy decoding mechanism of the VLA models, the direct application of the advanced SD framework to the VLA prediction task yields a minor speed improvement. To boost the generation speed, we propose an effective mechanism to relax acceptance utilizing the relative distances represented by the action tokens of the VLA model. Empirical results across diverse test scenarios affirm the effectiveness of the Spec-VLA framework, and further analysis substantiates the impact of our proposed strategies, which enhance the acceptance length by 44%, achieving 1.42 times speedup compared with the OpenVLA baseline, without compromising the success rate. The success of the Spec-VLA framework highlights the potential for broader application of speculative execution in VLA prediction scenarios.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。