scimeatlas

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

Do Prompt Positions Really Matter?

Junyu Mao, Stuart E. Middleton, Mahesan Niranjan

NAACL 2024Large language models › Language, safety and interpretabilityapproach: In-context learning analysisopen problems in this approach16 citations (OpenAlex)

University of Southampton

Read the paperPlace an idea next to itCheck your own paper ↗

14measured effects
9improved
1no clear effect
3hurt
1mixed

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
move prompt to its best position rather than the reference position (ablation)prefix continuous prompt, T5-Large · SST-2 (K=16)accuracy: +13.4 accuracy (best 70.6)Improved
move prompt to best position rather than reference (ablation)cloze continuous prompt, RoBERTa-large · TREC (K=16)accuracy: +6.8 accuracy (best 65.1)Improved
increase labelled data K from 16 to 128 (ablation)manual prompts, single-sentence tasks · SST-2position variance: 5.1 -> 1.7 (CM variation)Improved
use sentence-pair tasks instead of single-sentence tasksgradient-based prompting · RTE / BoolQposition variance: RTE CM K=128 variation 18.1Hurt
use continuous instead of manual promptsgradient-based prompting · SST-2 (K=16)position variance: 5.1 (CM) vs 23.1 (CC)Hurt
scale prefix continuous prompt from T5-Large to T5-XL (ablation)prefix continuous prompt · single-sentence tasksposition variance: SST-2 K=32 variation 12.8 -> 4.1Improved
scale prefix continuous prompt from T5-Large to T5-XL (ablation)prefix continuous prompt · sentence-pair tasksposition varianceNo clear effect
use a grammatically incorrect cloze manual prompt position (ablation)cloze manual prompt · BoolQ (K=32)accuracy: +3.84 over reference promptImproved
place the prompt at the best position instead of the default (ablation)Flan-LLaMA-13B · BBH Movie Recommendation (direct, few-shot)accuracy: +11.6Improved
place the prompt at the best position instead of the default (CoT) (ablation)LLaMA-13B · BBH Movie Recommendation (CoT)accuracy: +15.2Improved
use instruction-tuned model instead of base modelLLaMA-13B · BBH few-shot directposition variance: 10.26 (LLaMA-13B) -> 7.36 (Flan-LLaMA-13B); T5-11B 4.41 -> Flan-T5-11B 6.92Mixed
scale Flan-T5 from 3B to 11BFlan-T5 · BBH three-object logical deduction (CoT)position variance: 2.8 -> 11.2 per centHurt

Open problems in in-context learning analysis

Which in-context learning methods hold up beyond English classification on small open models, and what do they cost?

All 5 open problems and what was already tried →

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