potentialpaper

Emergent representations of graphical structure in mechanistic neural models of causal judgment

Marcus Triplett, Kenneth Kay

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. Humans have a remarkable ability to judge causal relationships from a limited number of unreliable observations. Past work on causal cognition has largely focused on normative accounts of human behavior, leaving unknown how biologically plausible neural systems can learn causal relationships from observations and update representations of causal structure with additional evidence. Here, we leverage task-optimized recurrent neural networks to discover candidate implementation-level neural mechanisms of causal judgment. We propose a novel cognitive task in which a subject observes stochastic samples from an unknown causal structure (e.g. among variables A, B, and C with unknown causal relationships), and must judge whether a specific causal relationship is present given a query (e.g. "does A cause C?"). We found that, after training, recurrent neural networks perform the task at high accuracy, adopt strategies that incorporate observations from non-queried variables to form judgments, and exhibit neural activity with an emergent geometry reflecting underlying causal structure. We then use dynamical systems analysis to identify a set of low-level neural mechanisms that implement causal judgment and form representations of causal relationships. Together, these findings lay the groundwork for a "bottom-up" approach to causal cognition, providing a potential basis for experimental study in the brain.

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:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The reviewers broadly agree that this is a good paper with a carefully executed, and unusually thorough mechanistic analysis of how recurrent neural networks perform causal judgments. In particular, the progression from behavioral performance to representational geometry and dynamical-systems mechanisms is viewed very positively. Two reviewers lean toward acceptance, while the more skeptical review primarily questions the breadth and interpretation of the claims rather than the technical quality.

The rebuttal should focus on the following 3 issues.

First, the authors should clarify what is meant by an implicit representation of the complete causal graph, and distinguish this from simply answering each pairwise query accurately. Second, they should better characterize generalization beyond the narrow training distribution, including unseen causal parameters, graph classes, or larger graphs; additional experiments would be valuable, but a precise account of the current scope would already help. Third, the paper should moderate claims of biological or cognitive plausibility in the absence of direct comparison with human behavior or neural data, and instead present the identified mechanisms as concrete hypotheses for future empirical testing. The authors should also situate the work more carefully relative to prior work on learned causal representations and task-optimized RNNs, and discuss possible connections between the reported line attractors and established evidence-accumulation models. These concerns appear addressable through clarification, additional analysis, and calibrated framing. Unless the rebuttal reveals a substantive problem with the interpretation of the results, the paper appears to make a valuable contribution and may be accepted.

Final justification

I have read the rebuttal and subsequent reviewer discussion. The authors responded well to the main concerns raised in the reviews and in my initial meta-review. In particular, they added out-of-distribution experiments showing strong generalization to previously unseen causal graph classes, provided additional scaling results for substantially larger DAGs, clarified and appropriately narrowed the claim regarding representation of complete causal graphs, and added a transformer comparison suggesting that some of the behavioral strategies identified are not specific to the RNN architecture.

These additions strengthen the paper substantially. The core contribution remains the unusually detailed mechanistic analysis of how recurrent neural networks implement causal judgments, progressing from behavioral signatures to representational geometry and dynamical mechanisms. The new generalization experiments also address the main concern that the reported mechanisms might simply reflect memorization of a narrow set of training graphs.

Some limitations remain. The mechanistic conclusions are specific to RNNs trained on a relatively constrained causal task, and the proposed connection to biological causal reasoning has not yet been tested directly against human behavior or neural data. I therefore agree with the authors’ more cautious framing of the identified mechanisms as concrete hypotheses for future experimental work rather than established models of human causal cognition.

Overall, I believe the rebuttal resolves the main issues raised during review and strengthens an already technically solid and unusually thorough paper. The reviewer consensus is also positive, with one reviewer recommending acceptance and the remaining reviewers at borderline accept. I therefore maintain my Accept recommendation.

Area Chair Rrum · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The reviewers broadly agree that this is a good paper with a carefully executed, and unusually thorough mechanistic analysis of how recurrent neural networks perform causal judgments. In particular, the progression from behavioral performance to representational geometry and dynamical-systems mechanisms is viewed very positively. Two reviewers lean toward acceptance, while the more skeptical review primarily questions the breadth and interpretation of the claims rather than the technical quality.

The rebuttal should focus on the following 3 issues.

First, the authors should clarify what is meant by an implicit representation of the complete causal graph, and distinguish this from simply answering each pairwise query accurately. Second, they should better characterize generalization beyond the narrow training distribution, including unseen causal parameters, graph classes, or larger graphs; additional experiments would be valuable, but a precise account of the current scope would already help. Third, the paper should moderate claims of biological or cognitive plausibility in the absence of direct comparison with human behavior or neural data, and instead present the identified mechanisms as concrete hypotheses for future empirical testing. The authors should also situate the work more carefully relative to prior work on learned causal representations and task-optimized RNNs, and discuss possible connections between the reported line attractors and established evidence-accumulation models. These concerns appear addressable through clarification, additional analysis, and calibrated framing. Unless the rebuttal reveals a substantive problem with the interpretation of the results, the paper appears to make a valuable contribution and may be accepted.

