atlas

Research map / Large language models / Language, safety and interpretability

Labels Need Prompts Too: Mask Matching for Natural Language Understanding Tasks

AAAI 2024 · Large language models › Language, safety and interpretability · approach: Text generation and evaluation metrics · 4 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Mask Matching, which applies prompting to both input and label sides (input-prompt and label-prompt mask representations matched via cross-entropy) and evaluates it on 14 NLU datasets across 8 tasks.

Problem

Classification-based fine-tuning, semantic matching, and prompt-tuning under-utilize the semantic information in textual label names for NLU tasks, especially those with many labels.

Approach

Add a label-prompt with its own mask token to each label name, and classify by matching the input-prompt mask representation against all label-prompt mask representations with a softmax cross-entropy, avoiding manual verbalizers while keeping label semantics.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use label-side mask prompts and match label-mask representations to the input-mask representation instead of fine-tuningNLU tasks under full training · R8, R52, MR, IMDb, FEW-NERD, BBN, TACRED, TAC-REV, QNLI, SNLI, PIT2015, QQP, WiC, VASTtask metric: 0.2% to almost 2%Helped
use Mask Matching instead of Prompt-tuning with 10% of training dataNLU tasks in the low-resource setting · 12 of 14 datasetstask metricHelped
use Mask Matching instead of Prompt-tuning with 10% of training dataQQP · QQPtask metric: +0.0No clear effect
use Mask Matching instead of Prompt-tuning with 10% of training dataVAST · VASTMacro-F1: -1.7Hurt
add two related words to each label name (ablation)Mask Matching · FEW-NERDLoose Micro-F1: 85.2 -> 85.6Helped
add two related words to each label name (ablation)Mask Matching · TACREDMicro-F1: 75.2 -> 75.4Helped
vary the label-prompt template among P1, P2, P3, and P4 (ablation)Mask Matching · R52, TACRED, QNLI, VASTtask metricNo clear effect
replace prompt-based label representations with max-pooling over label names (ablation)Mask Matching · 14 NLU datasetstask metricHurt

Surprising findings

Limitations

Experimental setup

Datasets: R8 R52 MR IMDb FEW-NERD BBN TACRED TACRED-Revisited QNLI SNLI PIT2015 QQP

Benchmarks: R8 R52 MR IMDb FEW-NERD BBN TACRED TACRED-Revisited QNLI SNLI PIT2015 QQP

Metrics: accuracy Micro-F1 Loose Micro-F1 Macro-F1

Baselines: Fine-tuning Prompt-tuning Semantic Matching

Builds on: prompt-tuning semantic matching RoBERTa BERT

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy