[Paper Review] On the Relation between Sensitivity and Accuracy in In-context Learning
This paper identifies that in-context learning (ICL) models are significantly more sensitive to prompt perturbations than previously recognized due to label bias, and finds a strong negative correlation between sensitivity and accuracy. To improve reliability, the authors propose SenSel, a selective prediction method that abstains from high-sensitivity predictions, outperforming confidence- and entropy-based baselines by up to +4.1 AUC points across ten datasets.
In-context learning (ICL) suffers from oversensitivity to the prompt, making it unreliable in real-world scenarios. We study the sensitivity of ICL with respect to multiple perturbation types. First, we find that label bias obscures the true sensitivity, and therefore prior work may have significantly underestimated ICL sensitivity. Second, we observe a strong negative correlation between ICL sensitivity and accuracy: predictions sensitive to perturbations are less likely to be correct. Motivated by these findings, we propose extsc{SenSel}, a few-shot selective prediction method that abstains from sensitive predictions. Experiments on ten classification datasets show that extsc{SenSel} consistently outperforms two commonly used confidence-based and entropy-based baselines on abstention decisions.
Motivation & Objective
- To investigate the true sensitivity of in-context learning (ICL) models to prompt perturbations, which prior work may have underestimated due to label bias.
- To examine the relationship between ICL prediction sensitivity and accuracy, particularly whether sensitive predictions are more likely to be incorrect.
- To develop a selective prediction method that leverages sensitivity as a signal to abstain from unreliable predictions, improving trust in high-stakes applications.
- To evaluate SenSel against existing confidence-based and entropy-based abstention methods in few-shot settings without requiring additional labeled data.
Proposed method
- The authors measure ICL sensitivity by perturbing prompts through instruction paraphrasing, noise injection, and in-context example reordering, then computing output changes.
- They correct for label bias using a prompt calibration (PC) method that adjusts model probabilities to remove the tendency to favor specific labels regardless of prompt.
- SenSel selects examples for abstention based on high sensitivity to prompt perturbations, avoiding predictions when the model output changes significantly under small prompt variations.
- The method uses a threshold on sensitivity scores to determine when to abstain, with no need for fine-tuning or additional models.
- The approach is evaluated across ten classification datasets using GPT-J-6B and GPT-Neo-2.7B, comparing performance against MaxProb and Entropy baselines.
- Coverage-F1 curves and AUC scores are used to evaluate abstention performance, with results reported across multiple few-shot shot settings and perturbation types.
Experimental results
Research questions
- RQ1How does label bias obscure the true sensitivity of in-context learning models, and to what extent is prior sensitivity estimation underestimated?
- RQ2Is there a measurable correlation between ICL prediction sensitivity and prediction accuracy, and if so, what is its strength and direction?
- RQ3Can sensitivity to prompt perturbations serve as a reliable signal for selective prediction in few-shot learning?
- RQ4How does SenSel compare to confidence-based (MaxProb) and entropy-based abstention methods in terms of AUC and coverage-F1 performance?
- RQ5Are sensitivity-based abstention and probability-based abstention complementary, especially in high-sensitivity tasks?
Key findings
- Label bias significantly underestimates ICL sensitivity; after mitigation, adjusted sensitivity is up to 2.8x higher than raw sensitivity.
- A strong negative correlation exists between ICL sensitivity and accuracy, with a Pearson correlation coefficient as low as -0.40 across datasets.
- SenSel consistently outperforms MaxProb and Entropy baselines by up to +4.1 AUC points in selective prediction performance.
- SenSel is particularly effective on high-sensitivity tasks where MaxProb fails due to reliance on oversensitive model probabilities.
- SenSel and MaxProb are complementary: SenSel excels on high-sensitivity tasks, while MaxProb performs better on low-sensitivity ones.
- The method achieves higher coverage rates at all F1 thresholds in Coverage-F1 curves, demonstrating robust performance across different abstention trade-offs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.