2025-04-08 · 进阶 · 多模态 · 计算机视觉

SmolVLM: Redefining small and efficient multimodal models

SmolVLM通过系统性的架构探索、高效的分词策略和精心挑选的训练数据,实现了小型多模态模型在图像和视频任务上的高性能,同时保持了低内存占用,为移动和边缘设备上的部署提供了新的可能性。

更新于 2025-04-08。作者:Andrés Marafioti、Orr Zohar、Miquel Farré、Merve Noyan、Elie Bakouch、Pedro Cuenca、Cyril Zakka、Loubna Ben Allal、Anton Lozhkov、Nouamane Tazi、Vaibhav Srivastav、Joshua Lochner、Hugo Larcher、Mathieu Morlon、Lewis Tunstall、Leandro von Werra、Thomas Wolf。

中文摘要

大型视觉语言模型(VLMs)虽然性能卓越,但需要大量的计算资源,限制了它们在移动和边缘设备上的部署。较小的VLMs通常模仿大型模型的设计选择,如广泛的图像分词,导致GPU内存使用效率低下,并在设备上的实际应用中受到限制。我们介绍了SmolVLM,这是一系列专门为资源高效推理而设计的紧凑型多模态模型。我们系统地探讨了优化架构配置、分词策略和数据整理,这些优化都针对低计算开销。通过这种方式,我们确定了关键的设计选择,这些选择在图像和视频任务上带来了显著的性能提升,同时内存占用最小。我们最小的模型SmolVLM-256M在推理过程中使用的GPU内存少于1GB,尽管比300倍大的Idefics-80B模型少,但仍然在18个月的发展差距下表现更优。我们最大的模型,参数量达到22亿,与消耗两倍GPU内存的顶尖VLMs相当。SmolVLM模型不仅限于静态图像,还展示了强大的视频理解能力。 我们的结果强调,战略性的架构优化、积极的但高效的分词以及精心整理的训练数据,可以显著提高多模态性能,从而促进在更小规模上的实用、节能部署。

英文摘要

Large Vision-Language Models (VLMs) deliver exceptional performance but require significant computational resources, limiting their deployment on mobile and edge devices. Smaller VLMs typically mirror design choices of larger models, such as extensive image tokenization, leading to inefficient GPU memory usage and constrained practicality for on-device applications. We introduce SmolVLM, a series of compact multimodal models specifically engineered for resource-efficient inference. We systematically explore architectural configurations, tokenization strategies, and data curation optimized for low computational overhead. Through this, we identify key design choices that yield substantial performance gains on image and video tasks with minimal memory footprints. Our smallest model, SmolVLM-256M, uses less than 1GB GPU memory during inference and outperforms the 300-times larger Idefics-80B model, despite an 18-month development gap. Our largest model, at 2.2B parameters, rivals state-of-the-art VLMs consuming twice the GPU memory. SmolVLM models extend beyond static images, demonstrating robust video comprehension capabilities. Our results emphasize that strategic architectural optimizations, aggressive yet efficient tokenization, and carefully curated training data significantly enhance multimodal performance, facilitating practical, energy-efficient deployments at significantly smaller scales.

解读

一句话总结

SmolVLM通过系统性的架构探索、高效的分词策略和精心挑选的训练数据,实现了小型多模态模型在图像和视频任务上的高性能,同时保持了低内存占用,为移动和边缘设备上的部署提供了新的可能性。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt