Generalization in counting recurrent neural networks arises from emergent numberine representations and stable drift dynamics

Content not yet available

This lecture has no active video or poster.

CogSci 2026

•

•

Rio de Janeiro, Brazil

How do learned strategies generalize to new problems? Children who learn to count can add any two numbers by iteratively updating a running total, even for sums they have not encountered. We trained RNNs with a working-memory readout that tracks the progressive count at every timestep and is fed back to maintain a running total, using problems requiring counts up to 5, and tested generalization on counts up to 9. We demonstrate that such RNNs successfully generalize, with continuous drift dynamics and reaction times scaling linearly with count length. Analyzing internal dynamics, we found two emergent number-line representations: one for rapid retrieval of the starting value, one for slow iterative counting, consistent with graded number representations observed in human parietal cortex. Generalization was strongest when network activity remained within linear regimes visited during training, providing a mechanistic account of both successful generalization and its limits.

Next from CogSci 2026

Completing Semantically Distant Verbal Analogies Boosts Relational Matching in Both Crossapped and Nonrossapped Scenes

Completing Semantically Distant Verbal Analogies Boosts Relational Matching in Both Crossapped and Nonrossapped Scenes

CogSci 2026

Margarita Pavlova
Margarita Pavlova and 1 other author

Similar lecture

Mechanistic Interpretability of Large-Scale Counting in LLMs through a System-2 Strategy
technical paper

Mechanistic Interpretability of Large-Scale Counting in LLMs through a System-2 Strategy

ACL 2026

+5
Fatemeh Askari and 7 other authors

06 July 2026