TensorX
返回文献探索

Paper · arXiv 2406.12246

TroL: Traversal of Layers for Large Language and Vision Models

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

36 upvotesJune 18, 2024arXiv 预印本
AI 摘要

The TroL model efficiently reduces the size of large language and vision models while maintaining or surpassing performance through a layer traversal technique that reuses layers token-wise.

LLVMsLLMsVL performancesvisual instruction tuningGPT-4Vlayer traversingtoken-wiseforward propagation layers

Abstract

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.

北京市昌平区探索星信息技术及软件开发工作室

京ICP备2026059466号
TroL: Traversal of Layers for Large Language and Vision Models | TensorX