Understanding In-Context Learning Beyond Transformers: An Investigation of State Space and Hybrid Architectures
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). First posted on arXiv 27 Oct 2025.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026The Key Handoff: Retrieval in Hybrid Language Modelscited by 0
- 2026The Key Handoff: Retrieval in Hybrid Language Models26 Sep 2026
Similar, not cited
Close in wording, no citation either way
- 2024Can Custom Models Learn In-Context? An Exploration of Hybrid Architecture Performance on In-Context Learning Tasks
- 2025Probing In-Context Learning: Impact of Task Complexity and Model Architecture on Generalization and Efficiency
- 2023Is attention required for ICL? Exploring the Relationship Between Model Architecture and In-Context Learning Ability
- 2024Does In-Context Learning Really Learn? Rethinking How Large Language Models Respond and Solve Tasks via In-Context Learning
- 2025From Compression to Expression: A Layerwise Analysis of In-Context Learning
- 2024Can Mamba Learn How to Learn? A Comparative Study on In-Context Learning Tasks
- 2026Why Multimodal In-Context Learning Lags Behind? Unveiling the Inner Mechanisms and Bottlenecks
- 2023Concept-aware Training Improves In-context Learning Ability of Language Models