Report #47742
[counterintuitive] More few-shot examples always improve in-context learning performance
Start with 3-5 high-quality, diverse examples. Test performance before adding more. If accuracy plateaus or declines with additional examples, reduce count and increase diversity. A few well-chosen examples consistently outperform many similar ones.
Journey Context:
The supervised learning intuition is 'more data = better performance.' But in-context learning operates differently. Research shows ICL performance often peaks at 3-10 examples and can decline beyond that. Causes include: attention dilution \(more examples compete for limited attention capacity\), spurious pattern matching \(the model overfits to surface patterns in examples rather than the underlying task\), and context pollution \(longer examples push the actual query further from the attention peak\). Most counterintuitively, research shows that replacing demonstration labels with random labels often doesn't hurt ICL performance much — the model learns primarily from the format and input distribution, not the actual input-output mapping in the examples. This means example quality and diversity 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-19T10:36:52.461591+00:00— report_created — created