acceptodds
Published as a conference paper at NeurIPS 2026

From sequences to schemas: low-rank recurrent dynamics underlie abstract relational representations

Vezha Boboeva, Alberto Pezzotta, George Dimitriadis, Athena Akrami

Abstract

A hallmark of intelligent behavior is the ability to extract abstract relational structure from temporal sequences – recognizing, for instance, that aab, ccd, and eef all follow the same underlying pattern, regardless of the specific elements involved. This capacity, observed across species and sensory modalities, is thought to underlie the formation of cognitive schemas: compressed internal models that support rapid generalization to novel experiences. Yet the neural circuit mechanisms by which such abstract, identity-independent representations emerge from sequential experience remain largely unknown. Here, we investigate this question using Recurrent Neural Networks (RNNs) as mechanistic models of neural circuits, trained to classify sequences based on their latent algebraic patterns (e.g., aab, aad AAB; aba, aca ABA) without supervision on intermediate transitions. We demonstrate that RNNs learn low-dimensional representations that mirror the hierarchical generative structure of the sequences, and that this abstraction is mechanistically supported by the emergence of low-rank recurrent connectivity. The leading singular component of the recurrent weights integrates relational transition information – whether consecutive tokens are the same or different – across time, driving the formation of a structured, tree-like geometry in the population state space. Through singular vector ablation, we establish a causal role for this component: removing it selectively erases memory for earlier transitions while leaving local, single-step sensitivity intact. Finally, while RNNs trained on next-token prediction do not acquire these abstract representations, transferring the low-rank scaffold learned from classification significantly accelerates learning and improves generalization – an effect specific to the abstract structure of the scaffold rather than generic statistical pretraining. These findings offer a computational account of how task demands shape recurrent connectivity to support temporal abstraction, with implications for schema formation in biological brains.

Keywords:
Paris

Reviews

Among:
Shape:
123456this paper, Bottom 49%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.33 over 3 reviews, above 49% of the others.
Reviewer_tbH5OpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
2
Read review
Summary

In this paper, the authors analyze RNNs trained to classify sequences generated with hierarchical structure. They show that trained networks exhibit hidden state representations that mirror the tree-like geometry of the input statistics, and moreover that they acquire an approximate low rank structure in their recurrent weights. They conduct causal ablation analyses demonstrating the necessity of this learned structure for solving the task, and also compare classification-trained networks to networks trained on next token prediction, and argue that the compressed representation arises due to the task objective, rather than just the input statistics.

Strengths and weaknesses

Strengths:

The authors present an analysis of RNNs trained on hierarchically structured data that convincingly demonstrates the emergence of task-relevant low dimensional structure that causally influences performance. The analysis of the geometry of hidden state representations as well as the various ablation of recurrent weight structure seem fairly comprehensive. Overall, the paper is well written and easy to follow.

Weaknesses:

  • While the setting of hierarchically-structured data is interesting, the broader observation that RNNs trained on simple cognitive tasks acquire a low rank structure in their weights is not particularly novel/surprising. Perhaps the most interesting findings relate to the comparison between classification and prediction-trained networks, and possible transfer effects between them, but I have a few concerns about that analysis (see below and Questions).
  • I am not completely convinced that the transfer learning experiments actually demonstrate that the specific structure learned by networks trained on classification is a useful scaffold for the prediction task. Presumably, the networks trained on next token prediction (with no specialized init) were initialized in the lazy regime, as there is no corresponding rich regime supplemental figure for that task? I wonder then to what extent the improvement in test accuracy with the classification-trained init can simply be explained by the fact that low-rank initialization drives richer learning (i.e. see Liu et al. 2024, How connectivity structure shapes rich and lazy learning in neural circuits). A more convincing test would be to show that a random initialization with matched low-rankness (i.e. singular value spectrum) fails to yield any comparable improvement.
  • Connections to neurobiology seem rather speculative and tenuous, so I did not put too much stock into that in my evaluation.
Questions
  • I am still unclear on how exactly classification-trained networks are compared to prediction-trained networks. As far as I can tell, there are no plots/analysis showing a direct comparison between the prediction and classification networks trained on the unambiguous tree data, other than specifically the effect of initialization transfer from the classification-trained init to the prediction task on dimensionality, performance, etc.
  • Related to above: it also isn't clear if the classification networks still behave similarly to what is shown in previous figures once trained on data drawn from this unambiguous tree.
Limitations

yes

Paper formatting concerns

n/a

Final justification

The authors provided experiments that directly addressed my most major concern regarding the lack of a control experiment to disambiguate useful task-agnostic initialization structure from the claimed task-specific initialization structure. I have thus raised my score accordingly.

Reviewer_TdjqOpenReview ↗
Rating
4
Clarity
4
Confidence
4
Originality
4
Quality
3
Significance
3
Read review
Summary

The authors train recurrent neural networks on a classification task, where every class corresponds to a template, and the individual patterns are realization of this template with different symbols. They report that RNNs learn this task well, and the resulting connectivity is low rank. This is measured via an alignment procedure they devise. The leading rank is responsible for the most recent input, and higher ranks account for the ability to use input history. They also show that a prediction task using the same input statistics does not result in such low-D representations.

Strengths and weaknesses

This is a nice work combining low-rank networks, schemas, and reverse engineering of trained networks. The simple setting of the task allows systematic evaluation of connectivity, representation and effective algorithms as a function of task parameters. I did expect a more in-depth analysis of the resulting networks. For instance, why does the leading SV correspond to the most recent input? How does this information propagate to higher SVs? Perhaps a Schur decomposition can help here? Can a linear RNN solve this? Can methods of extracting finite state automate be used here (Giles et al 1992)? The main analysis tool is aligning recurrent weights. Wouldn’t it be simpler to measure the change in connectivity (For instance Schuessler et al 2020)? Or operative dimensions (Krause et al 2022). Also - does this rely on well-separated singular values? I would expect that nearby values will correspond to a subspace in which there is no one-to-one correspondence between the V matrices of line 475.

