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

使用语义知识微调对大型语言模型进行参数高效微调

Parameter-Efficient Fine-Tuning of Large Language Models using Semantic Knowledge Tuning

University of Central Florida(中佛罗里达大学);Noakhali Science & Technology University(诺阿卡利科学技术大学);Hajee Mohammad Danesh Science & Technology University(哈吉·穆罕默德·达内什科学技术大学);Amazon(亚马逊公司)

Nusrat Jahan Prottasha, Asif Mahmud, Md. Shohanur Islam Sobuj, Prakash Bhat, Md Kowsher, Niloofar Yousefi, Ozlem Ozmen Garibay

AI总结:

针对prefix tuning缺乏语义且训练成本高的问题,提出SK-Tuning方法,利用固定LLM的零样本能力处理有意义的提示词,在减少参数和训练时间的同时显著提升了特定任务的性能。

摘要:

近年来,由于计算成本低,大型语言模型(LLMs)在使用提示进行专门任务方面获得了极大的普及。像prefix tuning这样的标准方法利用缺乏语义含义且可修改的特殊token,需要大量训练才能达到最佳性能,这往往存在不足。在此背景下,我们提出了一种名为语义知识微调(SK-Tuning)的新方法,用于prompt和prefix tuning,该方法使用有意义的单词代替随机token。该方法涉及使用固定的LLM通过零样本能力来理解和处理提示的语义内容。随后,它将处理后的提示与输入文本相结合,以提高模型在特定任务上的性能。我们的实验结果表明,与其他调优方法相比,SK-Tuning在文本分类和理解等任务上展现出更快的训练时间、更少的参数和更优越的性能。这种方法为优化LLMs在处理语言任务时的效率和有效性提供了一种有前景的方法。

英文摘要:

Large Language Models (LLMs) are gaining significant popularity in recent years for specialized tasks using prompts due to their low computational cost. Standard methods like prefix tuning utilize special, modifiable tokens that lack semantic meaning and require extensive training for best performance, often falling short. In this context, we propose a novel method called Semantic Knowledge Tuning (SK-Tuning) for prompt and prefix tuning that employs meaningful words instead of random tokens. This method involves using a fixed LLM to understand and process the semantic content of the prompt through zero-shot capabilities. Following this, it integrates the processed prompt with the input text to improve the model's performance on particular tasks. Our experimental results show that SK-Tuning exhibits faster training times, fewer parameters, and superior performance on tasks such as text classification and understanding compared to other tuning methods. This approach offers a promising method for optimizing the efficiency and effectiveness of LLMs in processing language tasks.

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

↑