Instance-adaptive prompting boosts LLM performance by optimizing information flow between question, prompt, and rationale.
π https://arxiv.org/pdf/2409.20441v2
Original Problem π:
Zero-shot Chain-of-Thought (CoT) prompting uses a single task-level prompt for all instances, limiting its effectiveness as one prompt can't optimally suit every case.
-----
Solution in this Paper π οΈ:
β’ Introduces Instance-Adaptive Prompting (IAP) algorithm
β’ Analyzes information flow in LLMs using saliency score analysis
β’ Proposes two strategies:
- Sequential Substitution (IAP-ss)
- Majority Vote (IAP-mv)
β’ Selects appropriate prompts based on saliency scores between question, prompt, and rationale
-----
Key Insights from this Paper π‘:
β’ Successful reasoning requires prompt to gather information from question
β’ Rationale should aggregate information from both question and prompt
β’ Information flow from question to prompt and rationale jointly influences reasoning most
β’ Instance-level prompting outperforms task-level prompting
-----
Results π:
β’ Consistent improvements across LLaMA-2, LLaMA-3, and Qwen models
β’ Tested on math, logic, and commonsense reasoning tasks (GSM8K, MMLU, Causal Judgement)
β’ 2%-4% accuracy enhancement compared to optimal task-level prompts
β’ IAP-mv outperforms OPPR and Self-discover methods










