NVCiM-PT:一种面向边缘LLM的NVCiM辅助提示微调框架
NVCiM-PT: An NVCiM-assisted Prompt Tuning Framework for Edge LLMs
AI总结:
针对边缘LLMs在资源受限下因领域偏移导致提示微调效率低的问题,提出首个利用NVCiM架构加速核心矩阵运算的NVCiM-PT框架,有效提升了边缘LLM的PT性能。
摘要:
部署在边缘设备上的大型语言模型(LLMs),即边缘LLMs,需要在有限的资源约束下,利用用户生成的数据持续微调其模型参数。然而,由于大多数现有的学习方法依赖于高资源且学习能力低下,因此不适用于边缘LLMs。提示微调(PT)最近作为一种有效的边缘LLMs微调方法出现,它仅修改LLM参数的一小部分,但它面临用户领域偏移的问题,导致重复训练并失去资源效率。解决领域偏移问题的传统技术通常涉及复杂的神经网络和复杂的训练,这与边缘LLMs的PT不兼容。因此,一个开放的研究问题是如何在资源有限的情况下解决边缘LLMs的领域偏移问题。在本文中,我们提出了一个面向边缘LLMs的提示微调框架,利用非易失性存内计算(NVCiM)架构提供的优势。我们引入了一种新颖的NVCiM辅助PT框架,其中我们将核心操作缩小到矩阵-矩阵乘法,然后可以通过在NVCiM上执行原位计算来加速。据我们所知,这是第一个采用NVCiM来提升边缘LLM PT性能的工作。
英文摘要:
Large Language Models (LLMs) deployed on edge devices, known as edge LLMs, need to continuously fine-tune their model parameters from user-generated data under limited resource constraints. However, most existing learning methods are not applicable for edge LLMs because of their reliance on high resources and low learning capacity. Prompt tuning (PT) has recently emerged as an effective fine-tuning method for edge LLMs by only modifying a small portion of LLM parameters, but it suffers from user domain shifts, resulting in repetitive training and losing resource efficiency. Conventional techniques to address domain shift issues often involve complex neural networks and sophisticated training, which are incompatible for PT for edge LLMs. Therefore, an open research question is how to address domain shift issues for edge LLMs with limited resources. In this paper, we propose a prompt tuning framework for edge LLMs, exploiting the benefits offered by non-volatile computing-in-memory (NVCiM) architectures. We introduce a novel NVCiM-assisted PT framework, where we narrow down the core operations to matrix-matrix multiplication, which can then be accelerated by performing in-situ computation on NVCiM. To the best of our knowledge, this is the first work employing NVCiM to improve the edge LLM PT performance.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。