{"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}
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.