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

STPrompt:语义引导和任务驱动的有效Few-Shot分类提示

STPrompt: Semantic-guided and Task-driven prompts for Effective Few-shot Classification

University of Chinese Academy of Sciences(中国科学院大学);Institute of Information Engineering(信息工程研究所);Beijing Institute of Technology(北京理工大学);Guangzhou University(广州大学)

Jinta Weng, Yue Hu, Jing Qiu, Heyan Huan

摘要:

提示学习的有效性已在不同的预训练语言模型中得到证明。通过构造合适的模板和选择有代表性的标签映射,提示学习可以作为一种有效的知识探测器。然而,现有的方法中,寻找合适的提示需要多次实验尝试或适当的向量初始化来制定合适的模板和选择代表性的标签映射,这在少样本学习任务中更为常见。本文以PLM工作流程为出发点,尝试从任务语义的角度构建提示,提出了STPrompt -语义引导、任务驱动的提示模型。该模型首先在提示词扩充池中构建两个新的提示词,分别由语义依赖树和任务元数据描述生成,并自动选择合适的语义提示词来激励提示词学习过程.实验结果表明,该模型在5个不同的Few-Shot文本分类任务数据集上均取得了较好的性能,证明了语义和显著性更高的提示可以作为更好的知识证明工具。

英文摘要:

The effectiveness of prompt learning has been demonstrated in different pre-trained language models. By formulating suitable template and choosing representative label mapping, prompt learning can be used as an efficient knowledge probe. However, finding suitable prompt in existing methods requires multiple experimental attempts or appropriate vector initialization on formulating suitable template and choosing representative label mapping, which it is more common in few-shot learning tasks. Motivating by PLM working process, we try to construct the prompt from task semantic perspective and thus propose the STPrompt -Semantic-guided and Task-driven Prompt model. Specifically, two novel prompts generated from the semantic dependency tree (Dep-prompt) and task-specific metadata description (Meta-prompt), are firstly constructed in a prompt augmented pool, and the proposed model would automatically select a suitable semantic prompt to motivating the prompt learning process. Our results show that the proposed model achieves the state-of-the-art performance in five different datasets of few-shot text classification tasks, which prove that more semantic and significant prompts could assume as a better knowledge proving tool.

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

↑