跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2402.09025 (cs)
[提交于 2024年2月14日 (v1),最后修订于 2024年12月13日 (此版本, v6)]

标题:SLEB: Streamlining LLMs through Redundancy Verification and Elimination of Transformer Blocks

作者:Jiwon Song, Kyungseok Oh, Taesu Kim, Hyungjun Kim, Yulhwa Kim, Jae-Joon Kim
查看论文《SLEB: Streamlining LLMs through Redundancy Verification and Elimination of Transformer Blocks》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Large language models (LLMs) have proven to be highly effective across various natural language processing tasks. However, their large number of parameters poses significant challenges for practical deployment. Pruning, a technique aimed at reducing the size and complexity of LLMs, offers a potential solution by removing redundant components from the network. Despite the promise of pruning, existing methods often struggle to achieve substantial end-to-end LLM inference speedup. In this paper, we introduce SLEB, a novel approach designed to streamline LLMs by eliminating redundant transformer blocks. We choose the transformer block as the fundamental unit for pruning, because LLMs exhibit block-level redundancy with high similarity between the outputs of neighboring blocks. This choice allows us to effectively enhance the processing speed of LLMs. Our experimental results demonstrate that SLEB outperforms previous LLM pruning methods in accelerating LLM inference while also maintaining superior perplexity and accuracy, making SLEB as a promising technique for enhancing the efficiency of LLMs. The code is available at: https://github.com/jiwonsong-dev/SLEB.
评论: ICML 2024
主题: 计算与语言 (cs.CL); 机器学习 (cs.LG)
引用方式: arXiv:2402.09025 [cs.CL]
  (或者 arXiv:2402.09025v6 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2402.09025

提交历史

来自:Jiwon Song
[v1] 2024年2月14日 星期三 09:01:13 UTC
[v2] 2024年5月29日 星期三 02:53:16 UTC
[v4] 2024年6月12日 星期三 01:40:12 UTC
[v5] 2024年7月19日 星期五 04:13:59 UTC
[v6] 2024年12月13日 星期五 02:44:34 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2024-12
切换浏览方式为:
cs
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站