arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.23006cs.CLcs.AI
收藏

超越Transformer的理解:对状态空间和混合架构的调查

Understanding In-Context Learning Beyond Transformers: An Investigation of State Space and Hybrid Architectures

The University of British Columbia(不列颠哥伦比亚大学)

Shenran Wang, Timothy Tin-Long Tse, Jian Zhu

AI总结:

本文通过行为探测和干预方法,探讨了不同架构在ICL任务中的表现差异,发现FVs主要位于自注意力和Mamba层,并揭示了Mamba2的ICL机制与FVs的不同。

摘要:

我们对最先进的Transformer、状态空间和混合大型语言模型在基于知识的ICL任务上的深入评估。通过结合行为探测和干预方法,我们发现尽管不同架构的LLM在任务表现上可能相似,但其内部结构可能仍然不同。我们发现负责ICL的功能向量(FVs)主要位于自注意力和Mamba层中,并推测Mamba2使用不同于FVs的机制进行ICL。FVs对涉及参数化知识检索的ICL更为重要,但不用于上下文知识理解。我们的工作为不同架构和任务类型提供了更细致的理解。方法上,我们的方法也强调了结合行为和机制分析来研究LLM能力的重要性。

英文摘要:

We perform in-depth evaluations of in-context learning (ICL) on state-of-the-art transformer, state-space, and hybrid large language models over two categories of knowledge-based ICL tasks. Using a combination of behavioral probing and intervention-based methods, we have discovered that, while LLMs of different architectures can behave similarly in task performance, their internals could remain different. We discover that function vectors (FVs) responsible for ICL are primarily located in the self-attention and Mamba layers, and speculate that Mamba2 uses a different mechanism from FVs to perform ICL. FVs are more important for ICL involving parametric knowledge retrieval, but not for contextual knowledge understanding. Our work contributes to a more nuanced understanding across architectures and task types. Methodologically, our approach also highlights the importance of combining both behavioural and mechanistic analyses to investigate LLM capabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