In-Context Learning: Prompt-Induced Bias Amplification
Even with a less biased base model, in-context learning can amplify biases when prompts contain biased examples or instructions, subtly steering the LLM to reinforce or generate new biases in its immediate output based on the provided context.
The top 3
- Top Factor in Prompt Bias: Example Order Sensitivity: The sequence of in-context examples can drastically alter LLM outputs; studies show optimal ordering can improve accuracy by 5.5-10.5 percentage points, while suboptimal orders can flip over 30% of predictions.
- Leading Bias Amplifier: Skewed In-Context Label Distribution: When in-context examples are disproportionately skewed towards one class (e.g., more positive sentiment examples), LLMs become significantly more prone to predicting that majority label, amplifying inherent class biases.
- Critical Finding: High Accuracy Doesn't Mean Low Bias in Example Selection: Research indicates that selecting in-context examples primarily for high performance accuracy does not guarantee low bias; instead, such selection can inadvertently amplify existing LLM biases and contribute to spurious correlations.
Sources
Open the full topic