Report #94199
[counterintuitive] Providing complex few-shot examples to teach the model a new algorithmic logic or reasoning process
Write explicit algorithmic rules or pseudocode instead of relying on the model to infer logic from examples.
Journey Context:
In-context learning from examples works well for style and format, but fails for complex algorithmic logic. Models suffer from 'majority bias' and will often abandon the logic of your examples if a simpler, more common pattern exists in their training data. If you need specific logic, state the rules explicitly. Examples should only supplement rules, not replace them.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:41:57.300478+00:00— report_created — created