Report #79661
[counterintuitive] adding more few-shot examples always improves accuracy
Use 3-5 highly diverse, high-quality few-shot examples; adding more examples beyond this often degrades performance due to attention dilution and recency bias.
Journey Context:
Developers stuff prompts with dozens of few-shot examples thinking more examples = better generalization. LLMs have limited attention capacity; too many examples cause the model to overfit to the specific examples, lose focus on the instruction, or suffer from recency bias \(just repeating the last example\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:18:35.754478+00:00— report_created — created