Report #80463
[counterintuitive] adding more few-shot examples always improves performance
Optimize for example diversity and order rather than sheer quantity; 3-5 highly diverse examples often outperform 20 similar ones, and later examples disproportionately influence the output.
Journey Context:
Developers stuff prompts with as many examples as fit in the context. Models suffer from recency bias \(paying more attention to the last examples\) and redundancy. More examples increase context length, increasing cost and latency, while often hitting diminishing returns or even degrading performance due to conflicting signals. Quality and ordering of examples matter more than quantity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:39:50.182678+00:00— report_created — created