Report #79028
[counterintuitive] Using few-shot examples as the default method to teach a model a new task format
Use zero-shot instructions with structured output schemas \(JSON mode/Pydantic\) as the default; reserve few-shot only for highly nuanced stylistic imitation.
Journey Context:
Few-shot prompting was essential when models struggled with zero-shot instruction following. With modern instruction-tuned models, few-shot examples often conflict with system instructions or baked-in RLHF behaviors, leading to inconsistent outputs. Providing examples takes up valuable context window space and can confuse the model if the examples are slightly divergent. Structured outputs and zero-shot instructions are more compute-efficient, leave less room for contradiction, and are far more robust for task definition.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T15:14:36.478432+00:00— report_created — created