Manuscript Offprint
arXiv:2611.02876Identifiable Signed Causal Learning via Latent Stochastic Differential Equations for Inferring Brain Dynamic Effective Connectivity
Yiding Wang, Chen Qiao
Abstract—Understanding how brain regions interact to support cognitive tasks requires characterizing directed causal influences among them, known as effective connectivity (EC). As inter-regional coupling changes over time, a dynamic EC (dEC) estimate is required to track this temporal variation. Existing dEC learning methods typically lack a causal rationality guarantee or an identifiability analysis, and output unsigned connectivity that cannot distinguish excitatory from inhibitory influences, which limits further study of brain mechanisms. We propose ISCL, a latent stochastic differential equation framework that derives dEC from latent dynamics through a causal influence operator defined in observation space. As established by a rationality theorem, the operator captures a directed interventional response at each brain state, and under invariance assumptions the operator is identifiable from data, with its signed output separating excitatory from inhibitory influences. On synthetic benchmarks, ISCL recovers the causal structure on Lorenz96 and achieves the lowest mean structural Hamming distance among compared methods on NetSim, while preserving signed influence structures that distinguish excitatory from inhibitory interactions. Applied to HCP Social Cognition task-fMRI, ISCL reveals a signed architecture whose stability across seeds supports the identifiability guarantee, identifies dominant source and target networks consistent with social-cognition systems, and shows that condition-specific training strengthens causal outflow from the default-mode and frontoparietal networks during theory-of-mind processing. In this task, the recovered signed structure reveals network-level excitatory and inhibitory organization, with the dorsal-attention network as the only consistently positive out-strength source. The source code of the proposed model is available at https://github.com/Yiding00/ISCL.
Index Terms—Brain effective connectivity, latent stochastic differential equations, continuous-time causal learning, signed causal influence, rationality, identifiability.
I. INTRODUCTION
RAIN function depends on interactions among cortical regions, and recovering these interactions is a core problem in network neuroscience [1]. Neuroimaging methods such as functional magnetic resonance imaging (fMRI) enable non-invasive observation of large-scale brain activity [2]. A central goal in network neuroscience is to estimate directed influences among brain regions, commonly referred to as effective connectivity (EC) [3]. Brain dynamics are inherently time-varying. Cognitive demands, attentional shifts, and transient neural events reshape inter-regional coupling on sub-second timescales [4]. Dynamic effective connectivity (dEC) that captures this temporal variation is needed to track how directed influences evolve over a task or resting-state scan.
Classical EC methods such as dynamic causal modeling (DCM) [5] and approaches based on Granger causality (GC) [6] are interpretable causal learning methods, but do not scale well to high-dimensional data [3]. DCM requires candidate models to be specified in advance and compares them through Bayesian model selection [5]. Practically, classical DCM is limited to small networks by the combinatorial cost of exploring the model space and by Bayesian inversion [7], and EC estimates show only moderate test-retest reliability [8]. GC methods use temporal precedence and improved prediction as evidence of directionality, but their stationarity and linearity assumptions are hard to maintain for high-dimensional brain signals with nonlinear dynamics [6].
Deep architectures have been introduced to relax these constraints [9]–[16]. Neural Granger causality methods extend the Granger framework with recurrent or convolutional architectures to model nonlinear dependencies [9], [10]. Generative adversarial frameworks recover effective connectivity from multimodal brain data [11]. Deep feature-aggregation networks built on dynamic EC estimates identify clinical conditions [12], and deep causal learners based on structural equation models estimate time-varying causal masks under sparsity regularization [13]. A recent model inspired by transformers recovers time-varying inter-neuron connectivity by treating the linearized attention matrix itself as the coupling weight [14]. Time-reversal methods exploit temporal asymmetries to infer directed graphs [15]. A continuous-time framework learns identifiable dynamic EC through causal distribution modeling [16]. These approaches have advanced directed connectivity estimation and scale to high-dimensional signals that classical methods cannot reach.
Continuous-time models of neural activity fall into two branches. One branch performs continuous-time structure learning at the variable level, without a low-dimensional latent projection [17], [18]. Score-based methods estimate directed graphs by fitting penalized neural ordinary differential equations with adaptive regularization [17], and variational approaches place a posterior distribution over possible graphs while the dynamics are modeled by neural stochastic differential equations (SDEs) [18]. Both recover a discrete graph
This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.
This research was supported by the National Natural Science Foundation of China (Nos. 12271429 and 12226007), and the National Key R&D Program of China (No. 2024YFA1012000). (Corresponding author: Chen Qiao)
Yiding Wang and Chen Qiao are with the School of Mathematics and Statistics, Xi'an Jiaotong University, Xi'an 710049 P.R. China. (ytcurl@stu.xjtu.edu.cn; qiaochen@mail.xjtu.edu.cn) of which variables interact. A second branch uses a low-dimensional latent SDE with a decoder that maps latent states to high-dimensional observations, and establishes that the latent SDE is identifiable up to an isometry [19]. The first operates without a latent space, and the second leaves connectivity in latent coordinates without a direct mapping to region-level causal influence. Neither branch recovers continuous coupling at the region level in observation space using latent dynamics.
A reliable dEC estimate must satisfy three properties that existing methods do not jointly provide. Rationality ensures that the estimated dEC measures a directed interventional response at a given brain state. Identifiability ensures that two different objects cannot induce the same observation distribution, so that the learned dEC is uniquely determined by the data and not by an arbitrary parameterization. A signed output preserves the sign of coupling, distinguishing excitatory from inhibitory influences. Together, these properties support consistency across runs and provide a reliable basis for cross-subject comparison and mechanistic interpretation of brain function.
To achieve these properties, we propose Identifiable Signed Causal Learning (ISCL), a latent SDE framework that derives dEC from learned latent dynamics through a causal influence operator defined in observation space. The latent-to-observation structure links the model to the blood oxygen level dependent (BOLD) signal generation process, mapping high-dimensional observations into a low-dimensional latent space that models the underlying neural dynamics. The main contributions are summarized as follows.
-
A continuous-time dynamic causal learning framework is introduced that models neural dynamics through a latent SDE and a decoder mapping latent states to observations, producing a causal influence matrix at each time point from high-dimensional observations. The computationally fast observation-space causal influence operator is analytically derived from the trained decoder and drift, and a rationality theorem establishes that it captures a directed interventional response at each brain state.
-
Under invariance assumptions of the latent SDE, the operator is identifiable in observation space, so the reported connectivity does not depend on the particular latent parameterization. On synthetic benchmarks and task-fMRI, the recovered connectivity is consistent across seeds, supporting the identifiability guarantee.
-
The operator outputs signed region-level dEC, preserving the distinction between excitatory and inhibitory influences. On HCP, the signed structure reveals the dorsal-attention network as the only consistently positive out-strength source and characterizes EC reconfiguration across task states, with causal outflow from the default-mode and frontoparietal networks strengthened during theory-of-mind processing.
The remainder of this paper is organized as follows. Section II presents the ISCL framework and the identifiable causal influence operator. Section III reports experiments on synthetic benchmarks and HCP Social Cognition task-fMRI. Section IV concludes the paper.
A. Latent Dynamics Modeling
Let be the observed signal at time , where is the number of observational nodes, and let be the corresponding latent state, where is the latent dimension. The goal is to recover a directed causal influence matrix in the observation space for each time point . Its entry encodes the observation-level causal influence , with column as the source and row as the target. From a neurobiological perspective, a positive entry indicates an excitatory influence, where a tangent perturbation at node increases the BOLD velocity at node . A negative entry indicates an inhibitory influence, where the perturbation decreases the BOLD velocity. Because captures this signed, directed interventional response at each time point, it constitutes a dEC estimate. This estimate is required to be invariant to the latent-coordinate ambiguity of the data-generating process, and to reflect the local response of node activity to infinitesimal perturbations at other nodes, not pairwise statistical association. Thus, we introduce a latent-to-observation model. The observation process is defined as
where is a smooth observation function parameterized by , and is zero-mean Gaussian noise.
Motivated by Hasan et al. [19], we consider a latent SDE with isotropic diffusion as continuous-time latent dynamics
where is the drift function parameterized by , and is a Wiener process. The isotropic diffusion matches the identifiability conditions of Hasan et al. [19], under which both the latent SDE coefficients and the latent state are identifiable up to an isometry. The learned drift therefore captures interaction structure uniquely determined by the data.
Intuitively, the model follows the basic logic of fMRI signal generation. The latent state represents underlying neural activity at the network level, which evolves over time driven by the drift and random fluctuations. The decoder acts as the hemodynamic forward model, mapping this hidden neural activity to the BOLD signals observed at each brain region.
B. Observation-Space Causal Influence Operator
In this section, we define the observation-space causal influence operator that maps latent dynamics to causal interactions. The operator is defined on the deterministic drift skeleton of the latent SDE. When two neighboring latent trajectories share the same Brownian path, subtracting their SDEs cancels the