Final justification

I have read the rebuttal and subsequent reviewer discussion. The authors responded well to the main concerns raised in the reviews and in my initial meta-review. In particular, they added out-of-distribution experiments showing strong generalization to previously unseen causal graph classes, provided additional scaling results for substantially larger DAGs, clarified and appropriately narrowed the claim regarding representation of complete causal graphs, and added a transformer comparison suggesting that some of the behavioral strategies identified are not specific to the RNN architecture.

These additions strengthen the paper substantially. The core contribution remains the unusually detailed mechanistic analysis of how recurrent neural networks implement causal judgments, progressing from behavioral signatures to representational geometry and dynamical mechanisms. The new generalization experiments also address the main concern that the reported mechanisms might simply reflect memorization of a narrow set of training graphs.

Some limitations remain. The mechanistic conclusions are specific to RNNs trained on a relatively constrained causal task, and the proposed connection to biological causal reasoning has not yet been tested directly against human behavior or neural data. I therefore agree with the authors’ more cautious framing of the identified mechanisms as concrete hypotheses for future experimental work rather than established models of human causal cognition.

Overall, I believe the rebuttal resolves the main issues raised during review and strengthens an already technically solid and unusually thorough paper. The reviewer consensus is also positive, with one reviewer recommending acceptance and the remaining reviewers at borderline accept. I therefore maintain my Accept recommendation.

Reviewer ZSyBOpenReview ↗
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

The paper shows that RNNs can be trained to make causal judgments and studies representations of latent causal structure that emerge in RNNs trained to perform this task. It is suggested that the resulting models might be more neurally realistic models of human judgment.

Strengths and weaknesses

Strengths: the paper is clearly written and well motivated. The work appears well executed but I am not an expert. Experiments support the model's value and they are clearly explained, along with results and illustrations of the emergent RNN dynamics. Even though I'm not an expert in the paper's topic and came to it with a bias to be skeptical of the value of this kind of work (see weaknesses below), I found the paper interesting.

Weaknesses: The approach is only applied on very small problems, and the paper doesn't yet make a strong argument for the scientific value of RNN models of causal judgment. There is a suggestion that RNNs may be more biologically plausible models than some of the graphical model-based and Bayesian approaches that are traditionally used in causal judgment in AI and cognitive science, but there is no comparison of the approach with human behavioral or neural data, and no evidence presented that this work is in fact biologically plausible. Given that the model is only applied to very simple cases, and there is no evidence for its biological or cognitive fidelity, I'm not sure how valuable the contribution is.

Questions
  1. Can you show any correspondence between the behavior of your method and human (or nonhuman animal) behavior?

  2. Can you show correspondence between the internal dynamics of the RNN and brain dynamics on causal judgment tasks?

  3. If the answers to (1) and (2) are no, can you explain how you might get data answering (1) or (2) in the future?

Good answers to (1) and (2) would substantially increase my score. Failing that, a good answer to (3) might marginally increase my score.

Limitations

yes

Final justification

The authors' rebuttal was very helpful in understanding their thinking, but it does not materially change my assessment of the paper's contribution in its current form. So I am leaving my score unchanged.

Formatting concerns

none

4 comments
Authors · CommentOpenReview ↗

Thanks again for taking the time to evaluate our manuscript.

1. The approach is only applied on very small problems.

The reviewer is correct that we focused on relatively smaller DAGs. As we describe in our main comment, human working memory is subject to well-established capacity limitations, and, combined with the rapidly growing combinatorial complexity, large-scale causal structure learning problems are less relevant to studies of human cognition (compared to e.g. resolving the causal structure of gene regulatory networks). That said, we have performed several additional experiments probing the scaling behavior of RNNs up through the DAG task with 7 nodes (see our main comment (2)), which likely goes beyond intuitive or working memory-associated human causal judgments.

2. the paper doesn't yet make a strong argument for the scientific value of RNN models of causal judgment

Artificial RNNs have been remarkably and repeatedly successful in generating novel hypotheses for how computations can be implemented via recurrent neural dynamics in the brain. For example, there is a sizeable literature on computation through recurrent dynamics for motor control [19-21], but also increasingly in studies of cognition, e.g. context-dependent decision-making in primates [18] and rats [22], temporal cognition in primates [23], evidence accumulation in primates [24] and spatial navigation [25]. Thus, this modeling approach represents a highly promising methodology for identifying biologically plausible mechanisms underlying cognitive functions. In this manuscript, we combined this approach with a novel causal reasoning task, providing (to our knowledge) among the first explicitly identified systems of biologically plausible mechanisms supporting causal cognition. We will provide this additional commentary in the camera-ready manuscript.

3. there is no comparison of the approach with human behavioral or neural data

