atlas

Research map / Large language models / Instruction and fine-tuning

Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Following

AAAI 2024 · Large language models › Instruction and fine-tuning · approach: Instruction data selection · 13 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.

Shows that prepending a fixed, task-agnostic prefix of cross-task classification demonstrations (TAPP) to every input improves zero-shot instruction following of base and instruction-tuned GPT-3, GPT-J, GPT-NeoX and OPT models on SuperNI.

Problem

Instruction-following in LLMs is usually obtained through fine-tuning (instruction tuning or RLHF), which needs backpropagation and weight access; the paper asks whether inference-time prompting alone can improve zero-shot instruction following.

Approach

A fixed prefix of K cross-task demonstrations (instruction, input, output), built with simple heuristics (classification tasks with explicit answer choices, non-overlapping answer choices, length limit, ordering), is prepended to every target-task input regardless of task, with no task-specific information needed.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Prepend fixed task-agnostic demonstrations instead of using no prefix promptGPT-3 davinci (175B) · SuperNI (12 tasks)average score: 29.66 -> 44.24Helped
Prepend TAPP to 4-shot target-task demonstrationsGPT-3 davinci (175B) · SuperNI (12 tasks)average score: 56.65 -> 60.21Helped
Replace demonstration inputs with random text (ablation)TAPP on GPT-3 davinci (175B) · SuperNI (12 tasks)average score: 44.24 -> 44.27No clear effect
Replace demonstration instructions with random text (ablation)TAPP on GPT-3 davinci (175B) · SuperNI (12 tasks)average score: 44.24 -> 31.18Hurt
Replace demonstration outputs with random words (ablation)TAPP on GPT-3 davinci (175B) · SuperNI (12 tasks)average score: 44.24 -> 38.30Hurt
Allow answer choices to overlap across demonstrations (ablation)TAPP on GPT-3 davinci (175B) · SuperNI (12 tasks)average score: 44.24 -> 42.30Hurt
Use demonstrations with overlapping answer choices (ablation)TAPP on GPT-3 davinci (175B) · SuperNI classification tasksclassification score: 33.86 -> 35.14Mixed
Use demonstrations with overlapping answer choices (ablation)TAPP on GPT-3 davinci (175B) · SuperNI generation tasksgeneration score: 58.77 -> 52.32Hurt
Use output-only task-specific demonstrations instead of TAPPGPT-3 davinci (175B) · SuperNI classification tasksclassification score: 43.67 -> 36.83Hurt
Use output-only task-specific demonstrations instead of TAPPGPT-3 davinci (175B) · SuperNI generation tasksgeneration score: 24.98 -> 51.93Helped
Prepend TAPP to increase attention to the target instructionOPT-6.7B · 5 generation tasksinstruction-to-input attention ratio: 0.6172 -> 0.6758Helped
Apply TAPP to OPT-IML (30B) and FLAN-T5OPT-IML (30B); FLAN-T5 · SuperNIperformanceHurt

Surprising findings

Limitations

Experimental setup

Datasets: Super-NaturalInstructions CC-News

Benchmarks: Super-NaturalInstructions

Metrics: Exact Match ROUGE-L INSTRUCTSCORE

Baselines: Base Input (zero-shot) Nearest PP Category PP Output PP Few-shot ICL Z-ICL

Builds on: Super-NaturalInstructions Z-ICL few-shot in-context learning

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