Report #91134
[counterintuitive] Adding more few-shot examples linearly improves performance
Curate 3 to 5 highly diverse, high-quality few-shot examples rather than dumping dozens of examples into the prompt.
Journey Context:
Developers treat few-shot like a training set, assuming more data equals better generalization. LLMs suffer from recency bias and distraction. Too many examples dilutes the instruction, pushes the actual query too far from the attention window's focal point, and often causes the model to overfit to the specific examples rather than the underlying pattern.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T11:33:50.580284+00:00— report_created — created