We aim to collect behavioral and neural experimental data in future work. However, we contend that our study makes a series of scientifically important contributions as it stands, including the novelty of the task and the identified mechanisms. Thus, we believe our study will be of interest in computational neuroscience, cognitive science, and mechanistic interpretability.

4. no evidence presented that this work is in fact biologically plausible.

As we discuss in response to your comment #2 above, there is extensive work providing evidence for the biological plausibility of neural mechanisms identified in RNNs, spanning motor control and a range of important cognitive functions.

5. Can you show any correspondence between the behavior of your method and human (or nonhuman animal) behavior?

To develop a model of causal judgment amenable to mechanistic analysis, we had to introduce a new task (our proposed “DAG task”). As such, there is no existing behavioral data on the same task from living subjects to compare against. That said, there are empirically documented behavioral patterns that are indeed recapitulated in our models. For example, some studies have (under certain conditions) reported a transitivity bias when humans judge whether A -> C (tending to affirm the causal relationship) when, in fact, only A -> B and B -> C are valid causal relationships. This observation is closely related to our findings regarding RNN behavior in Figs 2d,e. Further, our findings in Figs 2f,g, showing that RNNs take into account unqueried variables to resolve putative confounding, is consistent with classical observations on causal judgment in humans; namely, that “reasoners have an implicit understanding of potential confounding by alternative causes that they know about” [26, p. 10].

6. Can you show correspondence between the internal dynamics of the RNN and brain dynamics on causal judgment tasks?

