arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.02029cs.CL
收藏

基于上下文学习的道德框架Few-Shot识别

Towards Few-Shot Identification of Morality Frames using In-Context Learning

Purdue University(普渡大学)

Shamik Roy, Nishanth Sridhar Nakshatri, Dan Goldwasser

摘要:

数据稀缺是NLP中的一个常见问题,特别是当注释涉及到需要专业知识的微妙社会语言概念时。因此,需要对这些概念进行Few-Shot识别。Few-Shot上下文学习使用预训练的大语言模型(LLM)最近已成功地应用于许多NLP任务。在本文中,我们研究了心理语言学概念道德框架的Few-Shot识别(Roy等人,2021),使用LLM。道德框架是一个表征框架,它提供了文本中表达的道德情感的整体视图,识别相关的道德基础(Haidt和Graham,2007),并在更细的粒度级别上,对文本中提到的实体表达道德情感。以前的研究依赖于人工注释来识别文本中的道德框架,这是昂贵的。在本文中,我们提出了使用预训练的大语言模型识别道德框架,仅依赖于Few-Shot样本的基于语义的方法。我们比较了我们的模型的性能与Few-Shot RobERTa,发现有希望的结果。

英文摘要:

Data scarcity is a common problem in NLP, especially when the annotation pertains to nuanced socio-linguistic concepts that require specialized knowledge. As a result, few-shot identification of these concepts is desirable. Few-shot in-context learning using pre-trained Large Language Models (LLMs) has been recently applied successfully in many NLP tasks. In this paper, we study few-shot identification of a psycho-linguistic concept, Morality Frames (Roy et al., 2021), using LLMs. Morality frames are a representation framework that provides a holistic view of the moral sentiment expressed in text, identifying the relevant moral foundation (Haidt and Graham, 2007) and at a finer level of granularity, the moral sentiment expressed towards the entities mentioned in the text. Previous studies relied on human annotation to identify morality frames in text which is expensive. In this paper, we propose prompting-based approaches using pretrained Large Language Models for identification of morality frames, relying only on few-shot exemplars. We compare our models' performance with few-shot RoBERTa and found promising results.

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

↑