Research map / Large language models / Language, safety and interpretability
Do Prompt Positions Really Matter?
Junyu Mao, Stuart E. Middleton, Mahesan Niranjan
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 changed | Where | Measured | Effect |
|---|---|---|---|
| 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-2 | position variance: 5.1 -> 1.7 (CM variation) | Improved |
| use sentence-pair tasks instead of single-sentence tasks | gradient-based prompting · RTE / BoolQ | position variance: RTE CM K=128 variation 18.1 | Hurt |
| use continuous instead of manual prompts | gradient-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 tasks | position variance: SST-2 K=32 variation 12.8 -> 4.1 | Improved |
| scale prefix continuous prompt from T5-Large to T5-XL (ablation) | prefix continuous prompt · sentence-pair tasks | position variance | No clear effect |
| use a grammatically incorrect cloze manual prompt position (ablation) | cloze manual prompt · BoolQ (K=32) | accuracy: +3.84 over reference prompt | Improved |
| place the prompt at the best position instead of the default (ablation) | Flan-LLaMA-13B · BBH Movie Recommendation (direct, few-shot) | accuracy: +11.6 | Improved |
| place the prompt at the best position instead of the default (CoT) (ablation) | LLaMA-13B · BBH Movie Recommendation (CoT) | accuracy: +15.2 | Improved |
| use instruction-tuned model instead of base model | LLaMA-13B · BBH few-shot direct | position variance: 10.26 (LLaMA-13B) -> 7.36 (Flan-LLaMA-13B); T5-11B 4.41 -> Flan-T5-11B 6.92 | Mixed |
| scale Flan-T5 from 3B to 11B | Flan-T5 · BBH three-object logical deduction (CoT) | position variance: 2.8 -> 11.2 per cent | Hurt |
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?
- Only a few small or medium open models were tested. · 14 papers state it
- The method needs many extra LLM calls or passes. · 13 papers state it
- Evaluated on English data only, with other languages untested. · 12 papers state it
Closest papers by meaning
- Position Really Matters: Towards a Holistic Approach for Prompt Tuning (NAACL 2025 · similarity 0.90)
- Do Prompt-Based Models Really Understand the Meaning of Their Prompts? (NAACL 2022 · similarity 0.90)
- The language of prompting: What linguistic properties make a prompt successful? (EMNLP 2023 · similarity 0.89)
- Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formatting (ICLR 2024 · similarity 0.89)
- Dialogue for Prompting: A Policy-Gradient-Based Discrete Prompt Generation for Few-Shot Learning (AAAI 2024 · similarity 0.87)
- Evaluating the Zero-shot Robustness of Instruction-tuned Language Models (ICLR 2024 · similarity 0.87)
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.