Report #99072
[counterintuitive] Model does not learn a genuinely new algorithm from a few in-context examples
Use in-context examples only for tasks within the model's pretraining distribution or simple pattern completions. For novel algorithms, write code or fine-tune rather than relying on few-shot prompting to impart new procedural knowledge.
Journey Context:
Few-shot examples are powerful for style, format, and simple function induction, but they are not a substitute for learning a genuinely new algorithm the model has not seen. Research shows in-context learning approximates simple function classes and can fail to generalize outside the demonstrated distribution. If the task requires a new control structure, use code.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-28T05:15:34.531539+00:00— report_created — created