Testing model predictions on experimental data from the brain is indeed a critical goal in any work in computational neuroscience. However, obtaining neural recordings from humans performing our task is beyond the scope of this study, which is instead intended to establish a novel task and novel set of mechanistic hypotheses, each of which we view as necessary inaugural work. That said, we highlight that elements of the network-level mechanisms identified in our study (e.g. attractors, task-relevant subspaces) are well-evidenced in the brain (cf. our response to comment #2).

Authors · CommentOpenReview ↗

7. If the answers to (1) and (2) are no, can you explain how you might get data answering (1) or (2) in the future?

We appreciate the opportunity to clarify how relevant neural data can be collected and used for testing our hypotheses. Our task was designed so that it could be performed by both computational models as well as by humans.

In the case of humans, we currently plan to conduct behavioral experiments where subjects are presented with a visual interface showing the graph nodes, but with edges (i.e. causal relationships) hidden. Subjects would be queried (e.g. by way of a visual cue that is continually presented) as to whether a certain causal relationship exists. As each trial proceeds, nodes will illuminate according to samples from the true graph structure, and subjects will respond during a designated response window. We will accumulate this data across subjects and search for behavioral signatures of whether humans implement a strategy similar to those expressed in models (e.g. RNNs), or adopt an alternative strategy. Note that prior work suggests that this approach is feasible (e.g. refs [27-29]).

Finally, our longer-term goal is indeed to obtain intracranial population-level neural recordings from human subjects to test for activity signatures predicted by our models, which a number of recent studies establish as both feasible and insightful (e.g. refs [30-32]).

Reviewer ZSyB · CommentOpenReview ↗

Thanks for both of these responses. I would be interested to see both behavioral and neural tests of the model, as the authors suggest are forthcoming. For behavioral tests, I would emphasize testing predictions which are distinctive for the RNN approach -- which other classes of models of causal learning do not have accounts of, or which the RNN approach might provide a more compelling account. I know some of the behavioral effects described in response to my question 5 have been in the literature, and other computational accounts have been offered in the past, by Bob Rehder and colleagues for example (accounting for violations of the causal Markov condition which I think is related to the "transitivity bias" the rebuttal describes). It would be valuable to see new experiments testing discriminating predictions where the RNN approach really gives a better account of these effects than previous approaches, or where there are new behavioral phenomena that haven't been reported before which the RNN approach predicts or distinctively well explains.

Authors · CommentOpenReview ↗

Many thanks for your encouraging suggestions and feedback. We agree that the most scientifically incisive follow-up work would prioritize predictions (behavioral and neural) that are most distinctive of the RNN approach and the network-level mechanisms we identify in the study. We also highlight that even solely with respect to behavior, both the RNNs trained on all graph structures as well as those trained to test generalization show rich behavioral patterns that provide a number of additional opportunities for empirical testing. We will also be sure to cite Rehder’s work in the camera-ready manuscript where appropriate.

Reviewer jdT9OpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper investigates the capabilities of RNNs to perform causal judgements (specifically, estimating causal graph structure from observations). The authors propose a simple but informative task, train a small RNN, and thoroughly analyse its inner workings. The paper presents a wide range of findings including specific failure modes of the RNN, visualisations of its representational geometry, and a reverse-engineered algorithm of how the RNN arrives at its decisions.

Strengths and weaknesses

Strengths

  • This is an extremely well written and accessible paper. It gives a clear introduction to the problem and the results build incrementally to maintain readability.
  • The results are relevant for a broad range of researchers spanning neuroscience, cognitive science, and causal learning.
  • The analysis is thorough and unusually complete -- it goes from the model definition and initial finding (RNNs perform well in the DAG task) to an in-depth study of representations and algorithms used internally by the RNN.

Weaknesses

  • Human causal judgements (at least in daily life) are fundamentally tied to time. The analysis in this paper does not consider time at all (as far as I can tell each "timestep" in the observations is a full realisation of the DAG), which somewhat limits the links with cognitive science.
  • Missing literature. There is quite a bit of work studying RNNs as doing model-based learning. Wang et al (https://www.nature.com/articles/s41593-018-0147-8) is a good representative example, but there are many more. Although not strictly related to causal structure learning, I strongly advise the authors to review this field and discuss relevant findings.

Although some points could be improved, overall I think this paper is excellent and should be accepted.

Questions
  • I'm not entirely sure about the out-of-distribution (OOD) generalisation aspect of this work. Sec 3.3. claims that "RNNs trained on single cause-effect pairs implicitly represent entire DAGs", but this is in a way trivial because the experiment just queries every possible pair of nodes for the same input. Since the RNN is good at predicting causal relationships from observations, it's entirely expected that it will reconstruct all relationships in the same dataset if asked multiple times. Am I missing something?

  • Do the analysis and the RNNs scale to larger DAGs? I appreciate the manuscript is a useful proof-of-concept, but it would be good to see where the limits are and why/how the model might fail.

  • What's the relationship between the reported line attractors and the established cognitive models of evidence accumulation? It strikes me that there's a deep connection here, as the "kicks" along the line attractor could be interpreted as drift/diffusion dynamics in evidence accumulation.

Limitations

Not sufficiently discussed (only very briefly and in the Appendix).

Formatting concerns

None.

2 comments
Authors · CommentOpenReview ↗

Thank you for your positive evaluation of our manuscript!

1. Human causal judgements (at least in daily life) are fundamentally tied to time. The analysis in this paper does not consider time at all (as far as I can tell each "timestep" in the observations is a full realisation of the DAG), which somewhat limits the links with cognitive science.

This is an important point which we would like to clarify. Indeed, cognitive science has begun increasingly considering causal induction in time, see e.g. recent work from the Bramley group [12], Lagnado group [13], among others. However, these studies build on more than a decade of research in Bayesian models of causal cognition wherein the observations also correspond to full DAG realizations abstracted away from time. (As a note, this “time-abstracted” setting remains an active area of research in cognitive science). Since there is no corresponding knowledge base in the computational neuroscience literature, our rationale was to choose a simpler task so as to identify foundational mechanisms for causal judgment, rather than immediately tackling the substantially more complex case of time-based causal judgment. In future work, we aim to build on our results here by addressing causal induction in time.

2. Missing literature. There is quite a bit of work studying RNNs as doing model-based learning. Wang et al (https://www.nature.com/articles/s41593-018-0147-8) is a good representative example, but there are many more. Although not strictly related to causal structure learning, I strongly advise the authors to review this field and discuss relevant findings.

We thank the reviewer for suggesting further discussion of the model-based learning literature. We would like to highlight that our initial submission includes 80 references covering literature on causality in cognitive science, causal approaches to perception, Bayesian approaches to structure learning, causal machine learning, RNNs for decision-making and sensorimotor control, and dynamical systems analyses.

However, with regard to model-based learning in RNNs, such studies have typically focused primarily on establishing model-based behavior, with less focus on the “low-level” neural mechanisms that we investigate here. This limitation may be due to the complexity of the model architecture chosen and/or the modeling approach. For example, ref [14] demonstrates a range of emergent model-based RL behaviors in LSTM networks. Though the exact mapping of their cognitive functions to neural components in these networks remains largely unclear (possibly owing to the difficulty of analyzing the intra-node gating functions of LSTMs). Interestingly, in a notable study [6] that adopts a similar approach (i.e. emergent model-based behavior in LSTM networks trained in a model-free RL framework) to probe various levels of causal cognitive abilities, neural mechanisms also remain unclear despite evidence of model-based behavior. Another important example is the work of ref [15], who argue that neural systems can learn predictive representations whose geometry reflects the transition structure of an environment. Our study develops a related account for a causal reasoning task, showing that RNNs trained to make causal judgments acquire internal representations organized by the underlying causal graph.

Other relevant prior studies on modeling relational structure in neural systems (e.g. ref [16]) take a modeling approach that relies extensively on manually specified model components, which in turn requires many more assumptions about the structure and function of neural circuits compared to a standalone recurrent network that performs a graph-based task. Another recent study [17] found that very small RNNs, consisting of just a few units trained on cognitive tasks with reward-based learning, were able to implement task-solutions while being highly amenable to mechanistic analysis. An interesting future direction would be to apply their methodology to causal reasoning tasks so as to potentially identify other relevant neural mechanisms supporting causal cognition.

We will include our discussion of this additional relevant literature in the camera-ready manuscript.

3. I'm not entirely sure about the out-of-distribution (OOD) generalisation aspect of this work. Sec 3.3. claims that "RNNs trained on single cause-effect pairs implicitly represent entire DAGs", but this is in a way trivial because the experiment just queries every possible pair of nodes for the same input. Since the RNN is good at predicting causal relationships from observations, it's entirely expected that it will reconstruct all relationships in the same dataset if asked multiple times. Am I missing something?

Thank you, we have now performed additional experiments probing OOD generalization and clarified our language related to representation in the main comment.

Authors · CommentOpenReview ↗

5. What's the relationship between the reported line attractors and the established cognitive models of evidence accumulation? It strikes me that there's a deep connection here, as the "kicks" along the line attractor could be interpreted as drift/diffusion dynamics in evidence accumulation.

Thank you for making this great point. In computational neuroscience, evidence accumulation is possibly most commonly encountered in decision-making tasks, such as the context-dependent decision-making task studied in ref [18]. Our DAG task can indeed be viewed as a novel context-dependent evidence accumulation task, though with essential additional requirements related to causality. The emergent line attractors are thus a point of commonality across past work on evidence accumulation tasks and our DAG task. However, a novel finding in our regime is that there is a unique geometric organization of the line attractors that reflects symmetries inherent in the DAG task, which in turn enables partial reuse of dynamical motifs across queries. Finally, our linearization analysis of the recurrent dynamics is directly inspired by the literature on RNN models of evidence accumulation, which we cite in Sec 1, Sec 3.5, and throughout Appendix C (which derives the linear dynamical systems analysis). An important part of our contribution is to relate these input-selective evidence accumulation mechanisms to reasoning based on causal relational structures.

6. Limitations not sufficiently discussed (only very briefly and in the Appendix)

Unfortunately we did not have sufficient space in the main text to show all of our results, let alone also describe the limitations of the approach at length. As such, limitations were discussed in a dedicated section in the appendix. However, we appreciate the reviewer’s point that the limitations should be discussed further in the manuscript. We will therefore expand this section in the camera-ready copy to include additional commentary on limitations regarding OOD generalization, scaling, and the need for experimental data.

Thanks again for your comments!

Reviewer YEc1OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper trains RNNs to judge if a causal relationship is present between a pair of nodes after observing stochastic samples generated from a DAG. The RNNs get high in-distribution accuracy and use information from non-queried variables. Their dynamical systems analysis shows that each query establishes an approximate line attractor and observations update a persistent causal judgment along these. The attractors are organised geometrically by queried cause and effect.

Strengths and weaknesses

The paper has a detailed implementation-level analysis that results in candidate recurrent mechanisms. It is a promising dynamical systems case study and source of neural hypotheses. However, given that both RNNs trained across causal graphs and internal structural causal model representations have been explored in previous work, the paper's novelty claims are somewhat too broad. The experiments are also limited to a small and very identifiable generative family. It is not clear how a representation of the complete DAG (independent of the query) would look like.

Questions
  1. How does the model generalize to unseen graph classes or causal parameters, not just to new samples?
  2. In what sense does the RNN represent a complete DAG rather than separately answering every query?
  3. To what extent are the behavioral and representational findings specific to the RNN architecture? Comparing it with an alternative sequence architecture such as a transformer on the same task would help separate task-general properties from RNN-specific implementation features. If those experiments are beyond the scope of the paper, some engagement with prior work on causal representations in transformers would also help clarify which findings are expected to generalize beyond RNNs.
Limitations

The narrowness of the in-distribution evaluation is not addressed much. RNNs are tested on new observation sequences from the same set of DAGs and with fixed probabilities. Missing tests on unseen graph families or causal mechanisms also limit conclusions about whether the observed strategies and errors are specific to RNNs.

Final justification

The new experiments on generalization to unseen graphs and the comparison with transformers were helpful. The mechanistic analysis is still specific to RNNs and a relatively constrained causal task family. However, the additional evidence strengthens the paper so I have raised my score to 4.

Formatting concerns

None

2 comments
Authors · CommentOpenReview ↗

Thank you for your comments.

1. Given that both RNNs trained across causal graphs and internal structural causal model representations have been explored in previous work, the paper's novelty claims are somewhat too broad

We would like to clarify the scope of our novelty claims. We do not claim to be the first to train RNNs across causal graphs (see e.g. ref [6] for RNNs in a causal reinforcement learning setting, ref [7] for custom recurrent encoder-decoder architectures that predict entire adjacency matrices, or ref [8] for recurrent VAEs that predict Granger causality). We also do not claim to be the first to investigate representations of causal structure in neural networks (past work using transformers/LLMs includes e.g. refs [9-11]). Rather, our claim is specifically to have identified a set of biologically plausible network-level mechanisms for judging and representing causal relationships. None of these prior studies have addressed this goal. More specifically, we identified a putative mechanistic implementation comprised of dynamical components (line attractors, task-relevant subspaces, etc) that are well known to be expressed in the brain (cf. our response to Reviewer ZSyB Comment 2, which surveys a range of neuroscientific studies identifying network-level mechanisms in neural population activity). This is an important point because such mechanisms provide concrete hypotheses that can actually be tested in future intracranial experiments aiming to understand causal cognition in the brain.

2. The experiments are also limited to a small and very identifiable generative family.

The reviewer is correct that we focused on smaller DAGs and a largely identifiable parameterization. As we discuss in the main comment, due to known constraints on human working memory, as well as the combinatorial complexity of DAG tasks with large numbers of nodes, analyzing mechanisms of causal judgment in tasks with a limited number of nodes is more relevant to human cognition than tasks with many nodes. At the same time, because our study represents (to our knowledge) the first work to identify biologically plausible recurrent mechanisms for causal cognition, we deliberately chose to restrict this investigation to a more tractable task formulation. Nevertheless, we have now performed additional experiments probing the scaling behavior of RNNs up through the DAG task with 7 nodes. As the number of possible DAGs on 7 nodes is extremely large (exceeding 1 billion), this setting is likely to be less relevant to human causal judgment.

3. It is not clear how a representation of the complete DAG (independent of the query) would look like.

We now realize our phrase “implicit representation of the complete graph” incurs potential misunderstanding regarding our claims. Our response and measures to clarify this issue are discussed in the main comment under (3).

4. How does the model generalize to unseen graph classes or causal parameters, not just to new samples?

Thank you for raising this important point. We have now performed additional experiments demonstrating that the model indeed generalizes to unseen graph classes; please see our main comment (1) for details.

5. In what sense does the RNN represent a complete DAG rather than separately answering every query?

As in our response to your comment #3, we have addressed this by updating our language regarding DAG representations – please see our main comment (3).

Authors · CommentOpenReview ↗

6. To what extent are the behavioral and representational findings specific to the RNN architecture? Comparing it with an alternative sequence architecture such as a transformer on the same task would help separate task-general properties from RNN-specific implementation features. If those experiments are beyond the scope of the paper, some engagement with prior work on causal representations in transformers would also help clarify which findings are expected to generalize beyond RNNs.

We thank the reviewer for suggesting this comparison. While we briefly discussed work on causal reasoning via natural language in LLMs (see Appendix E), because our task paradigm is novel there are no direct comparisons to make with transformers in existing studies. Consequently, we performed a small-scale experiment by training a set of transformers (2 layers, 4 attention heads per layer, with causal masking; n=5 models) on the very same task from our study. Interestingly, transformers perform the task accurately (mean accuracy 0.99 across 5 models on the 3-node task), require fewer training examples (just 5000 epochs compared to 25,000 for RNNs), and recapitulate the performance decline when randomizing node C during evaluation of query A->B (mean accuracy when judging A->B in the fork DAG C->A, C->B, 0.99; mean accuracy after randomization of C, 0.78). These results suggest that certain strategies for causal judgment can be shared across model architectures. However, a mechanistic analysis of how transformers solve the DAG task is beyond the scope of our study. We will include a commentary on our transformer experiments in the camera-ready manuscript.

7. The narrowness of the in-distribution evaluation is not addressed much. RNNs are tested on new observation sequences from the same set of DAGs and with fixed probabilities. Missing tests on unseen graph families or causal mechanisms also limit conclusions about whether the observed strategies and errors are specific to RNNs.

We have addressed in-distribution versus out-of-distribution evaluation with additional generalization experiments. Please see our main comment for further details.

Thanks again for your work in reviewing our paper!

Comments on the paper

3 comments
Authors · CommentOpenReview ↗

Rebuttal overview

Dear all,

We would like to express our appreciation for the reviewers’ time and effort in evaluating our manuscript. We were encouraged that our study was found to be “thorough and unusually complete” (jdT9), “clearly written, [...] well motivated [and] well executed” (ZSyB), and a “promising dynamical systems case study and source of neural hypotheses” (YEc1). With regard to improving our submission, the reviewers raised a number of useful points regarding (1) generalization across graphs, (2) the size of graphs tested, and (3) clarifications to the phrase “implicit representation of the complete causal graph”, in addition to various reviewer-specific comments. As points (1), (2) and (3) were common across reviewers, we address them here in this overarching comment, leaving reviewer-specific concerns in the sections further below.

(1) Generalization to novel causal graphs. All reviewers raised the question of whether the trained networks can generalize to DAGs not included in the training distribution, and we agree that this is an important consideration in our modeling approach. To investigate this possibility, we have now performed a set of generalization tests. We focused on the DAG task with 4 nodes, as 4-node DAGs yield a large and diverse collection of graph structures while retaining computational tractability. With 4 nodes there are 543 DAGs, which can be classified into 31 distinct structures. We trained RNNs on 25 graph classes, tested on the 6 remaining (out-of-distribution) graph classes, and then cycled through which graph classes were assigned as training versus testing. With this procedure, we found that RNNs performed with an accuracy of 0.93 ± 0.04 on novel graph classes (± 1 s.d.; min accuracy, 0.82; max, 0.99; n=5 randomly initialized RNNs tested per cross-validation fold). This result indicates that our neural models can indeed generalize causal judgments to novel graph structures. Intriguingly, our results also suggest differences in generalization for specific training-test splits and graph classes, thus pointing to a potentially rich area of study for future work. We will update the camera-ready manuscript to include this breakdown of RNN performance per OOD graph class and across different RNN instances.

(2) Scaling of RNNs to larger causal graphs. The reviewers also inquired as to whether our modeling approach scales to DAGs with larger numbers of nodes. Here we point out that the goal of this study is not to devise a structure learning algorithm that scales optimally with node count (for which much research has been devoted; see e.g. efforts in differentiable causal structure learning [1-2]). Rather, an important consideration (given that our goal is neuroscientific) is that humans face well-established capacity limits to working memory (see e.g. ref [3]), and hence would be biased/constrained to reason using simpler DAGs [4-5]. Further, the combinatorial complexity of causal judgment grows extremely quickly beyond a few nodes, as the number of possible DAGs scales super-exponentially with node count. Thus, scaling has not been a focus of our analysis. Nonetheless, we have performed additional experiments for DAGs with 5 nodes (number of possible DAGs: 29,281) to 7 nodes (number of possible DAGs: 1,138,779,265; i.e. exceeding 1 billion). When training for a fixed number of epochs (100k, batch size 1024), RNNs achieved an accuracy of 0.92 (5 nodes), 0.87 (6 nodes), and 0.85 (7 nodes) on novel observations. Due to the extremely large number of possible DAGs, we anticipate that many additional training epochs may be required to maximize performance under larger node counts. We will update the manuscript to include a presentation & discussion of these scaling results.

(3) Clarification of the phrase “implicit representation of complete DAG”. Finally, the reviewers asked for clarification regarding the sense in which trained RNNs implicitly represent complete causal graphs. In the text, we intended for the word “implicit” to contrast to a possible “explicit” case where the networks report (via the output layer) judgment of all edges in the DAG simultaneously (i.e. the entire adjacency matrix). Instead, the models we investigated expressed representations of graph structure in two other ways: First, the query inputs (which reconfigured RNN dynamics) were required to read out a causal judgment for a given edge, but, importantly, all edges could in principle be queried. Second, the model’s demonstrated use of information beyond the queried variables suggested a representation of more than just the candidate cause and effect. However, we realize now that the phrase “implicit representation of the complete graph” can be easily misinterpreted to mean more than these two points and that we did not adequately clarify this in the text. To avoid this misinterpretation, we will eliminate this phrase from the text and instead refer more directly to our findings.

Authors · CommentOpenReview ↗

References

[1] Zheng, X., Aragam, B., Ravikumar, P. K., & Xing, E. P. (2018). DAGs with NO TEARS: Continuous Optimization for Structure Learning. Advances in Neural Information Processing Systems, 31.

[2] Nazaret, A., Hong, J., Azizi, E., & Blei, D. Stable Differentiable Causal Discovery. (2023). In Forty-first International Conference on Machine Learning.

[3] Cowan, N. (2001). The magical number 4 in short-term memory: A reconsideration of mental storage capacity. Behavioral and brain sciences, 24(1), 87-114.

[4] Halford, G. S., Baker, R., McCredden, J. E., & Bain, J. D. (2005). How many variables can humans process? Psychological Science, 16(1), 70-76.

[5] Chater, N., & Vitányi, P. (2003). Simplicity: a unifying principle in cognitive science? Trends in Cognitive Sciences, 7(1), 19-22.

[6] Dasgupta, I., Wang, J., Chiappa, S., Mitrovic, J., Ortega, P., Raposo, D., ... & Kurth-Nelson, Z. (2019). Causal reasoning from meta-reinforcement learning. arXiv preprint arXiv:1901.08162.

[7] Ke, N. R., Chiappa, S., Wang, J. X., Bornschein, J., Goyal, A., Rey, M., ... & Rezende, D. J. (2022). Learning to induce causal structure. In International Conference on Learning Representations.

[8] Li, H., Yu, S., & Principe, J. (2023). Causal recurrent variational autoencoder for medical time series generation. In Proceedings of the AAAI conference on artificial intelligence (Vol. 37, No. 7).

[9] Nichani, E., Damian, A., & Lee, J. D. (2024). How Transformers Learn Causal Structure with Gradient Descent. In Forty-first International Conference on Machine Learning.

[10] D'Angelo, F., Croce, F., & Flammarion, N. Selective Induction Heads: How Transformers Select Causal Structures in Context. (2025). In The Thirteenth International Conference on Learning Representations.

[11] Butkus, E., & Kriegeskorte, N. (2026). Causal discovery and inference through next-token prediction. Advances in Neural Information Processing Systems, 38, 68213-68239.

[12] Gong, T., Pacer, M., Griffiths, T. L., & Bramley, N. R. (2026). Rational causal induction from events in time. Psychological Review, 133(3), 584.

[13] Btesh, V., Bramley, N. R., Speekenbrink, M., & Lagnado, D. A. (2026). Less is more: Local focus in continuous time causal learning. Journal of Experimental Psychology: Learning, Memory, and Cognition, 52(1), 55.

[14] Wang, J. X., Kurth-Nelson, Z., Kumaran, D., Tirumala, D., Soyer, H., Leibo, J. Z., ... & Botvinick, M. (2018). Prefrontal cortex as a meta-reinforcement learning system. Nature Neuroscience, 21(6), 860-868.

[15] Stachenfeld, K. L., Botvinick, M. M., & Gershman, S. J. (2017). The hippocampus as a predictive map. Nature Neuroscience, 20(11), 1643-1654.

[16] Whittington, J. C., Muller, T. H., Mark, S., Chen, G., Barry, C., Burgess, N., & Behrens, T. E. (2020). The Tolman-Eichenbaum machine: unifying space and relational memory through generalization in the hippocampal formation. Cell, 183(5), 1249-1263.

[17] Ji-An, L., Benna, M. K., & Mattar, M. G. (2025). Discovering cognitive strategies with tiny recurrent neural networks. Nature, 644(8078), 993-1001.

[18] Mante, V., Sussillo, D., Shenoy, K. V., & Newsome, W. T. (2013). Context-dependent computation by recurrent dynamics in prefrontal cortex. Nature, 503(7474), 78-84.

[19] Churchland, M. M., Cunningham, J. P., Kaufman, M. T., Foster, J. D., Nuyujukian, P., Ryu, S. I., & Shenoy, K. V. (2012). Neural population dynamics during reaching. Nature, 487(7405), 51-56.

[20] Shenoy, K. V., Sahani, M., & Churchland, M. M. (2013). Cortical control of arm movements: a dynamical systems perspective. Annual Review of Neuroscience, 36(1), 337-359.

[21] Vyas, S., Golub, M. D., Sussillo, D., & Shenoy, K. V. (2020). Computation through neural population dynamics. Annual Review of Neuroscience, 43(1), 249-275.

[22] Pagan, M., Tang, V. D., Aoi, M. C., Pillow, J. W., Mante, V., Sussillo, D., & Brody, C. D. (2025). Individual variability of neural computations underlying flexible decisions. Nature, 639(8054), 421-429.

[23] Wang, J., Narain, D., Hosseini, E. A., & Jazayeri, M. (2018). Flexible timing by temporal scaling of cortical responses. Nature Neuroscience, 21(1), 102-110.

[24] Chen, R., Radkani, S., Valluru, N., Yoo, S. B. M., & Jazayeri, M. (2026). Evidence accumulation from experience and observation in the cingulate cortex. Nature, 1-9.

[25] Cueva, C. J., & Wei, X. X. (2018). Emergence of grid-like representations by training recurrent neural networks to perform spatial localization. In International Conference on Learning Representations.

[26] Cheng, P. W. (1997). From covariation to causation: A causal power theory. Psychological Review, 104(2), 367.

Authors · CommentOpenReview ↗

References continued

[27] Dezfouli, A., Griffiths, K., Ramos, F., Dayan, P., & Balleine, B. W. (2019). Models that learn how humans learn: The case of decision-making and its disorders. PLOS Computational Biology, 15(6), e1006903.

[28] Kay, K., Biderman, N., Khajeh, R., Beiran, M., Cueva, C. J., Shohamy, D., ... & Abbott, L. F. (2024). Emergent neural dynamics and geometry for generalization in a transitive inference task. PLOS Computational Biology, 20(4), e1011954.

[29] Jensen, K. T., Hennequin, G., & Mattar, M. G. (2024). A recurrent network model of planning explains hippocampal replay and human behavior. Nature Neuroscience, 27(7), 1340-1348.

[30] Courellis, H. S., Minxha, J., Cardenas, A. R., Kimmel, D. L., Reed, C. M., Valiante, T. A., ... & Rutishauser, U. (2024). Abstract representations emerge in human hippocampal neurons during inference. Nature, 632(8026), 841-849.

[31] Yan, X., Chavez, A. G., Franch, M., Katlowitz, K. A., Gautam, I., Kim, B., ... & Sheth, S. A. (2026). Shared neural geometries for bilingual semantic representations in human hippocampal neurons. Cell.

[32] Katlowitz, K. A., Cole, E. R., Mickiewicz, E. A., Shah, S., Franch, M., Adkinson, J. A., ... & Sheth, S. A. (2026). Plasticity and language in the anaesthetized human hippocampus. Nature, 1-10.

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

Missing a submission?

Loading the discussion…