Fed-CausalDiff: Decoupled Synchronization for Federated Do-Simulation and Policy Evaluation pengfei li, Mohammad Khalil
arXiv:2606.22510v1 [cs.LG] 21 Jun 2026
Centre for the Science of Learning & Technology (SLATE), University of Bergen Bergen, Norway Email: {Pengfei.Li, mohammad.khalil}@uib.no
Abstract—While federated learning enables collaborative modelling on decentralised data, standard methods merely fit historical observations. This purely observational approach is fundamentally insufficient for interventional inference and policy evaluation, as sequential actions dynamically alter future states. We propose Fed-CausalDiff, a federated causal diffusion framework for do-simulation. The architecture structurally decomposes the latent state evolution into a global causal score function and a local confounding score function. This design enables decoupled synchronisation (DSS), where clients aggregate only the shared causal mechanism while retaining site-specific confounders locally to handle heterogeneity. Experiments on four datasets demonstrate that Fed-CausalDiff achieves better ATE and policy-value estimation accuracy, offering a favorable tradeoff between communication cost and inference fidelity. Index Terms—Federated learning, Structural causal model, Interventional simulation, Diffusion, Causal generative model
I. I NTRODUCTION In sectors like multi-center healthcare, algorithmic advertising, and financial risk management, decision systems generate massive sequential logs through “context-action-feedback” interactions [1]. However, strict data privacy regulations (e.g., GDPR) and ownership barriers often fragment these datasets, preventing cross-domain centralisation [2]. While Federated Learning enables collaborative modelling [3], the industry focus is shifting from simple state prediction to intervention evaluation—specifically, the exploration of counterfactual outcomes under alternative decisions [4]. This transition is particularly challenging in long-term sequences, where the tight coupling between actions and states creates complex timevarying confounding. As a result, traditional correlation-based models are prone to systematic bias, which complicates the accurate estimation of intervention effects [5]. Furthermore, because these sequential logs stem from historical policies rather than randomised trials, directly fitting models to observational correlations risks significant off-policy bias when evaluating novel, untested strategies [6]. Given this context, existing approaches exhibit distinct limitations. Many federated generative models prioritise synthetic fidelity: FedGAN synchronises generator/discriminator parameters across clients [7], while TimeGAN combines adversarial loss with stepwise supervision to model time-series distributions [8]. However, these models generally aim to fit observational distributions rather than explicitly characterising This work was funded by the Akademiaavtalen project ASPIRE.
do(·) intervention semantics, making them ill-suited for reliable closed-loop policy value inference. Conversely, sequential causal inference and OPE offer tools such as doubly robust estimators to assess the returns of new policies on logged data [9]. Yet, these methods typically lack a sampleable simulator that can progressively generate complete counterfactual trajectories under a specific policy [9]. While recent federated causal methods (e.g., FedCM) address mechanism identification, they largely neglect sampleable policy simulation [10]. Moreover, to circumvent the instability of adversarial training in non-IID settings [11], we adopt score-based conditional diffusion to achieve robust federated causal dynamic generation. To bridge these gaps, we propose Fed-CausalDiff, a federated framework for interventional sequence modelling based on conditional latent diffusion. Fed-CausalDiff models state evolution via conditional denoising (score matching), enabling do-simulation and policy evaluation beyond observational fitting. To address client heterogeneity, we decompose the score dynamics into a shared causal component and a client-specific confounding component, and apply partial synchronisation: the server aggregates only the causal score parameters while keeping confounding parameters local. We train the model with factual pre-training, diffusion-based transition learning, and representation balancing, and evaluate on intervention and offline policy-value metrics against federated generation and counterfactual baselines. II. BACKGROUND A. Federated learning and federated generative sequence modelling Federated Learning (FL) operates on a paradigm of “local data retention, on-device training, and server aggregation.” The classic FedAvg balances communication efficiency and scalability by performing local multi-step optimisation and periodically aggregating parameters [12]. Amidst non-IID data and system heterogeneity (variations in client compute, participation, or local steps), convergence and robustness remain central challenges. FedProx mitigates training instability arising from statistical and system heterogeneity by incorporating a proximal term into the objective function [13]. Addressing “objective inconsistency” caused by disparate local update steps, FedNova rectifies bias and convergence behaviour via normalised aggregation [14]. In FL contexts, generative modelling facilitates “distribution alignment, data augmentation,
cross-institutional sharing,” and “privacy-preserving synthetic data release.” FedGAN embeds GAN training within federated protocols, enabling collaborative generator-discriminator optimisation across distributed data [7]. In the area of diffusion generative modelling, frameworks such as FedDDPM incorporate the denoising score matching objective of DDPMs into federated protocols [15]. B. Sequential causal inference and counterfactual prediction The foundational frameworks of Causal Inference comprise Structural Causal Models (SCMs) and the potential outcomes framework. Pearl systematically codified causal diagrams, structural equations, and counterfactual semantics, offering identification tools such as the do-calculus to bridge observational and interventional distributions [16]. Meanwhile, Hernán and Robins centred on potential outcomes and graphical models, covering inference methods from static to complex longitudinal settings [17]. Addressing longitudinal data and time-varying treatments, classic approaches such as Marginal Structural Models (MSM) and Inverse Probability of Treatment Weighting (IPTW) construct “weighted pseudo-randomisation” to estimate causal effects in the presence of time-dependent confounding [18]. Relatedly, the g-formula paradigm emphasises modelling conditional outcome distributions via recursive integration (or simulation) to derive expected counterfactual outcomes under dynamic treatment strategies [17]. Recently, deep sequence counterfactual prediction methods have emerged for complex high-dimensional longitudinal data. Adopting MSM weighting within a sequence-tosequence architecture, Recurrent Marginal Structural Networks (RMSN) forecast individual trajectory responses under multistep treatment plans [19]. Similarly, Counterfactual Recurrent Networks (CRN) mitigate time-varying confounding bias via adversarially balanced representations to enable time-evolving counterfactual outcome prediction [20]. Closely linked to policy evaluation, OPE estimates the target policy value solely from historical behavioural data when online deployment is unfeasible [21]. Representative Doubly Robust (DR) estimators combine importance sampling and direct methods to enhance robustness and reduce variance [9]. C. Federated causal learning and causal discovery When data remains distributed across institutions, Federated Causal Inference estimates cross-site causal effects without exchanging individual-level records. Xiong et al. addressed Federated ATE inference amidst heterogeneous populations and treatment mechanisms, proposing a privacy-preserving framework for joint inference [22]. Further work on multi-site observational data established federated inference workflows relying solely on exchanged aggregated statistics [23]. Beyond federated ATE estimation, recent work has explored richer causal objects and learning paradigms under decentralisation. Khellaf et al. study multi-study federated causal inference beyond simple meta-analysis, comparing one-shot and multishot protocols built on plug-in g-formula estimators [24].
Federated Causal Discovery (FCD) reconstructs global causal graphs under privacy constraints. Early efforts, such as DS-FCD, integrated differentiable structure learning with federated training to learn causal structures from heterogeneous data without accessing raw local samples [25]. In constraintbased approaches, FedC2SL performs skeleton learning and orientation via federated conditional independence testing, enhancing robustness to client disparities under realistic assumptions [26]. FedCM learns a proxy SCM via deep generative models and modularises mechanisms between global aggregation and local training [10]. III. M ETHODOLOGY A. Causal Setup and Problem Definition Our theoretical framework is grounded in SCMs [27]. By defining endogenous variables through structural equations, we treat the dynamic evolution of subjects as a discretetime causal system. Given static attributes X and time-varying contexts At , an intervention policy selects treatment Tt , yielding outcome Yt . Central to our approach is the latent state Kt , which we structurally decompose into an invariant causal (c) (s) subspace Kt and a site-specific confounding subspace Kt . The system is governed by two core mechanisms: the Probabilistic State Transition Kt+1 ∼ pΘ (Kt+1 | Kt , At , do(Tt )), modeled via conditional score functions; and the Outcome Emission Yt ∼ Pϕ (Y | Kt , At , Tt ). In the FL setting with N clients, we adopt partial sharing: the server aggregates only the shared parameters Θc associated with the causal score dynamics, while client-specific parameters Θis associated with confounding scores are kept local to mitigate heterogeneity [28]. We correspondingly partition model parameters as Θ = Θc ∪ {Θis }N i=1 , where Θc denotes the shared subnetwork parameters (including the causal score dynamics and the outcome decoder), while Θis captures client-specific confounding scores. B. The Fed-CausalDiff Framework To stabilise the training of complex causal mechanisms within a federated environment, Fed-CausalDiff employs a three-stage decoupled training strategy. Crucially, we structurally partition the latent space into a causal subspace K (c) (globally shared) and a confounding subspace K (s) (locally retained). At each communication round, clients update (Θc , Θis ) locally but only transmit Θc to the server. The server aggregates Θc (FedAvg) and broadcasts the updated Θc back, while Θis remains local. The overall three-stage training pipeline is summarised in Fig. 1. We train the model locally in three phases (inference, diffusion dynamics, and decoding), and apply DSS at each communication round by synchronising only the shared parameters Θc . Phase A: Latent Inference & Disentanglement. This phase maps observed trajectories to the partitioned latent space K = [K (c) , K (s) ] using a recurrent encoder. By minimising trajectory reconstruction error, we ensure K effectively
Fig. 1. Structure of the Fed-CausalDiff design.
preserves historical context while establishing the initial embedding for both invariant causal factors and site-specific confounders. Phase B: Conditional Score Dynamics. Instead of deterministic transitions, we model state evolution as a conditional denoising process. The transition from Kt to Kt+1 is governed by a score function decomposed into global and local terms:
C. Client-wise objectives & Implicit Global Consistency To balance the fidelity of observational data with causal consistency, the local training objective L replaces unstable adversarial losses with robust score matching constraints: L = Lrecon + λdif f Ldif f + λ1 Lalign + λ2 Ldis + λ3 Lcf | {z } | {z } Generative Fidelity
∇K log p(Kt+1 |Kt ) ≈ Scausal (·; Θc ) + Sconfound (·; Θis )
Causal Regularization
(1)
Here, Scausal captures shared causal laws conditioned on interventions Tt , while Sconfound accounts for local heterogeneity. This decomposition is intended to separate shared causal dynamics from site-specific nuisance, facilitating robust interventional rollouts under client heterogeneity. Phase C: Causal Decoder & Decoupled Aggregation. This stage employs a decoder Pϕ to translate latent states into observable outcomes. We correspondingly partition model parameters as Θ = Θc ∪{Θis }N i=1 , where Θc denotes the shared sub-network parameters (including the causal score dynamics and the outcome decoder), while Θis captures client-specific confounding scores. The three phases play complementary roles. Phase A establishes a disentangled latent space where K (c) captures invariant drivers while K (s) absorbs client-specific heterogeneity, improving cross-client transfer. Phase B learns interventionconditioned score dynamics, enabling stable stochastic rollouts and more faithful do(·) responses under non-IID settings. Phase C calibrates the emission decoder and enforces decoupled aggregation, so that global updates improve shared causal dynamics without overwriting local confounding factors.
Fidelity Objectives: We employ Reconstruction Loss (Lrecon ) to anchor the encoder/decoder. The core dynamics are trained via Diffusion Denoising Loss (Ldif f ): (n)
(n)
Ldif f = Et,n,ϵ [∥ϵ − (ϵθc (Kt+1 , . . . ) + ϵθsi (Kt+1 , . . . ))∥22 ] This minimises the error between the added noise ϵ and the joint prediction from global and local score networks. Causal Regularization: To mitigate selection bias, we minimise the MMD distance between factual and interventional distributions via Intervention Alignment (Lalign ). Crucially, to enforce our decoupled strategy, we implement a Disentanglement objective (Ldis ): a Gradient Reversal Layer (GRL) discourages the encoder’s K (c) from encoding site-specific artifacts, while a parallel head encourages K (s) to capture nuisance factors. Finally, Counterfactual Consistency (Lcf ) penalises deviations in historical representations under varying future interventions. Server-wise Consistency: Clients optimise local objectives on their private data, while the server enforces global consistency through DSS by aggregating only the shared parameters Θc and keeping Θis local.
TABLE I DATASETS AFTER PREPROCESSING INTO THE UNIFIED (X, A, T, Y ).
Dataset DKT-Synth Statics2011 Diabetes-130 OpenBandit
#Seqs Lmax dx da |T | 20000 50 4 1 50 1134 200 6 1 1224 71523 20 11 74 145 10000 50 4 18 8089
IV. E XPERIMENT S ETUP A. Datasets Our evaluation spans four datasets, encompassing both semi-synthetic and real-world sequential logs: DKT-Synth (Synthetic): Derived from a pre-trained LSTM-DKT oracle [29], this semi-synthetic dataset provides ground-truth counterfactual outcomes (Ycf ), enabling precise causal evaluation. It consists of studentitem interaction sequences in which actions correspond to practice opportunities, and outcomes reflect the oraclegenerated mastery response under the interventions. • Statics2011: A collection of step-level interaction data from a university engineering statics course [29]. Each sequence records a learner’s problem-solving trajectory over time, capturing temporally ordered contexts, actions, and performance signals suitable for sequential intervention modelling. • Diabetes-130 (1999–2008): A public dataset comprising ten years of clinical hospitalisation records across 130 U.S. hospitals [30]. • Open Bandit Dataset: Real-world logged bandit data from ZOZOTOWN [31]. It contains impression-level logs with stochastic action selection under a historical logging policy, together with observed rewards, making it a standard benchmark for offline policy evaluation under distribution shift.
•
a) Reference policy family for OPE.: Table I reports the full cardinality |T | of the discretised action vocabulary used by the generative model. For offline policy evaluation in Fig. 2, however, we do not enumerate the full multi-action space, which would be computationally expensive and, on several datasets, poorly supported by logged propensities. Instead, for each dataset, we restrict evaluation to a binary anchor-action subset with adequate empirical support. Concretely, among the valid discretised actions, we select two anchor actions with the strongest logged support (and thus the most reliable overlap for DR-based evaluation), denoted by aoff and aon . The labels “off” and “on” are nominal and do not imply an ordinal treatment intensity; they simply index the fixed binary action subset used to instantiate the reference policy family. We then define four target policies: Never (Tt ≡ aoff ), Always (Tt ≡ aon ), Early-on, and Late-on. Therefore, Fig. 2 should be interpreted as a controlled cross-dataset benchmark on a support-aware binary action subset, rather than an exhaustive evaluation over all |T | possible actions.
b) Feature engineering and sequence construction.: For each dataset, raw logs are transformed into the unified schema (X, A1:L , T1:L , Y1:L , M1:L ) via a common preprocessing pipeline. Trajectories are first grouped by an entity identifier (e.g., student/user/patient), ordered chronologically, and then truncated or padded to Lmax , with Mt ∈ {0, 1} indicating valid steps. We discretise Tt into a categorical action ID to support do(Tt = a) interventions, while continuous covariates are normalised (z-score) using training-split statistics. Categorical covariates are encoded via one-hot (small cardinality) or integer IDs with embeddings (large cardinality), and missing values are handled by explicit “missing” indicators when appropriate. Across datasets, X collects time-invariant attributes (e.g., demographics or baseline profiles), whereas At captures the time-varying context available at decision time. In DKT-Synth and Statics2011, At contains the item/step identifier (and optional concept tags), Tt represents the intervenable decision signal (e.g., assigned difficulty/condition), and Yt corresponds to step correctness. For Diabetes-130, we construct patientlevel sequences by ordering encounters and aggregating encounter attributes: X includes static demographics (e.g., age group, gender, race), At aggregates encounter-level clinical context (e.g., diagnoses, labs and medication indicators), and Tt corresponds to discretised treatment/action states derived from medication and management variables; Yt is defined as the target outcome (e.g., readmission indicator) at each encounter. For OpenBandit, we treat each user’s interaction history as a trajectory; At is the provided context feature vector, Tt is the displayed item/action ID, and Yt is the observed feedback (click reward). When available (e.g., OpenBandit), logged propensities are retained for DR-based policy evaluation but are not transmitted across clients. Finally, after sequence construction, we simulate federated heterogeneity by partitioning the preprocessed trajectories into N = 10 clients using a common Dirichlet non-IID split with concentration parameter α = 10. This partition rule is applied uniformly across all datasets and all compared methods. The resulting client allocation introduces controlled statistical heterogeneity under a unified federated protocol, while dataset-specific semantics are preserved by the preprocessing definitions of Tt and Yt described above. B. Baselines We benchmark Fed-CausalDiff against the following four baseline models: • RCGAN: Recurrent Conditional GAN (RCGAN) [32] serves as our sequence generation baseline. It trains an RNN-based generator and discriminator in a conditional setup to match the distribution of the observational trajectory. As it is not designed for interventional semantics, it provides a strong reference for factual realism but may be insufficient for do(·)-level fidelity. • TimeGAN: A classic benchmark for time-series generation, TimeGAN [8] preserves temporal dynamics by jointly optimising supervised and adversarial losses
TABLE II F EDERATED TRAINING PROTOCOL USED FOR ALL COMPARED METHODS .
Protocol item
Setting
Clients Partition rule Participation rate Local epochs Aggregation Communication accounting
10 Dirichlet non-IID split (α = 10) 5/10 = 0.5 clients per round 1 Sample-size weighted FedAvg Pplink/downlink = selected clients × synchronized parameter size
within a learned embedding space. Its supervised component encourages realistic step-to-step transitions, while adversarial training aligns the generated and real sequence distributions, making it a widely adopted baseline for downstream utility under the TSTR protocol. • CRN: CRN [20] is a representative method for sequential counterfactual inference. It learns balanced representations via adversarial training to mitigate time-varying confounding and predicts potential outcomes under alternative treatment sequences. Unlike generative baselines, CRN is effect-estimation oriented and thus provides a strong reference for counterfactual prediction quality. • FedCM: This approach approximates underlying SCMs by training deep causal generative models in a federated setting [10]. It explicitly targets causal mechanism learning under decentralised data and thus constitutes a close federated causal baseline. The specific parameters for the federated experiment are shown in II. C. Metrics We evaluate factual fidelity using Factual AUC [33] (the predictive discrimination of factual outcomes under observed trajectories), and the TSTR protocol [32], where a downstream predictor is trained on synthetic sequences and tested on real data to quantify utility preservation. For causal utility on semisynthetic benchmarks with counterfactual ground truth, we report PEHE [34], which measures individual-level heterogeneous effect error, and ATE absolute error, which quantifies deviation in the population average treatment effect. For realworld scenarios without counterfactual labels, we employ offline policy evaluation (OPE) and estimate policy returns via the doubly robust (DR) estimator [9], which combines propensity-based reweighting with a direct outcome model to reduce bias, and we further report policy value absolute error when a reference value is available (e.g., oracle or semisynthetic), measuring the discrepancy between simulated and reference policy returns. V. R ESULTS A. Interventional Fidelity on Oracle This section evaluates intervention fidelity on the DKTSynth semi-synthetic dataset, where a pre-trained DKT oracle provides ground-truth counterfactuals, enabling a direct
TABLE III I NTERVENTIONAL FIDELITY ON DKT-S YNTH WITH COUNTERFACTUAL GROUND TRUTH ( LOWER IS BETTER ). W / O DSS USES FULL SYNCHRONIZATION OF ALL TRAINABLE PARAMETERS ; W / O Ldis DISABLES THE DISENTANGLEMENT LOSS . B EST RESULTS ARE BOLDED .
Model
PEHE↓
ATE↓
Value↓
Fed-CausalDiff 0.057±0.01 0.045±0.00 0.049±0.01 w/o DSS (full sync) 0.065 0.088 0.116 w/o Ldis 0.064 0.086 0.117 FedCM CRN TimeGAN RCGAN
0.101±0.02 0.082±0.00 0.205±0.01 0.124±0.02
0.129±0.01 0.133±0.02 0.045±0.00 0.094±0.01
0.099±0.01 0.073±0.01 0.247±0.03 0.115±0.02
comparison of causal effect and policy value recovery across methods. As shown in Table III, we measure performance using three metrics: PEHE, ATE absolute error, and Policy value absolute error, with lower values indicating more accurate modelling of do(·) responses. Overall, Fed-CausalDiff achieves the tied-best performance across all three metrics, including PEHE (0.057±0.01), ATE (0.045±0.00), and policy value error (0.049±0.01), demonstrating that its aggregated global model more stably aligns intervention responses with long-term returns. In contrast, while TimeGAN performs well on ATE, its significantly higher PEHE and policy-value errors suggest that merely fitting the distributions of the observed sequences is insufficient to guarantee consistent intervention semantics and closed-loop value. Similarly, although CRN shows competitive PEHE, its higher ATE and value errors indicate that methods oriented towards effect estimation do not necessarily translate to value consistency in a sampleable simulator. Moreover, both ablations consistently worsen intervention fidelity: w/o DSS (full sync) increases PEHE (0.057→0.065) and substantially enlarges ATE/value errors (0.045→0.088, 0.049→0.116). Disabling disentanglement (w/o Ldis ) shows a similar trend (PEHE 0.064, ATE 0.086, value error 0.117), highlighting the contribution of DSS and Ldis to stable causal and value recovery. B. Offline Policy Value Difference As illustrated in Figure 2, we employ DR offline evaluation to estimate the expected returns of four fixed target policies across four datasets, where higher values indicate superior estimated policy performance. On the Diabetes dataset, Fed-CausalDiff consistently yields higher value estimates across the three evaluatable policies—Never (0.123), Early-on (0.130), and Late-on (0.120)—achieving a mean of 0.126. It outperforms both FedCM/CRN and generative baselines, suggesting a superior ability to capture the longterm causal impact of actions on outcomes (note that the “Always” policy resulted in NaN values for the DR estimator due to insufficient data support). Similarly, on DKT-Synth, Fed-CausalDiff attains the highest mean return (0.740) and demonstrates clear differentiation between policies, peaking at 0.853 under the “Always” condition. In contrast, the OpenBan-
Fig. 2. DR offline policy value estimates under four fixed policies (Never, Always, Early-on, Late-on) across the four datasets. Higher indicates better estimated policy performance.
dit dataset presents a logged bandit scenario characterized by a high-dimensional action space (large |T |) and strong dependence on propensity scores. Here, CRN achieves significantly higher DR values (approximately 0.46–0.48) than all other models, while Fed-CausalDiff performs at a moderate level (mean 0.172), slightly surpassing the remaining baselines. Finally, on Statics2011, Fed-CausalDiff yields generally lower estimates (mean 0.809) compared to TimeGAN and CRN. This discrepancy may be attributed to estimation variance and regularisation bias stemming from the dataset’s smaller sample size and complex action space.
TABLE IV FACTUAL FIDELITY AND TSTR RESULTS ON CURRENT RUNS . E ACH ENTRY REPORTS MEAN± STD ACROSS SEEDS . B EST RESULTS PER DATASET AND METRIC ARE BOLDED .
Dataset
Model
TSTR-AUC↑
TSTR-RMSE↓
Diabetes
Fed-CausalDiff CRN TimeGAN RCGAN FedCM
0.565±0.010 0.521±0.011 0.557±0.017 0.577±0.009 0.570±0.005
0.498±0.059 0.569±0.013 0.492±0.027 0.479±0.020 0.552±0.043
DKT-Synth
Fed-CausalDiff CRN TimeGAN RCGAN FedCM
0.617±0.007 0.530±0.012 0.584±0.054 0.627±0.008 0.623±0.003
0.509±0.013 0.504±0.003 0.513±0.022 0.492±0.003 0.490±0.005
OpenBandit
Fed-CausalDiff CRN TimeGAN RCGAN FedCM
0.505±0.004 0.497±0.020 0.510±0.018 0.495±0.015 0.535±0.021
0.504±0.021 0.525±0.012 0.538±0.026 0.557±0.040 0.525±0.097
Statics2011
Fed-CausalDiff CRN TimeGAN RCGAN FedCM
0.562±0.025 0.623±0.01 0.623±0.009 0.579±0.036 0.56±0.008
0.390±0.011 0.471±0.03 0.471±0.03 0.422±0.019 0.471±0.3
C. Downstream Utility Table IV corroborates that Fed-CausalDiff maintains downstream utility comparable to leading generative and causal baselines, demonstrating that the integration of interventional constraints does not significantly compromise factual fidelity. While generative models like RCGAN and FedCM naturally exhibit an inherent advantage in purely factual metrics, securing top TSTR-AUC and RMSE scores on Diabetes and DKT-Synth, Fed-CausalDiff retains near-optimal performance (e.g., Diabetes AUC 0.565, DKT-Synth AUC 0.617), thereby establishing a robust foundation for causal evaluation. Conversely, on the OpenBandit dataset, Fed-CausalDiff achieves the lowest TSTR-RMSE (0.504), indicating superior predictive stability despite the high class imbalance that hinders all models. Notably, on Statics2011, Fed-CausalDiff significantly outperforms other methods with a TSTR-RMSE of 0.390; although its AUC is marginally lower than the top performer, this underscores its superior error control in scenarios with small sample sizes and strong sequential dependencies. D. System Efficiency: Convergence and Communication– Performance Trade-off
a) Rounds-to-target interventional accuracy.: Figure 3 reports the evolution of the oracle PEHE on DKT-S YNTH across global communication rounds (lower is better). F ED C AUSAL D IFF reduces PEHE rapidly in early rounds and continues to improve with stable convergence, eventually reaching the lowest PEHE among all methods. In contrast, T IME GAN exhibits large oscillations and occasional spikes, indicating unstable interventional learning under federated non-IID training. RCGAN improves initially but degrades after mid-training,
Fig. 3. Convergence of interventional accuracy on DKT-S YNTH. We report the oracle PEHE (lower is better) as a function of the number of global communication rounds. F ED -C AUSAL D IFF converges stably and achieves the lowest PEHE, while T IME GAN shows high variance and RCGAN degrades after mid-training.
suggesting limited robustness during prolonged federated optimization. Overall, these trends show that our method achieves better rounds-to-target performance, i.e., fewer global rounds are needed to reach a given PEHE threshold. b) Communication–performance trade-off.: Figure 4 visualizes downstream performance against the total uplink communication volume (MB). The trade-off is dataset-dependent: on DKT-S YNTH, F ED -C AUSAL D IFF achieves good performance with a moderate upload budget, whereas T IME GAN attains lower performance despite a substantially higher upload budget. On D IABETES, F ED -C AUSAL D IFF achieves performance comparable to F E DCM while requiring less communication, and uses less upload than T IME GAN. On O PEN BANDIT and S TATICS 2011, F ED -C AUSAL D IFF is not on the Pareto frontier: it requires more (or comparable) upload without improving performance over the best-performing or more communication-efficient baselines. VI. D ISCUSSION The results highlight a consistent pattern across metrics. On DKT-Synth, Fed-CausalDiff achieves the lowest errors across all metrics, including PEHE, ATE, and policy value (Table III). This suggests that its design successfully jointly optimises individual-level counterfactual accuracy (PEHE) alongside population-level effect recovery and long-horizon value, overcoming the trade-offs often seen in other sampleable simulators. In particular, while TimeGAN attains a competitive ATE, it suffers from a substantially larger PEHE and policyvalue error, which is consistent with its primary objective of matching observational sequence distributions rather than enforcing interventional/value semantics [8], [32]. The two ablations (w/o DSS and w/o Ldis ) consistently increase PEHE and substantially enlarge ATE/value errors, further supporting the necessity of our partial-sharing synchronisation and disentanglement objective for calibrated intervention and longhorizon value recovery. For offline policy value (Fig. 2), Fed-CausalDiff provides higher mean DR estimates on Diabetes and DKT-Synth,
and the Diabetes “Always” policy returns NaN—an outcome consistent with the practical requirement of sufficient support/overlap for importance-weighting-based estimators. When the logged data provide little or no coverage for actions implied by a target policy, OPE estimates can become unstable or undefined [9]. On OpenBandit, CRN produces DR values that are markedly larger than those of other methods. Since real-world datasets lack ground-truth returns for counterfactual policies, these magnitudes should be interpreted as estimator outputs rather than verified performance; in practice, the plausibility of policy ranking and the sensitivity to propensities/coverage need domain-side validation [20]. Table IV shows that Fed-CausalDiff remains competitive on TSTR across datasets, while generative baselines (e.g., RCGAN/TimeGAN) often achieve the best purely factual realism scores—consistent with how time-series GANs are designed and commonly evaluated [8], [32]. This supports the intended positioning of Fed-CausalDiff: it prioritises interventional and value-related fidelity while maintaining a practical level of downstream utility, rather than optimising solely for observational realism. The system efficiency results highlight a dataset-dependent trade-off between communication overhead and causal learning. F ED -C AUSAL D IFF demonstrates superior stability and faster convergence in interventional accuracy, effectively minimising the rounds required to reach target PEHE levels compared to the volatile trajectories of T IME GAN and RCGAN (Fig. 3). Regarding communication costs, F ED -C AUSAL D IFF proves highly efficient across datasets such as DKT-S YNTH and D IABETES, achieving top-tier performance with moderate upload budgets. However, its efficiency is not universal. On O PEN BANDIT and S TATICS 2011, it falls short of the Pareto frontier, demanding comparable or greater communication without strictly outperforming lighter baselines (Fig. 4). This indicates that while our method accelerates causal learning and stabilizes convergence, its communication efficiency remains sensitive to the underlying dataset complexity and structural characteristics. VII. L IMITATIONS AND F UTURE W ORK A primary limitation of this work is the lack of ground-truth counterfactuals in real-world datasets, aside from DKT-Synth. This necessitates reliance on offline estimators, such as DR or MSM, for intervention and policy value assessment—estimates that must be carefully validated against domain expertise in practical applications. Furthermore, our current experimental setup simulates federated learning on a single machine using FedAvg. It does not yet account for complex system-level factors like differential privacy, asynchronous updates, or client dropouts. Future research will therefore prioritise: (i) developing more robust federated causal evaluation methods with uncertainty quantification; (ii) implementing conservative policy evaluation and coverage constraints for large action spaces; and (iii) exploring personalised or clustered federated learning to enhance fairness and generalisation in non-IID settings.
Fig. 4. Communication–performance trade-off across datasets. Each point reports a method’s downstream AUC performance relative to the total uplink communication (MB) accumulated across all global rounds.
VIII. C ONCLUSION Targeting decentralised sequential logs under strict privacy constraints, we introduce Fed-CausalDiff, a federated framework for training interventional sequential causal models. Built upon a unified Dynamic SCM architecture, our approach simultaneously supports factual fitting, do(·) intervention simulation, and closed-loop policy value evaluation. Empirical results demonstrate that Fed-CausalDiff significantly reduces ATE and policy value errors on the DKT-Synth dataset, where counterfactual ground truth is available. Furthermore, on realworld data, it provides more discriminative offline policy value estimates while maintaining competitive TSTR utility. Additionally, system efficiency analyses reveal that while the framework accelerates causal learning with stable convergence, its communication-performance trade-off remains dataset-dependent. Collectively, these findings validate the potential of constructing “intervenable sequential world models” within federated settings to enable reliable decision evaluation. ACKNOWLEDGMENT This research is funded by Akademiaavtalen (Equinor ASA) under the ASPIRE (Accelerating Privacy and Data Protection
Measures Using Synthetic Data Generation) project. R EFERENCES [1] T. Joachims, A. Swaminathan, and M. De Rijke, “Deep learning with logged bandit feedback,” in International Conference on Learning Representations, 2018. [2] C. De Terwangne, “Principles relating to processing of personal data,” in The EU general data protection (GDPR): a commentary. Oxford University Press, 2020, pp. 309–320. [3] P. Kairouz, H. B. McMahan, B. Avent, A. Bellet, M. Bennis, A. N. Bhagoji, K. Bonawitz, Z. Charles, G. Cormode, R. Cummings et al., “Advances and open problems in federated learning,” Foundations and trends® in machine learning, vol. 14, no. 1–2, pp. 1–210, 2021. [4] C. Gao, Y. Zheng, W. Wang, F. Feng, X. He, and Y. Li, “Causal inference in recommender systems: A survey and future directions,” ACM Transactions on Information Systems, vol. 42, no. 4, pp. 1–32, 2024. [5] T. Shinozaki and E. Suzuki, “Understanding marginal structural models for time-varying exposures: pitfalls and tips,” Journal of epidemiology, vol. 30, no. 9, pp. 377–389, 2020. [6] Y. Xie, B. Liu, Q. Liu, Z. Wang, Y. Zhou, and J. Peng, “Off-policy evaluation and learning from logged bandit feedback: Error reduction via surrogate policy,” arXiv preprint arXiv:1808.00232, 2018. [7] M. Rasouli, T. Sun, and R. Rajagopal, “Fedgan: Federated generative adversarial networks for distributed data,” arXiv preprint arXiv:2006.07228, 2020. [8] J. Yoon, D. Jarrett, and M. Van der Schaar, “Time-series generative adversarial networks,” Advances in neural information processing systems, vol. 32, 2019.
[9] N. Jiang and L. Li, “Doubly robust off-policy value evaluation for reinforcement learning,” in International conference on machine learning. PMLR, 2016, pp. 652–661. [10] M. M. Rahman and M. Kocaoglu, “Fedcm: Federated learning of deep causal generative models,” in The 41st Conference on Uncertainty in Artificial Intelligence, 2025. [11] A. Amalan, R. Wang, Y. Qiao, E. Panaousis, and K. Liang, “Multiflgans: multi-distributed adversarial networks for non-iid distribution,” arXiv preprint arXiv:2206.12178, 2022. [12] B. McMahan, E. Moore, D. Ramage, S. Hampson, and B. A. y Arcas, “Communication-efficient learning of deep networks from decentralized data,” in Artificial intelligence and statistics. PMLR, 2017, pp. 1273– 1282. [13] T. Li, A. K. Sahu, M. Zaheer, M. Sanjabi, A. Talwalkar, and V. Smith, “Federated optimization in heterogeneous networks,” Proceedings of Machine learning and systems, vol. 2, pp. 429–450, 2020. [14] J. Wang, Q. Liu, H. Liang, G. Joshi, and H. V. Poor, “Tackling the objective inconsistency problem in heterogeneous federated optimization,” Advances in neural information processing systems, vol. 33, pp. 7611–7623, 2020. [15] Z. Peng, X. Wang, S. Chen, H. Rao, C. Shen, and J. Jiang, “Federated learning for diffusion models,” IEEE Transactions on Cognitive Communications and Networking, 2025. [16] J. Pearl, Causality. Cambridge university press, 2009. [17] M. A. Hernán and J. M. Robins, “Causal inference,” 2010. [18] J. M. Robins, M. A. Hernan, and B. Brumback, “Marginal structural models and causal inference in epidemiology,” pp. 550–560, 2000. [19] B. Lim, “Forecasting treatment responses over time using recurrent marginal structural networks,” Advances in neural information processing systems, vol. 31, 2018. [20] I. Bica, A. M. Alaa, J. Jordon, and M. Van Der Schaar, “Estimating counterfactual treatment outcomes over time through adversarially balanced representations,” arXiv preprint arXiv:2002.04083, 2020. [21] M. Uehara, C. Shi, and N. Kallus, “A review of off-policy evaluation in reinforcement learning,” arXiv preprint arXiv:2212.06355, 2022. [22] R. Xiong, A. Koenecke, M. Powell, Z. Shen, J. T. Vogelstein, and S. Athey, “Federated causal inference in heterogeneous observational data,” Statistics in Medicine, vol. 42, no. 24, pp. 4418–4439, 2023. [23] R. Khellaf, A. Bellet, and J. Josse, “Federated causal inference from multi-site observational data via propensity score aggregation,” arXiv preprint arXiv:2505.17961, 2025. [24] ——, “Federated causal inference: Multi-study ate estimation beyond meta-analysis,” arXiv preprint arXiv:2410.16870, 2024. [25] E. Gao, J. Chen, L. Shen, T. Liu, M. Gong, and H. Bondell, “Federated causal discovery,” OpenReview, 2021, iCLR 2022 withdrawn submission. [26] Z. Wang, P. Ma, and S. Wang, “Towards practical federated causal structure learning,” in Joint European Conference on Machine Learning and Knowledge Discovery in Databases. Springer, 2023, pp. 351–367. [27] J. Pearl, “The causal foundations of structural equation modeling,” Handbook of structural equation modeling, pp. 68–91, 2012. [28] L. Collins, H. Hassani, A. Mokhtari, and S. Shakkottai, “Exploiting shared representations for personalized federated learning,” in International conference on machine learning. PMLR, 2021, pp. 2089–2099. [29] A. Ghosh, N. Heffernan, and A. S. Lan, “Context-aware attentive knowledge tracing,” in Proceedings of the 26th ACM SIGKDD international conference on knowledge discovery & data mining, 2020, pp. 2330– 2339. [30] B. Strack, J. P. DeShazo, C. Gennings, J. L. Olmo, S. Ventura, K. J. Cios, and J. N. Clore, “Impact of hba1c measurement on hospital readmission rates: analysis of 70,000 clinical database patient records,” BioMed research international, vol. 2014, no. 1, p. 781670, 2014. [31] Y. Saito, S. Aihara, M. Matsutani, and Y. Narita, “Open bandit dataset and pipeline: Towards realistic and reproducible off-policy evaluation,” arXiv preprint arXiv:2008.07146, 2020. [32] C. Esteban, S. L. Hyland, and G. Rätsch, “Real-valued (medical) time series generation with recurrent conditional gans,” arXiv preprint arXiv:1706.02633, 2017. [33] C. Piech, J. Bassen, J. Huang, S. Ganguli, M. Sahami, L. J. Guibas, and J. Sohl-Dickstein, “Deep knowledge tracing,” Advances in neural information processing systems, vol. 28, 2015. [34] U. Shalit, F. D. Johansson, and D. Sontag, “Estimating individual treatment effect: generalization bounds and algorithms,” in International conference on machine learning. PMLR, 2017, pp. 3076–3085.