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

关于 LLM 加速、优化与应用的新解决方案

New Solutions on LLM Acceleration, Optimization, and Application

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Google(谷歌公司)

Yingbing Huang, Lily Jiaxin Wan, Hanchen Ye, Manvi Jha, Jinghua Wang, Yuhong Li, Xiaofan Zhang, Deming Chen

AI总结:

本文综述并提出 LLM 推理加速、硬件协同设计、加速器编译及 HLS 功能验证辅助的新方案,以降低其训练部署成本并提升可扩展性。

摘要:

大语言模型(LLM)已成为极其强大的工具,在广泛应用中具备理解和生成类人文本的卓越能力。然而,LLM 不断增长的规模和复杂性给训练与部署都带来了重大挑战,导致大量计算与存储成本以及更高的能耗。本文综述了近期旨在应对这些挑战并提升基于 LLM 系统效率的进展与研究方向。我们首先讨论专注于优化 LLM 推理速度和资源利用率的算法级加速技术。我们还探讨 LLM 与硬件协同设计策略,其愿景是通过使硬件架构适配 LLM 需求来提高系统效率。此外,我们深入研究 LLM 到加速器的编译方法,这些方法涉及定制硬件加速器以实现高效的 LLM 部署。最后,作为利用 LLM 辅助电路设计的案例研究,我们考察了面向一项重要任务的 LLM 辅助设计方法:高层次综合(HLS)功能验证;为此我们创建了一个新数据集,其中包含大量有缺陷和无缺陷代码,这对于训练 LLM 专门从事 HLS 验证和调试可能至关重要。对于上述每个方面,我们都从详细的背景研究开始,随后提出若干用以克服特定挑战的新解决方案。然后,我们概述未来研究方向,以推动进一步发展。通过这些努力,我们旨在为在各种不同应用中更高效、可扩展地部署 LLM 铺平道路。

英文摘要:

Large Language Models (LLMs) have become extremely potent instruments with exceptional capacities for comprehending and producing human-like text in a wide range of applications. However, the increasing size and complexity of LLMs present significant challenges in both training and deployment, leading to substantial computational and storage costs as well as heightened energy consumption. In this paper, we provide a review of recent advancements and research directions aimed at addressing these challenges and enhancing the efficiency of LLM-based systems. We begin by discussing algorithm-level acceleration techniques focused on optimizing LLM inference speed and resource utilization. We also explore LLM-hardware co-design strategies with a vision to improve system efficiency by tailoring hardware architectures to LLM requirements. Further, we delve into LLM-to-accelerator compilation approaches, which involve customizing hardware accelerators for efficient LLM deployment. Finally, as a case study to leverage LLMs for assisting circuit design, we examine LLM-aided design methodologies for an important task: High-Level Synthesis (HLS) functional verification, by creating a new dataset that contains a large number of buggy and bug-free codes, which can be essential for training LLMs to specialize on HLS verification and debugging. For each aspect mentioned above, we begin with a detailed background study, followed by the presentation of several novel solutions proposed to overcome specific challenges. We then outline future research directions to drive further advancements. Through these efforts, we aim to pave the way for more efficient and scalable deployment of LLMs across a diverse range of applications.

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

↑