Few-shot Learning with Prompting Methods

Morteza Bahrami, Muharram Mansoorizadeh, Hassan Khotanlou
{"title":"Few-shot Learning with Prompting Methods","authors":"Morteza Bahrami, Muharram Mansoorizadeh, Hassan Khotanlou","doi":"10.1109/IPRIA59240.2023.10147172","DOIUrl":null,"url":null,"abstract":"Today, in natural language processing, labeled data is important, however, getting adequate amount of data is a challenging step. There are many tasks for which it is difficult to obtain the required training data. For example, in machine translation, we need to prepare a lot of data in the target language, so that the work performance is acceptable. We may not be able to collect useful data in the target language. Hence, we need to use few-shot learning. Recently, a method called prompting has evolved, in which text inputs are converted into text with a new structure using a certain format, which has a blank space. Given the prompted text, a pre-trained language model replaces the space with the best word. Prompting can help us in the field of few-shot learning; even in cases where there is no data, i.e. zero-shot learning. Recent works use large language models such as GPT-2 and GPT-3, with the prompting method, performed tasks such as machine translation. These efforts do not use any labeled training data. But these types of models with a massive number of parameters require powerful hardware. Pattern-Exploiting Training (PET) and iterative Pattern-Exploiting Training (iPET) were introduced, which perform few-shot learning using prompting and smaller pre-trained language models such as Bert and Roberta. For example, for the Yahoo text classification dataset, using iPET and Roberta and ten labeled datasets, 70% accuracy has been reached. This paper reviews research works in few-shot learning with a new paradigm in natural language processing, which we dub prompt-based learning or in short, prompting.","PeriodicalId":109390,"journal":{"name":"2023 6th International Conference on Pattern Recognition and Image Analysis (IPRIA)","volume":"8 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-02-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 6th International Conference on Pattern Recognition and Image Analysis (IPRIA)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IPRIA59240.2023.10147172","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Today, in natural language processing, labeled data is important, however, getting adequate amount of data is a challenging step. There are many tasks for which it is difficult to obtain the required training data. For example, in machine translation, we need to prepare a lot of data in the target language, so that the work performance is acceptable. We may not be able to collect useful data in the target language. Hence, we need to use few-shot learning. Recently, a method called prompting has evolved, in which text inputs are converted into text with a new structure using a certain format, which has a blank space. Given the prompted text, a pre-trained language model replaces the space with the best word. Prompting can help us in the field of few-shot learning; even in cases where there is no data, i.e. zero-shot learning. Recent works use large language models such as GPT-2 and GPT-3, with the prompting method, performed tasks such as machine translation. These efforts do not use any labeled training data. But these types of models with a massive number of parameters require powerful hardware. Pattern-Exploiting Training (PET) and iterative Pattern-Exploiting Training (iPET) were introduced, which perform few-shot learning using prompting and smaller pre-trained language models such as Bert and Roberta. For example, for the Yahoo text classification dataset, using iPET and Roberta and ten labeled datasets, 70% accuracy has been reached. This paper reviews research works in few-shot learning with a new paradigm in natural language processing, which we dub prompt-based learning or in short, prompting.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用提示法进行短时间学习
今天,在自然语言处理中,标记数据很重要,然而,获得足够数量的数据是一个具有挑战性的步骤。有许多任务很难获得所需的训练数据。例如,在机器翻译中,我们需要用目标语言准备大量的数据,以便工作表现可以接受。我们可能无法以目标语言收集有用的数据。因此,我们需要使用几次学习。最近,出现了一种叫做提示的方法,它将文本输入转换为使用特定格式的具有新结构的文本,该格式具有空白。给定提示文本,预训练的语言模型将用最佳单词替换空格。提示可以帮助我们在场上少射学习;即使在没有数据的情况下,也就是零次学习。最近的作品使用了GPT-2和GPT-3等大型语言模型,通过提示的方式,执行机器翻译等任务。这些工作不使用任何标记的训练数据。但这些具有大量参数的模型需要强大的硬件。介绍了模式挖掘训练(PET)和迭代模式挖掘训练(iPET),它们使用提示和较小的预训练语言模型(如Bert和Roberta)进行少量学习。例如,对于Yahoo文本分类数据集,使用iPET和Roberta和10个标记数据集,准确率达到70%。本文以自然语言处理中的一种新范式,即基于提示的学习(prompt-based learning,简称prompt),回顾了在短时学习方面的研究工作。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Classification of Rice Leaf Diseases Using CNN-Based Pre-Trained Models and Transfer Learning Quality Assessment of Screen Content Videos 3D Image Annotation using Deep Learning and View-based Image Features Machine Learning Techniques During the COVID-19 Pandemic: A Bibliometric Analysis Audio-Visual Emotion Recognition Using K-Means Clustering and Spatio-Temporal CNN
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1