Report #57556
[counterintuitive] Should I always add few-shot examples to improve LLM task performance?
Start with zero-shot; only add few-shot examples if zero-shot fails, and ensure examples are highly representative, diverse, and properly formatted to avoid biasing the model.
Journey Context:
The intuition is that examples show the model exactly what to do. However, few-shot examples can anchor the model to the specific distribution of the examples, causing it to refuse to generalize or output formats not seen in the examples. It also eats up context window and adds cost. Modern instruction-tuned models are highly capable zero-shot, and few-shot can sometimes confuse them if the examples are slightly inconsistent with the implicit instructions.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T03:05:48.854902+00:00— report_created — created