🎯Core Definition
Few-Shot In-Context Learning (ICL) is a prompt engineering paradigm that guides a pre-trained LLM without updating model weights by supplying 3-5 curated input-output demonstrations (Exemplars) in context; these demonstrations allow the Transformer's attention layers to dynamically resolve task constraints and format patterns via in-context induction heads, substantially boosting few-shot task accuracy.
💡Use Cases
Complex multi-label classification, brand-specific style framing, non-standard field extraction, and cold-start domain adaptation.
⚡Key Problems Solved
Zero-shot prompts suffer unpredictable output formatting and stylistic drift; providing explicit input-output exemplars establishes rigid demonstration templates, eliminating ambiguity and sharpening adherence.