mlsanityData to 14 Oct 2026

LabelPrompt: Effective Prompt-based Learning for Relation Classification

arXiv 2302.08068 ↗First posted 16 Feb 2023cs.CL cs.AI cs.IRcited by 1

Not on the map. Why?

Abstract (arXiv)

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 (textite.g. textit``org:foundedby'') 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.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 49 of its 62 references that are in the map. First posted on arXiv 16 Feb 2023.

Builds on

49 of 62 references.

References · 49

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  7. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  8. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  9. 2018Deep contextualized word representationscited by 2,290
  10. 2021Pre-train, Prompt, and Predict: A Systematic Survey of Prompting Methods in Natural Language Processingcited by 2,234
  11. 2019Language Models as Knowledge Bases?cited by 1,936
  12. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
37 more
  1. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  2. 2019How Can We Know What Language Models Know?cited by 959
  3. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
  4. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 722
  5. 2021GPT Understands, Toocited by 716
  6. 2021Knowledge Neurons in Pretrained Transformerscited by 601
  7. 2020LUKE: Deep Contextualized Entity Representations with Entity-aware Self-attentioncited by 326
  8. 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 319
  9. 2019Benchmarking Zero-shot Text Classification: Datasets, Evaluation and Entailment Approachcited by 308
  10. 2021Factual Probing Is [MASK]: Learning vs. Learning to Recallcited by 291
  11. 2019Matching the Blanks: Distributional Similarity for Relation Learningcited by 272
  12. 2019SMART: Robust and Efficient Fine-Tuning for Pre-trained Natural Language Models through Principled Regularized Optimizationcited by 254
  13. 2021PTR: Prompt Tuning with Rules for Text Classificationcited by 238
  14. 2021PPT: Pre-trained Prompt Tuning for Few-shot Learningcited by 232
  15. 2021LongT5: Efficient Text-To-Text Transformer for Long Sequencescited by 232
  16. 2021WARP: Word-level Adversarial ReProgrammingcited by 221
  17. 2021Knowledgeable Prompt-tuning: Incorporating Knowledge into Prompt Verbalizer for Text Classificationcited by 183
  18. 2021KnowPrompt: Knowledge-aware Prompt-tuning with Synergistic Optimization for Relation Extractioncited by 180
  19. 2021Constrained Language Models Yield Few-Shot Semantic Parserscited by 163
  20. 2021Template-Based Named Entity Recognition Using BARTcited by 153
  21. 2020TACRED Revisited: A Thorough Evaluation of the TACRED Relation Extraction Taskcited by 96
  22. 2021On Transferability of Prompt Tuning for Natural Language Processingcited by 75
  23. 2021Re-TACRED: Addressing Shortcomings of the TACRED Datasetcited by 74
  24. 2021Template-free Prompt Tuning for Few-shot NERcited by 73
  25. 2021Entity Structure Within and Throughout: Modeling Mention Dependencies for Document-Level Relation Extractioncited by 68
  26. 2019SemEval-2010 Task 8: Multi-Way Classification of Semantic Relations Between Pairs of Nominalscited by 63
  27. 2021BERT, mBERT, or BiBERT? A Study on Contextualized Embeddings for Neural Machine Translationcited by 35
  28. 2021MSP: Multi-Stage Prompting for Making Pre-trained Language Models Better Translatorscited by 35
  29. 2021Relation Classification with Entity Type Restrictioncited by 31
  30. 2020GDPNet: Refining Latent Multi-View Graph for Relation Extractioncited by 29
  31. 2022SKILL: Structured Knowledge Infusion for Large Language Modelscited by 27
  32. 2022ProQA: Structural Prompt-based Pre-training for Unified Question Answeringcited by 21
  33. 2021Self-supervised Contrastive Attributed Graph Clusteringcited by 18
  34. 2021MECT: Multi-Metadata Embedding based Cross-Transformer for Chinese Named Entity Recognitioncited by 11
  35. 2022Prompt-Learning for Short Text Classificationcited by 11
  36. 2020Relation Classification as Two-way Span-Predictioncited by 9
  37. 2019Enhancing Relation Extraction Using Syntactic Indicators and Sentential Contextscited by 5

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.