arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.08027cs.CLcs.AI
收藏

帮助语言模型学得更多:面向少样本调优的多维任务提示

Helping Language Models Learn More: Multi-dimensional Task Prompt for Few-shot Tuning

Qiannan Normal University for Nationalities(黔南民族师范学院);Guangzhou University(广州大学);University of Chinese Academy of Sciences(中国科学院大学);Beijing Institute of Technology(北京理工大学)

Jinta Weng, Jiarui Zhang, Yue Hu, Daidong Fa, Xiaofeng Xuand, Heyan Huang

AI总结:

针对大语言模型提示构建导致答案不确定、难以利用特定知识的问题,提出基于任务相关对象、摘要与描述的多维提示方法MTPrompt,通过自动构建搜索提示,在少样本设置和五个数据集上取得最优效果,验证了方法的有效性与稳定性。

摘要:

大语言模型(LLM)可通过构建自然语言查询并将提示直接输入模型,用作易用的智能聊天机器人。但不同的提示构建方式往往会导致答案存在不确定性,进而难以利用ChatGPT这类大语言模型的特定知识。为缓解该问题,我们采用一种可解释结构阐释大语言模型中的提示学习原理,证实语言模型的有效性由任务相关词元的位置变化决定。据此我们提出MTPrompt,这是一种基于任务相关对象、摘要及任务描述信息的多维任务提示学习方法。通过自动构建并搜索合适的提示,我们提出的MTPrompt在少样本设置及五个不同数据集上取得了最优结果。此外,我们通过不同实验设置及消融实验验证了该方法的有效性与稳定性。在与大语言模型的交互中,在提示中嵌入更多任务相关信息,将更易激发大语言模型内嵌的知识。

英文摘要:

Large language models (LLMs) can be used as accessible and intelligent chatbots by constructing natural language queries and directly inputting the prompt into the large language model. However, different prompt' constructions often lead to uncertainty in the answers and thus make it hard to utilize the specific knowledge of LLMs (like ChatGPT). To alleviate this, we use an interpretable structure to explain the prompt learning principle in LLMs, which certificates that the effectiveness of language models is determined by position changes of the task's related tokens. Therefore, we propose MTPrompt, a multi-dimensional task prompt learning method consisting based on task-related object, summary, and task description information. By automatically building and searching for appropriate prompts, our proposed MTPrompt achieves the best results on few-shot samples setting and five different datasets. In addition, we demonstrate the effectiveness and stability of our method in different experimental settings and ablation experiments. In interaction with large language models, embedding more task-related information into prompts will make it easier to stimulate knowledge embedded in large language models.

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

↑