PreprintCited by 576Topic ModelingDomain Adaptation and Few-Shot LearningNatural Language Processing Techniques

PTR: Prompt Tuning with Rules for Text Classification

Open access
Han, Xu, Zhao, Weilin, Ding, Ning, Liu, Zhiyuan, Sun, Maosong·2021·arXiv

Abstract

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.

Integrity signals

Registry

DataCite · 10.48550/arxiv.2105.11259

Cites

49 of 49 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

We couldn’t retrieve this paper’s full text, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

Cites

Flagged first, then by citations

5 of the 54 references couldn’t be matched to a known paper.

Cited by

Sorted by citations

Authors
Han, X., Zhao, W., Ding, N., Liu, Z., & Sun, M.
Affiliations
  • Beijing National Research Center for Information Science and Technology (CN)
  • Beijing Academy of Artificial Intelligence (CN)
Corresponding author
  • Liu, Zhiyuan
  • Sun, Maosong
Venue
arXiv
Publisher
arXiv
Published
2021
Volume
3
Pages
182-192
ISSN
2666-6510 (ISSN-L)
OpenAlex
W4309811444
Cited by
478
References
54
Citations by year
2026: 27 · 2025: 92 · 2024: 131 · 2023: 137 · 2022: 77 · 2021: 14
FWCI
35.95
Type
journal article
Language
en
Open access
Locations
  • AI Open (publishedVersion, cc-by-nc-nd)
  • arXiv (Cornell University) (submittedVersion)
  • DOAJ (DOAJ: Directory of Open Access Journals) (submittedVersion, cc-by-sa)
  • arXiv (Cornell University)
Funders
  • National Natural Science Foundation of China (62236004)
  • Tsinghua University
  • National Key Research and Development Program of China (2020AAA0106500)
Topics
  • Physical Sciences › Computer Science › Artificial Intelligence › Topic Modeling
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
  • Physical Sciences › Computer Science › Artificial Intelligence › Natural Language Processing Techniques
Keywords
prompt tuning, text classification, pre-trained language models, relation classification, entity typing, intent classification, prior knowledge encoding

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review