Fig. 1. Overview of the ISCL framework. High-dimensional observations are mapped into a low-dimensional latent representation via latent inference with encoder . Temporal evolution is modeled by latent dynamics with drift , producing dynamically consistent latent trajectories. Observation mapping via decoder reconstructs observations and predicts future states from the latent dynamics. The Jacobian propagates latent drift to the observation space via the chain rule, and the Hessian provides a second-order correction, yielding an identifiable dynamic EC operator . Training jointly optimizes reconstruction accuracy, latent dynamic consistency, and future-state prediction.
diffusion terms, and the first-order perturbation propagation depends only on the drift and the observation map. Let
denote the observation manifold, and let
denote the noise-free decoder output on , distinct from the noisy observation . Tracing how the drift propagates through leads to the following operator.
Definition 1: Assume that is a smooth immersion and that has full column rank. The observation-space causal influence operator at is defined as
where denotes the Moore–Penrose pseudoinverse of the decoder Jacobian [20], and denotes the contraction of the decoder Hessian with the drift vector, defined componentwise as
Throughout this paper, excitatory and inhibitory refer to BOLD-velocity response directions, following the convention in DCM [5] and other effective connectivity methods. captures the first-order response of the observation velocity to tangent perturbations, and is reported as a matrix in the original observation coordinates.
The following theorem formalizes this property.
Theorem 1 (Rationality): Let denote the velocity of . Under the assumptions of Definition 1, for any
tangent perturbation , the induced local response of the observation velocity satisfies
Proof sketch. The result follows from a chain-rule expansion of and the full-column-rank substitution ; the full proof is given in Appendix A. ■
When and the decoder is invertible, the tangent space coincides with , and each column of directly represents the response to an independent perturbation at the corresponding observed node. When , the tangent space is a proper subspace, and describes the response only to perturbations lying in this subspace. Column then represents the response to the tangent projection of a perturbation at node , rather than to an independent coordinate intervention.
For an affine decoder , the Hessian term vanishes and Eq. (1) reduces to
\mathbf{C}_{\tilde{\mathbf{x}}}(\mathbf{z})=J_{\mathbf{f}}(\mathbf{z})\,J_{\mu}(\mathbf{z})\,J_{\mathbf{f}}(\mathbf{z})^+\When the decoder is the identity map, as in the vector autoregressive model with , the Hessian vanishes and , so the operator reduces to , recovering the autoregressive coefficient matrix.
C. Identifiability Analysis
The following theorem states the identifiability of the observation-space causal operator under the common latent-SDE identifiability assumptions used in our analysis.
Theorem 2 (Identifiability): Assume that: (A1) the drift and diffusion of the latent SDE are globally Lipschitz, is symmetric positive definite and reducible, meaning the SDE admits an invertible transform that reduces its diffusion to isotropic form, and the observation noise is Gaussian with non-degenerate covariance; (A2) the observation map is and has full column rank; and (A3) two parameterizations share the same latent dimension and isotropic diffusion. Let and be two parameterizations that induce the same joint distribution of adjacent observations . Then, for every common observation point ,
Thus, the observation-space causal operator is identifiable in observation coordinates up to isometric latent transformations. Proof sketch. Under assumptions (A1)–(A3), two models generating the same joint distribution differ at most by an isometric transformation with orthogonal. Under this transformation, each component of Eq. (1) acquires orthogonal factors that cancel upon substitution, yielding . The full derivation is given in Appendix A.
The theorem guarantees that the learned connectivity in observation space is unique. Different training runs may converge to different latent representations, but as long as they differ only by an isometry, they produce the same . This removes latent-coordinate ambiguity from the reported connectivity and ensures that can be meaningfully compared across seeds, subjects, and models. In practice, the true intrinsic dimension is unknown, and the identifiability guarantee holds when the model latent dimension matches the true dimension and the decoder Jacobian has full column rank. Experimental results confirm that the learned operator reliably recovers signed coupling and its network-level organization across seeds and subjects.
D. Model Architecture
The encoder is a multilayer perceptron (MLP) with L hidden layers of width H and tanh activations that maps each observation to a deterministic latent point estimate:
All network weights are initialized with the PyTorch default Kaiming uniform initialization [21]. Using a point estimate avoids the distributional ambiguity introduced by a variational posterior; under the assumptions of Theorem 2, the remaining ambiguity in the latent representation is an isometric transformation, which leaves invariant.
The drift is parameterized by an MLP of the same architecture. Given a latent state , the one-step Euler prediction is:
where is set to the sampling interval of the data.
The decoder maps latent states back to observation space through an MLP of the same architecture.
All three identifiability assumptions of Theorem 2 are satisfied by design. The use of smooth tanh activations ensures that both and are globally Lipschitz and that is twice continuously differentiable; together with the isotropic diffusion, these satisfy (A1). The same tanh architecture also satisfies the requirement of (A2), and setting ensures that can have full column rank. The latent dimension and isotropic
Algorithm 1 Training of ISCL
Input: Observation sequence , latent dimension , sampling interval , loss weights and .
Output: Dynamic causal influence sequence .
1: Initialize the encoder , the drift network , and the decoder with Kaiming uniform initialization.
2: for each training epoch do
3: for each adjacent observation pair do
4: Encode the latent estimates and .
5: Predict the one-step latent state .
6: Compute , , and .
7: end for
8: Update , , and by backpropagation.
9: end for
10: Evaluate the observation-space causal operator at each encoded latent state .
11: return the sequence .
diffusion structure are fixed across runs (A3), so the architectural choices are consistent with the assumptions of Theorem 2.
After training, the learned local operator is evaluated at the encoded latent state to obtain the estimated causal influence in observation space:
Each is evaluated at the time-varying latent state , so the operator reflects the temporal dynamics of the latent trajectory. No sliding window or temporal smoothing is used. The resulting sequence forms the dEC analyzed in our experiments.
E. Objective Function
We train the model with an objective defined on adjacent observations . Consistent with the pointwise operator formulation above, we use the deterministic latent estimates:
The reconstruction loss is defined as
Under Gaussian observation noise, minimizing is equivalent to maximizing the observation likelihood.
The dynamics consistency loss aligns the encoded latent state at with the one-step drift prediction:
Under unit isotropic diffusion, minimizing is equivalent to minimizing the negative log Euler–Maruyama transition likelihood up to scaling and an additive constant.
A prediction loss in observation space keeps the decoded drift prediction close to the next observation:
While and constrain the decoder and the drift separately, couples the two by requiring the decoded drift prediction to remain faithful to the observed temporal evolution.
The base training objective combines reconstruction, dynamics, and prediction:
The complete training procedure is summarized in Algorithm 1, and all network parameters are updated jointly by backpropagation on the training objective.
III. EXPERIMENTS
We evaluate the proposed framework on Lorenz96, NetSim, and HCP task fMRI datasets. All experiments were run on a Linux workstation with an Intel Xeon Silver 4310 processor, 251 GB of RAM, and an NVIDIA A5000 GPU. All models are optimized with AdamW under a cosine learning-rate schedule, with early stopping applied when the loss plateaus. Hyperparameters are selected by Optuna and reported per subsection.
A. Synthetic Dataset: Lorenz96
Lorenz96 [22] is a coupled chaotic system originally proposed for atmospheric modeling, defined by with periodic boundary conditions. Its chaotic dynamics and known coupling structure make it a widely used benchmark for evaluating causal learning methods. We follow the identity observation setting of [16], where the observed signals equal the latent states, so the ground-truth causal matrix is known exactly. The forcing coefficient is and the system dimension is . Each experiment generates 1000 time steps per subject, with 4 training and 2 held-out test subjects; all metrics are computed on the test subjects and averaged over 5 random seeds. The model uses hidden layers of units, batch size 256, 2000 epochs, learning rate , and loss weights , .
Following Wang et al. [16], we report area under the receiver operating characteristic curve (AUROC), structural Hamming distance (SHD), and a cosine-similarity-based edge-alignment score, denoted WCS, which is computed on weighted directed causal matrices and captures both edge sign and magnitude. Given the estimated causal matrix and the ground-truth weighted directed matrix C, where the ground truth is the Jacobian of the Lorenz96 dynamics and both matrices are averaged over the evaluation time points, we compute their cosine similarity:
- Loss Ablation: To determine whether the edge-sparsity penalty aids recovery when the ground truth is signed, we compare ISCL with and without on the identity 20-node Lorenz96 setting. The edge-sparsity penalty is defined as , appended to the base objective with weight . Fig. 2 shows that the edge-sparsity penalty improves the binary structure score while reducing the weighted cosine alignment, as it suppresses weak edges but also shrinks true magnitudes. The four variants are the base configuration, the base configuration augmented with , and two ablations that remove or . Removing either

