A new Stanford paper, "A Circuit for In-Context Learning," argues that few-shot ability in small models is not genuine pattern learning but label lookup, switched on only when labels repeat within the prompt. The authors traced the full pathway in Qwen3-4B, SmolLM3-3B and Llama-3.2-3B: each label token stores its sentence's class, and roughly 90 later attention heads match the incoming sentence against those stored classes. The practical takeaway is to repeat every label several times and only use classes the model can already separate, since examples cannot teach a feature the model lacks.
Termsslug: attention-head
Attention Head
注意力头
Independent sub-modules in multi-head attention mechanisms responsible for capturing specific dependencies between input sequenc
Curated Intelligence
Rohan Paul (@rohanpaul_ai)T2·Models
63 pts
量子位 (微信公众号)T2·Models
78 pts
Researchers propose Direct Hidden State Alignment (DHSA), which uses Residual Competition Maps (RCM) to quantify internal computational forces supporting or opposing preferences, enabling inference-time intervention without modifying base weights. With only 256-16384 control parameters, DHSA achieves alignment performance comparable to DPO while preserving base model diversity, highlighting the distinction between aligned outputs and consistent internal mechanisms.