paper-with-me

홈 › Papers

One Model, Two Roles: Emergent Specialization in a Shared Recurrent Transformer

2026-05-18 · Jucheng Shen, Barbara Su, Anastasios Kyrillidis arxiv

Can a shared-weight recurrent Transformer develop distinct internal roles without being partitioned into separate modules? We study this in Asymmetric Input Recurrence (AIR), a minimal two-state reasoning architecture in which the same Transformer model is reused for both updates (per literature, L and H) and the only built-in difference in the update rule is that the encoded input is injected during L-updates but not H-updates. Across Sudoku-Extreme and Maze, decoded rollouts reveal a consistent split: $\zH$ behaves like a fully committed proposal state, whereas $\zL$ retains local uncertainty and shifting intermediate structure. Freeze experiments show that this split is, in practice, related to the model's state dynamics: in Sudoku, freezing $\zH$ reduces $\zL$'s content changes whereas freezing $\zL$ increases $\zH$'s, while in Maze, freezing either state increases content changes in the other state. Ablations show that to induce specialization, the shared model needs to be able to tell the two update types apart, either from input injection asymmetry or from a separate level token. Mechanistically, attention analysis shows that L-updates are consistently more local than H-updates in both Sudoku and Maze. Together, these results show that, in a two-state recurrent setting, a clear state-identity signal can induce stable, related functional roles inside a shared-parameter recurrent Transformer. Code is available at \href{https://github.com/juchengshen/air}{\textcolor{blue}{https://github.com/juchengshen/air}}.

📄 PDF Abstract BibTeX arXiv:2605.17811

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Differentiation and Specialization of Attention Heads via the Refined Local Learning Coefficient

2024-10-03 · George Wang, Jesse Hoogland, Stan van Wingerden, Zach Furman 외

We introduce refined variants of the Local Learning Coefficient (LLC), a measure of model complexity grounded in singular learning theory, to study the development of internal structure in transformer language models dur…

Learning Theory

The emergence of division of labor through decentralized social sanctioning

2022-08-10 · Anil Yaman, Joel Z. Leibo, Giovanni Iacca, Sang Wan Lee

Human ecological success relies on our characteristic ability to flexibly self-organize into cooperative social groups, the most successful of which employ substantial specialization and division of labor. Unlike most ot…

Gated Recurrent Transformers: Expressive Depth through Recurrent Modulation

2026-08-15 · Amr Hegazy, Amr Alanwar, Mostafa Elhoushi arxiv

Scaling transformer language models creates an inherent tension between expressivity and memory efficiency. While unique weights across layers preserve functional specialization---from input-grounding to abstract refinem…

Distributed Specialization: Rare-Token Neurons in Large Language Models

2025-09-25 · Jing Liu, Haozheng Wang, Yueheng Li arxiv

Large language models (LLMs) struggle with representing and generating rare tokens despite their importance in specialized domains. We investigate whether LLMs develop internal specialization mechanisms through discrete …

Computational Efficiency

The Myth of Expert Specialization in MoEs: Why Routing Reflects Geometry, Not Necessarily Domain Expertise

2026-04-10 · Xi Wang, Soufiane Hayou, Eric Nalisnick arxiv

Mixture of Experts (MoEs) are now ubiquitous in large language models, yet the mechanisms behind their "expert specialization" remain poorly understood. We show that, since MoE routers are linear maps, hidden state simil…