(c)
(d) AUROC and WCS
Fig. 2. Loss ablation and C-matrix comparison on the Lorenz96 setting. (a) Estimated from the base configuration. (b) Ground-truth with colorbar. (c) Estimated with . (d) AUROC and WCS for the base, base augmented with , and ablations that remove or .

(d) Edge scatter (lat=20)
(e) Edge 12 15 (rank 1, )
(f) Edge 3 83 (rank 401, )
(g) Edge scatter (lat=15)
(h) Edge 85 3 (rank 1, )
Fig. 3. Dynamic causal coupling tracking on the non-identity Lorenz96 setting. (a) Ground-truth ; estimated with model (b) and (c). (d-i) For and , per-edge scatter of estimated versus true coupling and the time series of the top and mid-ranked edge.
term drops both the binary structure score and the weighted cosine alignment below the base configuration by a large margin, confirming that both loss terms are individually necessary. ISCL keeps all three base losses and no edge penalty, and is used throughout the paper.
TABLE I
LATENT DIMENSION AND DROPOUT GRID ON THE 20-NODE IDENTITY LORENZ96 SETTING ACROSS 5 SEEDS. MEAN ± 95% CI COMPUTED BY STUDENT'S t-DISTRIBUTION.
| Dropout | AUROC(%) | SHD | WCS(%) | |
|---|---|---|---|---|
| 10 | 20% | 71.25 1.39 | 66.4 4.4 | 41.21 4.69 |
| 40% | 70.81 7.35 | 66.4 14.0 | 42.42 6.60 | |
| 60% | 78.97 7.41 | 60.4 15.4 | 45.80 7.98 | |
| 15 | 20% | 95.68 1.24 | 22.4 4.8 | 70.39 2.43 |
| 40% | 95.33 1.94 | 22.4 4.1 | 65.78 2.76 | |
| 60% | 89.86 3.64 | 36.0 9.0 | 60.08 1.68 | |
| 20 | 20% | 98.56 1.01 | 18.4 4.1 | 82.18 1.40 |
| 40% | 99.15 0.34 | 15.2 4.8 | 68.87 2.20 | |
| 60% | 90.26 3.12 | 47.6 8.7 | 45.06 3.27 |
-
Recovery of Causal Coupling: The continuous-time formulation tracks dynamically varying causal coupling even when the model latent dimension differs from the true intrinsic dimension. Fig. 3 evaluates this on the non-identity Lorenz96 setting, where the system is observed through a nonlinear map to dimensions and the true latent dimension is . With the model latent dimension set to , the estimated recovers the ground-truth mean structure (Fig. 3a,b), and the per-edge scatter and time series confirm that the estimated coupling tracks the ground-truth temporal fluctuations for both the top-ranked and mid-ranked edges (Fig. 3d–f). With a smaller model , the mean structure is still recovered (Fig. 3c), and the dominant edge remains well tracked, while mid-ranked edges show reduced temporal fidelity (Fig. 3g–i). The displayed edges are selected by within- correlation rank. Dominant coupling is thus recovered reliably even under reduced latent capacity.
-
Irregular Sampling: To assess robustness to irregularly sampled time series, we sweep and dropout on the 20-node Lorenz96 identity setting across 5 seeds. Dropout randomly removes a fraction of time points while preserving the first and last observations.
Table I shows that the model recovers meaningful causal structure across a range of latent dimensions and observation dropout rates. Recovery improves with latent capacity, with achieving strong results consistent with the dynamic coupling tracking in Fig. 3 and reaching the best overall performance. Moderate observation sparsity benefits binary structure at , where 40% dropout yields the lowest SHD and 20% dropout retains the highest weighted cosine alignment. At 60% dropout, recovery weakens for . Moderate dropout may act as a form of temporal regularization by reducing the redundancy among adjacent frames, while excessive dropout removes the information needed to identify the latent dynamics.
B. Synthetic Benchmark: NetSim
NetSim [23] is a biologically motivated fMRI simulation benchmark with known ground-truth connectivity, hemodynamic convolution, and observation noise. We evaluate on the 10-node sim2 and 50-node sim4 settings, with and respectively. For both sim2 and sim4, the model uses , , batch size 256, 100 epochs, and , . All metrics are averaged over 5 seeds. Baselines include NGM [17], cMLP [9], CUTS [24], and CUTS+ [25].
TABLE II
NetSim BENCHMARK. MEAN 95% CI OVER 5 SEEDS COMPUTED BY STUDENT'S t-DISTRIBUTION.
| Setting | Method | AUROC(%) | SHD | WCS(%) | Time (min) |
|---|---|---|---|---|---|
| sim2 | NGM | 86.6 | |||
| cMLP | 85.3 | ||||
| CUTS | 48.6 | ||||
| CUTS+ | 70.7 | ||||
| ISCL | 1.0 | ||||
| sim4 | NGM | 89.0 | |||
| cMLP | 371.0 | ||||
| CUTS | 155.3 | ||||
| CUTS+ | 192.9 | ||||
| ISCL | 1.1 |

