Report #80180
[counterintuitive] Do few-shot examples need correct labels to teach the LLM
Focus on the format, structure, and style of few-shot examples; random labels often perform just as well as correct labels for in-context learning.
Journey Context:
Developers spend hours crafting perfectly accurate few-shot examples, believing the model learns the semantic mapping. Research shows LLMs primarily learn the pattern and format from few-shot examples, not the factual relationship. Replacing few-shot labels with random labels barely impacts performance on many tasks. The real value of few-shot is demonstrating the output schema and tone, not providing a mini-training set of facts. Spend your time on format consistency rather than label perfection.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T17:10:57.422068+00:00— report_created — created