PTR: Prompt Tuning with Rules for Text Classification

By Xu Han, Weilin Zhao, Ning Ding, Zhiyuan Liu, Maosong Sun. 2021

596 citations recorded by the source corpus.

Fine-tuned pre-trained language models (PLMs) have achieved awesome performance on almost all NLP tasks. By using additional prompts to fine-tune PLMs, we can further stimulate the rich knowledge distributed in PLMs to better serve downstream tasks. Prompt tuning has achieved promising results on some few-class classification tasks such as sentiment classification and natural language inference. However, manually designing lots of language prompts is cumbersome and fallible. For those auto-generated prompts, it is also expensive and time-consuming to verify their effectiveness in non-few-shot scenarios. Hence, it is still challenging for prompt tuning to address many-class classification tasks. To this end, we propose prompt tuning with rules (PTR) for many-class text classification and apply logic rules to construct prompts with several sub-prompts. In this way, PTR is able to encode prior knowledge of each class into prompt tuning. We conduct experiments on relation classification, a typical and complicated many-class classification task, and the results show that PTR can significantly and consistently outperform existing state-of-the-art baselines. This indicates that PTR is a promising approach to take advantage of both human prior knowledge and PLMs for those complicated classification tasks.

Subfields: Artificial Intelligence, Natural Language Processing, Prompting & Reasoning

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Zhiyuan Liu
  2. Maosong Sun
  3. Minlie Huang
  4. Jianfeng Gao
  5. Mohit Bansal
  6. Yejin Choi
  7. Hannaneh Hajishirzi
  8. Luke S. Zettlemoyer

In Natural Language Processing

  1. Yejin Choi
  2. Hannaneh Hajishirzi
  3. Mohit Bansal
  4. Jianfeng Gao
  5. Zhiyuan Liu
  6. Luke S. Zettlemoyer
  7. Maosong Sun
  8. Graham Neubig

In Prompting & Reasoning

  1. Swaroop Mishra
  2. Chitta Baral
  3. Minlie Huang
  4. Zhiyuan Liu
  5. Hannaneh Hajishirzi
  6. Daniel Khashabi
  7. Phillip Isola
  8. Ali Jahanian

Citations in the corpus