Skip to main content
QUICK REVIEW

[Paper Review] AdaPrompt: Adaptive Prompt-based Finetuning for Relation Extraction

Xiang Chen, Xin Xie|arXiv (Cornell University)|Apr 15, 2021
Topic ModelingComputer Science13 references35 citations
TL;DR

AdaPrompt proposes an adaptive prompt-based fine-tuning method for relation extraction by reformulating the task as masked language modeling. It dynamically selects variable-length label tokens and integrates an auxiliary entity discriminator to improve context representation, achieving state-of-the-art performance in both few-shot and supervised settings on benchmark datasets.

ABSTRACT

In this paper, we reformulate the relation extraction task as mask language modeling and propose a novel adaptive prompt-based finetuning approach. We propose an adaptive label words selection mechanism that scatters the relation label into variable number of label tokens to handle the complex multiple label space. We further introduce an auxiliary entity discriminator object to encourage the model to focus on context representation learning. Extensive experiments on benchmark datasets demonstrate that our approach can achieve better performance on both the few-shot and supervised setting.

Motivation & Objective

  • To address the challenge of complex, multi-relational label spaces in relation extraction by enabling flexible, adaptive label representation.
  • To improve context representation learning in relation extraction models through an auxiliary entity discriminator.
  • To enhance model generalization in low-resource (few-shot) scenarios by adapting prompt design to label complexity.
  • To unify prompt-based fine-tuning with masked language modeling for better alignment with pre-trained language model inductive biases.

Proposed method

  • Reformulates relation extraction as a masked language modeling task by inserting learnable prompt tokens around input sequences.
  • Introduces an adaptive label words selection mechanism that maps each relation label to a variable-length sequence of tokens based on label complexity.
  • Employs an auxiliary entity discriminator loss to encourage the model to attend more effectively to entity mentions and their surrounding context.
  • Trains the model end-to-end using a combined objective: masked language modeling loss and the entity discriminator loss.
  • Utilizes a pre-trained language model (e.g., BERT) as the backbone, with prompt embeddings and label word embeddings jointly optimized during fine-tuning.
  • Applies dynamic label tokenization to handle long-tail and multi-token relation labels more effectively than fixed-length prompt designs.

Experimental results

Research questions

  • RQ1Can adaptive, variable-length label tokens improve performance in relation extraction compared to fixed-length prompt designs?
  • RQ2How does introducing an auxiliary entity discriminator affect context representation learning in prompt-based fine-tuning?
  • RQ3To what extent does AdaPrompt generalize to few-shot relation extraction settings?
  • RQ4Does the combination of masked language modeling and adaptive prompt tuning lead to better alignment with pre-trained model inductive biases?

Key findings

  • AdaPrompt achieves state-of-the-art performance on standard benchmark datasets for both few-shot and supervised relation extraction settings.
  • The adaptive label word selection mechanism effectively handles complex, multi-token relation labels by dynamically adjusting the number of tokens per label.
  • The auxiliary entity discriminator significantly improves the model’s ability to focus on relevant context and entity spans during prediction.
  • The method demonstrates strong generalization in low-resource scenarios, outperforming baselines in few-shot evaluation protocols.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.