potentialpaper

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

Vezha Boboeva, Alberto Pezzotta, George Dimitriadis, Athena Akrami

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. A hallmark of intelligent behavior is the ability to extract abstract relational structure from temporal sequences -- recognizing, for instance, that \seq{aab}, \seq{ccd}, and \seq{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., \seq{aab}, \seq{aad} →\to \seq{AAB}; \seq{aba}, \seq{aca} →\to \seq{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 components of the recurrent weights integrate relational transition information -- whether consecutive letters are the same or different -- across time, driving the formation of a structured, tree-like geometry in the population activity space. Through singular vector ablation, we establish a causal role for the leading component: removing it selectively erases memory for earlier transitions while leaving local, single-step sensitivity intact. Finally, while RNNs trained on next-letter 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.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
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.

Final justification

I have read the authors' rebuttal and the full post-rebuttal discussion, and my initial recommendation of acceptance is confirmed.

My initial meta-review's critical point was about reviewer tbH5's alternative explanation that the transfer benefit. The authors ran exactly the necessary control experiments as suggested in the original reviews and showed that generalization did not improve. Since the low-rank spectrum is identical to that of the beneficial scaffold and only the directions differ, low-rankness alone cannot account for the transfer effect. Reviewer tbH5 agreed that this "resolved my most major concerns" and raised their score from 3 to 4.

The second point about a clearer comparison between classification- and prediction-trained networks on the same tree-structured data was addressed by clarifying that the frozen-transfer condition in Fig. 5 is the classification network viewed through a prediction readout and Figs. 5D–G already provided the side-by-side comparison. Reviewer Tdjq's analysis questions were also answered extensively. Tdjq maintained their accept, noting the "additional valuable control." Reviewer hX6r had no further comments and remains at 5. The presentation items raised by hX6r (log-scale loss, Fig. 1D axis labelling, UC-vs-accuracy scatterplot) were all made.

Area Chair K2Na · Meta-reviewOpenReview ↗
Read meta-review
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.

Final justification

I have read the authors' rebuttal and the full post-rebuttal discussion, and my initial recommendation of acceptance is confirmed.

My initial meta-review's critical point was about reviewer tbH5's alternative explanation that the transfer benefit. The authors ran exactly the necessary control experiments as suggested in the original reviews and showed that generalization did not improve. Since the low-rank spectrum is identical to that of the beneficial scaffold and only the directions differ, low-rankness alone cannot account for the transfer effect. Reviewer tbH5 agreed that this "resolved my most major concerns" and raised their score from 3 to 4.

The second point about a clearer comparison between classification- and prediction-trained networks on the same tree-structured data was addressed by clarifying that the frozen-transfer condition in Fig. 5 is the classification network viewed through a prediction readout and Figs. 5D–G already provided the side-by-side comparison. Reviewer Tdjq's analysis questions were also answered extensively. Tdjq maintained their accept, noting the "additional valuable control." Reviewer hX6r had no further comments and remains at 5. The presentation items raised by hX6r (log-scale loss, Fig. 1D axis labelling, UC-vs-accuracy scatterplot) were all made.

2 comments
Authors · CommentOpenReview ↗

We thank the reviewers and the AC for their careful and constructive assessments. We are encouraged that all three reviewers found the paper well written and the analysis comprehensive. Below we address the points the AC identified as most important (the transfer-learning control) which we have now run, followed by the remaining questions. New results and clarifications will be incorporated into the revision.

Key new result: matched-spectrum control (requested by tbH5 and the AC)

The AC highlighted the matched-spectrum control as the clarification they would most like to see, and Reviewer tbH5 asked for exactly this test. We have run it, and the results strengthen our central claim.

The control isolates the right question: is the transfer benefit due to low-rankness per se, or to the specific structure of the scaffold? Starting from a classification-trained recurrent matrix WW, we rotated the left and right singular vectors by random rotation matrices RuR_u and RvR_v while keeping the singular value spectrum unchanged, i.e. W→RuWRv⊤W \to R_uWR_v^\top. We used this spectrum-matched but direction-randomized matrix to initialize the prediction network.

Result: generalization did not improve — it was in fact worse than training from scratch. Because the low-rank spectrum is identical to that of the beneficial scaffold and only the directions differ, low-rankness alone cannot explain the transfer effect. The specific directions learned by classification are what provide the useful inductive bias.

This directly refutes the alternative that tbH5 raised — that the improvement follows merely from low-rank initialization driving richer learning (Liu et al. 2024). Under that account, the spectrum-matched random initialization should reproduce the benefit; it does not. We read the three-way comparison (from scratch / spectrum-matched random directions / true scaffold) as clean evidence that it is the abstract structure of the scaffold, not generic low-rank statistics, that drives generalization. We will add this control as a new panel in the transfer figure.

Authors · CommentOpenReview ↗

Dear Area Chair,

Thank you for coordinating the discussion for our submission. As the discussion window nears its close, we wanted to briefly summarize where the reviews now stand.

You noted the matched-spectrum control as the clarification you would most like to see. We ran it: starting from a classification-trained recurrent matrix, we applied a random orthogonal transformation that preserves the singular value spectrum exactly while randomizing the singular vectors. Generalization did not improve — it was actually worse than training from scratch. This suggests that low-rankness alone does not produce the transfer benefit; the specific learned directions do. This is now in the revision.

Reviewer tbH5, whose main concern was this result, responded that the additional experiments "resolved my most major concerns" and raised their score to 4. Reviewer hX6r had no further comments (score 5). Reviewer Tdjq's questions were addressed in detail in our response.

We're grateful for the constructive engagement and happy to clarify anything further.

Best regards

Reviewer tbH5OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

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.

Formatting concerns

n/a

2 comments
Authors · CommentOpenReview ↗

Strengths And Weaknesses

  1. Regarding the concern about the novelty/significance of the low-rank observation, we take the point that RNNs acquiring low-rank structure on simple tasks is, on its own, unsurprising. We would gently argue that this is not the paper's main contribution. What is novel is 1) that successive singular components, most clearly SV1 and SV2, encode successive levels of the generative hierarchy (Fig. 3D); 2) the specific causal dissociation from SV1 ablation — memory for earlier transitions is erased while local single-step sensitivity is preserved (Fig. 4), rather than a generic degradation; and 3) that the same input statistics under a next-token-prediction objective produce no such structure, so the organization is objective-dependent rather than a property of the data. We will foreground this framing in the Abstract and Discussion so the contribution is not read as merely 'weights become low-rank.'

  2. We thank the reviewer for this great suggestion which we agree is an important clarification. We have now tested the initialization regime suggested by the reviewer, in which we first pretrain a network on the classification task. Then, we apply random rotations RuR_u and RvR_v to the left and right singular vectors UU and VV of the pretrained weights, while keeping the spectrum preserved, i.e. W→RuWRv⊤W \to R_u W R_v^\top, and we see that in this case, the generalization performance is not as good as in the non-randomized case. Interestingly, the performance is even worse than when initializing the network from scratch. We deduce from these experiments that the transfer experiment does not yield better generalization performance because the initialization is low-rank, but rather, the specific directions transferred (i.e. the scaffold) provide a useful inductive bias for the task. We will add the results from these additional experiments to the manuscript, as we believe it’s an important point.

  3. We agree these should be framed as motivating context rather than claims, and we will tone down the language accordingly, keeping the biological discussion clearly demarcated from the computational results. The core findings, however, stand independently of the biological interpretation.

Questions

  1. The comparison the reviewer asks for is already present in Fig. 5, and we will make this clearer in the text. First, we emphasize that in this case (unlike in Fig 4), the classification pretrained network is trained on unambiguous data. Second, here the key point is that in the frozen-transfer condition, the input and recurrent weights are transferred from a classification-trained network and held fixed i.e. only the readout is trained. Since these weights do not change, this condition is a classification network, viewed through the prediction readout. Its hidden-representation geometry is therefore that of the classification net, and can be read directly against the prediction network in the same panels.

  2. We would like to clarify that classification networks do behave similarly when trained on data drawn from the unambiguous tree. The tree-like geometry of the classification net is visible in the quasi-ultrametric organization of the cosine-similarity matrices (Fig. 5G), and its low-rank organization in the recurrent spectra (Fig. 5E), both alongside the prediction network, which shows neither. Fig. 5D (dimensionality) and Fig. 5F (UC) completes the side-by-side comparison. Because the frozen weights are literally unchanged from the classifier, plotting a separate classification-net figure would reproduce these same matrices; we therefore prefer to point to Fig. 5E,G directly rather than duplicate them, and will revise the caption and main text to make the comparison explicit.

Reviewer tbH5 · CommentOpenReview ↗

Thank you for the clarifications and the additional experiments; they have resolved my most major concerns. I will thus raise my score.

Reviewer TdjqOpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

Final justification

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

Formatting concerns

no

2 comments
Authors · CommentOpenReview ↗

Part 1

Strengths And Weaknesses

  1. To clarify, the leading SV does not correspond to the most recent input, rather, it integrates the history of all inputs and therefore transitions. This is shown via the rank-constrained ablation experiments in Fig 4B and 4C, where ablating the leading SV leads to sequences being classified solely on the basis of the very last transition, and the corresponding projections no longer distinguish the classes (Fig. 4D, SV1 removed versus intact). So it is precisely the leading component that supplies the integrated history; without it, only the one-step code remains.

  2. We read the reviewer's comment as pointing to the fact that the singular vectors of the recurrent weight matrix WhW_h are not "conserved" when we multiply WhW_h by itself. The change of basis via Schur decomposition, W=QTQ−1W = Q T Q^{-1}, instead, would allow one to write Wn=QTnQ−1W^n = Q T^n Q^{-1}. So, if we were to look at a linear RNN, we agree that a Schur decomposition may be preferable, because it would allow us to look at projections along the qq basis vectors, which would maintain the same role across an arbitrary number of iterations; in contrast, the left/right singular vectors, can be given an interpretation in a single iteration only. However, in our experiments, linear RNNs (holding other hyperparameters fixed) failed to solve the tasks: in the non-linear RNNs we discuss, any recursion beyond a single time step would necessarily be affected by the non-linearity, and to our understanding the choice of Schur vs SV decomposition is not necessarily obvious. The reason we opted for SVD is the easier interpretation of the left/right singular vectors for a single application of the matrix: the right vectors VV are "ingesting" the hidden state, the singular values SS are scaling the relative components, and the left vectors UU "redistribute/propagate" the result across all components. This is our intuition, which is of course limited by the non-linearity and the inputs. What is missing, though, and this may be what the reviewer's question is hinting at (and a similar question was raised by reviewer hX6r), is the projection V⋅UV \cdot U between left and right singular vectors, which gives a measure of how the recurrent activity is "propagated" between modes across a step. Preliminary analysis shows a consistent high overlap between u1u_1 and v2v_2 across simulations, which accounts for the apparent 'hand-off' of the first-transition role from SV1 at t=2t=2 to SV2 at t=3t=3. We have added this to the revision.

  3. We thank the reviewer for suggesting finite-state automaton extraction (e.g., Giles et al. 1992) as a way to characterize the learned computation. We agree that in principle FSA extraction is an appealing interpretability tool: an extracted minimal automaton would let us state that the network implements a specific machine, and would reframe generalization as an exact question — whether the extracted automaton coincides with the ideal recognizer — rather than one measured through held-out accuracy. We considered this and would like to explain why, for the setting studied here, it adds little beyond the analyses already presented, while noting the regime in which it would become genuinely informative. Our main analysis uses fixed-length sequences (L = 4). A DFA is interesting largely because of its cyclic structure. At fixed length, we would expect the extracted object to be an acyclic, depth-L transition diagram, which is the unrolled generative tree we already recover directly in the population geometry (Figs. 1D and 3D). Extraction would therefore re-express, in discrete form, the hierarchical structure we characterize continuously, without adding independent evidence about the mechanism. The main use case for automaton extraction is the variable-length extension we flag in the Discussion, where a cyclic automaton defined over the relational (same/different) alphabet would be the appropriate discrete counterpart to the low-rank continuous mechanism we describe. We see this as a well-motivated direction for future work rather than an analysis that would sharpen the present claims, and we will note this in the revised Discussion.

  4. Both are relevant, and we thank the reviewer for the suggestions. Schuessler et al truncates the weight change at varying rank R, and take the R at which performance is unchanged compared to the full weight matrix. Our rank-constrained experiments (Fig. 4A) are a stronger version of this, where we show that a network with the weights constrained to be rank R (as a whole, trained from scratch) recovers the full performance with R~4-5. We would expect the estimation via the weight change method to be lower, indeed in agreement with our estimation by alignment and averaging. [continues in Part 2]

Authors · CommentOpenReview ↗

Part 2

  1. [continued from Part 1] The method of Krause et al is also very relevant and we have previously considered applying it to our case. However, having noted that the random component of the weights is large or at least comparable to the estimated low-rank one (as measured by the singular vectors), we reasoned that this would be a confound for the experiments where SVs of the full weight matrix are ablated. The align-then-average procedure was designed precisely to separate the shared structured component from this random background. We will add this comparison to the Methods discussion.

  2. This is a valid concern, and it is something we are looking to characterize more rigorously, and provide an assessment of whether the (quasi-)degeneracy of the spectrum for higher singular components does invalidate it in our case. In general, the method does rely on the degeneracy of the spectrum. Averaging even after the alignment via a rotation (we loosely call “rotation” what in reality is a more general orthogonal transformation) may lead to the destruction of the structure within the quasi-degenerate space.

Questions

  1. We agree, and we have now plotted the loss in log-scale.
  2. This is a fair point. We would note that passive exposure refers to the absence of task demands or reward, not to the computation the circuit performs. A passively-exposed circuit may still be extracting global relational structure rather than local next-token statistics. The recordings we cite (Onih et al.) report that dCA1 ensembles form subspaces encoding abstract relational rules under passive exposure, and that this rule learning is causally dependent on hippocampal activity, which points toward extraction of abstract structure rather than purely local prediction. That said, we agree the boundary between predictive and integrative objectives under passive exposure is genuinely open, and we have softened the sentence to present this recording as consistent with, rather than uniquely diagnostic of, a global-integration account.
  3. We have now corrected this.
  4. Yes – we would expect the magnitude of weight change to differ across regimes, driven by the different initial conditions. Our claim concerns the post-learning structure, which we find to be qualitatively similar across the two initializations, with similar effects on the dynamics. This is not in contradiction with the weight changes differing. We have stated this distinction explicitly.
  5. We thank the reviewer for this connection, which we agree is useful and have now made explicit. Our results share a common principle with both works: learning collapses surface or within-class variability onto a lower-dimensional representation that captures task-relevant or latent structure, and this collapse is what supports generalization. However, we note two distinctions that clarify what our work adds. Relative to Farrell et al., who characterize the expansion and compression of representational dimensionality as a general consequence of gradient-based learning, we identify a connectivity substrate for the collapse (low-rank recurrent structure) and show that the collapsed representation is not merely low-dimensional but organized into a hierarchical, ultrametric geometry, with a causal role for specific singular components. Relative to Recanatesi et al., who show that predictive learning extracts a low-dimensional latent collapsing distinct observations, our prediction networks do not collapse different class members onto a shared representation. This apparent discrepancy resolves when taking into account task structure: in their setting the latent generates the observations, so prediction requires recovering it, whereas in ours the abstract class is not needed for local next-token prediction (but needed under a global classification objective). We will add a short paragraph to the Previous Work and Discussion sections making these connections and citing both works.
  6. We are currently looking into it but we believe that these may be due to finite size effects of the networks being particularly small. We can see that with networks that are large enough (N>128) this effect vanishes.
  7. We have now included the parameters in the supplementary figures in the captions. In the main text, this would unfortunately take too much space, so we have kept them in the tables, but we now reference the relevant table from each main-text figure caption for easy lookup.
  8. We have corrected this.
Reviewer hX6rOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
4/4
Clarity
3/4
Significance
4/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

Formatting concerns

No formatting concerns.

2 comments
Authors · CommentOpenReview ↗

Strengths And Weaknesses

To our knowledge, this specific method of align-then-average estimator has not been used before. In fact, more popular approaches used in other works rely on a more indirect estimate of the rank of the structured component. Worth mentioning are Schuessler et al 2020 and Krause et al 2022, both flagged by reviewer Tdjq, where authors use a perturbation/ablation procedure. We expect these methods to yield similar results to what we find; in our rank-constrained experiments presented in Fig.4A, we estimate R as the minimal rank that reproduces task performance, conceptually similar to low-rank reduction methods (Dubreuil et al., 2022; Valente et al., 2022) and the operative dimension idea (Krause et al., 2022).

In terms of direct approaches to extract the low rank component, our method shares the align-then-average logic with, e.g. Ainsworth et al., 2022, where the symmetry that is quotiented out is instead the discrete permutation of units, a special case of our O(N) symmetry. The alignment estimator presupposes that experiments with different seeds converge to a shared solution up to rotation, an assumption we verify (Fig. 2C) and which accords with reported universality across trained networks (Maheswaranathan et al., 2019).

Some comments on presentation and clarity

  1. We have now replaced tokens with letters throughout the manuscript.
  2. We have plotted the loss in log-scale to make the error bars more visible.
  3. Because the data points fall on top of one another (which is itself the intended message i.e. within-class collapse), full labeling is illegible. We have now plotted a representative handful of sequences per cluster, so the labels are more readable.
  4. Apologies for the confusion; the x-axis is PC1, not time. The arrow labeled as time was meant to convey that PC1 correlates with the hidden representations of sequence elements unfolding over time, i.e. a -> ab -> abb -> abbb. We have removed the arrow to avoid ambiguity.
  5. We have now included a scatterplot of UC vs generalization accuracy.
  6. We appreciate this suggestion, and we agree the same/different framing makes the underlying transition structure explicit. Our reason for keeping the token-based labels (e.g. ABBA) is that we found them easier to grasp visually at a glance, whereas the transition encoding asks the reader to mentally reconstruct each class. We believe this is a trade-off between the two notations rather than one being strictly clearer. We may add the same/different reading alongside the token labels where it aids interpretation, so both are available to the reader, and we will consider adopting it more broadly if it improves clarity on balance.

Questions

  1. This follows from how sequence generation is parameterized (Sec. 4.4): each sequence is generated using m unique letters (here m = 2), and classes are generated from arranging those m letters across the L positions (here L = 4). ‘AAAA’ uses a single letter (m = 1) and so falls outside the m = 2 family we study here. That said, the parameterization procedure is general and can extend to arbitrary m and L. Here we fix m = 2, to obtain the binary branching tree analyzed throughout. We have now stated this exclusion explicitly.

  2. This is because the two figures show slightly different PCAs. The panel on the left shows PC analysis applied only to the hidden representations at the last timestep, whereas the panel on the right applies PCA to the hidden representations at every timestep. We have noted this in the caption.

  3. Rather than interpreting this observation as a change in SV identity, we understand it as a consequence of how information is “propagated” over time – a similar question was raised by reviewer Tdjq. A more rigorous way to quantify such transfer of information between singular components, is via the similarity of left-vs-right singular vectors, V⊤UV^\top U. The intuition is based on the iteration of the recurrent weight matrix W in the linear case: if the activity hth_t is proportional to v1v_1, then the recurrent contribution to ht+1h_{t+1}, WhtW h_t (in the linear case), is proportional to u1u_1. This, in turn, can be decomposed onto the orthogonal basis VV, and the coefficients are given by V⊤u1V^\top u_1, i.e. the first column of the V⊤UV^\top U. Preliminary analysis shows a consistently high overlap between u1u_1 and v2v_2 across most simulations – explaining the transfer of information from SV1 to SV2 as observed by the reviewer (the first-transition information carried by v1v_1 is handed to v2v_2 on the next iteration). We have added this visualization, in the revised manuscript, to make the mechanism explicit.

  4. This is because in Fig 3D, we are plotting the projections onto the singular vectors of the full-rank recurrent matrix, whereas in Fig 4D, the projections are onto the singular vectors of the rank3-constrained recurrent matrix.

Reviewer hX6r · CommentOpenReview ↗

Final Comment

Thank you for the detailed reply and responding to my questions. I have no further comments.

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

Missing a submission?

Loading the discussion…