Fig. 4. NetSim results. (a) Cross-seed pairwise cosine similarity of C matrices across 5 independent seeds, upper triangle for sim2 and lower triangle for sim4. (b)–(c) Scatter of estimated versus true edge weights.
Table II shows that ISCL achieves the best AUROC, SHD, and WCS on sim2. On the larger sim4 setting, CUTS attains a slightly higher AUROC, as its thresholded binary output suits the rank-based metric on sim4's sparse ground truth. ISCL achieves the lowest SHD and produces strongly positive WCS values while all baselines show negative ones. This sign gap is expected by construction, as standard methods output unsigned edge strengths, so their cosine similarity against a ground truth containing negative self-inhibition is necessarily negative, whereas the latent SDE Jacobian in ISCL naturally preserves the sign of coupling. The WCS comparison therefore reflects the additional information captured by signed estimation rather than a difference in unsigned recovery quality. ISCL is also faster than all baselines, completing each seed in approximately one minute. ISCL generalizes to held-out test subjects, whereas baselines require per-subject fitting and report in-sample fit.
Fig. 4 summarizes cross-seed consistency of the estimated causal matrix and the scatter of estimated versus true edge weights. ISCL produces consistent C across independent training seeds on both sim2 and sim4. The scatter plots reveal three natural clusters determined by the NetSim ground-truth structure. These correspond to diagonal self-inhibition at x = -1, absent edges at x = 0, and a sparse set of positive connections in the first quadrant. ISCL correctly recovers self-inhibition on the diagonal, assigns near-zero values to absent edges, and captures the correct sign and magnitude for true connections.
C. Real fMRI Dataset: HCP Social Cognition
We evaluate ISCL on real fMRI using the Human Connectome Project (HCP) Young Adult dataset [26], a large and openly available cohort of healthy adults acquired under a harmonized high-resolution protocol. We use the Social Cognition task-fMRI protocol [27], which employs a theory-of-mind paradigm. The sample follows the official HCP unrelated-subjects release and comprises 339 subjects with no known family structure. Each subject contributes the left-to-right phase-encoding run.
The Social Cognition task presents mentalizing and random interaction conditions as interleaved blocks [27] within a single left-to-right phase-encoding run of 274 BOLD frames, of which 99 are mentalizing and 66 are random. For each subject, ISCL produces a per-time-point causal coupling matrix.
Functional runs were acquired on a 3T scanner with a 720 ms repetition time, a 33.1 ms echo time, 2.0 mm isotropic voxels, and a multiband factor of eight. The volumetric HCP minimally preprocessed release [28] was used as input, where gradient distortion, susceptibility distortion, head motion, and registration to standard space had already been corrected. Region-level time series were then obtained by resampling the Schaefer atlas [29] onto the functional grid and averaging the voxels within each of the 200 cortical parcels. No additional confound regression or temporal filtering was applied, so the task-evoked structure is retained in the input. All 339 subjects are used for both model training and the analyses, so the results are in-sample descriptive findings. The seven-network partition of the atlas assigns each parcel to one of the canonical resting-state networks (RSNs): visual (VIS), somatomotor (SOM), dorsal-attention (DAN), ventral-attention (VAN), limbic (LIM), frontoparietal (FPN), and default-mode (DMN).
The model uses hidden layers of units, batch size 256, 200 epochs, learning rate under a cosine schedule, and loss weights , . A subject context encoder allows a single shared model to adapt to individual subjects. All results are averaged over five independent seeds.
- Seed Stability of Effective Connectivity: To assess whether the learned connectivity representation is robust to the randomness of model initialization, we trained ISCL with five independent seeds on the same HCP Social Cognition dataset and compared the resulting connectivity matrices at the region-of-interest (ROI) and RSN levels, both signed and unsigned. All cross-seed comparisons in this subsection apply per-subject full-matrix normalization. Each subject's connectivity matrix is divided by its total absolute mass before averaging, removing inter-subject differences in global coupling magnitude:
Table III reports the cross-seed consistency at and . At the RSN level, unsigned coupling is nearly identical across seeds at both dimensions, and the RSN-level consistency is higher than at the ROI level, as aggregation over regions within each network averages out ROI-level estimation noise. At the ROI level, unsigned magnitude is consistent across seeds and decreases modestly as the latent dimension increases. Signed coupling is also consistent across seeds after normalization, with the RSN-level signed cosine approaching the corresponding unsigned values at , supporting network-level analysis of the sign pattern. The subsequent RSN-level analyses are reported at .
TABLE III
CROSS-SEED CONSISTENCY OF ISCL ON HCP SOCIAL COGNITION. MEAN 95% CI OVER PAIRWISE SEED COMPARISONS, COMPUTED BY BOOTSTRAP RESAMPLING OF THE PAIRWISE COSINE.
| Metric | ||
|---|---|---|
| RSN cosine | 0.986 0.006 | 0.989 0.005 |
| ROI cosine | 0.950 0.015 | 0.932 0.015 |
| RSN signed cosine | 0.935 0.017 | 0.915 0.030 |
| ROI signed cosine | 0.914 0.019 | 0.858 0.041 |

