研究揭示Transformer上下文学习的神经环路机制
Start here
2026年11月4日,arXiv发布的研究解析了Transformer上下文学习(ICL)的底层回路机制。研究证实,模型在单次前向传播中通过门控关联查找与键值内存完成小样本分类。具体而言,在3-4B参数模型中,中间层注意力头负责将演示类别写入标签位置作为键,上层注意力头则匹配查询并读取标签,该链路已通过激活修补等方法获得因果证实。此外,该机制在0.6B至8B参数的模型中普遍存在,且经历指令微调后依然得以保留。
AI-generated from reports · Updated 22 hours ago
Report timeline
Follow the reports to see different sides of the story.
- arXiv 自然语言处理上下文学习的回路机制解析
研究人员解析了 Transformer 上下文学习(ICL)的底层回路机制,证实模型在单次前向传播中通过门控关联查找与键值内存完成小样本分类。在 3-4B 参数模型中,中间层注意力头将演示类别写入标签位置作为键,上层头匹配查询并读取标签,该链路经激活修补等方法因果证实。该机制在 0.6B 至 8B 参数模型中普遍存在,且经历指令微调后依然保留。
Story heat trend
Current heat 5·Comparable peak 10(Nov 4 14:00)·Comparable change, last 24 hours–
Trends compare only the same parties observed continuously, so the scope can be narrower than current heat counts. Move the pointer or tap the chart to see hourly heat; use the left and right arrow keys on a keyboard.