On-device Sora: Enabling Diffusion-Based Text-to-Video Generation for Mobile Devices
本文提出了一种名为On-device Sora的移动端扩散文本到视频生成解决方案,通过三种创新技术实现了在资源受限的移动设备上高效生成高质量视频。
更新于 2025-02-10。作者:Bosung Kim、Kyuhwan Lee、Isu Jeong、Jungmin Cheon、Yeojin Lee、Seulki Lee。
中文摘要
我们推出了On-device Sora,这是首个基于扩散的、在智能手机级别设备上高效运行的设备端文本到视频生成解决方案。基于Open-Sora,On-device Sora应用了三种新颖的技术来解决在计算和内存受限的移动设备上基于扩散的文本到视频生成所面临的挑战。首先,线性比例跳跃(LPL)通过高效跳跃式方法减少视频扩散中所需的大量去噪步骤。其次,时间维度标记合并(TDTM)通过沿时间维度合并连续标记,最小化了注意力层中密集的标记处理计算。第三,并发推理与动态加载(CI-DL)动态地将大型模型划分为更小的块,并将它们加载到内存中进行并发模型推理,有效地解决了设备内存受限的挑战。我们在iPhone 15 Pro上实现了On-device Sora,实验评估显示,它能够在设备上生成高质量的视频,与在高端GPU上运行的Open-Sora产生的视频相当。这些结果表明,On-device Sora能够在资源受限的移动设备上实现高效和高品质的视频生成,扩大了可访问性,确保了用户隐私,降低了对云基础设施的依赖,并降低了相关成本。我们预计所提出的On-device Sora是实现最先进生成技术民主化的一个重要第一步,它使普通移动和嵌入式设备具备了视频生成能力。代码实现已在GitHub仓库中公开:https://github.com/eai-lab/On-device-Sora。
英文摘要
We present On-device Sora, a first pioneering solution for diffusion-based on-device text-to-video generation that operates efficiently on smartphone-grade devices. Building on Open-Sora, On-device Sora applies three novel techniques to address the challenges of diffusion-based text-to-video generation on computation- and memory-limited mobile devices. 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 demonstrate that it is capable of generating high-quality videos on the device, comparable to those produced by Open-Sora running on high-end GPUs. These results show that On-device Sora enables efficient and high-quality video generation on resource-constrained mobile devices, expanding accessibility, ensuring user privacy, reducing dependence on cloud infrastructure, and lowering associated costs. We envision the proposed On-device Sora as a significant first step toward democratizing state-of-the-art generative technologies, enabling video generation capabilities on commodity mobile and embedded devices. The code implementation is publicly available at an GitHub repository: https://github.com/eai-lab/On-device-Sora.
解读
一句话总结
本文提出了一种名为On-device Sora的移动端扩散文本到视频生成解决方案,通过三种创新技术实现了在资源受限的移动设备上高效生成高质量视频。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:扩散模型在视频生成中具有广泛应用,但传统模型在移动设备上运行效率低下,难以实现。
- 现有方案不足:现有方案在移动设备上运行效率低,视频质量难以保证。
- 研究目标:在移动设备上实现高效的扩散文本到视频生成,同时保证视频质量。
问题2:论文的核心创新点是什么?
- 技术创新:提出三种技术,包括线性比例跳跃(LPL)、时间维度标记合并(TDTM)和并发推理与动态加载(CI-DL)。
- 方法改进:LPL通过线性轨迹预测减少去噪步骤,TDTM通过合并时间维度上的连续标记减少计算量,CI-DL通过动态加载模型块提高内存利用率。
- 优势:与现有方法相比,On-device Sora在移动设备上实现了高效的视频生成,同时保持了视频质量。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在iPhone 15 Pro上进行的实验,与Open-Sora在NVIDIA A6000 GPU上的表现进行对比。
- 性能提升:实验结果表明,On-device Sora在视频质量上与Open-Sora相当,同时显著提高了生成速度。
- 对比结果:与Open-Sora相比,On-device Sora在视频质量上表现相近,平均SSIM提高0.007,平均FVD降低527.27。
问题4:这个研究的实际应用价值是什么?
- 应用场景:移动端视频生成,如短视频制作、个性化视频创作等。
- 实施建议:在移动设备上部署On-device Sora,为用户提供高效的视频生成服务。
- 局限与展望:目前On-device Sora仅支持iPhone 15 Pro,未来将扩展到更多移动设备。此外,还可以探索模型优化和跨平台部署等方向。
来源
机器可读索引:llms.txt