Questions

Fig 1: loss. Log scale might be better. Line 319: “recent recordings from hippocampal CA1 during passive exposure to structured auditory sequences” – If this is passive, isn’t it more consistent with a prediction task? Line 462 – sentence ends abruptly Lazy and rich regimes produce the same effect. Wouldn’t you expect the connectivity matrix to change more in the rich regime? The collapse of different class members to the same internal representation is somewhat similar to Farrell et al Nature machine intelligence 2022, and to Recanatesi et al Nature communications 2021. This is certainly not exactly the same setting, but it might be useful to connect to this (and similar) literature. Figure 6: The loss seems to go down for large values of L (leftmost columns). Why is that? Figure 6: What is the value of alpha (alphabet size)? [I later found the value alpha=10 in a table, but I think it would be useful to have the parameter values in the main figures, or mention them in the main text] Line 601: There’s * in figures that seems like a typo

Limitations

yes

Paper formatting concerns

no

Final justification

I maintain my recommendation to accept the paper. The authors provided an additional valuable control, and explained their choices of methods.

Reviewer_hX6rOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
3
Quality
4
Significance
4
Read review
Summary

In this paper, the authors explore the neural circuit mechanisms used by RNNs trained to classify sequences based on their abstract temporal structure. By studying the learned structure of the recurrent connectivity matrix as well as the geometry of the hidden activations, they show that the RNNs learn structured, low-dimensional representations that mirror the tree-like hierarchical structure of the data generating process. They also show that the singular values of the recurrent connectivity matrix play causal interpretable roles in the computation. Finally, they show that "transferring" learned structure from the classification task helps accelerate learning and generalization for RNNs trained on next-token prediction.

Strengths and weaknesses

This is a very well-written, very interesting paper. I believe it is a strong contribution to the field.

The method for estimating the rank of the structured connectivity component (Methods 4.2) is particularly interesting. Is it novel, or does it already exist in the literature? I believe it is worth highlighting more.

Lines 197 - 198: "This suggests that the tree-like representational geometry is not just a correlate of task performance – it is the mechanistic substrate of generalization." Very nice!

Some comments on presentation and clarity:

  • You use letters and tokens interchangeably to mean the same thing; it might be better to stick to one term.

  • In Fig 1C, it is difficult to see the loss, and no error bars are visible.

  • In the left plot in Fig 1D, it is hard to see the sequences in each cluster — can you improve the visualization?

  • The right plot in Fig 1D is a bit confusing: horizontal direction is PC1, but also "time"? I would suggest plotting each PC vs time separately.

  • In Fig 3E, it is nice to see that higher UC correlates with higher generalization accuracy — can you show that correlation more cleanly? Maybe a scatterplot of accuracy vs UC?

  • I think it would be conceptually clearer for the class labels to be based on "different" vs "same" transitions. For example, "abaa" and "babb" are both of type different-different-same, or "dds".

Questions

Questions

  1. Why do you exclude sequences that lack "different" transitions (i.e., why is "AAAA" not one of the classes?)

  2. In Fig 1D, why does the cluster geometry look different on the right vs left PCA plots? On the left, the green/red cluster has higher PC2 component than the orange/blue cluster, but this is inverted on the right plot. Why?

  3. In Fig 3D, it seems that the role of distinguishing the type of the first transition is done by SV 1 at t = 2, but by SV2 at t = 3. Why does the SV identity seem to change?

  4. In the "intact" plot in Fig 4D: why do the projections onto SV1 at t = 4 look so different from those in Figure 3D?

Limitations

Yes.

Paper formatting concerns

No formatting concerns.

Comments on the paper

1 comment
Meta-review

This submission is viewed positively across the board. Reviewer hX6r is at accept and describes it as a strong, well-written contribution, Reviewer Tdjq is at borderline accept and praises the clean task design and the combination of low-rank networks, schemas, and reverse engineering, and Reviewer tbH5 is at borderline reject but still finds the analysis comprehensive and the paper well written. The reviewers do not identify a fatal flaw, so the paper is heading in a favorable direction, and the rebuttal should focus on a small number of clarifications that would solidify the case.

The most important item concerns the transfer-learning result, which several reviewers see as the most novel part of the paper. Reviewer tbH5 is not yet convinced that the benefit comes specifically from the abstract structure of the classification-trained scaffold, and suggests that the improvement might instead follow from low-rank initialization driving richer learning. The suggested control, a random initialization matched in low-rankness or singular value spectrum that avoids giving a comparable improvement, would directly settle this and is the clarification I would most like to see. Reviewer tbH5 also asks for a clearer direct comparison between the classification-trained and prediction-trained networks on the same tree-structured data, which would help.

Beyond that, Reviewer Tdjq raises several thoughtful analysis questions, including why the leading singular component corresponds to the most recent input, how that information propagates to higher components, whether the results depend on well-separated singular values, and connections to related work such as Farrell et al. and Recanatesi et al. and to change-in-connectivity or operative-dimension analyses. These do not need to be resolved exhaustively, but a response indicating which are tractable would strengthen the paper. Reviewer hX6r asks a few specific questions about the figures and the class definitions and about whether the rank-estimation method is novel, which are worth addressing.

If the authors can address the transfer-learning control and clarify the classification-versus-prediction comparison, that would weigh positively in our discussion of the paper.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.