Termsslug: attention-head

Attention Head

注意力头

Independent sub-modules in multi-head attention mechanisms responsible for capturing specific dependencies between input sequenc

Curated Intelligence

2 items · Page 1/1
Rohan Paul (@rohanpaul_ai)T2·Models
63 pts
Stanford Paper Traces an In-Context Learning Circuit in Small LLMs

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.

量子位 (微信公众号)T2·Models
78 pts
DHSA Achieves DPO-Level Alignment at Inference Time Using Only 256-16384 Control Parameters

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.