arXiv:2502.04363cs.CV2025-02被引 13

无需训练即可在手机上生成高质量视频,突破设备算力限制。

On-device Sora: Enabling Training-Free Diffusion-based Text-to-Video Generation for Mobile Devices

  • 三重优化:跳步去噪、时序标记合并、动态分块推理
  • 手机端生成视频质量媲美高端显卡,支持实时生成
  • 适合移动开发者与轻量化生成需求者使用

我们提出 On-device Sora,首个无需训练的基于扩散模型的移动端文本到视频生成方案,可在智能手机级设备上高效运行。针对移动设备计算与内存受限的问题,On-device Sora 对预训练视频生成模型采用三项创新技术:第一,线性比例跳跃(LPL)通过高效的跳跃式去噪减少视频扩散所需的过多步骤;第二,时序维度标记合并(TDTM)通过合并时间维度上的连续标记,降低注意力层中密集的标记处理计算量;第三,并发推理与动态加载(CI-DL)将大模型动态分割为小块,在内存中分批加载并实现并发推理,有效缓解设备内存不足问题。我们在 iPhone 15 Pro 上实现 On-device Sora,实验表明其可在设备端生成高质量视频,质量接近高端 GPU 生成结果。该工作标志着向在通用移动与嵌入式设备上普及先进生成技术迈出关键一步,无需资源密集型再训练即可实现模型优化(压缩)。代码已开源于 GitHub:https://github.com/eai-lab/On-device-Sora。

原文摘要 · Abstract (English)

We present On-device Sora, the first model training-free solution for diffusion-based on-device text-to-video generation that operates efficiently on smartphone-grade devices. To address the challenges of diffusion-based text-to-video generation on computation- and memory-limited mobile devices, the proposed On-device Sora applies three novel techniques to pre-trained video generative models. First, Linear Proportional Leap (LPL) reduces the excessive denoising steps required in video diffusion through an efficient leap-based approach. Second, Temporal Dimension Token Merging (TDTM) minimizes intensive token-processing computation in attention layers by merging consecutive tokens along the temporal dimension. Third, Concurrent Inference with Dynamic Loading (CI-DL) dynamically partitions large models into smaller blocks and loads them into memory for concurrent model inference, effectively addressing the challenges of limited device memory. We implement On-device Sora on the iPhone 15 Pro, and the experimental evaluations show that it is capable of generating high-quality videos on the device, comparable to those produced by high-end GPUs. These results show that On-device Sora enables efficient and high-quality video generation on resource-constrained mobile devices. We envision the proposed On-device Sora as a significant first step toward democratizing state-of-the-art generative technologies, enabling video generation on commodity mobile and embedded devices without resource-intensive re-training for model optimization (compression). The code implementation is available at a GitHub repository(https://github.com/eai-lab/On-device-Sora).

视频生成扩散模型移动端

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。