arXiv:2409.14713cs.CV2024-09被引 15

小模型也能超大模型?这个新框架让小模型学得更聪明。

Phantom of Latent for Large Language and Vision Models

  • 通过临时提升潜空间维度,让小模型在不增加参数量的情况下吸收更多视觉语言知识。
  • 70亿参数的Phantom在多项评测中超越多个百亿级开源与闭源模型。
  • 适合资源有限但追求高性能的视觉语言模型应用开发者使用。

视觉指令微调的成功推动了大规模语言与视觉模型(LLVMs)的发展。遵循指令微调大语言模型的缩放规律,LLVMs 的参数规模持续扩大,已达260亿、340亿甚至800亿。尽管模型增大带来了显著性能提升,但训练与推理对硬件资源的需求也大幅增加。因此,亟需在保持高性能的同时,实现更高效的模型。为此,本文提出一个新系列高效LLVM——Phantom,其参数规模为5亿、18亿、38亿和70亿,显著增强了小模型在有限结构下的学习能力。通过在多头自注意力过程中临时提升潜空间维度,使模型能在不显著增加实际参数量的前提下,更深入地理解视觉语言知识。为进一步发挥优势,引入了基于自回归监督微调(SFT)和类似直接偏好优化(DPO)概念的Phantom优化(PO),有效识别并消除错误与模糊答案。实验表明,Phantom在多个基准上超越众多更大规模的开源与闭源模型,成为高效LLVM领域的领先方案。

原文摘要 · Abstract (English)

The success of visual instruction tuning has accelerated the development of large language and vision models (LLVMs). Following the scaling laws of instruction-tuned large language models (LLMs), LLVMs either have further increased their sizes, reaching 26B, 34B, and even 80B parameters. While this increase in model size has yielded significant performance gains, it demands substantially more hardware resources for both training and inference. Consequently, there naturally exists a strong need for efficient LLVMs that achieve the performance of larger models while being smaller in size. To achieve this need, we present a new efficient LLVM family with model sizes of 0.5B, 1.8B, 3.8B, and 7B parameters, Phantom, which significantly enhances learning capabilities within limited structures. By temporarily increasing the latent hidden dimension during multi-head self-attention (MHSA), we make LLVMs prepare to look and understand much more vision-language knowledge on the latent, without substantially increasing physical model sizes. To maximize its advantage, we introduce Phantom Optimization (PO) using both autoregressive supervised fine-tuning (SFT) and direct preference optimization (DPO)-like concept, which effectively follows correct answers while eliminating incorrect and ambiguous ones. Phantom outperforms numerous larger open- and closed-source LLVMs, positioning itself as a leading solution in the landscape of efficient LLVMs.

视觉语言小模型高效架构

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