NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Jucheng Shen, Barbara Su, Anastasios Kyrillidis

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Interpretability & Model Adaptation › Transformer Models · Type: new method · Keywords: emergent specialization, shared-weight recurrent transformer, two-state reasoning, asymmetric input recurrence, state dynamics

Areas: LLM Reasoning › Reasoning Mechanisms › Looped Reasoning; Model Architectures & Sequence Modeling › Language Model Architectures › Attention Geometry

Summary

The paper shows that a shared-weight recurrent Transformer can develop distinct internal roles in the Asymmetric Input Recurrence (AIR) architecture, leading to emergent specialization between two states.

Explained to a 5-year-old

Imagine a little robot brain that is used for two different tasks, like solving puzzles and moving through a maze. Even though it uses the same brain for both tasks, it can learn to separate the thinking into two parts: one part makes firm decisions, and the other keeps exploring options. By giving it a tiny hint that tells it which task it is doing, the brain learns to act differently for each task. When we stop one part from changing, the other part starts to change more, showing they help each other. This shows that a simple brain can split its work into special roles without being built with separate pieces.

Explained to a 5-year-old, longer

A computer program can be like a brain that does many things. In this study, the researchers gave the brain two jobs: solving puzzles and navigating a maze. They used the same set of rules for both jobs, but they told the brain to pay attention to the puzzle only sometimes. After learning, the brain started to act differently for each job. One part of the brain became good at making firm choices, while the other part stayed curious and kept trying different ideas. When the researchers stopped the first part from changing, the second part began to change more. When they stopped the second part, the first part changed more. This shows that the two parts help each other learn. The researchers also looked at how the brain pays attention and found that it focuses on nearby pieces for one job and on bigger pictures for the other. They tried different ways to tell the brain apart, like adding a small signal, and saw that this helped the specialization. The findings suggest that even a simple brain can split its work into special roles without being built with separate modules. This could help future AI designs become more efficient by using shared parts that learn different functions.

For a technical reader

The authors investigate whether a single recurrent Transformer with shared weights can develop distinct internal representations for two different update types. They use a minimal two-state architecture where input is injected only during one type of update, creating a simple asymmetry that serves as a state-identity signal. Through experiments on Sudoku and Maze tasks, they observe that one state behaves like a committed proposal while the other retains uncertainty, and freezing one state influences the dynamics of the other. Ablation studies confirm that the model needs a way to differentiate the two update types-either via input asymmetry or an explicit level token-to achieve this specialization. Attention analysis reveals that the two states exhibit different locality patterns, providing mechanistic insight into how the shared model partitions its functionality.

Problem

It is unclear whether a single recurrent Transformer with shared parameters can develop specialized internal representations without being partitioned into separate modules. The study investigates if a simple asymmetry in input injection can induce such functional specialization.

Method

The authors use a two-state recurrent Transformer where the same weights are reused for two types of updates, with input injected only during one type. By varying the asymmetry (input injection or a level token) they observe whether the model develops distinct functional roles for each state.

Results

The approach demonstrates that a simple asymmetry can cause the two internal states to specialize, with each state influencing the other's dynamics when frozen, and attention patterns showing distinct locality.

Contributions

The work shows that a shared-parameter recurrent Transformer can develop stable, related functional roles through a minimal asymmetry, providing evidence for emergent specialization in two-state reasoning. It also reveals mechanistic insights into how state-identity signals guide attention and dynamics.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction