arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.12246cs.LGcs.CLcs.CV
收藏

TroL:用于大型语言和视觉模型的层遍历

TroL: Traversal of Layers for Large Language and Vision Models

KAIST(韩国科学技术院)

Byung-Kwan Lee, Sangyun Chung, Chae Won Kim, Beomchan Park, Yong Man Ro

AI总结:

针对现有开源大型语言视觉模型参数规模过大、资源需求高的问题,提出高效模型TroL,通过逐词元的层遍历技术重用网络层,以较小规模超越大型开源模型并媲美闭源模型。

摘要:

大型语言和视觉模型(LLVMs)的驱动力来自于大型语言模型(LLMs)的泛化能力以及视觉指令微调的出现。除了直接扩大规模外,这些模型通过自然语言指令覆盖各种任务,使LLVMs展现出强大的视觉语言(VL)性能。然而,现有的性能可与GPT-4V等闭源LLVMs相媲美的开源LLVMs通常被认为规模过大(例如26B、34B和110B参数),且层数较多。这些大模型在训练和推理时都需要昂贵的高端资源。为解决此问题,我们提出了一种新型高效的LLVM家族,包含1.8B、3.8B和7B的LLM模型规模,即层遍历(TroL),它能够以逐词元的方式重用层。这种层遍历技术模拟了回顾和重溯回答流的效果,同时在不物理增加更多层的情况下增加了前向传播层的数量。我们证明,TroL采用了简单的层遍历方法,却高效地超越了更大规模的开源LLVMs,并可与具有庞大参数规模的闭源LLVMs的性能相抗衡。

英文摘要:

Large language and vision models (LLVMs) have been driven by the generalization power of large language models (LLMs) and the advent of visual instruction tuning. Along with scaling them up directly, these models enable LLVMs to showcase powerful vision language (VL) performances by covering diverse tasks via natural language instructions. However, existing open-source LLVMs that perform comparably to closed-source LLVMs such as GPT-4V are often considered too large (e.g., 26B, 34B, and 110B parameters), having a larger number of layers. These large models demand costly, high-end resources for both training and inference. To address this issue, we present a new efficient LLVM family with 1.8B, 3.8B, and 7B LLM model sizes, Traversal of Layers (TroL), which enables the reuse of layers in a token-wise manner. This layer traversing technique simulates the effect of looking back and retracing the answering stream while increasing the number of forward propagation layers without physically adding more layers. We demonstrate that TroL employs a simple layer traversing approach yet efficiently outperforms the open-source LLVMs with larger model sizes and rivals the performances of the closed-source LLVMs with substantial sizes.

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

↑