(b) Signed RSN-level
Fig. 5. Signed dEC architecture. (a) Per-subject normalized ROI-level matrix at . (b) Corresponding RSN-aggregated signed matrix with marginal bar charts showing per-RSN out-strength and in-strength; error bars are cross-seed standard deviation.
- ROI- and RSN-Level Organization: To characterize the EC architecture, Fig. 5a shows the per-subject normalized ROI-level signed matrix. The most salient feature is a set of vertical blue bands, each corresponding to a source ROI that exerts global inhibitory observation-level influence across the cortex; the strongest such bands originate from the bilateral control-cingulate parcels in FPN and the posterior-cingulate parcels in DMN. The two strongest inhibitory sources at the ROI level are both cingulate-region parcels, the control-cingulate parcels of FPN and the posterior-cingulate parcels of DMN. The posterior cingulate cortex is a core node of the default-mode network [30] and the control-cingulate parcels form the cingulate segment of the frontoparietal control network [31], indicating that observation-level inhibition over distributed cortex is routed through the cingulate region.
Aggregating into directed RSN matrices (Fig. 5b), the DAN column is entirely positive while all other columns are negative, reflecting that DAN is the only consistently positive out-strength source. The out-strength and in-strength bar charts (Fig. 5b) confirm this difference. All networks receive net inhibitory input, with VAN and FPN receiving the strongest inhibition, while SOM, FPN, and VIS are the strongest inhibitory sources. LIM has the weakest magnitude in both directions, indicating that it participates minimally in the directed coupling during social cognition. The positive observation-level out-strength of DAN is consistent with its established function in top-down attentional control [32], and this excitatory outflow at the observation level may reflect top-down attentional enhancement overriding the suppressive influence of feedback predictions in predictive coding [33]. The positive influence from DAN to DMN differs from the resting-state anticorrelation between these networks [34], as DAN is recruited for attention to external social stimuli and DMN for theory-of-mind processing [30]. The negative observation-level outflow from FPN and DMN is consistent with their roles in cognitive control and internally directed thought, respectively [31].

