跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 计算与语言

arXiv:2302.08068 (cs)
[提交于 2023年2月16日 (v1),最后修订于 2023年8月13日 (此版本, v2)]

标题:LabelPrompt: Effective Prompt-based Learning for Relation Classification

作者:Wenjie Zhang, Xiaoning Song, Zhenhua Feng, Tianyang Xu, Xiaojun Wu
查看论文《LabelPrompt: Effective Prompt-based Learning for Relation Classification》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:Recently, prompt-based learning has gained popularity across many natural language processing (NLP) tasks by reformulating them into a cloze-style format to better align pre-trained language models (PLMs) with downstream tasks. However, applying this approach to relation classification poses unique challenges. Specifically, associating natural language words that fill the masked token with semantic relation labels (\textit{e.g.} \textit{``org:founded\_by}'') is difficult. To address this challenge, this paper presents a novel prompt-based learning method, namely LabelPrompt, for the relation classification task. Motivated by the intuition to ``GIVE MODEL CHOICES!'', we first define additional tokens to represent relation labels, which regard these tokens as the verbaliser with semantic initialisation and explicitly construct them with a prompt template method. Then, to mitigate inconsistency between predicted relations and given entities, we implement an entity-aware module with contrastive learning. Last, we conduct an attention query strategy within the self-attention layer to differentiates prompt tokens and sequence tokens. Together, these strategies enhance the adaptability of prompt-based learning, especially when only small labelled datasets is available. Comprehensive experiments on benchmark datasets demonstrate the superiority of our method, particularly in the few-shot scenario.
评论: 20 pages, 5 figures
主题: 计算与语言 (cs.CL); 人工智能 (cs.AI); 信息检索 (cs.IR); 机器学习 (cs.LG)
引用方式: arXiv:2302.08068 [cs.CL]
  (或者 arXiv:2302.08068v2 [cs.CL] 对于此版本)
  https://doi.org/10.48550/arXiv.2302.08068

提交历史

来自:W Z
[v1] 2023年2月16日 星期四 04:06:25 UTC
[v2] 2023年8月13日 星期日 03:04:08 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.CL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-08
切换浏览方式为:
cs
cs.AI
cs.IR
cs.LG

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站