Investigating the Effectiveness of Task-Agnostic Prefix Prompt for Instruction Following
Not on the map. Why?
Abstract (arXiv)
In this paper, we present our finding that prepending a Task-Agnostic Prefix Prompt (TAPP) to the input improves the instruction-following ability of various Large Language Models (LLMs) during inference. TAPP is different from canonical prompts for LLMs in that it is a fixed prompt prepended to the beginning of every input regardless of the target task for zero-shot generalization. We observe that both base LLMs (i.e. not fine-tuned to follow instructions) and instruction-tuned models benefit from TAPP, resulting in 34.58% and 12.26% improvement on average, respectively. This implies that the instruction-following ability of LLMs can be improved during inference time with a fixed prompt constructed with simple heuristics. We hypothesize that TAPP assists language models to better estimate the output distribution by focusing more on the instruction of the target task during inference. In other words, such ability does not seem to be sufficiently activated in not only base LLMs but also many instruction-fine-tuned LLMs. All experiments are reproducible from https://github.com/seonghyeonye/TAPP.
Key facts. Cited by 33 papers in the map (data through 7 Oct 2026). Builds on 24 of its 36 references that are in the map. First posted on arXiv 28 Feb 2023.
Builds on
24 of 36 references.
References · 24
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2022Training language models to follow instructions with human feedbackcited by 15,712
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,747
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,634
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2021Multitask Prompted Training Enables Zero-Shot Task Generalizationcited by 1,462
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,413
- 2021What Makes Good In-Context Examples for GPT-3?cited by 1,184
- 2021A General Language Assistant as a Laboratory for Alignmentcited by 1,023
12 more
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2021GPT Understands, Toocited by 715
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2021Learning To Retrieve Prompts for In-Context Learningcited by 641
- 2021MetaICL: Learning to Learn In Contextcited by 450
- 2022Unnatural Instructions: Tuning Language Models with (Almost) No Human Laborcited by 395
- 2021Do Prompt-Based Models Really Understand the Meaning of their Prompts?cited by 324
- 2022OPT-IML: Scaling Language Model Instruction Meta Learning through the Lens of Generalizationcited by 235
- 2022Towards Understanding Chain-of-Thought Prompting: An Empirical Study of What Matterscited by 221
- 2022Z-ICL: Zero-Shot In-Context Learning with Pseudo-Demonstrationscited by 70
Built on by
Citing papers per year: 2023: 14; 2024: 13; 2025: 5; 2026: 1.
33 papers.
Sort:
By area:
- 2023FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Setscited by 198
- 2023Not All Languages Are Created Equal in LLMs: Improving Multilingual Capability by Cross-Lingual-Thought Promptingcited by 163
- 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuningcited by 106
- 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Eracited by 97
- 2023PolyLM: An Open Source Polyglot Large Language Modelcited by 64
- 2023Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoningcited by 49
- 2023Interactive Natural Language Processingcited by 31
- 2024CrisisSense-LLM: Instruction Fine-Tuned Large Language Model for Multi-label Social Media Text Classification in Disaster Informaticscited by 25
- 2023Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answeringcited by 24
- 2024MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Predictioncited by 24
- 2025The Scales of Justitia: A Comprehensive Survey on Safety Evaluation of LLMscited by 24
- 2024Nudging: Inference-time Alignment of LLMs via Guided Decodingcited by 22
21 more
- 2023Generative Calibration for In-context Learningcited by 20
- 2024Stress-Testing Long-Context Language Models with Lifelong ICL and Task Haystackcited by 19
- 2025Causally Reliable Concept Bottleneck Modelscited by 17
- 2023From Zero to Hero: Examining the Power of Symbolic Tasks in Instruction Tuningcited by 14
- 2023Multi-party Goal Tracking with LLMs: Comparing Pre-training, Fine-tuning, and Prompt Engineeringcited by 13
- 2023Fine-tune Language Models to Approximate Unbiased In-context Learningcited by 12
- 2024Say More with Less: Understanding Prompt Learning Behaviors through Gist Compressioncited by 8
- 2024Honesty to Subterfuge: In-Context Reinforcement Learning Can Make Honest Models Reward Hackcited by 8
- 2024Challenges Faced by Large Language Models in Solving Multi-Agent Flockingcited by 7
- 2025The Few-shot Dilemma: Over-prompting Large Language Modelscited by 7
- 2023JsonTuning: Towards Generalizable, Robust, and Controllable Instruction Tuningcited by 6
- 2024How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignmentcited by 6
- 2024FsPONER: Few-shot Prompt Optimization for Named Entity Recognition in Domain-specific Scenarioscited by 6
- 2024Improving Language Model Reasoning with Self-motivated Learningcited by 4
- 2024Linearly-Interpretable Concept Embedding Models for Text Analysiscited by 3
- 2023Let AI Entertain You: Increasing User Engagement with Generative AI and Rejection Samplingcited by 2
- 2023Aligner: One Global Token is Worth Millions of Parameters When Aligning Large Language Modelscited by 1
- 2025Enhancing Clinical Note Generation with ICD-10, Clinical Ontology Knowledge Graphs, and Chain-of-Thought Prompting Using GPT-4cited by 1
- 2024textitGeoHard: Towards Measuring Class-wise Hardness through Modelling Class Semanticscited by 0
- 2025The Impact of Role Design in In-Context Learning for Large Language Modelscited by 0
- 2026Demonstrations, CoT, and Prompting: A Theoretical Analysis of ICLcited by 0
- 2026Demonstrations, CoT, and Prompting: A Theoretical Analysis of ICL20 Mar 2026
- 2025Enhancing Clinical Note Generation with ICD-10, Clinical Ontology Knowledge Graphs, and Chain-of-Thought Prompting Using GPT-44 Dec 2025
- 2025The Impact of Role Design in In-Context Learning for Large Language Models27 Sep 2025
- 2025The Few-shot Dilemma: Over-prompting Large Language Models16 Sep 2025
- 2025The Scales of Justitia: A Comprehensive Survey on Safety Evaluation of LLMs6 Jun 2025
- 2025Causally Reliable Concept Bottleneck Models6 Mar 2025
- 2024Nudging: Inference-time Alignment of LLMs via Guided Decoding11 Oct 2024
- 2024Honesty to Subterfuge: In-Context Reinforcement Learning Can Make Honest Models Reward Hack9 Oct 2024
- 2024Stress-Testing Long-Context Language Models with Lifelong ICL and Task Haystack23 Jul 2024
- 2024textitGeoHard: Towards Measuring Class-wise Hardness through Modelling Class Semantics17 Jul 2024
- 2024FsPONER: Few-shot Prompt Optimization for Named Entity Recognition in Domain-specific Scenarios10 Jul 2024
- 2024Linearly-Interpretable Concept Embedding Models for Text Analysis20 Jun 2024
21 more
- 2024MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Prediction18 Jun 2024
- 2024How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment17 Jun 2024
- 2024CrisisSense-LLM: Instruction Fine-Tuned Large Language Model for Multi-label Social Media Text Classification in Disaster Informatics16 Jun 2024
- 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Era17 Apr 2024
- 2024Improving Language Model Reasoning with Self-motivated Learning10 Apr 2024
- 2024Challenges Faced by Large Language Models in Solving Multi-Agent Flocking6 Apr 2024
- 2024Say More with Less: Understanding Prompt Learning Behaviors through Gist Compression25 Feb 2024
- 2023Let AI Entertain You: Increasing User Engagement with Generative AI and Rejection Sampling16 Dec 2023
- 2023Aligner: One Global Token is Worth Millions of Parameters When Aligning Large Language Models9 Dec 2023
- 2023Generative Calibration for In-context Learning16 Oct 2023
- 2023Fine-tune Language Models to Approximate Unbiased In-context Learning5 Oct 2023
- 2023Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoning5 Oct 2023
- 2023JsonTuning: Towards Generalizable, Robust, and Controllable Instruction Tuning4 Oct 2023
- 2023Multi-party Goal Tracking with LLMs: Comparing Pre-training, Fine-tuning, and Prompt Engineering29 Aug 2023
- 2023FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Sets20 Jul 2023
- 2023PolyLM: An Open Source Polyglot Large Language Model12 Jul 2023
- 2023Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answering1 Jun 2023
- 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuning23 May 2023
- 2023Interactive Natural Language Processing22 May 2023
- 2023Not All Languages Are Created Equal in LLMs: Improving Multilingual Capability by Cross-Lingual-Thought Prompting11 May 2023
- 2023From Zero to Hero: Examining the Power of Symbolic Tasks in Instruction Tuning17 Apr 2023
- 2023FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Setscited by 198
- 2024Honesty to Subterfuge: In-Context Reinforcement Learning Can Make Honest Models Reward Hackcited by 8
- 2024How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignmentcited by 6
- 2023Aligner: One Global Token is Worth Millions of Parameters When Aligning Large Language Modelscited by 1
- 2024Honesty to Subterfuge: In-Context Reinforcement Learning Can Make Honest Models Reward Hack9 Oct 2024
- 2024How Far Can In-Context Alignment Go? Exploring the State of In-Context Alignment17 Jun 2024
- 2023Aligner: One Global Token is Worth Millions of Parameters When Aligning Large Language Models9 Dec 2023
- 2023FLASK: Fine-grained Language Model Evaluation based on Alignment Skill Sets20 Jul 2023
- 2023Not All Languages Are Created Equal in LLMs: Improving Multilingual Capability by Cross-Lingual-Thought Promptingcited by 163
- 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuningcited by 106
- 2023Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoningcited by 49
- 2024Improving Language Model Reasoning with Self-motivated Learningcited by 4
- 2024Improving Language Model Reasoning with Self-motivated Learning10 Apr 2024
- 2023Can Large Language Models be Good Path Planners? A Benchmark and Investigation on Spatial-temporal Reasoning5 Oct 2023
- 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuning23 May 2023
- 2023Not All Languages Are Created Equal in LLMs: Improving Multilingual Capability by Cross-Lingual-Thought Prompting11 May 2023
- 2024Bias and Unfairness in Information Retrieval Systems: New Challenges in the LLM Eracited by 97
- 2023PolyLM: An Open Source Polyglot Large Language Modelcited by 64
- 2023Interactive Natural Language Processingcited by 31
- 2024CrisisSense-LLM: Instruction Fine-Tuned Large Language Model for Multi-label Social Media Text Classification in Disaster Informaticscited by 25
- 2023Layout and Task Aware Instruction Prompt for Zero-shot Document Image Question Answeringcited by 24
- 2024MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Predictioncited by 24
- 2025The Scales of Justitia: A Comprehensive Survey on Safety Evaluation of LLMscited by 24
- 2024Nudging: Inference-time Alignment of LLMs via Guided Decodingcited by 22
- 2023Generative Calibration for In-context Learningcited by 20
- 2024Stress-Testing Long-Context Language Models with Lifelong ICL and Task Haystackcited by 19
- 2025Causally Reliable Concept Bottleneck Modelscited by 17
- 2023From Zero to Hero: Examining the Power of Symbolic Tasks in Instruction Tuningcited by 14
12 most cited of 24 All 24 (JSON)
- 2026Demonstrations, CoT, and Prompting: A Theoretical Analysis of ICL20 Mar 2026
- 2025Enhancing Clinical Note Generation with ICD-10, Clinical Ontology Knowledge Graphs, and Chain-of-Thought Prompting Using GPT-44 Dec 2025
- 2025The Impact of Role Design in In-Context Learning for Large Language Models27 Sep 2025
- 2025The Few-shot Dilemma: Over-prompting Large Language Models16 Sep 2025
- 2025The Scales of Justitia: A Comprehensive Survey on Safety Evaluation of LLMs6 Jun 2025
- 2025Causally Reliable Concept Bottleneck Models6 Mar 2025
- 2024Nudging: Inference-time Alignment of LLMs via Guided Decoding11 Oct 2024
- 2024Stress-Testing Long-Context Language Models with Lifelong ICL and Task Haystack23 Jul 2024
- 2024textitGeoHard: Towards Measuring Class-wise Hardness through Modelling Class Semantics17 Jul 2024
- 2024FsPONER: Few-shot Prompt Optimization for Named Entity Recognition in Domain-specific Scenarios10 Jul 2024
- 2024Linearly-Interpretable Concept Embedding Models for Text Analysis20 Jun 2024
- 2024MolecularGPT: Open Large Language Model (LLM) for Few-Shot Molecular Property Prediction18 Jun 2024
12 newest of 24 All 24 (JSON)