(c) Top-50 strengthened
(d) Top-50 weakened
Fig. 6. Condition-specific dEC at . (a) Mentalizing condition circos of the top-50 strongest ROI-level edges; (b) random condition circos. Edge width encodes connection magnitude. (c) Dorsal view of the 50 strongest mentalizing-strengthened directed edges ranked by ; (d) dorsal view of the 50 strongest mentalizing-weakened directed edges.
- Condition-Specific Effective Connectivity: To assess whether the recovered EC encodes cognitive state in addition to subject identity, separate models were trained exclusively on mentalizing or random time points at . Training per condition instead of comparing time windows within a single pooled model is designed to attribute observed EC differences to the cognitive state rather than to averaging over heterogeneous dynamics. Mentalizing and random frames were identified from the HCP task event design and extracted as separate subsequences, discarding all frames outside the target condition. Because the two conditions are interleaved within a single run, the extracted subsequences differ in their temporal continuity and may carry residual hemodynamic transition effects at block boundaries. Five seeds were trained per condition on 339 subjects. The strongest directed edges from each condition are shown in Fig. 6. The condition difference is defined as using per-subject normalization (Eq. 2). Both conditions share a source backbone in FPN and DMN, with the VAN and FPN as the primary targets. Differences are confined to edge magnitudes, without changes in the presence or absence of specific pathways. The brainlet dorsal views in Fig. 6c and d separate the mentalizing-strengthened and mentalizing-weakened edges. The 50 strengthened edges are all driven by FPN and DMN outflow, while the 50 weakened edges involve VAN and SOM as targets. The strengthened edges are driven by only two source parcels, the left posterior-cingulate
in DMN and the right control-cingulate in FPN, which also account for the entire mentalizing intensity top-50 (Fig. 6a). The weakened edges instead spread across eight sources in VAN and SOM and are received mainly by SOM and VAN.

