arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.13316cs.CV

测试时稀疏性用于极端快速动作扩散

Test-time Sparsity for Extreme Fast Action Diffusion

Tsinghua University(清华大学);The Chinese University of Hong Kong(香港中文大学)

Kangye Ji, Yuan Meng, Jianbo Zhou, Ye Li, Chen Tang, Zhi Wang

AI总结:

本文提出测试时稀疏性方法,通过动态预测可剪枝的残差计算来加速动作扩散,解决开放环境中的动态策略问题,实验表明在减少92% FLOPs的同时提升5倍生成速度,保持无损性能。

摘要:

动作扩散在高保真动作生成方面表现出色,但因其迭代去噪特性导致计算成本高。尽管现有技术通过重用缓存特征加速扩散变换器,但难以适应开放环境中多轮滚动迭代带来的动态策略变化。本文提出测试时稀疏性,旨在通过动态预测每个模型前向过程中的可剪枝残差计算来加速动作扩散。然而,该范式仍存在两个瓶颈:1)重复的条件编码和剪枝抵消了大部分速度提升;2)缓存自前一步去噪时间步的特征无法约束大剪枝误差。为解决第一个瓶颈,我们设计了一个高度并行的推理流水线,将非解码延迟降至毫秒级。具体而言,我们首先设计了一个轻量级剪枝器,与扩散变换器共享编码器。然后,通过将编码和剪枝从自回归去噪循环中解耦,通过并行处理所有去噪时间步,并通过异步性将剪枝器与解码器前向推理重叠。为克服第二个瓶颈,我们引入了全方位重用策略,通过选择性重用当前前向、前一步去噪时间步和更早滚动迭代中缓存的特征,实现了95%的稀疏度。为了学习滚动级重用策略,我们采样几个动作轨迹来监督稀疏化扩散步骤。大量实验表明,我们的方法减少了92%的FLOPs,将动作生成速度提升了5倍,实现了无损性能,推理频率达到47.5 Hz。我们的代码可在https://github.com/ky-ji/Test-time-Sparsity获取。

英文摘要:

Action diffusion excels at high-fidelity action generation but incurs heavy computational costs owing to its iterative denoising nature. Despite current technologies showing promise in accelerating diffusion transformers by reusing the cached features, they struggle to adapt to policy dynamics arising from diverse perceptions and multi-round rollout iterations in open environments. We propose test-time sparsity to tackle this challenge, which aims to accelerate action diffusion by dynamically predicting prunable residual computations for each model forward at test time. However, two bottlenecks remain in this paradigm: 1) repetitive conditional encoding and pruning offset most potential speed gains, and 2) the features cached from previous denoising timesteps cannot constrain large pruning errors under aggressive sparsity. To address the first bottleneck, we design a highly parallelized inference pipeline that minimizes the non-decoder delay to milliseconds. Specifically, we first design a lightweight pruner that shares the encoder with the diffusion transformer. Then, we decouple the encoding and pruning from the autoregressive denoising loop by processing all denoising timesteps in parallel, and overlap the pruner with the decoder forward inference through asynchronism. To overcome the second bottleneck, we introduce an omnidirectional reusing strategy, which achieves 95% sparsity by selectively reusing features cached from the current forward, previous denoising timesteps, and earlier rollout iterations. To learn the rollout-level reusing strategies, we sample a few action trajectories to supervise the sparsified diffusion step by step. Extensive experiments demonstrate that our method reduces FLOPs by 92% and accelerates action generation by 5x, achieving lossless performance with an inference frequency of 47.5 Hz. Our code is available at https://github.com/ky-ji/Test-time-Sparsity.

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

↑