几次问题回答与实体意识提示

Yi Chen, Xingshen Song, Jinsheng Deng, Jihao Cao
{"title":"几次问题回答与实体意识提示","authors":"Yi Chen, Xingshen Song, Jinsheng Deng, Jihao Cao","doi":"10.1145/3603781.3603812","DOIUrl":null,"url":null,"abstract":"Providing simple task descriptions or prompts in natural language for large pre-trained language models yields impressive few-shot learning results in different tasks, such as text classification, knowledge probing, machine translation, and named entity recognition. In this paper, we apply this idea to question-answering task to fine-tune pre-trained language models by constructing entity-type prompts. Specifically, we augment the context sequences with semantic labels to enhance the understanding of pre-trained models, and dynamically adjust the prompts via intention recognition of the questions. Our proposition is simple yet powerful over traditional fine-tune training strategies and robust under few-shot conditions. The contributions of our work are as follows: 1. We proposed a few-shot learning method with entity-aware prompts for question-answering tasks to fine-tune the pre-trained language model. 2. Based on the SQuAD dataset, we extract a subset with 1,131 samples containing different categories of answer type, in which the answers to all questions are entities. 3. Experiments on multiple pre-trained language models validate that our method can effectively improve the performance of few-shot learning of question-answering tasks over the promptless ones.","PeriodicalId":391180,"journal":{"name":"Proceedings of the 2023 4th International Conference on Computing, Networks and Internet of Things","volume":"17 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-05-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Few-shot Question Answering with Entity-Aware Prompt\",\"authors\":\"Yi Chen, Xingshen Song, Jinsheng Deng, Jihao Cao\",\"doi\":\"10.1145/3603781.3603812\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Providing simple task descriptions or prompts in natural language for large pre-trained language models yields impressive few-shot learning results in different tasks, such as text classification, knowledge probing, machine translation, and named entity recognition. In this paper, we apply this idea to question-answering task to fine-tune pre-trained language models by constructing entity-type prompts. Specifically, we augment the context sequences with semantic labels to enhance the understanding of pre-trained models, and dynamically adjust the prompts via intention recognition of the questions. Our proposition is simple yet powerful over traditional fine-tune training strategies and robust under few-shot conditions. The contributions of our work are as follows: 1. We proposed a few-shot learning method with entity-aware prompts for question-answering tasks to fine-tune the pre-trained language model. 2. Based on the SQuAD dataset, we extract a subset with 1,131 samples containing different categories of answer type, in which the answers to all questions are entities. 3. Experiments on multiple pre-trained language models validate that our method can effectively improve the performance of few-shot learning of question-answering tasks over the promptless ones.\",\"PeriodicalId\":391180,\"journal\":{\"name\":\"Proceedings of the 2023 4th International Conference on Computing, Networks and Internet of Things\",\"volume\":\"17 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-05-26\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 2023 4th International Conference on Computing, Networks and Internet of Things\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/3603781.3603812\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2023 4th International Conference on Computing, Networks and Internet of Things","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3603781.3603812","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

用自然语言为大型预训练语言模型提供简单的任务描述或提示,可以在不同的任务中产生令人印象深刻的少量学习结果,例如文本分类、知识探测、机器翻译和命名实体识别。在本文中,我们将这一思想应用到问答任务中,通过构造实体类型提示来微调预训练的语言模型。具体来说,我们用语义标签来增强上下文序列,以增强对预训练模型的理解,并通过对问题的意图识别来动态调整提示。我们的建议简单而强大,优于传统的微调训练策略,并且在少量射击条件下具有鲁棒性。我们的工作贡献如下:1。我们提出了一种带有实体感知提示的问答任务的少镜头学习方法来微调预训练的语言模型。2. 基于SQuAD数据集,我们提取了一个包含1131个样本的子集,其中包含不同类别的答案类型,其中所有问题的答案都是实体。3.在多个预训练语言模型上的实验验证了我们的方法可以有效地提高问答任务中少镜头学习的性能。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Few-shot Question Answering with Entity-Aware Prompt
Providing simple task descriptions or prompts in natural language for large pre-trained language models yields impressive few-shot learning results in different tasks, such as text classification, knowledge probing, machine translation, and named entity recognition. In this paper, we apply this idea to question-answering task to fine-tune pre-trained language models by constructing entity-type prompts. Specifically, we augment the context sequences with semantic labels to enhance the understanding of pre-trained models, and dynamically adjust the prompts via intention recognition of the questions. Our proposition is simple yet powerful over traditional fine-tune training strategies and robust under few-shot conditions. The contributions of our work are as follows: 1. We proposed a few-shot learning method with entity-aware prompts for question-answering tasks to fine-tune the pre-trained language model. 2. Based on the SQuAD dataset, we extract a subset with 1,131 samples containing different categories of answer type, in which the answers to all questions are entities. 3. Experiments on multiple pre-trained language models validate that our method can effectively improve the performance of few-shot learning of question-answering tasks over the promptless ones.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信