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