NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

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

Marcus Triplett, Kenneth KayNeurIPS 2026

TL;DR

How does a physical, biological brain look at a messy stream of events—like taking a pill and a headache fading—and figure out what actually caused what? While traditional cognitive science models this using idealized math like Bayesian networks, this paper trains simple recurrent neural networks (RNNs) on causal puzzles and reverse-engineers them to see how actual neurons might pull it off. They discover that networks don't need explicit graph-search algorithms; instead, they organically build a tidy geometric map of "judgment axes" in their neural state space to weigh evidence on the fly.

What Problem Does This Paper Address?

Humans are remarkably good at inferring cause and effect from sparse, noisy observations. For decades, cognitive scientists have successfully modeled what humans do using Directed Acyclic Graphs (DAGs—networks of arrows showing what causes what) and Bayesian inference.

Here is the catch: those are "top-down" normative models. Nobody knows how wet, biological neurons could actually implement complex Bayesian model selection over a combinatorial explosion of possible causal graphs. This paper flips the script, taking a "bottom-up" mechanistic approach: if we train a biologically plausible neural circuit to make causal judgments, what low-level algorithms and geometries emerge under the hood?

Methods

The authors introduce a novel cognitive paradigm called the DAG task and pair it with classic dynamical systems reverse-engineering:

  • The Novel Task: A network observes a time-series of binary activations from $N$ variables (say, $A$, $B$, and $C$) alongside a continuous, one-hot encoded query (e.g., "Does A cause B?"). It must output a binary true/false judgment. Crucially, during training, the network is only ever asked one query per observation sequence before that data is thrown away.
  • The Architecture & Analysis: They train standard continuous-time, nonlinear (tanh) RNNs to solve the task. Once trained, they open the black box using standard dynamical systems tools—finding fixed points (states where neural activity stops changing) and linearizing the dynamics around them (via Jacobians and eigenvectors) to see how incoming observations push the network's "beliefs" around.
Figure 1: Causal judgment task and neural network model. a, Schematic of task. Observations are stochastically generated from a DAG whose true edges are unknown. The subject is queried (instructed or cued) on whether a causal relationship exists between a specific pair of nodes. b, Task implementation in neural networks. Inputs are a concatenation of three components: the node obser- vations, the cause query (one-hot encoded), and the effect query (also one-hot encoded). RNNs are trained to report whether the queried causal relationship is true. Further details shown in Figure S1.

Datasets

Rather than static external benchmarks, the authors use synthetic, procedurally generated streams of observations based on noisy-or causal DAGs (a classic cognitive science formulation).

  • In this setup, a variable can turn on spontaneously with a small "leakage" probability ($p_{\text{spont}}$), or get triggered by its active parent causes ($p_{\text{cause}}$). This creates subtle statistical asymmetries that allow causal direction to be inferred purely from observation—without needing active interventions.
  • Networks are trained and evaluated on DAGs with 2, 3, and 4 nodes (spanning up to 543 distinct graphs across 31 structural classes).

Key Insights and Ideas

  • Spontaneous Confounder Tracking: When asked "Does A cause B?", the RNN doesn't just Put on blinders and watch $A$ and $B$. It actively tracks unqueried variable $C$ to rule out common-cause confounders (like when $C$ triggers both $A$ and $B$). Scramble $C$'s timeline, and the network gets fooled into seeing a false link between $A$ and $B$.
  • Human-like Fallibility: When networks do make mistakes, they exhibit a classic human quirk: transitivity bias. In a causal chain ($A \rightarrow B \rightarrow C$), the RNN frequently hallucinates a direct shortcut ($A \rightarrow C$).
Controlling for confounders and transitivity bias
  • "Kick-and-Roll" Line Attractors: Instead of running Bayesian graph searches, the RNN builds a separate line attractor—a stable trench in neural activity space—for each possible query, stretching from "False" to "True." Each new observation "kicks" the neural state off the trench, and the network's recurrent dynamics "roll" it back onto the line, further toward True or False depending on whether the event confirmed or contradicted the query.
  • Hierarchical Geometry for Free: In state space, these line attractors cluster primarily by the queried cause (e.g., $A \rightarrow B$ and $A \rightarrow C$ sit right next to each other) and secondarily by the effect. Why? Compositional reuse! Seeing $A$ fire all by itself is evidence against $A$ causing anything, so clustering $A$-queries together lets the network share the exact same dynamical machinery across tasks.
  • Stubbornness Built-In: At the extreme ends of a line attractor, the network reconfigures its local input selectivity to ignore contradictory evidence—an emergent neural mechanism for consolidating a judgment once its "mind" is made up.

Key Results

  • High Accuracy: On 3-node DAGs, RNNs achieve a mean accuracy of 0.95 on unseen observation sequences (though performance dips near chance specifically on indirect links in chain graphs, as seen below).
Accuracy across Queries on a Chain DAG
  • Zero-Shot Structural Generalization: On 4-node tasks, when trained on 25 structural graph classes and tested on 6 completely held-out classes, RNNs still hit 0.93 ± 0.04 accuracy.
  • Full Graph Recovery: Even though an RNN only ever sees one query per sequence during training, cycling through all possible queries on a fixed test sequence reveals that the network accurately resolves the entire underlying causal graph—relying on joint covariance rather than simple marginal firing rates or raw correlations.

Limitations and Future Work

  • Observational Scope: The current task relies entirely on passive observation within acyclic ("noisy-or") binary systems. In general, many real-world causal structures aren't uniquely identifiable without interventions (actively poking the system) or may contain feedback loops (cycles), which aren't tackled here.
  • Agnostic to Origins: Because the RNNs are task-optimized via gradient descent, the model stays agnostic as to how a biological brain acquires this circuit in the first place (evolution vs. development vs. lifetime learning).
  • Experimental Blueprint: For future work, these findings offer concrete, testable predictions for neuroscientists: look for query-clustered line attractors and state-dependent input gating in neural recordings of animals or humans performing causal reasoning.

Summary updated

BibTeX
@inproceedings{triplett2026emergent,
  author = {Marcus Triplett and Kenneth Kay},
  title = {{Emergent representations of graphical structure in mechanistic neural models of causal judgment}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=T1VpyAm5Or},
}
Figure