CPTuning: Contrastive Prompt Tuning for Generative Relation Extraction
Jiaxin Duan, Fengyu Lu, Junfei Liu

TL;DR
CPTuning introduces a contrastive prompt tuning approach for generative relation extraction that effectively handles multiple relations per entity pair, improving performance over existing methods.
Contribution
The paper proposes CPTuning, a novel contrastive prompt tuning method that enables multi-relation extraction and ensures valid relation generation using Trie-constrained decoding.
Findings
Significantly outperforms previous methods on four datasets.
Effectively handles multiple relations per entity pair.
Uses Trie-constrained decoding for valid relation generation.
Abstract
Generative relation extraction (RE) commonly involves first reformulating RE as a linguistic modeling problem easily tackled with pre-trained language models (PLM) and then fine-tuning a PLM with supervised cross-entropy loss. Although having achieved promising performance, existing approaches assume only one deterministic relation between each pair of entities without considering real scenarios where multiple relations may be valid, i.e., entity pair overlap, causing their limited applications. To address this problem, we introduce a novel contrastive prompt tuning method for RE, CPTuning, which learns to associate a candidate relation between two in-context entities with a probability mass above or below a threshold, corresponding to whether the relation exists. Beyond learning schema, CPTuning also organizes RE as a verbalized relation generation task and uses Trie-constrained…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling · Semantic Web and Ontologies
