atlas

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

Dialogue for Prompting: A Policy-Gradient-Based Discrete Prompt Generation for Few-Shot Learning

AAAI 2024 · Large language models › Language, safety and interpretability · approach: In-context learning analysis · 6 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 DP2O, which generates a readable discrete prompt set via multi-round GPT-4 dialogue, screens prompts with a supervised+unsupervised entropy metric (SUE), and trains a small policy-gradient network to match prompts to inputs for few-shot classification with RoBERTa-large.

Problem

Discrete prompt optimization for few-shot NLP currently relies on manually designed base prompts and label-supervised screening, while continuous prompt methods are computationally expensive and unreadable.

Approach

Generate candidate prompts by multi-round GPT-4 dialogue aligned to seed inputs, screen them with a linear-complexity SUE metric combining prediction accuracy margin and prediction entropy, and use an RL policy network (policy gradient) to select a prompt per input, ensembling top-k prompt predictions weighted by policy probabilities.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace RLPrompt with DP2ORoBERTa-large few-shot text classification · SST-2accuracy: 90.87 ± 0.86 -> 93.62 ± 0.72Helped
replace RLPrompt with DP2ORoBERTa-large few-shot text classification · MRaccuracy: 86.85 ± 0.51 -> 88.58 ± 0.91Helped
replace RLPrompt with DP2ORoBERTa-large few-shot text classification · CRaccuracy: 89.62 ± 1.36 -> 90.76 ± 0.50Helped
replace RLPrompt with DP2ORoBERTa-large few-shot text classification · Yelpaccuracy: 93.78 ± 2.98 -> 94.25 ± 0.41Helped
add multi-round dialogue alignment for prompt generation (ablation)DP2O prompt generation · SST-2accuracy: +3.12%Helped
add multi-round dialogue alignment for prompt generation (ablation)DP2O prompt generation · MRaccuracy: +2.46%Helped
add multi-round dialogue alignment for prompt generation (ablation)DP2O prompt generation · CRaccuracy: +0.56%Helped
add multi-round dialogue alignment for prompt generation (ablation)DP2O prompt generation · Yelpaccuracy: +1.07%Helped
combine supervised and unsupervised information for prompt screening (ablation)DP2O prompt selection · SST-2accuracy: +0.59%Helped
use unsupervised information only for prompt screening (ablation)DP2O prompt selection · four sentiment datasetsaccuracyNo clear effect
match prompts to inputs with reinforcement learning instead of random matching (ablation)DP2O prompt matching · SST-2accuracy: +1.90%Helped
match prompts to inputs with reinforcement learning instead of similarity-based matching (ablation)DP2O prompt matching · four sentiment datasetsaccuracyHelped

Surprising findings

Limitations

Experimental setup

Datasets: SST-2 Yelp MR CR RTE QNLI MRPC

Benchmarks: SST-2 Yelp MR CR RTE QNLI MRPC

Metrics: accuracy standard deviation training time

Baselines: Soft Prompt Tuning Black-Box Tuning AutoPrompt Manual Prompt Instruction In-Context Demo GrIPS RLPrompt

Builds on: RLPrompt Black-Box Tuning GrIPS AutoPrompt

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