Report #63075
[counterintuitive] more few-shot examples better
Limit few-shot examples to 3-5 highly diverse, high-quality instances. If the task is complex, switch to fine-tuning rather than adding more examples to the prompt.
Journey Context:
Developers add 10, 20, or 50 few-shot examples thinking the model will generalize better across the distribution. LLMs suffer from recency bias and attention dilution. Too many examples cause the model to overfit to the last few examples or get confused by minor variations in the examples, degrading performance on the actual query. Research shows the ground truth labels in few-shot examples barely matter compared to the format and diversity of the examples.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T12:21:14.749635+00:00— report_created — created