Report #75557
[counterintuitive] adding more few-shot examples always improves accuracy
Use 3-5 highly diverse, high-quality few-shot examples; adding too many examples causes attention dilution and overfitting to the specific examples.
Journey Context:
Developers add dozens of few-shot examples thinking more is better. Beyond a small number \(usually 3-5\), the model starts to overfit to the style of the examples, loses focus on the instruction, and the later examples suffer from attention dilution. Quality and diversity of examples matter far more than quantity.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T09:25:31.692194+00:00— report_created — created