(c) RSN-level distribution (n=339)
(d) ROI-level out-flow (n=339)
Fig. 7. Condition-specific effective connectivity difference. (a) at the ROI level, subject-average across five seeds. (b) RSN-level with marginal bars showing per-RSN out-strength and in-strength; error bars are cross-seed standard deviation. (c-d) Per-subject distribution (n=339) of directed RSN-level and ROI-level for the top-4 strongest RSN pairs and the top-4 hub ROIs.
Fig. 7a shows the ROI-level heatmap, where the largest strengthened differences originate from FPN and DMN networks. The RSN-level heatmap in Fig. 7b confirms that positive incoming differences concentrate on DAN and VIS as targets, while DMN shows negative incoming differences. Per-subject distributions confirm that the RSN-level pattern holds across individuals, with the strongest differences sharing a common sign in nearly all subjects (Fig. 7c), and the top hub ROIs show consistent sign agreement at the ROI level (Fig. 7d). Negative differences concentrate on VAN and SOM. The positive incoming difference to DAN is consistent with its involvement in top-down attentional deployment during social cognition [32]. The negative incoming difference of DMN is consistent with its role as the core substrate of theory-of-mind processing [30], reflecting reduced incoming influence during mentalizing as internally directed processing dominates over externally driven input. Coupling strength is thus redirected from DMN toward attention and visual networks during mentalizing.
Table IV summarizes the stability and difference metrics. Within each condition, cross-seed consistency remains high, confirming that condition-specific training does not degrade the stability of the learned representation. The cross-condition cosine remains high, consistent with the shared backbone observed in Fig. 6. The condition difference is systematic at the RSN level. Among the top-20 strongest RSN pairs, most achieve full sign agreement across seeds in , with a roughly even split between strengthened and weakened differences. Among the top-400 strongest ROI pairs, most achieve full
TABLE IV CONDITION-SPECIFIC EC STABILITY AND DIFFERENCE METRICS.
| Metric | Value |
|---|---|
| Cross-condition cosine () | |
| Cross-seed cosine, mentalizing | |
| Cross-seed cosine, random | |
| Top-20 RSN pair by , 5/5 sign agreement | 16 / 20 |
| strengthened / weakened | 8 / 12 |
| Top-400 ROI pair by , 5/5 sign agreement | 349 / 400 |
| strengthened / weakened | 384 / 16 |
| FPN-source (5/5) | 148 / 183 |
| DMN-source (5/5) | 180 / 196 |
sign agreement across seeds, with strengthened differences exceeding weakened ones. The top-400 pairs originate mainly from FPN and DMN, indicating that the largest condition differences are driven by increased causal outflow from these two networks during mentalizing. Weakened differences are distributed across many weak ROI pairs within VAN and SOM, producing notable RSN-level averages but only 16 individual ROI pairs strong enough to enter the top-400.
The HCP analyses show that ISCL recovers a signed dEC architecture that is stable across seeds, organized at the network level, and reconfigures with cognitive state. The recovered signed dEC thus provides a network-level description of brain organization and its task-dependent reconfiguration.
IV. CONCLUSION
We have presented ISCL, a latent SDE framework that learns dEC from high-dimensional neuroimaging data through a rational, identifiable, signed causal influence operator defined in observation space. Under the invariance assumptions of the underlying dynamics, the recovered connectivity is uniquely determined in observation space. On synthetic benchmarks with ground truth, ISCL recovers the causal structure on Lorenz96 and achieves the lowest SHD among compared methods on NetSim, while its signed output separates excitatory from inhibitory observation-level influences that unsigned baselines cannot represent. On HCP Social Cognition task-fMRI, the rational and identifiable operator recovers connectivity consistent across seeds and reveals a signed architecture aligned with the functional organization of social cognition. The signed architecture identifies the dorsal-attention network as the only consistently positive out-strength source, with the somatomotor, frontoparietal, and visual networks as the strongest inhibitory sources. Condition-specific training further reveals EC reconfiguration across task states, with causal outflow from the default-mode and frontoparietal networks strengthened during theory-of-mind processing.
APPENDIX A
PROOFS OF THE MAIN RESULTS
Theorem 1 (Rationality). Let denote the velocity of . Under the assumptions of Definition 1, for any tangent perturbation , the induced local response of the observation velocity satisfies
Proof: By the chain rule, the observation velocity is . Taking the first-order differential of this product and applying the product rule produces two terms, the local rate of change of the latent dynamics and the curvature of the observation map:
Since has full column rank and the tangent perturbation satisfies , there exists a unique latent perturbation with , equivalently . Substituting gives .
Lemma 1 (Pseudoinverse orthogonal invariance [20]):
Let and be orthogonal (). Then
This identity is a standard property of the Moore–Penrose pseudoinverse [20] and is used in the proof of Lemma 2.
Lemma 2 (Isometric invariance of ): Let be a smooth immersion with of full column rank. Suppose two parameterizations and are related by an isometric transformation with orthogonal, so that and . Then, for any tangent perturbation ,
Proof: We verify the invariance by substituting the isometric relations into each component of .
For the decoder, with gives
where the second equality follows from Lemma 1. For the drift, gives
For the Hessian contraction, the chain rule with (affine, hence zero second derivative) gives, for each ,
Contracting with , we obtain
Combining the three components and substituting into the definition of gives
Theorem 2 (Identifiability). Assume that: (A1) the drift and diffusion of the latent SDE are globally Lipschitz, is symmetric positive definite and reducible, meaning the SDE admits an invertible transform that reduces its diffusion to isotropic form, and the observation noise is Gaussian with non-degenerate covariance; (A2) the observation map is and has full column rank; and (A3) two parameterizations share the same latent dimension and isotropic diffusion. Let and be two parameterizations that induce the same joint distribution of adjacent observations . Then, for every common observation point ,
Thus, the observation-space causal operator is identifiable in observation coordinates up to isometric latent transformations.
Proof: Under the assumptions of Theorem 2, by the identifiability result of Hasan et al. [19], if two models generate the same joint distribution of adjacent observations, their latent representations differ at most by an isometric transformation, with an orthogonal matrix Q and a translation b such that , with and .
Lemma 2 shows that any such isometric pair induces identical observation-space causal matrices. Therefore, for any two parameterizations yielding the same adjacent-observation distribution, at every common point.
REFERENCES
[1] E. Bullmore and O. Sporns, “Complex brain networks: graph theoretical analysis of structural and functional systems,” Nature Reviews Neuroscience, vol. 10, no. 3, pp. 186–198, 2009.
[2] B. B. Biswal, M. Mennes, X.-N. Zuo, S. Gohel, C. Kelly, S. M. Smith, C. F. Beckmann, J. S. Adelstein, R. L. Buckner, F. X. Castellanos, and M. P. Milham, “Toward discovery science of human brain function,” Proceedings of the National Academy of Sciences, vol. 107, no. 10, pp. 4734–4739, 2010.
[3] K. J. Friston, R. Moran, and A. K. Seth, “Analysing connectivity with granger causality and dynamic causal modelling,” Current Opinion in Neurobiology, vol. 23, no. 2, pp. 172–178, 2013.
[4] V. D. Calhoun, R. Miller, G. Pearson, and T. Adahl, “The chronnectome: Time-varying connectivity networks as the next frontier in fMRI data discovery,” Neuron, vol. 84, no. 2, pp. 262–274, 2014.
[5] K. J. Friston, L. Harrison, and W. Penny, “Dynamic causal modelling,” NeuroImage, vol. 19, no. 4, pp. 1273–1302, 2003.
[6] A. Shojaei and E. B. Fox, “Granger causality: A review and recent advances,” Annual Review of Statistics and Its Application, vol. 9, no. 1, pp. 289–319, 2022.
[7] K. E. Stephan, W. D. Penny, R. J. Moran, H. E. den Ouden, J. Daunizeau, and K. J. Friston, “Ten simple rules for dynamic causal modeling,” NeuroImage, vol. 49, no. 4, pp. 3099–3109, 2010.
[8] H. Almgren, F. Van de Steen, S. Kühn, A. Razi, K. Friston, and D. Marinazzo, “Variability and reliability of effective connectivity within the core default mode network: A multi-site longitudinal spectral DCM study,” NeuroImage, vol. 183, pp. 757–768, 2018.
[9] A. Tank, I. Covert, N. Foti, A. Shojaei, and E. Fox, “Neural granger causality,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 44, no. 8, pp. 4267–4279, 2021.
[10] F. Xu, Y. Wang, G. Qu, V. D. Calhoun, J. M. Stephen, T. W. Wilson, Y.-P. Wang, and C. Qiao, “A deep spatio-temporal architecture for dynamic ecn analysis with granger causality based causal discovery,” Pattern Recognition, vol. 172, p. 112346, 2026.
[11] J. Liu, L. Han, and J. Ji, “Mcan: multimodal causal adversarial networks for dynamic effective connectivity learning from fMRI and eeg data,” IEEE Transactions on Medical Imaging, vol. 43, no. 8, pp. 2913–2923, 2024.
[12] Y. Li, J. Liu, Y. Jiang, Y. Liu, and B. Lei, “Virtual adversarial training-based deep feature aggregation network from dynamic effective connectivity for mci identification,” IEEE Transactions on Medical Imaging, vol. 41, no. 1, pp. 237–251, 2022.
[13] Y. Wang, C. Qiao, G. Qu, V. D. Calhoun, J. M. Stephen, T. W. Wilson, and Y.-P. Wang, “A deep dynamic causal learning model to study changes in dynamic effective connectivity during brain development,” IEEE Transactions on Biomedical Engineering, vol. 71, no. 12, pp. 3390–3401, 2024.
[14] Z. Lu, W. Zhang, T. Le, H. Wang, U. Sümbül, E. Shea-Brown, and L. Mi, “NetFormer: An interpretable model for recovering dynamical connectivity in neuronal population dynamics,” in International Conference on Learning Representations, 2025.
[15] Y. Wang, C. Jin, J. Yang, and C. Qiao, “Time-reversal enhanced dynamic causality distribution learning and its application in identifying dynamic ecns in mci patients,” IEEE Transactions on Biomedical Engineering, vol. 73, no. 1, pp. 180–190, 2026.
[16] Y. Wang, L. Chen, and C. Qiao, “Continuous-time causal distribution learning with identifiability for brain dynamic effective connectivity inference,” Medical Image Analysis, vol. 112, p. 104124, 2026.
[17] A. Bellot, K. Branson, and M. van der Schaar, “Neural graphical modelling in continuous-time: consistency guarantees and algorithms,” in International Conference on Learning Representations, 2022.
[18] B. Wang, J. Jennings, and W. Gong, “Neural structure learning with stochastic differential equations,” in The Twelfth International Conference on Learning Representations, 2024.
[19] A. Hasan, J. M. Pereira, S. Farsiu, and V. Tarokh, “Identifying latent stochastic differential equations,” IEEE Transactions on Signal Processing, vol. 70, pp. 89–104, 2021.
[20] R. Penrose, “A generalized inverse for matrices,” Mathematical Proceedings of the Cambridge Philosophical Society, vol. 51, no. 3, pp. 406–413, 1955.
[21] K. He, X. Zhang, S. Ren, and J. Sun, “Delving deep into rectifiers: Surpassing human-level performance on ImageNet classification,” in Proceedings of the IEEE International Conference on Computer Vision (ICCV), 2015, pp. 1026–1034.
[22] E. N. Lorenz, “Predictability: A problem partly solved,” in Proc. Seminar on Predictability, Vol. I, ECMWF, Reading, Berkshire, UK. ECMWF, 1996, pp. 1–18.
[23] S. M. Smith, K. L. Miller, G. Salimi-Khorshidi, M. Webster, C. F. Beckmann, T. E. Nichols, J. D. Ramsey, and M. W. Woolrich, “Network modelling methods for fMRI,” NeuroImage, vol. 54, no. 2, pp. 875–891, 2011.
[24] Y. Cheng, R. Yang, T. Xiao, Z. Li, J. Suo, K. He, and Q. Dai, “Cuts: Neural causal discovery from irregular time-series data,” in The Eleventh International Conference on Learning Representations, 2023, pp. 1–13.
[25] Y. Cheng, M. Yang, J. Wang, S. Li, Y. Sun, K. Zhang, and B. Schölkopf, “Cuts+: High-dimensional causal discovery from irregular time-series,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 38, no. 10, pp. 11525–11533, 2024.
[26] D. C. Van Essen, S. M. Smith, D. M. Barch, T. E. J. Behrens, E. Yacoub, K. Ugurbil, and WU-Minn HCP Consortium, “The WU-Minn human connectome project: An overview,” NeuroImage, vol. 80, pp. 62–79, 2013.
[27] D. M. Barch, G. C. Burgess, M. P. Harwell, M. F. Glasser, T. Brich, D. Coalson, B. Fischl, D. N. Greve, M. P. Harms, M. Jenkinson, and D. C. Van Essen, “Function in the human connectome: Task-fMRI and individual differences in behavior,” NeuroImage, vol. 80, pp. 169–189, 2013.
[28] M. F. Glasser, S. N. Sotiropoulos, J. A. Wilson, T. S. Coalson, B. Fischl, J. Andersson, J. Xu, S. Jbabdi, M. Webster, J. R. Polimeni, D. C. Van Essen, and M. Jenkinson, “The minimal preprocessing pipelines for the human connectome project,” NeuroImage, vol. 80, pp. 105–124, 2013.
[29] A. Schaefer, R. Kong, E. M. Gordon, T. O. Laumann, X.-N. Zuo, A. J. Holmes, S. B. Eickhoff, and B. T. T. Yeo, “Local-Global parcellation of the human cerebral cortex from intrinsic functional connectivity fMRI,” Cerebral Cortex, vol. 28, no. 9, pp. 3095–3114, 2018.
[30] R. N. Spreng, R. A. Mar, and A. S. N. Kim, “The common neural basis of autobiographical memory, prospection, navigation, theory of mind, and the default mode: a quantitative meta-analysis,” Journal of Cognitive Neuroscience, vol. 21, no. 3, pp. 489–510, 2009.
[31] S. M. Smith, P. T. Fox, K. L. Miller, D. C. Glahn, P. M. Fox, C. E. Mackay, N. Filippini, K. E. Watkins, R. Toro, A. R. Laird, and C. F. Beckmann, “Correspondence of the brain’s functional architecture during activation and rest,” Proceedings of the National Academy of Sciences, vol. 106, no. 31, pp. 13040–13045, 2009.
[32] M. Corbetta and G. L. Shulman, “Control of goal-directed and stimulus-driven attention in the brain,” Nature Reviews Neuroscience, vol. 3, no. 3, pp. 201–215, 2002.
[33] A. M. Bastos, W. M. Usrey, R. A. Adams, G. R. Mangun, P. Fries, and K. J. Friston, “Canonical microcircuits for predictive coding,” Neuron, vol. 76, no. 4, pp. 695–711, 2012.
[34] M. D. Fox, A. Z. Snyder, J. L. Vincent, M. Corbetta, D. C. Van Essen, and M. E. Raichle, "The human brain is intrinsically organized into dynamic, anticorrelated functional networks," Proceedings of the National Academy of Sciences, vol. 102, no. 27, pp. 9673–9678, 2005.