arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2407.11030cs.LGcs.AIcs.CL
收藏

DLO:用于大型语言模型高效垂直扩展的动态层操作

DLO: Dynamic Layer Operation for Efficient Vertical Scaling of LLMs

School of Computing, and Augmented Intelligence, Arizona State University(亚利桑那州立大学计算与增强智能学院);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Department of Computer Science, University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校计算机系);School of Artificial Intelligence and Data Science, University of Science and Technology of China(中国科学技术大学人工智能与数据科学学院);Department of Computer Science, Chinese University of Hong Kong(香港中文大学计算机系)

Zhen Tan, Daize Dong, Xinyu Zhao, Jie Peng, Yu Cheng, Tianlong Chen

AI总结:

提出DLO方法,通过层特征相似性路由动态扩展、激活或跳过层,垂直扩展LLM,集成SFT阶段,无需CPT,实验表明优于原始模型且效率显著提升。

摘要:

在本文中,我们介绍了动态层操作(DLO),这是一种通过基于层特征相似性的复杂路由策略动态扩展、激活或跳过层来垂直扩展基于Transformer的大型语言模型(LLMs)的新方法。与专注于扩展模型宽度的传统混合专家(MoE)方法不同,我们的方法针对模型深度,解决不同输入样本在层表示中观察到的冗余问题。我们的框架与监督微调(SFT)阶段集成,无需资源密集型的持续预训练(CPT)。实验结果表明,DLO不仅优于原始未扩展模型,而且与密集扩展模型相比取得了相当的结果,同时显著提高了效率。我们的工作为构建高效且强大的LLMs提供了一个有前景的方向。我们将在论文被接收后发布我们的实现和模型权重。

英文摘要:

In this paper, we introduce Dynamic Layer Operations (DLO), a novel approach for vertically scaling transformer-based Large Language Models (LLMs) by dynamically expanding, activating, or skipping layers using a sophisticated routing policy based on layerwise feature similarity. Unlike traditional Mixture-of-Experts (MoE) methods that focus on extending the model width, our approach targets model depth, addressing the redundancy observed across layer representations for various input samples. Our framework is integrated with the Supervised Fine-Tuning (SFT) stage, eliminating the need for resource-intensive Continual Pre-Training (CPT). Experimental results demonstrate that DLO not only outperforms the original unscaled models but also achieves comparable results to densely expanded models with significantly improved efficiency. Our work offers a promising direction for building efficient yet powerful LLMs. We will release our implementation and model weights upon acceptance.

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

↑