Manuscript Offprint
arXiv:2610.28803Towards Realistic Models of Change: A Causal Perspective on Decision-Making and Dynamical Systems
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original. This text is shared under the same licence.
IN SUPREMAE DIGNITATIS 1343
UNIVERSITÀ DI PISA
National Ph.D. in Artificial Intelligence
XXXVII cycle
Towards Realistic Models of Change: A Causal Perspective on Decision-Making and Dynamical Systems
Candidate:
Isacco Beretta
Supervisors:
Prof. Salvatore Ruggieri
Prof. Dino Pedreschi
Thesis submitted in partial fulfillment of the requirements for the degree of
Doctor of Philosophy in Artificial Intelligence
The quick brown fox jumps over the lazy dog.
Abstract
While statistical learning has made remarkable progress in recent decades, driven by the availability of large datasets and the rise of data-driven protocols that have transformed traditional scientific practice, it still faces a key limitation: it struggles to generalize beyond the data it has seen, e.g. often failing under distribution shift. Causality offers a promising solution to this challenge: causal models focus on the underlying mechanisms of change rather than surface-level associations, enabling robust reasoning under external interventions. This paradigm allows systems not only to learn from data, but also to reason about hypothetical scenarios, adapt to new environments, and inform better decision-making. This thesis explores how these methodological approaches can be integrated to inform each other. The work is structured in two parts.
The first part examines the problem of algorithmic recourse—that is, identifying which changes an individual can make to overturn an unfavorable decision. We propose an alternative perspective to the established framework, arguing for a more realistic characterization of the cost function being minimized, a reformulation of the problem using causal terms, and the inclusion of a temporal dimension in policy evaluation.
The second part focuses on dynamical systems, extending the notions of causal interventions and effects to both discrete and continuous stochastic processes. It is shown that the equilibria of these processes—and how they change following an intervention—can be linked to Structural Causal Models (SCMs), that can be viewed as compressed representations of the underlying temporal dynamics. We argue for the relevance of such temporal causal models, emphasizing that in real-world scenarios, actions take time to produce their effects.
The common goal of both parts is practical: the utility, robustness, and trustworthiness of these models depend critically on their ability to realistically represent the underlying phenomena. A deeper integration of causality with data-driven methods is essential for building models that can adapt to real-world complexities and provide more reliable recommendations.
iii
iv
Contents
1 Introduction 1
1.1 Motivation 1
1.2 Research Questions 3
1.3 Thesis Contributions and Outline 3
1.4 Publications 5
I Causality
2 Mathematical Framework 8
2.1 The Ladder of Causation 9
2.2 Observational Level 13
2.3 Interventional Level 16
2.4 Counterfactual Level 24
II Towards Realistic Algorithmic Recourse
3 Algorithmic Recourse 31
3.1 Preliminaries 32
3.2 First Challenge: Choosing Cost 33
3.3 Second Challenge: Dependent Variables 36
4 Cost is Subjective 42
4.1 Contributions 44
4.2 Related Work 45
4.3 User-Centered Limitations 47
4.4 Feature Space Navigator 49
4.5 Scenarios 50
4.6 Conclusions 53
5 Causal Algorithmic Recourse and Time 57
5.1 Contributions 58
5.2 Why Time Matters? 59
5.3 Time Weighted Causal Graphs 61
5.4 Time Awareness for Fairer Recommendations 63
5.5 Empirical Evaluation 65
5.6 Broader Impact 71
5.7 Conclusions 71
III Time Aware Causality
6 Autonomous Dynamical Systems 74
6.1 A Dynamical System Perspective 75
6.2 Autonomy 77
6.3 Not Only Long-Term Effects 79
6.4 Objective of the Next Chapters 80
V
CONTENTS
vi
7 Causal Inference over Time 82
7.1 Contributions 83
7.2 Preliminaries 84
7.3 Causal perspective on Discrete-time Stochastic Processes 89
7.4 From VARs to SCMs 95
7.5 Practical implications 102
7.6 Empirical evaluation 107
7.7 Use cases 119
7.8 Conclusions 121
8 Continuous Time and Non-linear Systems 122
8.1 Differential Equations 123
8.2 Gradient Flow 134
8.3 A Causal Perspective on SDEs 136
8.4 Estimating the Long-Run Causal Effect 138
8.5 Connection with Discrete-Time Models 142
9 Final Discussion 148
9.1 Algorithmic Recourse 148
9.2 Causal Inference over Time 150
Bibliography 159
Acronyms
AI Artificial Intelligence
AR Algorithmic Recourse
BM Brownian Motion
BN Bayesian Network
CD Causal Discovery
CEx Contrastive Explanation
CPDAG Completed Partially Directed Acyclic Graph
CRe Consequential Recommendations
DAG Directed Acyclic Graph
dE Difference Equation
DSP Discrete-time Stochastic Process
GF Gradient Flow
MEC Markov Equivalence Class
ML Machine Learning
OdE Ordinary Difference Equation
ODE Ordinary Differential Equation
PDAG Partially Directed Acyclic Graph
RDE Random Differential Equation
RdE Random Difference Equation
SCM Structural Causal Model
SDE Stochastic Differential Equation
SdE Stochastic Difference Equation
SP Stochastic Process
VAR Vector AutoRegressive Model
XAI eXplainable Artificial Intelligence
vii
Chapter 1
Introduction
1.1 Motivation
Two main strategies are adopted in investigating natural and social systems, as well as designing procedures to perform practical tasks.
The first is a model-driven approach, grounded in general principles and an established theoretical framework, often emphasizing causal relationships to explain and predict the system's behavior, understanding the mechanisms by which elements influence one another. Model-based methods offer the advantages of interpretability and alignment with scientific theory, making them well-suited for generalization across domains. However, they can struggle when applied to highly complex systems, where the underlying laws are too difficult to model from a human perspective or are not fully understood.
The second is a data-driven approach, and it is particularly well-suited to systems governed by unknown or poorly understood laws. Instead of relying on pre-existing theoretical frameworks (Anderson, 2008), it draws insights from observational data to uncover patterns and statistical dependencies. While this approach offers notable strengths, such as its flexibility in high-dimensional contexts, it also has significant limitations. Data-driven methods often lack transparency and interpretability, and without rigorous validation, they risk producing spurious or non-generalizable results, especially when applied to previously unseen scenarios or systems that have changed since the data were collected.
By comparing these two paradigms, we can appreciate the complementary nature of theory-driven and data-driven inquiry. A balanced integration of both may lead to more robust, insightful models that leverage each other's strengths while mitigating their weaknesses. These preliminary remarks introduce a general discussion: under what conditions and within what limits is it possible to integrate these two methodologies while retaining their strengths?
1.1 MOTIVATION
2
1.1.1 The Role of Causality
In what follows, a specific perspective will be adopted, limiting the analysis to the role that the concept of causality could play in addressing the question just posed. More concretely, on the one hand, we are interested in exploring how Machine Learning (ML) can support the discovery of causal structures and enable reliable causal inference. On the other hand, principles of causal reasoning can also inform the design and development of ML systems. After all, causal reasoning is a core component of human intelligence, and causality plays a fundamental role in how we structure and understand knowledge (Pearl, 2009). Therefore, adopting a cause-effect framework could help us build more transparent, interpretable, and robust learning protocols.
Beyond the i.i.d. assumption. Most techniques used to draw inferences from data are inherently associative. These methods focus on identifying statistical dependencies among variables based solely on observational data, typically operating under the assumption that data points are independently and identically distributed (i.i.d.) and generated from a fixed probability distribution. This foundational assumption enables the development of powerful and efficient algorithms, particularly for tasks such as regression, classification, and pattern recognition. However, while this associative framework has demonstrated remarkable effectiveness in many practical applications, it proves insufficient when epistemic goals extend beyond prediction to encompass explanation, understanding, or policy formulation. Such objectives are common in disciplines like the social sciences, epidemiology, medicine, and engineering, where addressing real-world problems often requires identifying causal-effect relationships. In these contexts, it becomes essential to answer questions such as: What would happen if a specific action were taken? or How would the outcome change under a particular intervention?
Accordingly, our focus shifts toward characterizing how a system’s behavior might change in response to external interventions, and evaluating counterfactual scenarios i.e., hypothetical alternatives to observed events. Gaining this level of insight necessitates moving beyond purely associative models to embrace causal frameworks. Such models offer a deeper understanding of the underlying generative mechanisms and help guard against common inferential pitfalls in observational analysis, such as spurious correlations and counterintuitive phenomena like Simpson’s Paradox (Wagner, 1982). Reflecting this shift, the machine learning community has grown interested in integrating causal reasoning into inductive learning paradigms. This increasing attention stems from recognizing that causal structures can significantly enhance predictive models, rendering them more robust, interpretable, and better suited to inform real-world decision-making.
1.2 RESEARCH QUESTIONS
3
1.2 Research Questions
In the first stage, this thesis explores how causal reasoning can be integrated into inductive procedures traditionally grounded in associative methods. The goal is to understand whether adopting a causal perspective leads to more accurate and realistic models of the systems under investigation. In the second stage, the focus shifts toward an additional layer of refinement i.e., integrating the temporal dimension into the causal framework.
These two research directions represent distinct and progressive steps within a broader conceptual pipeline, aiming to improve the ability of predictive and decision-making models to reflect the true complexity of the phenomena they are meant to describe in an increasingly realistic way.
This thesis is structured around the following Research Questions (RQs):
RQ1 What is the role of causality in building more realistic and interpretable decision-making systems?
This question, addressed primarily in Part II, investigates whether integrating causal reasoning is a necessary and/or sufficient condition for developing decision-making protocols that more accurately reflect the real-world systems they are intended to model.
RQ2 How can classical causal frameworks be extended to incorporate the temporal dimension of real-world systems?
This question, explored in Part III, focuses on the limitations of time-unaware models and examines the benefits of embedding temporal structure into causal reasoning, particularly when modeling interventions over time.
1.3 Thesis Contributions and Outline
The thesis is organized into three parts.
• Part I – Causality. This first part introduces the core mathematical tools of causal inference and establishes the common language used throughout the rest of the thesis. It serves both as an accessible introduction to the formal notation and as a structured overview of the main levels of causal analysis. In doing so, it aims to give the reader a clear understanding of what causal models promise to deliver and the assumptions they require—and the limitations that emerge as one moves to more complex settings.
• Part II – Towards Realistic Algorithmic Recourse. (RQ1) This part focuses on decision-making systems, with particular attention to the problem of Algorithmic Recourse—i.e., identifying what changes an individual should make to overturn an unfavorable outcome.
1.3 THESIS CONTRIBUTIONS AND OUTLINE
4
Chapter 3 - Algorithmic Recourse introduces the classical formulations of the problem (Contrastive Explanations and Consequential Recommendations), discusses their conceptual differences, and connects them to the causal framework. It also provides a formal mathematical foundation and identifies key limitations in existing approaches.
Chapter 4 - Cost is Subjective builds on this analysis by shifting the focus to a user-centered perspective. It questions the assumption of a fixed, universal cost function and argues instead for a subjective, experience-driven notion of effort. The chapter introduces Feature Space Navigator, an interactive tool that allows users to explore the decision space by directly modifying features. Unlike traditional methods, this approach relies on the user's knowledge and judgment to define plausible and actionable changes, without embedding predefined constraints. The tool supports experts and non-experts and is evaluated through examples on standard datasets. As the most human-centric contribution of the thesis, this chapter addresses the problem of realism without resorting to formal causal reasoning, highlighting limitations that remain even when such reasoning is later introduced.
Chapter 5 - Causal Algorithmic Recourse and Time initiates a reflection on the role of time in causal models and introduces one of the earliest contributions of the thesis to integrate temporal reasoning into Algorithmic Recourse (RQ2). Building on recent causal formulations, this work highlights a critical limitation of existing approaches—their inability to account for temporal dependencies between features and interventions. The chapter proposes a novel method that incorporates time into the cost evaluation of recourse by leveraging the topology of the causal graph. It also revisits the concept of actionability, showing how the feasibility of interventions can vary significantly when time is taken into account. Finally, the work explores the fairness implications of time-unaware models, particularly their risk of exacerbating inequalities for disadvantaged groups, and supports its findings with semi-synthetic datasets.
• Part III – Time-Aware Causality. (RQ2) This part is dedicated to extending the classical causal framework, represented in its most complete form by Structural Causal Models, to dynamical systems, specifically stochastic processes.
Chapter 6 - Autonomous Dynamical Systems introduces the mathematical objects related to dynamical systems and examines how the typical assumptions of Structural Causal Models transform in temporal models. In particular, it explores the connection between the notion of autonomy in dynamical systems and the concept of modularity in Structural Causal Models. The chapter also provides a first contextualization of causal inference over time, proposing an initial link between estimating
1.4 PUBLICATIONS
5
causal effects in the original static setting and its extended, time-aware formulation.
Chapter 7 - Causal Inference over Time presents a unified framework for performing causal inference over time for discrete-time stochastic processes. It introduces two classes of time-aware interventions and provides the first general method for mapping Vector Autoregressive models to Structural Causal Models at equilibrium, preserving causal semantics under stability assumptions. Through theoretical results and empirical evaluations on both synthetic and real-world datasets, this chapter demonstrates the practicality of causal reasoning over time for interventional forecasting and retrospective counterfactuals.
Chapter 8 - Continuous Time and Non-linear Systems expands the formal framework introduced in the previous chapter by moving from discrete-time to continuous-time representations. It introduces stochastic differential equations as the mathematical foundation for modeling systems affected by ongoing random fluctuations. It presents the necessary stochastic calculus tools, such as Brownian motion, Itô processes, and the Fokker–Planck equation. It uses them to define and estimate the causal effect of interventions over continuous time. It also introduces the concept of stochastic gradient flows, allowing for closed-form equilibrium analysis and providing a natural mechanism for studying long-term causal effects. It presents a recursive procedure for computing the stationary distribution under intervention for acyclic systems. Finally, it bridges the gap between discrete-time and continuous-time models, outlining conditions under which results can be transferred across frameworks.
A more detailed characterization of the contributions related to the works published during the PhD is provided at the beginning of each chapter in the dedicated Contributions section.
1.4 Publications
We list below the papers that form the basis of this thesis, published at the time of writing. We will highlight when a chapter is based on a published work.
Beretta, Isacco, Eleonora Cappuccio, and Marta Marchiori Manerba (2023). "User-Driven Counterfactual Generator: A Human Centered Exploration." In: Joint Proceedings of the xAI-2023 Late-breaking Work, Demos and Doctoral Consortium co-located with the 1st World Conference on eXplainable Artificial Intelligence (xAI-2023), Lisbon, Portugal, July 26-28, 2023. Ed. by Luca Longo. Vol. 3554. CEUR Workshop Proceedings. CEUR-WS.org, pp. 83–88. URL: https://ceur-ws.org/Vol-3554/paper15.pdf.
Beretta, Isacco and Martina Cinquini (2023). “The Importance of Time in Causal Algorithmic Recourse.” In: Explainable Artificial Intelligence - First World
1.4 PUBLICATIONS
6
Conference, xAI 2023, Lisbon, Portugal, July 26-28, 2023, Proceedings, Part I. Ed. by Luca Longo. Vol. 1901. Communications in Computer and Information Science. Springer, pp. 283–298. DOI: 10.1007/978-3-031-44064-9_16.
Beretta, Isacco, Martina Cinquini, and Isabel Valera (2024). “Enhancing Fairness Through Time-aware Recourse: a Pathway to Realistic Algorithmic Recommendations.” In: Proceedings of the 3rd European Workshop on Algorithmic Fairness. CEUR Workshop Proceedings. URL: http://ceur-ws.org/Vol-3908/#paper_10.
Cappuccio, Eleonora, Isacco Beretta, Marta Marchiori Manerba, and Salvatore Rinzivillo (2024). “An Interactive Interface for Feature Space Navigation.” In: HHAI 2024: Hybrid Human AI Systems for the Social Good. IOS Press, pp. 73–83.
Cinquini, Martina, Isacco Beretta, Salvatore Ruggieri, and Isabel Valera (2025). "A Practical Approach to Causal Inference over Time." In: AAAI-25, Sponsored by the Association for the Advancement of Artificial Intelligence, February 25 - March 4, 2025, Philadelphia, PA, USA. Ed. by Toby Walsh, Julie Shah, and Zico Kolter. AAAI Press, pp. 14832–14839. DOI: 10.1609/AAAI.V39I14.33626. URL: https://doi.org/10.1609/aaai.v39i14.33626.
The following publication during the PhD studies does not contribute to the contents of this thesis:
Luca Nannini, Marta Marchiori Manerba, and Isacco Beretta (2024). “Mapping the landscape of ethical considerations in explainable AI research.” In: Ethics and Information Technology 26.3, p. 44
Part I
CAUSALITY
Chapter 2
Mathematical Framework
In this chapter, we introduce the mathematical objects underlying the causal framework, following the structure of Pearl's Ladder of Causation (Pearl, 2009). As we move upward along this ladder, new mathematical tools are introduced and additional assumptions are layered on top of the previous ones. A summary of this pipeline is illustrated in Figure 2.1.
Causal assumptions:
Markov condition, Causal
Sufficiency, Faithfulness
Structural assumptions:
Functional form, Mod-
ularity, Invariance
Observational
Probability
Statistical inference
Interventional
Causal graph G
Interventions
Counterfactual
Structural functions
Counterfactual reasoning
Figure 2.1: The Causal Inference Pipeline: From Observational data to Interventions and Counterfactual reasoning
Understanding a system via the lens of causality involves progressing through a series of conceptual and methodological stages, each carrying its own theoretical and practical implications. Climbing the ladder of causality requires increasingly strong assumptions, many of which are not directly testable. This progression highlights a fundamental trade-off: as causal tools become more powerful, their domain of applicability narrows (Barocas, Selbst, and Raghavan, 2020).
At the observational level, the central object of analysis is the probability distribution. Understanding the system involves identifying statistical patterns and examining relationships between variables through conditional probability queries. The interventional level introduces a causal graph, which encodes the directional dependencies among variables. This structure allows the model to move beyond correlations, enabling experimental-style queries that reflect the effects of active interventions. The counterfactual level adds another layer of complexity i.e., the functional identification of the mechanisms driving cause-effect relationships. While previous levels focused on whether and in what direction a causal influence exists, counterfactual reasoning aims to uncover exactly how those effects are produced.
2.1 The Ladder of Causation
When the i.i.d. assumption breaks down, interventions and counterfactuals typically induce distribution shifts, altering the data-generating process and invalidating standard learning protocols (Holland, 1986). A model trained on one context may perform poorly when conditions change due to policy shifts, environmental variability, or human decisions. Addressing such scenarios requires models that engage with the causal structure underlying data distributions, rather than relying on surface-level associations.
From a practical perspective, the challenge is compounded by the fact that causal information is rarely available in a clean or controlled form. In most real-world settings, data are observational rather than experimental, meaning that we observe outcomes as they naturally occur, without randomized interventions. This limitation significantly constrains our ability to draw reliable causal conclusions. To navigate this complexity, there is a need for an epistemological framework that distinguishes between different levels of causal reasoning. As illustrated in Table 2.1, the Ladder of Causation (Bareinboim et al., 2022; Pearl, 2009) provides a conceptual hierarchy for structuring this progression. In the following discussion, we will climb this ladder step by step, using the bivariate case as a guiding example.
| Level | Typical Question | Model | Data | ML Methods |
|---|---|---|---|---|
| 3. Counterfactual | What would Y have been if I had acted on X? | No Data | No ML methods | |
| 2. Interventional | How would acting on X change Y? | i.i.d | Reinforcement Learning | |
| 1. Observational | How would seeing X change my belief on Y? | i.i.d | Supervised/Unsupervised Learning |
Table 2.1: The Ladder of Causality. The Ladder of Causality for the static-bivariate case.
- How would seeing X change my belief on Y? On the first step, observational data are i.i.d. according to the a priori probability , and questions admit answers as conditional probabilities, say . We assume that a functional mechanism governs the relationship between
X and Y, excluding measurement errors, unmodelled external factors, and additional stochasticity captured by the noise . For simplicity, we can think of the ML protocol as aiming to recognize f, for example, by adopting a regression procedure.
-
How would acting on X change Y? Moving up to the next step, if we intervene by manually fixing the value of X, data are generally no longer distributed as P. For each possible external intervention, e.g., , data are distributed as the corresponding new distribution , to be determined. Generally, observational data are insufficient to extrapolate the system's cause-effect relations, and only a partial causal structure can be uniquely determined. No matter how elaborate ML protocols may be, the observational distribution and the set of independence relations inferred from data are compatible with a non-trivial class of alternative causal structures. On the other side, causal inferences require causal assumptions: some conditions under which it is possible to answer interventional questions by examining observational data are available, but assuming a causal graph can correctly capture the cause-effect relationships between variables involved.
-
How would Y have been if I had acted on X? In this step, data are unavailable by definition at the counterfactual level, and no experiment in the world will be sufficient to answer counterfactual questions. More precisely, counterfactual inferences require assumptions about the mechanism underlying the observed phenomenon: the model is necessary to make counterfactual conclusions. In a nutshell, the noise actual value is determined via the observational couple , providing . Consequently, the counterfactual quantity is obtained by intervening with on the modified equation .
The points above show how causality is essential for accessing information that is not necessarily obtainable on the observational level, regardless of the size of the system under consideration. Accordingly, the integration of causal structures within inductive protocols bears the potential to enhance their expressive capacity. In this regard, the cause-effect problem in the bivariate context may be considered both the most fundamental from a conceptual point of view and the least realistic in modeling concrete situations.
The Bivariate Case. Given only two observable and correlated variables, denoted here as X and Y, a fundamental question arises: in which direction, if any, does a potential causal influence flow between them? That is, does X cause changes in Y, does Y influence X, or is the observed correlation merely the result of a hidden confounder, i.e., a third not-observed variable which causes both X and Y, providing their non-zero correlation, or coincidence? This basic causal identification problem has been the subject of significant theoretical interest, particularly within causal inference and algorithmic information theory.
| Observational Level | Causal Structure | Post-Interventional Level | Interventional Distribution |
|---|---|---|---|
| X — Y | X → Y | X → Y | |
| X ← Y | X Y |
Table 2.2: Cause-Effect Pairs. Whenever the presence of a confounder is ruled out, the intervention makes it possible to distinguish which case the system belongs to by comparing the interventional distribution with the observational one.
While it is generally acknowledged that real-world systems cannot be accurately modeled as mere collections of bivariate relationships, the analysis of such simplified pairs remains highly relevant. Much of the scientific literature is rich in discussions of variable pairs commonly assumed or debated to share a causal connection. Examples include: taxation and government expenditure, educational attainment and income level, military spending and aggressive behavior, inflation and unemployment, or social status and political affiliation. From a cognitive viewpoint, it seems clear that humans tend to act with this simplified causal relationship in mind, whereas more complex causal structures are employed in less common contexts. Despite their simplicity, these binary associations often serve as entry points for formulating and testing hypotheses about underlying mechanisms. Furthermore, from a methodological standpoint, the bivariate case provides a valuable setting to illustrate foundational concepts of causal inference. It also helps to clarify how such concepts may intersect with, and potentially inform, modern ML approaches, particularly in contexts where large-scale observational data are abundant, but causal structure is unclear.
The analysis for the bivariate static case builds upon the preliminary ideas summarized in Table 2.2, and aims to expose general properties of causality that are essential for both theoretical development and application to real-world inference problems. At this point, considering only the interventional level of the ladder, Table 2.2 collects the two causal alternatives available when the confounder is excluded a priori. In a nutshell, the scenario can be outlined as follows:
- Unlike statistical correlation, causation is inherently directional. Therefore, a satisfactory theory of causality must account for this asymmetry — an aspect we must be able to detect, at least to some extent, when attempting to infer causal information from statistical dependencies. However, given only the observational joint distribution and no further assumptions, the direction of causality between X and Y cannot be determined. Indeed, for any such joint distribution, it is always possible
to construct both a functional model , i.e., where is deterministic and is a noise term independent of , and a model of the opposite direction.
-
This inherent symmetry in the joint distribution is theoretical and remains unaffected by the amount of observational data available. This highlights a key distinction from standard predictive modeling, where increasing the volume of data typically improves performance. In contrast, more data does not resolve the fundamental ambiguity of causal direction.
-
Importantly, while both functional models and can reproduce the same joint distribution, they generally differ in structure. This observation opens the door to resolving causal asymmetry by constraining the class of admissible models or introducing a complexity criterion to distinguish between them. In the latter case, an Occam’s Razor principle might be invoked: the direction yielding a simpler or more plausible model is preferred. Either way, the symmetry can only be broken by incorporating prior knowledge or additional assumptions, highlighting the necessity of theoretical input when working with purely observational data.
It is important to emphasize that further complications arise upon closer examination. In real-world scenarios, dependencies between random variables X and Y may not stem from a direct causal relationship, but rather from alternative underlying mechanisms. For instance, the observed association might result from selection bias, where both variables are conditionally dependent on unobserved confounding factors. In such cases, the joint distribution reflects a distorted view of the true data-generating process, leading to potentially spurious inferences. Moreover, dependencies may emerge from shared temporal structures rather than causality per se. A classic example involves systems governed by deterministic physical laws, where variables co-evolve over time due to common dynamics rather than a causal influence of one variable on the other. In these settings, the temporal correlation between X and Y may reflect their simultaneous response to an underlying process, rather than indicating a directional causal link. These considerations underscore the inherent challenges in distinguishing causation from mere statistical association. They also reinforce the necessity of incorporating domain knowledge, careful model design, or interventional data to correctly identify causal relationships, especially in observational studies where such confounding factors and structural dependencies are likely present.
Towards a general discussion. The challenges and limitations encountered in the bivariate case become significantly more intricate in the multivariate setting, where the underlying causal structures are typically richer, more entangled, and susceptible to a wider range of confounding influences. In multivariate systems, not only does the number of possible causal configurations grow combinatorially with the number of variables, but the potential for complex dependencies, feedback loops, and latent confounders increases correspondingly. Moreover, the task of causal inference in high-dimensional settings is often compounded by computational constraints, such as the scalability of inference algorithms and the tractability of evaluating competing models. In Part I, we shall outline the general mathematical framework, with particular attention to the difficulties mentioned above.
Given these challenges, our approach delineates a structured and methodical causal pipeline, designed to be as linear as possible and organized into clearly demarcated modules. This decomposition serves two complementary purposes. On the one hand, it offers a broad, high-level framework that captures the typical stages of causal analysis, from data acquisition and modeling to inference and validation. On the other hand, it enables a precise characterization of the assumptions, methodological choices, and critical bottlenecks encountered throughout the process. By isolating each stage, we aim to clarify the specific role played by every component and to highlight where domain knowledge, computational resources, or statistical assumptions become essential. This systematic organization not only enhances interpretability but also facilitates the identification of potential failure modes and the development of more resilient methodologies. Finally, it helps situate our contributions within the broader landscape of existing research, clarifying their scope and limitations. In the following three sections, we will explore this progression in detail, introducing each causal level along with its associated formalisms and assumptions.
2.2 Observational Level
In statistical inference, the study of a system typically begins with the collection of a finite number of observations. The fundamental goal is to infer the properties of the underlying data-generating process by detecting patterns, regularities, and systematic deviations across the observed instances. In formal terms, the objective is to recover, or approximate, the probability distribution from which each observation is assumed to be a sample. This constitutes the first step of any statistical modeling effort and already requires the adoption of preliminary assumptions. The most basic of these is the i.i.d. assumption.
Assumption 1 (i.i.d. Sampling) Let be random (possibly vector valued) variables defined over a common sample space . The i.i.d. assumption requires that:
- Each variable has the same marginal distribution:
- The joint distribution factorizes as the product of its marginals:
That is, the variables are identically distributed and mutually independent. A dataset is said to satisfy the i.i.d. assumption if it represents a joint realization of . Consequently, the probability of the entire dataset factorizes as
This assumption guarantees two essential properties. First, it ensures that the target of inference—the distribution —is well-defined. Second, it guarantees that the complexity of this target is fixed a priori and does not grow with the sample size. Each observation contributes equally and cumulatively to its identification.
Probability Factorization. Once the inferential target is identified, a natural question arises: how complex is it to determine ? How many parameters are required to describe it accurately? How many samples are needed to estimate these parameters reliably? And how does this complexity scale with the dimension of ? More importantly, how can we ensure this complexity remains manageable as the dimensionality grows?
A simple example may help clarify these concerns. Consider an -dimensional binary random variable , with joint distribution . A naive representation of consists of a table assigning a probability to each possible realization of . Since there are such realizations, this representation requires parameters, which quickly becomes computationally and cognitively intractable.
On the other hand, intelligent agents typically build internal models of the world through compact representations of observed data. A key step in this process is decomposing the system into simpler, independent components. In particular, recognizing statistical independence among variables enables significant simplification. The formalism of Bayesian Network (BN) (Koller and Friedman, 2009) provides the tools to express and exploit such independence relations.
Remark 1 The chain rule always allows us to factorize a joint distribution regardless of the dependencies among variables:
Now, assume the variables are indexed such that each depends only on its immediate predecessor: the joint distribution satisfies the Markov condition
and the factorization simplifies to
This reduction significantly decreases the number of parameters that need to be estimated, and only values are required. More generally, the independent relations among the variables can be structured according to a partial order, which, even in such cases, entails reducing the number of parameters. The existence and identification of such independence structures act as a mechanism of compression in representation, achieved here through the right choice of factorization for P.
2.2.1 Finite-data problem
One important problem concerns the limited data availability. Although many inductive methods are asymptotically consistent, i.e., approximating an ideal condition as the number of available data increases, consistency does not always induce the expected practical advantage, and some problems are often unavoidable due to the finite data regime.
Consider the problem of testing for conditional independence. Suppose we are studying a system involving many variables, and we try to determine whether X and Y are conditionally independent given a set of variables S. Formally, this means verifying whether
We denote this condition by . The statistical procedure adopted to perform the test will typically rely on a subset of the available data. Specifically, it must verify that the independence condition holds for each possible realization . Reasoning along these lines, the possible realizations will be, considering the simplified case of binary variables, . Therefore, each test will only have the -th part of the entire dataset. Consequently, the efficiency of statistical independence tests can only be preserved by accessing an exponentially increasing amount of data on the system, causing the procedure to be practically unfeasible. The reasoning is directly extended to non-binary discrete variables. In general, the relation between the problem's dimensionality and the amount of data required represents a discipline in itself, occupying a relevant role also in Artificial Intelligence (AI) and ML (Mohri, Rostamizadeh, and Talwalkar, 2012).
When one considers continuous data, the problem often gets worse. First of all, many of the most popular independence tests, such as G-test, Fisher-test, and Entropy-based tests, involve a binning procedure, i.e., a block discretization of the continuous distribution, thus ending up with the problems analyzed before.
As an additional problem, the choice of bin size can significantly affect the results, introducing an extra layer of uncertainty and arbitrariness. Finally, working in the finite data regime introduces algorithm-specific limitations — some of which are theoretical in nature. For example, under these conditions, key causal learning algorithms suffer from known weaknesses: PC becomes order-dependent (Colombo, Maathuis, et al., 2014), while GES no longer guarantees finding the global optimum concerning its score (Chickering, 2002).
2.3 Interventional Level
The interventional level necessitates the introduction of a causal graph, which generalizes the factorization example discussed above by providing a principled framework for encoding dependencies among variables in a compact and interpretable manner. The canonical factorization associated with the graph accommodates the modeling of external interventions, allowing them to be represented as modifications to one or more underlying factors.
Definition 1 (Graph) A graph is a pair , where:
• V is a finite set of nodes (or vertices) .
• is a set of directed edges, where each edge represents a directed link from node to node .
Definition 2 (Path) Given a graph , a path is a finite sequence of nodes
such that for every consecutive pair with , either
A path is said to be directed if all edges follow the same direction:
A cycle is a path where and all intermediate nodes are distinct.
Definition 3 (Directed Acyclic Graph (DAG)) A graph is a DAG if it contains no directed cycles.
In the context of probabilistic and causal modeling, each node corresponds to a random variable in the system, and each directed edge represents a direct causal influence between two variables. In this regard, some basic terminology can be helpful. Given a node , we define:
-
The set of nodes with directed edges pointing into is called its parents, denoted by .
-
The set of nodes that receive directed edges from is called its children, denoted by .
-
The set of nodes from which there exists a directed path into is called its ancestors, denoted by .
-
The set of nodes that are reachable by a directed path starting from is called its descendants, denoted by .
In what follows, we may omit the superscript when the underlying DAG is clear from context.
At this point, we can characterize how much a graph conforms to the independence properties inherent in the observational distribution. In this regard, the Markov property is a foundational assumption in graphical modeling: a distribution P is said to be Markov for a DAG if the conditional independencies in P are reflected in the structure of and can be exploited for efficient computation and representation.
Definition 4 The DAG is -compatible if the following Local Markov Condition holds for all nodes :
that is, each variable is independent of its non-descendants given its parents. Under this condition, the joint distribution admits the following canonical factorization:
This decomposition highlights the efficiency gained by modeling dependencies via a DAG: rather than specifying the full joint distribution directly, one only needs to describe local conditional distributions over each variable given its parents.
Remark 2 Beyond its computational efficiency, the canonical factorization in Eq. (2.2) carries significant cognitive and epistemological implications.
1 From this point onward, with a slight abuse of notation, we will use the same symbols to denote both the nodes in the graph and their corresponding random variables. This choice is intended to make the one-to-one correspondence between them more direct and easier to follow.
Graphical models offer a way of representing dependencies that mirrors how humans organize knowledge: through modular, local interactions among components. Such representations align with cognitive constraints on memory and reasoning, allowing agents to store, interpret, and manipulate information efficiently (Pearl, 2011).
Remark 3 From a statistical and computational perspective, this modular structure enables scalable inference and learning by exploiting independence relations (Koller and Friedman, 2009). The factorized form reduces the memory requirements for storing a distribution and the computational complexity of querying it.
Remark 4 Although multiple DAGs can encode the same set of conditional independencies, one may prefer the graph that provides the most compact and structured account of the observed relations. In this spirit, the causal graph G may be interpreted, following an Occam’s Razor-type principle (Walsh, 1979), as the minimal description consistent with the observed data. This viewpoint naturally connects with algorithmic information theory, where simplicity and explanatory power are tied to measures such as Kolmogorov complexity (Janzing and Schölkopf, 2008; Peters, Janzing, and Schölkopf, 2017).
The P-compatibility condition, as captured by Eq. (2.1) and Eq. (2.2), can also be characterized in terms of d-separation relations.
Definition 5 (d-separation) Given three sets of nodes A, B, and C in V, we say that A and B are d-separated by C — denoted A ⊥_G B | C — if, for every , every , and every path in G connecting A to B, the following conditions hold: at least one of (1) or (2) is satisfied, and (3) is satisfied :
-
There is a chain that is blocked by ; that is, a subpath of the form or appears in , with ;
-
There is a fork that is blocked by ; that is, a subpath of the form appears in , with ;
-
No collider along is activated by ; that is, whenever a subpath of the form appears in , it holds that .
Using this notion, it can be shown that is P-compatible if and only if the following Global Markov Condition holds:
2 Throughout the following, we use the arrow shorthand , and to refer to local configurations along a path , without requiring that the variables involved be adjacent. These motifs describe the directions of edges at a node along , not the global structure of the path.
In practice, we are often interested in designing an algorithm that, given or a dataset sampled from P, returns a graph G that encodes exactly the set of independence relations implied by P. This motivates the introduction of the Faithfulness Assumption.
Assumption 2 (Faithfulness) Given a DAG G, a probability distribution P is said to be G-faithful if
Remark 5 This assumption has a precise meaning not only in the relationship between G and P, but also in the internal structure of the causal system. To illustrate this point, we introduce a classical counterexample. Consider the DAG G depicted in Figure 2.2, defined by the following linear equations:
where are independent noise terms.

Figure 2.2: Violation of Faithfulness. A simple DAG. When , the causal effects from to cancel out, leading to a violation of Faithfulness.
If we set , the two causal paths from to cancel each other out, resulting in for the distribution generated by , even though . In fact, a simpler DAG structure, namely , would be compatible with .
The Causal Faithfulness assumption rules out such cancellations of causal effects due to unlikely parameter coincidences, which would otherwise hide causal relationships from independence tests. In this sense, it can be seen as analogous to Occam's razor, favoring simpler explanations. Although it is often argued that non-faithful configurations form a set of measure zero in the parameter space and are thus negligible in a probabilistic sense, recent results indicate that, in finite-sample settings and when allowing for a margin of error in statistical tests, violations of Faithfulness can be much more problematic than traditionally assumed (Uhler et al., 2013).
It is worth stressing that a P-compatible DAG G is simply a compact representation of the set of conditional independence relations in P, and does not necessarily reflect the true causal structure of the system. This becomes apparent when recognizing that the set of P-compatible graphs is not in general a singleton, as will be discussed below.
2.3.1 Markov Equivalence Class
Given random variables , the number of possible DAGs increases super-exponentially with . However, the conditional independence relations encoded by a distribution impose constraints on the space of admissible graphs.
Definition 6 The subset of DAGs of nodes that are -compatible is called the Markov Equivalence Class (MEC) of , and is denoted by MEC.
The class MEC can be fully characterized by two structural features of a DAG: its skeleton and its set of v-structures.
Definition 7 (Skeleton) Given a DAG , its skeleton is the undirected graph obtained by replacing all directed edges with undirected ones. Formally,
Definition 8 (V-structure) Let be a DAG. A triple of distinct nodes forms a v-structure if the following two conditions hold:
• Both edges and ;
• There is no edge between and in the skeleton , i.e., . In shorthand, we write this configuration as:
where is called a collider. The arrow notation is used informally to indicate the presence of the corresponding ordered pairs in E.
With these definitions in place, the following result characterizes when two DAGs belong to the same MEC.
Theorem 1 (Verma and Pearl (1990)) Two DAGs are in the same MEC if and only if they share the same skeleton and set of v-structures.
The class MEC is graphically represented through a Partially Directed Acyclic Graph (PDAG) , obtainable via three simple steps:
• We start with only nodes without any edges.

Figure 2.3: Partially Observed Causal Graph. Observed variables are influenced by latent variables . Causal Sufficiency does not hold.
- The skeleton of is the same of any DAG in the MEC. We add all the required undirected edges to the graph.
• If an edge of has the same direction for all the DAGs in the MEC , we direct the edge in that direction.
The new graph is referred to as the Completed Partially Directed Acyclic Graph (CPDAG) of P. The Markov equivalence class, , can be understood as the set of all alternative causal structures capable of generating the probability distribution P. These structures are collectively represented by , where the directed edges correspond to the shared cause-effect relations.
2.3.2 Causal Sufficiency
The Markov Condition ensures that the independence relations represented in the graph must also be reflected in the associated probability distribution. In particular, for any DAG, the root nodes must be mutually independent. Indeed, it is easy to verify that if X and Y are both roots, applying Eq. (2.1) yields
This property can be verified across variables in the graph by recursively applying Eq. (2.1), considering the condition on the variables' parents. From a modeling perspective, this reflects an important assumption:
Assumption 3 (Causal Sufficiency) A set of variables X is said to be causally sufficient if, for every variable C that acts as a direct common cause of two distinct variables , it holds that . Formally, for all and any variable C,
Causal Sufficiency requires that the available variables capture all the relevant factors needed to model the system, and that no latent (i.e., unmeasured or unmodeled) variables influence the observed behavior. If this assumption does not hold, we may only observe a subset O of a larger set of variables V governing the system, where V also contains latent variables L.
In principle, since L are unknown, there exist infinitely many causal models that can explain a given distribution, each introducing different hidden variables and connecting the observed variables through distinct causal pathways. Without any restriction on the class of models considered, making meaningful assertions about the underlying causal structure is unfeasible.
Following the principle of Occam’s razor (Walsh, 1979), it is reasonable to prefer the simplest models consistent with the observed data. Theories that survive this form of selection are called minimal (Pearl, 2009).
Nonetheless, Occam’s razor remains a heuristic guideline rather than guaranteeing that the selected model reflects the underlying mechanism. Its application, while reasonable, represents an assumption that is arbitrary in principle. Overreliance on simplicity can, in some cases, lead not just to simpler models but to oversimplified ones that fail to capture essential features of the system.
Assumption 3 effectively enforces , that is, it posits the “simplest imaginable” situation by excluding latent variables altogether. However, this assumption often comes at a high cost, as it can produce unrealistic models, undermining the rationale for applying Occam’s razor in the first place.
2.3.3 Interventions
In the following, we define the notion of a Causal Intervention.
Definition 9 (Causal Intervention) Consider a system described by a causal graph and a corresponding probability distribution , represented through the canonical factorization Eq. (2.2). An intervention on the variable is defined as the replacement of the conditional probability term with a modified term , where . In other words, a controlled shift in the conditional distribution of is performed, altering its dependency structure.
As a result, a new canonical factorization is obtained by replacing the corresponding factor in the original one:
Definition 10 (Do-Intervention) An intervention is called hard if the value of is set to a specific constant , that is,
where denotes the Dirac delta distribution concentrated at .

Original graph G
Intervened graph
Figure 2.4: Effect of a Do-Intervention on the Causal Graph. The intervention removes all incoming arrows to .
Compared to the general definition of intervention, a hard intervention sets , eliminating any dependence of on its original parents in the causal model. As a consequence, the causal graph is modified: is transformed into a new graph by removing all arrows pointing into , as depicted in Fig. 2.4. This type of intervention is commonly denoted by in the literature and is often referred to as a do-intervention.
Remark 6 (Modularity for Generalization) When environmental conditions change, a machine trained in one environment cannot be expected to perform well unless the localized changes can be identified. For instance, in computer vision, distribution shifts may arise due to aberrations, geometric transformations, or compression artifacts.
Problems of this nature are typically addressed through data augmentation, pre-training, or other strategies that introduce data biases. However, these solutions may not be sufficient, and some structural knowledge of the system may be required. Researchers in AI have recognized this challenge, motivating the development of subtasks such as domain adaptation, transfer learning, and life-long learning to improve robustness.
In this context, modularity plays a central role by enabling certain forms of generalization (Pearl, 2009; Schölkopf et al., 2021). Specifically, it is assumed that, starting from the canonical factorization Eq. (2.2), a single factor can be replaced by a modified factor without altering the other terms, yielding Eq. (2.6).
This process formalizes the functional and semantic independence of the mechanisms characterizing the system, allowing the identification of the specific mechanism that has changed, whether due to external perturbations or the application of the model to a different, though related, problem.
Consequently, the generalization achieved is not from one dataset to another sampled from the same distribution, but rather from one problem to another. This form of out-of-distribution generalization is a key capability of intelligence, which relies on interventions, domain shifts, and temporal structure to build modular representations. In this regard, causal models may represent an important step toward achieving more transparent and robust AI systems (Pearl and Mackenzie, 2018a; Pearl, 2019).
Definition 11 (Causal Effect) The causal effect CE of an intervention I is defined as the difference in the expectation of the variables X under the probability distribution before and after the intervention. Formally,
The causal effect CE can also be characterized conditionally on some system variables. Conditioning on the event , the object of interest becomes , while the structure of the definition remains unchanged.
2.4 Counterfactual Level
So far, the following perspective has been adopted: a causal model consists of a graph that specifies which variables directly determine the value of each variable , inducing a partial order on . Moreover, Eq. (2.6) allows the computation of interventional distributions.
However, the underlying mechanisms of the system have remained implicit, represented through the conditional probability distributions . This approach suffices when we are interested in answering causal queries that can be expressed in probabilistic terms, placing us at the second level of Table 2.1.
In this sense, a causal graph can be viewed as an intermediate description between fully mechanistic models, such as differential equations in physics, and purely statistical models based on the i.i.d. assumption.
A further step toward a more explicit modeling of causal mechanisms is provided by the language of Structural Causal Models (SCMs) (Pearl, 2009; Schölkopf, 2019; Schölkopf and Kügelgen, 2022; Schölkopf et al., 2021). In place of the probabilistic factor , we consider a relationships as
which is interpreted as an assignment from right to left, rather than a symmetric equation. denotes the exogenous factors influencing , modeled as random noise due to our lack of control over them.
This finer-grained representation enables us to formalize interventional queries more richly, including cases that cannot be expressed purely in probabilistic terms (Halpern, 2016), as well as to address counterfactual queries (Halpern, 2016; Pearl, 2009).
First, we distinguish between the endogenous variables X of the system and the exogenous variables E, which represent the noise terms. If Assumption 3 holds,

Figure 2.5: Extension of a Causal Graph. The original graph G is extended by explicitly including exogenous noise variables , each influencing its corresponding endogenous variable .
each exogenous variable influences one and only one observable variable , ensuring the following independence properties: and for all , with .
The graph can then be extended by including the exogenous nodes , with directed edges for each . This extended graph explicitly encodes that each variable is generated by its parents together with its exogenous noise , through the underlying mechanism given by Eq. (2.8).
Given the distribution
the functional assignments induce a joint distribution , which inherits structural properties from the topology of . Intuitively, independent noise terms can be viewed as sources of randomness that propagate information through the graph . Then, given Eq. (2.2), each factor is computed from the mechanism combined with the marginal distribution .
The advantage of this formulation lies in the fact that the object of interest is no longer the probability distribution , but rather the random variable itself. Specifically, interpreting the noises as random variables, we say that is a solution of the SCM , where is the set of structural equations , if satisfies all equations in .
This perspective motivates a new level of causal query: assuming that a realization x of X has already occurred through a specific realization of the noises and the application of the assignments in F, in principle we can infer the values of and answer questions of the form: “What would have happened if, prior to generating this realization, we had applied a certain intervention?”. In other words, we can formulate counterfactual queries. It is important to note a subtle point: the uncertainty of the model is initially captured by the probability distribution over , but once a realization has been produced, the entire system of mechanisms becomes deterministic. There is no longer any uncertainty about the outcome of the process.
2.4.1 Interventions and Counterfactuals
As the final and most expressive level, SCMs are capable of answering all queries addressed at the previous levels. They can describe the observational distribution , answer interventional queries about the effects of external manipulations, and go further to enable counterfactual queries to assess what would have happened to a particular observation if one observed variable had taken a different value.
To this end, we reformulate the notion of intervention introduced in Definition 9 within the language of SCMs.
Definition 12 (Intervention - SCMs) An intervention I on an SCM M yields a new SCM in which one or more mechanisms are replaced by modified mechanisms
where and .
We refer to a hard intervention when is replaced by a constant value , and . This type of intervention is denoted by the do-operator . Conversely, we refer to a soft intervention when at least one argument of is retained.
Definition 13 (Causal Effect - SCMs) The causal effect CE of an intervention I is evaluated as the difference between the values of the observable variables before and after the intervention, that is,
where X and are the solutions of M and , respectively.
Definition 14 (Counterfactual Realization and Causal Effect) Given a realization produced by an SCM through its structural equations , the counterfactual realization is defined as the outcome of the intervened SCM , evaluated under the same noise realization .
Moreover, the counterfactual causal effect of I is the deterministic quantity
Remark 7 The average causal effect CE and the counterfactual causal effect are two fundamentally distinct quantities, and they can yield very different values. Consider, for example, the following toy model that describes the effect of a drug on a patient. The system consists of only two variables. The first is a binary variable that determines whether the treatment was administered. The second represents the patient's health status, which is also binary (good or poor health). The model can be described by the following structural equations:
The final health status of the patient depends on the treatment, and it is highly probable (90%) that the treatment has a positive effect. However, there is a small probability (10%) that the treatment has a negative effect, e.g., due to fragile or hidden health conditions. We can compute the expected value of S as a function of T, obtaining
Without intervention, we have . If we intervene to ensure that the drug is always administered, that is, if we apply , we obtain . Consequently, the average causal effect is . On average, the drug gives an effective outcome in improving the patient's health. However, the situation changes for a specific patient if it turns out that . In this case, evaluating the counterfactual realizations by fixing , we obtain and . In other words, for this particular patient, the treatment is harmful.
Remark 8 The previous example further clarifies an important point. Counterfactual queries refer to an alternative scenario to the one observed, and can only be evaluated after a specific realization has occurred. In this sense, their utility is limited to very specific contexts. Although counterfactuals represent a powerful tool, this condition imposes a limitation that must be considered. If we were to ask whether the doctor made the right decision in administering the drug, the answer would be positive: based on the information available at the time of the decision, administering the drug was the best alternative, as the expected causal effect CE was positive. Moreover, the counterfactual nature of the problem makes evaluating the quality of the model highly problematic. By definition, any estimate of a counterfactual outcome can not be directly verified or falsified, as we have no access to a ground-truth realization of the alternative scenario.
2.4.2 Modularity and Invariance
The SCMs formulation relies on invariance assumptions, implicitly encoded in their definition; specifically, through the modeling of the system using a set of separate structural equations collected in F. These assumptions do not concern the mathematical objects within the SCM per se, but rather the expressiveness of the modeling framework itself, i.e., it assumes that the SCM is sufficiently expressive to capture the underlying phenomena faithfully.
Assumption 4 (Strict Functional Mechanisms) Each mechanism depends only on the values of its arguments, not on any higher-order properties such as their mean or variance. In other words, is a function of the specific realizations of and .
This assumption does not universally apply and may be invalid in a range of realistic settings. Consider, for example, a public competition in which the top 10 most competent participants are selected. In such a setting, the outcome for each participant depends not only on their attributes but also on the attributes of others. Consequently, this scenario cannot be adequately modeled within the SCM framework, and it would lead to paradoxical results: for instance, if every participant's score were increased by 5 points, the relative ranking and thus the final selection would remain unchanged.
Assumption 5 (Modularity) The overall behavior of the system depends only on the aggregate behavior of its individual mechanisms, which are assumed not to interact with each other. In other words, each mechanism represents an independent module that describes a subsystem isolated from the rest.
Modularity often provides a way to represent a system in a compressed form, excluding higher-order interactions that are either unknown or uncontrollable, and should therefore be interpreted in an approximate sense. In this view, the SCM should be understood as an effective model: sufficiently accurate for the intended purpose, but necessarily simplified relative to the true complexity of the underlying phenomenon.
Nonetheless, it is important to note that Assumption 5 may not always hold in practice. For instance, in a biological system in which represents the presence of a virus and denotes the immune response of a patient, one might initially model their relationship as
where captures individual variation. However, the immune system may autonomously adapt over time, modifying its internal response mechanism to the virus without external intervention. This change implies that evolves as a function of past exposures or internal regulatory feedback, violating the assumption that each mechanism operates in isolation. Such endogenous adaptation challenges the modular view and reflects the limitations of treating mechanisms as entirely independent.
Assumption 6 (Interventional Invariance) After an intervention, all mechanisms not directly affected by it are assumed to remain unchanged, i.e., the principle of modularity extends to the interventional level. This assumption applies to the system itself, not to the SCM, where it is just a rule for how interventions are translated into model modifications.
Violations of this assumption can occur in systems that adapt to external manipulations. For instance, consider the biological scenario discussed above and suppose we intervene to eliminate the virus, setting via vaccination. The virus may adapt by developing long-term immunity to the vaccine. This constitutes a change in a mechanism that was not directly targeted by the intervention, violating the principle of interventional invariance.
Part II
TOWARDS REALISTIC ALGORITHMIC RECOURSE
Chapter 3
Algorithmic Recourse
Algorithmic Recourse (AR) refers to the class of problems concerned with determining what changes an individual should make to improve their outcome. Depending on the specific context and application domain, this problem may be known by different names. In this chapter, we present two of the most well-known formulations: Contrastive Explanations and Consequential Recommendations(Karimi et al., 2020b).
Imagine the following situation: Mario, a 38-year-old homeowner, applies for a personal loan to fund an extensive home renovation project. The financial institution, using a binary classification system, evaluates the application and ultimately decides to reject it based on the applicant's details, such as income or credit history. Faced with this outcome, Mario might naturally ask the following questions:
Q1 What factors led to my loan application being rejected?
Q2 How can I improve my chances of getting approved for a loan in the future?
Contrastive Explanations Q1 aims at receiving an explanation for the outcome, i.e., an understanding of why the application was declined. One particularly intuitive approach involves the use of Contrastive Explanation (CEx).
These explanations provide clarity by offering counterfactual scenarios that demonstrate how the outcome could have been different if certain attributes or circumstances were modified. Such examples might include either real profiles of successful applicants or synthetic, hypothetical scenarios where the decision would have resulted in approval. For instance, Mario might receive feedback such as:
• If your annual income were $10,000 higher, your loan would have been approved.
• If your credit score were 50 points higher, you would have met the approval threshold.
3.1 PRELIMINARIES
32
Consequential Recommendations Q2 asks for a set of actions to be performed to change the person's status, to achieve a favourable outcome. Typically, Consequential Recommendations (CRe) are tailored to the specific subject and presented in the form of actionable advice. Examples of CRe include:
- If you were willing to extend the mortgage term from 10 to 20 years, we could approve your loan.
• If you managed to secure a 20% salary increase, you would become eligible.
Similarities and Differences It is important to specify that CEx and CRe are conceptually distinct and can yield significantly different responses under certain conditions.
Example 1 A student takes the Calculus 101 exam, which consists of 10 multiple-choice questions. The student answers only 5 questions correctly and thus fails the exam. A CEx in this context might be something like: “if you had selected answer 'A' for question 3 and 'B' for question 6, you would have achieved a score of 7, passing the exam.” However, if the student were to retake the exam the following week, this type of information would hold little relevance. In contrast, a CRe might highlight the necessity of improving understanding of the sections on derivatives and integrals covered in the course.
From a mathematical point of view, these concepts can be understood based on two main factors that give them clear meaning and highlight their differences. The first factor is the presence of random elements that can affect the values of the variables involved and, as a result, the final outcome (for example, a student's mental state on the day of the test). The second factor is the way the variables in the system are connected and influence each other. This aspect will be addressed in its more advanced form in Chapter 5.
In the next section, we will introduce the mathematical formalism required to analyze AR. We will start with its simplest definition and gradually refine it as the chapters progress.
3.1 Preliminaries
Definition 15 Given a binary predictive model , where represents the feature space of , consider the original (factual) instance of interest . We define as a counterfactual instance of if .
In most cases, we are interested in scenarios where . Here, the model outcome assigning 0 is interpreted as "unfavorable," while an outcome of 1 is interpreted as "favorable".

Figure 3.1: Independent Features. The simplest non-trivial causal model relevant to the problem of Algorithmic Recourse: the features are independent of one another, and each contributes individually to the final outcome.
Minimal Cost While there may exist infinitely many alternative counterfactual instances, some are preferable to others. To formalize this preference, we introduce a notion of cost, defined as a function
Definition 16 (Contrastive Explanation (CEx)) CEx consists in producing the optimal counterfactual instance by optimizing cost with respect to the space of instances, that is
The simplest case to consider is one in which the features are independent of each other, as illustrated in Fig. 3.1. Under this assumption, there exists only a single possible action to transition from to , namely, . In other words, the required action involves adding to each feature of the exact amount needed to match the corresponding value in . Equation (3.2) then becomes
3.2 First Challenge: Choosing Cost
So far, we have defined AR as a constrained optimization problem over a given cost function. However, this cost has been treated as an abstract quantity, leaving its specific form open to choice. In this section, we will address this point by presenting some of the most common choices in the literature and analyzing their limitations. Chapter 4 will further explore this topic from the user's perspective, arguing for the necessity of moving beyond a purely algorithmic approach, which may be insufficient to capture the full complexity of the problem at hand.
3.2.1 Common choices
The most direct, simple, and widely used approach is to select a cost function based on some distance in the feature space, typically some norm, defined by
Common examples include the Euclidean distance, characterized by the norm and defined as
the Manhattan distance, induced by the norm, the one induced by the norm, and the norm. Karimi et al. (2020a), for example, propose a linear combination of these. Each of these norms reflects a specific preference regarding the type of counterfactuals to be generated and emphasizes different optimality criteria. For instance, acts as a feature change counter. Consequently, its minimization promotes sparsity in the modified features.
Weights are commonly applied to the distance metric to address the varying scales of features, especially when the dataset is not pre-normalized (Wachter, Mittelstadt, and Russell, 2017). Examining the broader field of counterfactual generation beyond the specific recourse problem, the selection of distance measures remains largely consistent and predominantly relies on norms (Guidotti, 2022).
3.2.2 Constraints and Limitations
To make cost functions as realistic and useful as possible, recent work in the field has focused on incorporating additional constraints (for a comprehensive review see Guidotti (2022) and Verma et al. (2024)). Key examples include:
• Actionability: Only allow changes to features that can be realistically modified (e.g., job skills, not date of birth or race).
• Plausibility: Ensure counterfactuals follow realistic data patterns (e.g., avoid suggesting 1M salary for entry-level positions).
• Sparsity: Prefer solutions with fewer feature changes (e.g., modifying 1-2 attributes rather than many).
• Diversity: When generating multiple counterfactuals, ensure they represent meaningfully different alternatives.
• Robustness: Counterfactuals should remain valid under model uncertainty or small input perturbations.
Intuitively, we can view these constraints as additional penalty terms added to the original cost function. Formally, given a set of constraint costs (where each represents the penalty for violating a constraint), the total cost becomes:
For hard constraints (those that must be absolutely satisfied), the corresponding is set to , effectively prohibiting any solution that violates them.
Despite this refinement process, certain limitations inherent in using distance metrics as a foundation persist and cannot be easily resolved through additional penalty terms. In this section, we begin by examining the simplest issues: translational invariance and symmetry. Later in our work, we will address more complex challenges including causality (Section 3.3), user dependence (Chapter 4), and time unawareness (Part III).
3.2.3 Limitations
Translational Invariance A key limitation of distance metrics induced by norms is their translational invariance property, expressed as:
Example 2 Consider two individuals, x and y, who receive identical recommendations to qualify for a bank loan: “increase your monthly salary by 8,000, while y earns $1,200. Intuitively, fulfilling this recommendation requires substantially less relative effort for x than for y, as the difficulty depends critically on the initial salary - a factor not reflected in translationally invariant distance metrics.
To address this limitation, Ustun, Spangher, and Liu (2019) proposes a percentile-based measure defined as:
where P represents the cumulative probability function of the target population.
Symmetry Nevertheless, this approach still presents significant limitations, particularly regarding the symmetry of cost:
This property proves undesirable in nearly all realistic scenarios. Typically, at least at a basic analytical level, we assign each variable a directionality: movement in one direction improves the variable's state, while movement in the opposite direction worsens it. Intuitively, we expect the effort required for improvement to always exceed that needed for deterioration. Note that and percentile shifts are both symmetric.
3.3 Second Challenge: Dependent Variables
Variables in a system are not always independent. In most real-world cases, they interact with each other, meaning that a single change can be beneficial for one variable while simultaneously harmful for another. In this section, we formalize this problem by introducing the causal formulation of AR.


Example 3 (The Winemaker’s Dilemma) In winemaking, there is a trade-off between grape quality and yield. Focusing on high-quality grapes often means reducing yield, as vines are pruned to enhance the flavor of fewer fruits. This improves the wine’s quality but lowers production. Conversely, maximizing yield (for instance, through the use of fertilizers) can result in less flavorful grapes, leading to lower-quality wine. The outcome of this trade-off is total earnings, which depend on both the price of high-quality wine and the volume produced, balancing the benefits of quality with the costs of reduced yield. What actions should the winemaker take to maximize their profit?
3.3.1 Causality in Algorithmic Recourse
Assuming independence between variables, the formulation of Contrastive Explanation through Eq. (3.2) and Eq. (3.3) provided a sufficiently clear protocol for modifying the factual instance into the optimal counterfactual . Since altering a single variable had no effect on the others, the transformation from one state to the other was straightforward: one simply needed to examine the component-wise differences and sequentially add the missing quantity, one variable at a time.
Without this assumption, the process becomes more complex: as soon as the first modification is made, other variables may change as well. Even if one compensates for these unintended drifts through further adjustments, new drifts may arise, leading to a cascading effect. In other words, without understanding the mechanisms governing the dependencies within the system, reaching may no longer be straightforward.
Conversely, knowledge of these mechanisms could not only ensure that is reached but might even simplify the process, potentially requiring fewer modifications. In other words, one could leverage this knowledge to their advantage. Consider Fig. 3.2.
Contrastive Explanation
Causal Explanation

Figure 3.2: Causal vs non-Causal AR. (Left) Classic Algorithmic Recourse setting. (Right) Causal Algorithmic Recourse setting, where variables can have dependencies.
The Contrastive Explanations setting (Left) relies on the following assumptions:
-
The variables are mutually independent.
-
The final decision is determined only by the sign of Y.
-
Every point can be reached, meaning all features are actionable.
-
The optimal minimizes a given distance metric (e.g., Euclidean norm).
Introducing dependencies between variables leads to what we call the causal setting, as these dependencies can be modeled by a SCM. The key differences are:
-
The variables are no longer independent, as indicated by the red arrow between and .
-
The cost of an action depends only on changes to the causes, not their effects. The cost function inherits the structure of the causal model. For example, if someone changes their job, their salary is likely to change as a consequence, without incurring additional cost.
Let us analyze the two actions shown in the figure on the right.
-
The first action consists of increasing by a quantity . Since is a cause of and has a positive effect on it, increasing also increases . In a non-causal setting, this intervention would result in a horizontal shift, producing the non-causal counterfactual. In the causal setting, however, the shift in modifies the final state, leading to a point much farther from the decision boundary (a more positive outcome). Similarly, a weaker intervention in the same direction, that may have led to a negative outcome in the non-causal model, could result in a positive outcome in the causal model, despite the estimated cost being the same.
-
The second action, instead, increases the value of , which is not a cause of . Consequently, the counterfactual obtained in both settings remains exactly the same. The knowledge of the causal structure informs us that, in this example, acting on is preferable.
In the causal setting, knowing the dependencies between features makes it possible to evaluate the effect of a given intervention on . However, the inverse problem i.e., determining the necessary actions to reach a desired target point , is not straightforward. Additionally, the original metric used to determine the optimality of counterfactuals is no longer valid, as the new cost function is now adjusted to account for cause-effect relationships. In other words, formulating the optimization problem as in Eq. (3.2) is no longer meaningful. Instead, it seems more useful to shift the optimization problem to the space of actions. Rather than asking where one wants to arrive, the central question becomes how to get there.
Example 4 Consider the following analogy, depicted in Fig. 3.3. A mountaineer wants to reach the nearest refuge to spend the night. A distance-based recommendation would suggest the closest refuge in a straight line, without providing specific guidance on how to get there. In contrast, an action-based recommendation, relying on a topographic map of the area, would evaluate alternative routes and ultimately suggest the one with the shortest duration. Note that the selected refuge may differ depending on the recommendation approach used. The key distinction between these two approaches is that the second incorporates additional knowledge of the system's structure (i.e., the topographic map), enabling the optimization of a more meaningful metric. Moreover, while the first approach only identifies the destination, the second explicitly provides the route to follow.
Definition 17 (Consequential Recommendations (CRe)) CRe consists in producing the optimal action to implement in order to change the evaluation of the function h, by optimizing the cost function cost over the space of actions A. Formally, we define:

Figure 3.3: CEx vs CRe. Illustration of the difference between CEx and CRe. While CEx suggests reaching the nearest refuge in a straight line, ignoring obstacles or terrain, CRe leverages additional structural information (the topographic map) to recommend the fastest feasible route, even if it leads to a different refuge. This example highlights how incorporating knowledge of system structure enables more effective and realistic recommendations.
Let us briefly comment on the formulation. First, an action is a mapping that modifies the state of the system. Consequently, the cost function cost is a function
which evaluates the cost of implementing a given action starting from a specific initial state.
The objective remains the same as in Definition 16, namely to change the output of the evaluation function h. However, in general, we do not expect the resulting counterfactual instance to coincide with the one found in contrastive explanations. The action space A is currently an abstract object that must be contextualized based on the specific structure assigned to the system. In our case, adopting a causal perspective, A corresponds to the space of possible causal interventions, and the structural model considered will be that of an SCM (See Section 2.4).
Complexity of CEx and CRe Enriching the problem structure does not only bring benefits. On one hand, CRe allows for a more meaningful and realistic study of AR, but on the other, it requires a more complex formulation, not only conceptually but also computationally.
Comparing Eq. (3.3) and Eq. (3.5), the former optimizes in , which has dimension , corresponding to the number of features in the system. Using a brute-force Grid Search optimization algorithm, CEx would suffer from the curse of dimensionality. For simplicity, let us assume that is the hypercube . If we fix a resolution of , meaning that each feature takes different values, a total of instances would need to be evaluated, leading to exponential complexity.
In practice, the regularity of the functions cost and h can be exploited to significantly simplify the problem. This can be achieved using gradient-based methods (similarly to approaches employed in neural network models) or, when gradients are unavailable, through approximate algorithms. As a result, CEx is almost always computationally manageable. In contrast, CRe introduces an additional layer of complexity.
Remark 9 CRe is at least as computationally complex as CEx.
Assume that all system features are actionable. Then, we can apply an intervention to each component that modifies its value, denoted as . For example, considering additive interventions (adding or subtracting a given quantity from the initial value), defines a one-dimensional space.
In principle, the space of all possible interventions (i.e., the action space ) consists of all combinations of individual interventions . Consequently, in the worst case, its dimensionality is .
At the beginning of Chapter 2, we saw that exploiting the causal structure of the model can significantly reduce its complexity. By leveraging the independence and modularity of causal mechanisms, it is often possible to achieve a more compact representation, sometimes reducing the complexity from exponential to polynomial, or even linear (see, for example, Section 2.2).
In the best-case scenario, where variables are completely independent (see Fig. 3.1), the action space simplifies to the Cartesian product
Consequently, under these conditions, CEx and CRe become entirely equivalent.
Linearity An important case where CRe keeps the same computational complexity as CEx is when the SCM is linear and the interventions are additive. In this case, the structural equations can be written in compact form as
where A is a matrix that represents the strengths of the causal relationships between the variables.
An additive intervention on component means adding the term to the right-hand side of the equation, where is the -th unit vector of the standard basis in . Explicitly writing the equation in vector form gives
Solving for X, we obtain
We can easily identify the effect of the intervention in the term .
Suppose we apply another intervention on top of the first one, but on a different variable . Thanks to the linearity of , by the superposition principle, the total effect is simply the sum of the individual effects:
Therefore, the search for can be performed one variable at a time, and the size of the search space reduces to the dimension of the system.
Chapter 4
Cost is Subjective
Main Sources: Isacco Beretta, Eleonora Cappuccio, and Marta Marchiori Manerba (2023). “User-Driven Counterfactual Generator: A Human Centered Exploration.” In: Joint Proceedings of the xAI-2023 Late-breaking Work, Demos and Doctoral Consortium co-located with the 1st World Conference on eXplainable Artificial Intelligence (xAI-2023), Lisbon, Portugal, July 26-28, 2023. Ed. by Luca Longo. Vol. 3554. CEUR Workshop Proceedings. CEUR-WS.org, pp. 83–88. URL: https://ceur-ws.org/Vol-3554/paper15.pdf, Eleonora Cappuccio et al. (2024). “An Interactive Interface for Feature Space Navigation.” In: HHAI 2024: Hybrid Human AI Systems for the Social Good. IOS Press, pp. 73–83.
Author's Note This chapter presents one of the first attempts to explore counterfactual explanations from a more user-centered point of view. The ideas discussed were developed during the early stages of the PhD and are mostly meant as a starting point for reasoning about how people interact with algorithmic decisions. The objective is to propose a preliminary solution to the problem of rendering this framework more compatible with human cognitive processes, providing an in-depth discussion of the methodological aspects and limitations of classical algorithmic recourse from the perspective of the user.
Progress in the performance and efficiency of automatic decision-making systems has incentivized AI-based solutions in pervasive and impactful contexts of daily life, such as finance, healthcare, and transportation. A problematic aspect of these models is the lack of explainability: it is difficult to provide the reasons behind the automated decisions due to the complexity of the algorithms and the large amounts of data processed. This lack of transparency and accountability can lead to mistrust and concerns about the ethical implications of using AI in decision-making (Guidotti et al., 2018). In sensitive real-world contexts, accounting for the algorithmic decision is necessary for the user to understand and contest the motivations behind the system's output. This is especially important when the outcome strongly impacts human life or has harmful consequences. Moreover, relevant policies such as the GDPR (General Data
COST IS SUBJECTIVE
43

Figure 4.1: Workflow of Feature Space Navigator.
Protection Regulations) (Seizov and Wulf, 2020; Sovrano, Vitali, and Palmirani, 2021) claim the relevance of appealing in case of rejection, i.e., to request what changes users should make to be accepted in receiving a positive response, for example, to a loan application. In this way, users can be empowered to understand how the algorithmic decision affects them.
In this work, we present Feature Space Navigator, an interactive interface that allows an exploration of the decision boundary of any black box model. We report in Fig. 4.1 a visual workflow of our approach. Imagine a person applying for a loan to a bank that leverages an automatic decision-making system. The instance x represents her current situation (stage [1] of the workflow): she has a certain amount of capital, her current working position is being a chef in a restaurant, and she has no degree. The decision emitted by the black box model is negative, hence her request is denied.
Following the diagram, in stage [2a] an automatic counterfactual technique generates instances trying to optimize a predefined cost function that embeds a set of constraints, e.g., plausibility and diversity. Three counterfactual instances receiving a positive outcome are proposed to the user (stage [3a]). The scenarios suggested are: (i) the person has a medium amount of capital and occupies a business role, (ii) the person remains a chef, but she has a high amount of capital, and (iii) the person has a medium amount of capital, she is a doctor and she has a degree in medicine. From the counterfactuals returned, the user satisfaction
4.1 CONTRIBUTIONS
44
is symbolized by the smiley and gloomy faces. Following this pipeline, the subjective human satisfaction is impossible to capture and it remains unknown or an irrelevant feedback.
Our proposal, exemplified in stage [2b], consists of an interface that lets the users freely explore their options, changing the features at will. The set of constrains is not directly embedded nor expressed through the interface, but it is implicitly delegated to the common sense of the users. The resulting counterfactual user-crafted in stage [3b] has the same amount of money, by profession she is a florist and has a degree. The difference between our approach w.r.t. the traditional one consists in the possibility for the user to intervene again on the interface and generate a new, more effective counterfactual if the one created is not useful or applicable, creating a continuous loop through the interaction.
The rest of the chapter is organized as follows. In Section 4.2, we report a critical literature discussion and a review of the state-of-the-art solutions that closely align with our contribution. Section 4.4 presents the proposed method. In Section 4.5, we report several examples testing different datasets to demonstrate our proposal's novelty and effectiveness for counterfactual generation. Finally, Section 4.6 indicates future research directions and discusses the limitations of our approach.
4.1 Contributions
This chapter offers the following contributions:
• Human-Centered Perspective: We highlight several limitations of existing counterfactual generation techniques, particularly the assumption of a universal, fixed cost function, and argue for a more subjective, user-driven notion of cost.
• Interactive Exploration: We propose an alternative approach to counterfactual generation that gives users direct control over feature modification, allowing them to explore the decision space through a simple and intuitive interface.
• Prototype Implementation: We present Feature Space Navigator, a lightweight tool for local, model-agnostic interaction with decision systems, designed to support both experts and lay users.
• Preliminary Evaluation: We demonstrate the use of Feature Space Navigator through illustrative examples on standard benchmark datasets, showing how user interaction can lead to flexible and realistic counterfactuals.
4.2 RELATED WORK
45
• Design Reflection: We discuss how this type of tool could open the way for new evaluation methods and user studies that shift the focus from algorithmic optimization to human experience and control.
4.2 Related Work
4.2.1 Counterfactual generation techniques
Counterfactual approaches explain individual predictions describing what-if contrastive scenarios (Beretta and Cinquini, 2023; Karimi, Schölkopf, and Valera, 2021; Molnar, Casalicchio, and Bischl, 2020). Specifically, the explanations indicate to the user the minimum change necessary in the feature space representing them so that the output of the automatic system changes toward the desired outcome.
Various approaches have been devised for generating counterfactuals, including optimization, heuristic search, instance-based, and decision trees. We refer to Guidotti (2022) for a more comprehensive overview. Evaluating the quality of counterfactual explanations requires careful consideration of multiple desired qualities, which have been defined in the literature as validity, sparsity, similarity, plausibility, discriminative power, actionability, causality, and diversity (Guidotti, 2021; Jia et al., 2019; Zhang et al., 2019). The complexity of this range of evaluation metrics presents a critical challenge in comparing the currently available algorithms and establishing benchmark procedures. Moreover, most of the current counterfactual generation techniques do not allow for user interaction, thus limiting the practical applicability of these methods in real-world contexts (Karimi et al., 2023).
4.2.2 Human-Centered Approach
It is crucial to rethink new ways of interaction between humans and the eXplainable Artificial Intelligence (XAI) algorithm, focusing more on the user's point of view and needs (Abdul et al., 2018; Amershi et al., 2014; Liao and Varshney, 2021; Miller, 2019). The effectiveness of an explanation is based on the extent to which the recipient regards it as comprehensible and useful. A human-centered approach is needed to fill the gap between the algorithmic perspective and an explanation that is truly intelligible to humans. In fact, as stated in Liao and Varshney (2021), XAI presents more of a design challenge than an algorithmic challenge.
Previous social science research has shown that human explanations are often contrastive. Therefore, counterfactuals are generally considered less cognitively demanding and more intuitive (Riveiro and Thill, 2021). Given these assumptions, our proposed interface and algorithm are outlined as starting points for
4.2 RELATED WORK
46
several case studies, see Section 4.5, and are therefore designed for domain experts and lay users (Ribera and Lapedriza, 2019).
In 2018 the DARPA explainable AI initiative framed the explainable AI process as a three-stage approach, distinguishing between the explainable model, the explanation user interface. (Gunning and Aha, 2019). This definition draws a difference between the model through which an explanation of a machine learning algorithm is generated and the means used to communicate it to the user (Chromik and Schuessler, 2020). From this perspective, the explanation process has to be outlined as a continuous dialogue between a sender and a receiver (Abdul et al., 2018). Therefore XAI has to consider interactivity as a fundamental part of the process (Chromik and Schuessler, 2020; Madumal et al., 2019; Miller, 2019), for example, through the design of novel interfaces that allow model inspection at will (Shneiderman, 2020), and promote an understanding of the computational processes giving users control of the algorithmic actions (Shneiderman et al., 2016).
4.2.3 Interactive explanations and visualizations
In the following, we frame Feature Space Navigator in relation to existing literature solutions, and critically discuss the novelty and positioning of our contribution.
DECE is an advanced counterfactual generation method tailored for both global and local interpretability tasks (Cheng, Ming, and Qu, 2021). With a strong focus on visualization and user interface design, DECE automates counterfactual generation using established metrics such as diversity and validity. Notably, it facilitates user-driven constraint imposition through a decision tree framework, offering fine-grained control over the generation process. Moreover, DECE extends beyond dataset limitations by exploring counterfactuals independent of available data, while leveraging subset counterfactuals to dissect machine learning model decision boundaries.
Prospector is a method designed to generate instance counterfactuals via a visual interface (Krause, Perer, and Ng, 2016). It utilizes a semi-global score, specifically a partial dependence plot, to estimate the probable prediction when specific features of the original instance are modified. This process involves three distinct phases: patient selection, patient inspection, and the generation of partial dependence plots. Access to both the model and the dataset used for training is required. The tool is specifically designed for data scientists. It allows them to understand how features affect the prediction, thus improving a predictive model.
DiCE framework generates and evaluates counterfactuals according to two properties, namely plausibility and diversity (Mothilal, Sharma, and Tan, 2020). The authors test DiCE on four real-world datasets and compare its counterfactuals with popular local explanation methods and other prior approaches.
4.3 USER-CENTERED LIMITATIONS
47
T-LACE generates reliable counterfactual explanations leveraging on two properties of a tailored transparent latent space, namely similarity and linearity (Bodria et al., 2022a). An interactive framework for auto-encoders allows a visual exploration of the latent space, shedding insights on the links between input features and model prediction (Bodria et al., 2022b).
What-If Tool consists of a model-agnostic interactive interface designed to visually explore ML systems on a variety of inputs and analyze features importance both at local and global level (Wexler et al., 2020). It is able to automatically generate counterfactuals by optimizing predefined metrics, while it does not allow direct user intervention. It allows practitioners to interactively adjust models rather than individual instances, making it ideal for refining model performance. Its user-friendly design requires minimal coding skills, catering to a wide range of practitioners seeking insights through counterfactual reasoning.
For a thorough overview, we refer to (Biecek and Burzykowski, 2021), where authors present techniques and strategy designed to explore and explain model's predictions at instance-level, i.e., for a single record, and at dataset-level, i.e., for an entire collection.
Our contribution We outline some of the distinguishing properties of Feature Space Navigator, our method, setting it apart from existing literature. Firstly, it prioritizes the user, who not only operates the tool but also indirectly defines the optimization metric, ensuring subjective considerations are captured. Moreover, it requires minimal technical skills, as no coding knowledge is needed, and users interact through intuitive sliders. It works with any model and does not require access to the dataset, making it easy to explore different models without constraints. Furthermore, it is purely local, focusing solely on the specific instance at hand, ensuring relevance to the user's context. Users can adjust instances feature by feature, enabling thorough exploration of the feature space. Overall, our method is user-friendly, adaptable, and effective for exploring machine learning systems.
4.3 User-Centered Limitations
Building on the discussion in Section 3.2, we now focus on limitations that emerge when algorithmic recommendations interact with the social and personal context of the user. While previous efforts have tried to improve cost through better distance metrics or added constraints, many still operate under a fixed and context-agnostic definition of cost, limiting their usefulness in real-world settings. In particular, we highlight two critical issues that are especially relevant when considering user interaction:
1 https://pair-code.github.io/what-if-tool/
4.3 USER-CENTERED LIMITATIONS
48
Limitation 1. Stationarity: The cost function is predetermined and remains fixed after deployment. It does not update based on user feedback or preferences, preventing any adaptation that could improve alignment between the model's suggestions and the user's actual needs (see Research Challenge 9 in (Verma, Dickerson, and Hines, 2020)). Consider, for example, a credit scoring system that assumes obtaining a formal degree (e.g., a university diploma) is easier than switching to a different job. Based on this assumption, the model prioritizes education-related changes in its recourse suggestions. However, after deployment, it may observe that users consistently prefer to modify their employment status rather than pursue further education. This could be due to the long time horizon, financial cost, or perceived inaccessibility of academic pathways. In contrast, changing jobs may feel more attainable to users in practice. Such behavior reveals that the cost function has underestimated the difficulty of education-related changes and overestimated that of employment shifts. A non-stationary system could learn from this feedback and revise the relative weights in cost, ultimately generating more practical and user-aligned recommendations. In other words, incorporating user feedback may offer a powerful means of calibrating the cost function to better reflect real-world preferences and constraints.
Limitation 2. Universality: cost cannot depend on exogenous factors of the system. In most existing approaches, it is implicitly assumed that the same cost function is suitable for all users. However, in practice, the feasibility and difficulty of taking action can vary widely based on personal circumstances that are not captured in the dataset. For example, the ease of changing jobs may depend on the types of employment available in the local area, access to transportation, or caregiving responsibilities at home. Requesting a salary increase might be easier for individuals with strong workplace relationships, and accumulating wealth may depend on whether someone owns additional assets (such as family heirlooms or property). These factors, though highly relevant, are typically unobserved by the system. The cost of an action is not an objective or universal quantity—it is shaped by each individual's social, economic, and psychological context. Ignoring this subjectivity can lead to overly rigid or unrealistic recommendations (see Research Challenge 10 in (Verma, Dickerson, and Hines, 2020)). One preliminary attempt to address this issue is proposed by (Mahajan, Tan, and Sharma, 2019), which introduces user-specific cost modeling, although much remains to be explored in this direction.
These challenges motivate a shift from purely algorithmic optimization toward user-centered methods that treat individuals not just as passive recipients of recourse, but as active agents capable of judging what is realistic, desirable, or worthwhile. We explore one such approach, introducing a prototype system that allows users to directly explore the decision space and define their own counterfactuals.
4.4 FEATURE SPACE NAVIGATOR
49
Each of these properties imposes specific limitations on the ability to provide effective recommendations to each individual. Our contribution aims to address these limitations, especially from a user-focused viewpoint.
4.4 Feature Space Navigator
Our method proposes an alternative formulation of the counterfactual generation problem, departing from the algorithmic perspective and instead shifting the focus to user interaction. Our proposal leverages the autonomy and control of the users that can explore the behavior of the decision model accordingly with their own knowledge base, reducing the need for a dedicated explanation algorithm. From this perspective, users are designated as the “domain experts” of their own real-word scenario.
Feature Space Navigator is local, post-hoc and agnostic, i.e., designed to account for any black box . It offers an interactive interface of the areas where the model returns the desired outcome by providing a graphical visualization. The entire process is delegated to the users that are free to explore the feature space of the system and generate autonomously, “by hand”, effective counterfactual and prototype instances that they deem feasible, desirable, and suitable to their specific evaluations and needs . Users are therefore empowered with complete autonomy and control over the process without the mediation of an explanation algorithm between the human and the decision model. In the following, we outline the interface, the underlying algorithm, and discuss evaluation aspects of the outputs returned by Feature Space Navigator.
Interface The interface, depicted in Section 4.5, visually displays how model predictions react in response to the adjustments introduced by the users, letting them to identify relevant prototypes and counterfactuals. It allows users to independently explore the feature space by selectively modifying the original instance on the basis of her own knowledge and experience, i.e., changing the value of one of the features that characterize the instance x. This can be done introducing minimal changes through the adjustment of the slider feature by feature within its designated range. Specifically, each slider is characterized by a colored gradient representing the model's scores for the different values of the feature. Users can choose which feature to modify by moving the cursor to a value that improves their score, selecting the feature they find most comfortable to change. After each adjustment, the instance x is promptly updated with new values, generating new gradients and enabling further modifications until the user is content with the set of changes and insights. Through a number of attempts, generating both prototypes and counterfactuals, the user intuitively
2 Feature Space Navigator is available at https://github.com/Elecapp/Feature_space_navigator.
3 User interactions through the interface are not stored; hence, no concern occurs regarding the safety of private information that users might input.

Figure 4.2: The Space of Changes. Example of allowed movements through the sliders.
guesses the feature importance of the classifier decision boundary through gradients change.
Algorithm The user can move along each axis in the feature space but can not make diagonal movements. We present a simplified representation of the process in Figure 4.2, i.e., the allowed movements using sliders. The cumulative nature of the modifications ensures the ability to reach any point in the space. In Algorithm 1, we report the pseudo-code for a single step of the process. It requires access to the model's probability outputs and is specifically tailored for tabular data with a binary target variable. The number of predictions required scales linearly with the number of features, ensuring the interface update remains essentially real-time.
4.5 Scenarios
Datasets In this work, we implemented Feature Space Navigator on two datasets widely used in academic research and freely accessed through the UCI Repository (Kelly, Longjohn, and Nottingham, n.d.).
• The STATLOG (GERMAN CREDIT DATA) dataset (Hofmann, 1994) categorizes individuals as having good or bad credit risk through a binary
Algorithm 1: GRIDEVALUATION(ranges, bins, X, x, model)
Input : ranges - features ranges, bins - number of bins, X - dataset, x - original instance, model - black box
Output: - model's predictions
1 ; // storing number of features 2 ; // creating a matrix of zeros 3 for to do 4 if categorical( ) then 5 for do 6 ; // creating a copy of 7 ; // changing 's -th feature with the new value 8 ; // predicting score 9 else 10 min, max ranges ; // saving min and max of current feature 11 for to bins do 12 ; // computing the new value 13 ; // creating a copy of 14 ; // changing 's -th feature with the new value 15 ; // predicting score 16 return
classification task. It comprises 1000 instances and 20 features, all of which are categorical and integer types. The categorical features are handled in the interface by preserving the original categorical feature's record alongside the value generated by the LabelEncoder.
• The WINE collection (Aeberhard and Forina, 1991) comprises data resulting from a chemical analysis conducted on wines originating from the same Italian region but derived from three distinct grape varieties. This examination evaluated the levels of 13 different components present in each wine type. With 178 instances and 13 features, encompassing both integer and real numbers, the primary task associated with this dataset is multi-class classification. The target variable has three possible values denoting distinct cultivars: each wine is categorized into one of three classes. From an interface point of view, we handled the multiclassification by creating a 3-step gradient.
Classifiers We performed an 85-15 split in train and test for STATLOG and a 70-30 split for WINE. We ran our evaluation on Random Forest implemented by the scikit-learn library . The best parameters are identified through a
4 https://scikit-learn.org/stable/index.html
Randomized Search over a dictionary of possibilities. Both the classifiers were performed using a fixed random state.
4.5.1 Understanding the Effects of Interventions
In the following, we provide examples of potential usage of the interface on the adopted datasets, aiming to illustrate the functionality of Feature Space Navigator.
Statlog Scenario Let us examine a case from the STATLOG dataset, where a user applies for a loan. The initial configuration, depicted in Figure 4.3a, is associated with a negative outcome—the model classifies the user as a bad credit risk, and the loan is therefore denied.
Using the interface, the user begins exploring alternative options. In a first attempt, shown in Figure 4.3b, they reduce the credit amount requested, assuming that a lower loan might be perceived as less risky. This modification slightly improves the score, but not enough to change the model's decision—the predicted credit risk remains negative.
Realizing that credit amount alone may not be sufficient to alter the outcome, the user continues their exploration. In the third step, shown in Figure 4.3c, they adjust the duration in month—a variable that may influence the perceived repayment capacity. This time, the result changes: the model now classifies the instance as a good credit risk, and the loan would be granted.
This simple scenario illustrates the core idea behind our approach: by enabling users to interactively explore the feature space, they can experiment with combinations of changes that feel plausible or acceptable to them. Instead of relying on a fixed optimization routine, the process becomes a negotiation between what is desirable, feasible, and effective—driven by the user's own judgment and understanding of their situation.
Wine Scenario In this example, a hypothetical chemist is using the interface to determine the likely origin of a wine sample, based on its chemical composition. Initially, the sample is classified as class 2, as shown in Figure 4.4a.
Looking to explore how the prediction might change, the user adjusts the flavanoids level—one of the more influential chemical features related to classification. As depicted in Figure 4.4b, this modification leads to a shift in the predicted class: the sample is now associated with cultivar class 1.
Curious about the full decision boundary, the user continues to explore this feature further. In a final step, shown in Figure 4.4c, they increase the flavanoids value once more. This additional change pushes the prediction into a different region of the feature space, resulting in a new classification as class 0.
This scenario demonstrates how users can explore the sensitivity of the model to single features and observe non-linear shifts in its decision-making. In this case, modifying just one feature—flavanoids—across a narrow range was enough to traverse the boundaries between all three wine classes, giving the user a good sense of the model's internal behavior and thresholds.
Remark While in this work we instantiated Feature Space Navigator on the two datasets provided as examples, it is important to recognize that the scenarios discussed serve merely as illustrative cases. The interface developed through this approach is generalizable and applicable to various real-world contexts. Therefore, while the specific instances showcased here offer valuable insights, the broader implications extend beyond these samples, demonstrating the versatility and utility of Feature Space Navigator in addressing varied challenges across different domains.
4.6 Conclusions
In this work, we have critically examined the limitations of the techno-solutionist approach to explanations in the context of counterfactual generation, reaffirming interactivity as a core value in the explanation interface between the model and the user. We have developed Feature Space Navigator, an interactive graphical interface that facilitates exploration of the feature space of the decision boundary of a black box, providing an intuitive visualization of the areas where the model produces the desired outcomes. This user-centric approach enhances transparency and control in the decision-making process, contributing to the advancement of XAI methodologies.
Future Work Embracing a human-centered perspective, the evaluation requires a conceptual shift by involving users within it in order to understand whether the explanation is convincing for the intended user, the ultimate stakeholder in the process (Liao et al., 2022; Wang et al., 2023). Concretely, a qualitative evaluation in the form of a user study is necessary. The study will provide a measure of human validation regarding the comprehensibility and usability of the interface, as well as the usefulness of exploration as a means of generating explanations for the underlying decision model. Indeed, since our approach does not assume the existence of a pre-established cost function, making a quantitative assessment of its optimality is not useful. Therefore, a direct comparison with algorithmic methods should be dismissed, in fact the evaluation of the method's effectiveness can not rely solely on data-driven metrics mentioned in Section 4.2, as generating a counterfactual depends entirely on user interaction.
Limitations Although our approach delegates the responsibility of evaluating counterfactuals to the user, the issue of plausibility still applies, at least in part. While users are generally equipped with common sense and contextual
STATLOG (GERMAN CREDIT DATA)
Classification Result: Bad Credit Risk
Good Credit Risk
Bad Credit Risk

(a) Starting situation.
STATLOG (GERMAN CREDIT DATA)
Classification Result: Bad Credit Risk
Good Credit Risk
Bad Credit Risk

(b) User changes Credit Amount; credit risk is still not good enough.
STATLOG (GERMAN CREDIT DATA)
Classification Result: Good Credit Risk
Good Credit Risk
Bad Credit Risk

(c) User changes Duration in Month; credit risk becomes good.
Figure 4.3: Statlog Scenario.
knowledge, they may still be confused when the system labels as "valid" or
"positive" a counterfactual instance that appears implausible or even absurd from their perspective. For example, an individual might wonder why a suggestion that feels unachievable is considered a valid recourse.
This highlights a broader challenge: how to incorporate soft constraints or plausibility filters into our interactive system without compromising user freedom. While we have not fully addressed this aspect in the current version, we believe it is a promising direction for future work. Ideally, users would be able to explore freely while receiving subtle guidance from the system—perhaps through visual cues or lightweight warnings—when proposed changes deviate too far from realistic or consistent patterns.
Another important aspect is the internal consistency between feature values. Some feature combinations, though technically valid, may be incompatible in practice. Many algorithmic methods address this through statistical constraints or generative models that ensure counterfactuals lie within the data distribution. In the absence of such mechanisms, our system risks presenting users with combinations that, while permitted by the interface, may not make sense in real-world scenarios. Incorporating light-touch plausibility checks, while preserving the simplicity and transparency of the tool, is an open challenge.
Our method also assumes that users will tend to make fewer, more meaningful changes compared to automatic algorithms. This encourages sparsity, which is generally desirable. However, as the number of editable features grows, the cognitive burden on users increases. Exploring a complex decision boundary manually can become tiring or confusing, especially for users without technical or domain-specific expertise. Providing mechanisms to highlight the most influential features or prioritize promising directions could help mitigate this challenge.
Finally, we acknowledge that counterfactual explanations carry broader limitations. They can be susceptible to manipulation or gaming, and may recommend actions that are formally valid but ethically questionable or socially undesirable. These concerns, raised in recent work (Barocas, Selbst, and Raghavan, 2020; Kasirzadeh and Smart, 2021; Slack et al., 2021), must be taken seriously in the design of responsible and trustworthy recourse systems.
WINE DATASET
Classification Result: 0
| alcohol | 13.28 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| value: 13.28 | 13.28 | value: 13.28 | 13.28 | ||||||
| 11.03 | 11.41 | 11.79 | 12.17 | 12.55 | 12.93 | 13.31 | 13.69 | 14.07 | 14.45 |
| 1.64 | malic_acid | ||||||||
| value: 1.64 | |||||||||
| 0.74 | 1.25 | 1.75 | 2.26 | 2.76 | 3.27 | 3.78 | 4.28 | 4.79 | 5.29 |
| ash | 2.84 | ||||||||
| value: 2.84 | |||||||||
| 1.36 | 1.55 | 1.73 | 1.92 | 2.1 | 2.29 | 2.48 | 2.66 | 2.85 | 3.03 |
| 15.5 | alcalinity_of_ash | ||||||||
| value: 15.5 | |||||||||
| 10.6 | 12.54 | 14.48 | 16.42 | 18.36 | 20.3 | 22.24 | 24.18 | 26.12 | 28.06 |
| 110 | magnesium | ||||||||
| value: 110 | |||||||||
| 70 | 79.2 | 88.4 | 97.6 | 106.8 | 116 | 125.2 | 134.4 | 143.6 | 152.8 |
| total_phenols | 2.6 | ||||||||
| value: 2.6 | |||||||||
| 0.98 | 1.27 | 1.56 | 1.85 | 2.14 | 2.43 | 2.72 | 3.01 | 3.3 | 3.59 |
| 1.71 | flavanoids | 2.68 | |||||||
| value: 2.68 | |||||||||
| 0.34 | 0.68 | 1.02 | 1.36 | 1.7 | 2.04 | 2.38 | 2.72 | 3.06 | 3.4 |
(a) Starting situation.
WINE DATASET
Classification Result: 1
| alcohol | 13.28 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| value: 13.28 | 13.28 | value: 13.28 | 13.28 | ||||||
| 11.03 | 11.41 | 11.79 | 12.17 | 12.55 | 12.93 | 13.31 | 13.69 | 14.07 | 14.45 |
| 1.64 | malic_acid | ||||||||
| value: 1.64 | |||||||||
| 0.74 | 1.25 | 1.75 | 2.26 | 2.76 | 3.27 | 3.78 | 4.28 | 4.79 | 5.29 |
| ash | 2.84 | ||||||||
| value: 2.84 | |||||||||
| 1.36 | 1.55 | 1.73 | 1.92 | 2.1 | 2.29 | 2.48 | 2.66 | 2.85 | 3.03 |
| 15.5 | alcalinity_of_ash | ||||||||
| value: 15.5 | |||||||||
| 10.6 | 12.54 | 14.48 | 16.42 | 18.36 | 20.3 | 22.24 | 24.18 | 26.12 | 28.06 |
| 110 | magnesium | ||||||||
| value: 110 | |||||||||
| 70 | 79.2 | 88.4 | 97.6 | 106.8 | 116 | 125.2 | 134.4 | 143.6 | 152.8 |
| total_phenols | 2.6 | ||||||||
| value: 2.6 | |||||||||
| 0.98 | 1.27 | 1.56 | 1.85 | 2.14 | 2.43 | 2.72 | 3.01 | 3.3 | 3.59 |
| 1.71 | flavanoids | 2.68 | |||||||
| value: 1.71 | |||||||||
| 0.34 | 0.68 | 1.02 | 1.36 | 1.7 | 2.04 | 2.38 | 2.72 | 3.06 | 3.4 |
(b) User changes flavanoids; wine class becomes 1.
WINE DATASET
Classification Result: 2
| alcohol | 13.28 | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| value: 13.28 | 13.28 | value: 13.28 | 13.28 | ||||||
| 11.03 | 11.41 | 11.79 | 12.17 | 12.55 | 12.93 | 13.31 | 13.69 | 14.07 | 14.45 |
| 1.64 | malic_acid | ||||||||
| value: 1.64 | |||||||||
| 0.74 | 1.25 | 1.75 | 2.26 | 2.76 | 3.27 | 3.78 | 4.28 | 4.79 | 5.29 |
| ash | 2.84 | ||||||||
| value: 2.84 | |||||||||
| 1.36 | 1.55 | 1.73 | 1.92 | 2.1 | 2.29 | 2.48 | 2.66 | 2.85 | 3.03 |
| 15.5 | alcalinity_of_ash | ||||||||
| value: 15.5 | |||||||||
| 10.6 | 12.54 | 14.48 | 16.42 | 18.36 | 20.3 | 22.24 | 24.18 | 26.12 | 28.06 |
| 110 | magnesium | ||||||||
| value: 110 | |||||||||
| 70 | 79.2 | 88.4 | 97.6 | 106.8 | 116 | 125.2 | 134.4 | 143.6 | 152.8 |
| total_phenols | 2.6 | ||||||||
| value: 2.6 | |||||||||
| 0.98 | 1.27 | 1.56 | 1.85 | 2.14 | 2.43 | 2.72 | 3.01 | 3.3 | 3.59 |
| 1.71 | flavanoids | 2.68 | |||||||
| value: 0.8 | |||||||||
| 0.34 | 0.68 | 1.02 | 1.36 | 1.7 | 2.04 | 2.38 | 2.72 | 3.06 | 3.4 |
(c) User changes flavanoids; wine class becomes 2.
Figure 4.4: Wine Scenario.
Chapter 5
Causal Algorithmic Recourse and Time
Main Sources: Isacco Beretta and Martina Cinquini (2023). “The Importance of Time in Causal Algorithmic Recourse.” In: Explainable Artificial Intelligence - First World Conference, xAI 2023, Lisbon, Portugal, July 26-28, 2023, Proceedings, Part I. Ed. by Luca Longo. Vol. 1901. Communications in Computer and Information Science. Springer, pp. 283–298. DOI: 10.1007/978-3-031-44064-9_16, Isacco Beretta, Martina Cinquini, and Isabel Valera (2024). “Enhancing Fairness Through Time-aware Recourse: a Pathway to Realistic Algorithmic Recommendations.” In: Proceedings of the 3rd European Workshop on Algorithmic Fairness. CEUR Workshop Proceedings. URL: http://ceur-ws.org/Vol-3908/#paper_10.
Author's Note This chapter marks the beginning of a reflection on the role of time in causal models, initiated during the second year of the PhD. Although the theoretical framework presented in the included works represents an early version of what is further developed in Part III, and although the incorporation of the temporal dimension remains shallow, these contributions analyze key methodological limitations of existing AR approaches and lay the foundation for a richer notion of actionability and fairness, rooted in time-aware recommendations.
AR aims to provide actionable recommendations to reverse negative outcomes from automated decision-making systems (Karimi et al., 2020b). A possible circumstance in which such recommendations are required is when a credit scoring model denies a loan to an applicant, and the individual desires to understand what should be different to change the outcome of the AI system (i.e., to have the loan accepted). Since the individual's attributes change may have downstream effects on other features, observing and identifying causal mechanisms is crucial in analyzing real-world scenarios to avoid infeasible actions. From this perspective, Karimi, Schölkopf, and Valera (2021) and
5.1 CONTRIBUTIONS
58
Karimi et al. (2020c) propose a fundamental reformulation of the recourse problem, incorporating knowledge of causal relationships into the process of recommending recourse actions. The ability to assess the causal relationships explicitly guarantees plausible counterfactuals (Byrne, 2019) and improves the user's perception of a decision's quality since it reflects the tendency of human beings to think in terms of cause-effect (Pearl and Mackenzie, 2018b).
A significant limitation of state-of-the-art methods is their inability to incorporate the temporal dimension. Neglecting the temporal interdependencies between features and actions can result in erroneous identification of the feature that requires modification at a particular moment, leading to ineffective or sub-optimal recourse actions. As a result, there is a need to devise causal AR techniques that can incorporate temporal information to provide more reliable and plausible recommendations. Hence, we investigate the usefulness of integrating the temporal dimension into a causal AR problem by incorporating the topological information of the causal graph in the cost function evaluation. Besides, we discuss the necessity of interpreting the causal model as a representation of a dynamical process i.e., one that involves the evolution of its instances over time. Lastly, we highlight the critical role of time in influencing the fairness of AR and explore how temporal factors contribute to systemic inequities.
The rest of the chapter is organized as follows. Section 5.1 outlines the main contributions. Section 5.2 presents the essential background and elaborates on the importance of considering the time dimension along with a practical example. Section 5.3 details the proposed approach. Section 5.4 discusses time unawareness in the domain of fairness, examining the implications of recommendations for minority populations. Section 5.5 reports the experimental evaluation. Finally, Section 5.7 summarizes the findings and highlights open research directions.
5.1 Contributions
This chapter makes the following contributions:
• Problem Identification: We identify an important limitation in existing causal AR methods - their failure to account for temporal dependencies - and argue that this omission undermines the realism and feasibility of recourse recommendations.
• Temporal Cost Modeling: We introduce the first method in the literature that explicitly incorporates the temporal dimension into the cost evaluation of recourse actions. Our approach leverages the topology of the causal graph to model time-aware action effects.
• Actionability Revisited: We propose a new interpretation of actionability that integrates time constraints, highlighting how similar interventions
5.2 WHY TIME MATTERS?
59
may carry vastly different temporal costs and how this affects the practicality of recourse.
• Fairness Implications: We analyze how neglecting time in AR can lead to unfair outcomes, particularly for marginalized groups, and demonstrate that temporal considerations are critical for equitable algorithmic decision-making.
• Empirical Insight: Through a controlled semi-synthetic setup based on the German Credit dataset, we illustrate how existing time-unaware causal AR methods can produce suboptimal or impractical recommendations.
5.2 Why Time Matters?
5.2.1 Preliminaries
Action Cost Identifying the optimal action in the causal AR problem necessarily requires defining a notion of “intervention cost”, typically using a function , where is the individual. We use the notation to denote an action that changes by an amount . The cost associated with actions that result in greater changes to is intuitively expected to be higher. In other words, we expect the function to increase in monotonically. The choice of determines the optimization outcome, regardless of whether the problem is formulated at the observational, interventional, or counterfactual level. The most commonly used cost function in the literature is the norm (see Section 3.2.1), which we denote by . Specifically, in this case we have
To ensure scale invariance across the features of , is often replaced by a normalized variant:
and the division between and is understood component-wise.
Despite the constraints inherent in this formulation, it is widely considered a rational and viable choice, mainly due to the inherent challenges of formulating an effective cost function without access to supplementary information.
5.2.2 The Role of Time
In everyday experiences, we typically observe a temporal ordering between the cause and the effect, where the former precedes the latter. This relation could
5.2 WHY TIME MATTERS?
60

Figure 5.1: Simple Causal Graph. A causal graph representing the relationship between college education, individual skills, and job salary.
be exemplified by turning on a light switch in a room, where the action of flipping the switch is the cause of the light turning on. In the context of causal graphs applied to cross-sectional data, time is often ignored, leaving room for other notions of dependence between variables. However, in the framework of AR, it seems natural to include time as a relevant parameter in defining the cost of a specific action. We typically assume that a change in the value of one variable in the causal graph instantaneously affects the descendant variables. In short, probability distributions, including interventional ones, represent a static and unchanging phenomenon of a fundamentally descriptive type. From another perspective, when considering a physical system, its structural equations describe the system's behavior in response to specific physical interventions, ultimately leading to a new and distinct equilibrium state. However, the propagation of the effects of these interventions to the downstream variables may not occur immediately. For example, Figure 5.1 reports a causal graph consisting of three variables, X, Y, and Z, representing a person's college education, skills, and job salary, respectively. We can assume that the system is described by a linear model with additive noise, which can be expressed by the following structural equations:
where, , , and represent noise terms, and and are constants. Such a model implies that a college education generally leads to better preparation and a higher salary. However, the process leading from X to Y can take time (in this case, years), but the model lacks this kind of temporal information and thereby is incapable of considering it. Suppose a person wants to increase his salary Z and queries the model for advice on achieving this goal. The alternatives are only two: the person can improve their skills Y by taking a training course, or they can attend college X to obtain skills as a result of the action. The optimal action would likely be to take a training course. However, the model may not be able to detect this fact. In particular, if the coefficient that links X to Y is sufficiently large, according to (Karimi et al., 2020c), the optimal action would be to intervene on X, rather than on Y. Generally, whenever a node has many children and/or is the beginning of a long chain, it is likely to be part of the intervention set, i.e., the set of variables on which to intervene. This suggests that the actual formulation of the causal algorithmic recourse problem could be biased towards root nodes.
5.3 TIME WEIGHTED CAUSAL GRAPHS
61

Figure 5.2: Causal Graph vs Time Weighted Causal Graph. (Left) An example of a causal graph. (Right) A possible way to incorporate time information over the causal graph. A wavy edge weight is meant to represent time between intervention over node i and the observed effect on node j.
5.3 Time Weighted Causal Graphs
A possible approach to consider the temporal aspect as a relevant parameter of the process is to use the topological information of the graph as an indicator of the time interval between the action and its consequences. One way to integrate the model with the missing information is to manually assign additional weights to each edge of the graph, incorporating information about the characteristic response time of the child variable w.r.t. the change of the parent variable. This allows for analyzing the dynamic flow of the causal effect over time.
Given the DAG , we reformulate the cost function of an action over X to obtain an effect over Y, as
where is the support of , i.e. the set of variables directly modified by . We add the parameter as a free variable to explicitly adjust the balance between the two components of the cost function, namely that denotes the cost function in the feature space and that reflects the time part. It should be noted that the parameters of represent features and their values, while involves the topological properties of the graph and thus depends on nodes and their graph relationships. In the following, we provide an example of a cost function considering the temporal dimension:
where denotes the longest path distance between node V and Y over .
Fig. 5.2 illustrates the graphical example of the above formula. Assuming for simplicity that each edge has a weight of 1, we consider an action over the set , observing different directed paths towards Y.
5.3 TIME WEIGHTED CAUSAL GRAPHS
62
By applying cost and focusing on the time part of the formula, we obtain
The sup operation is motivated by the following observation: when we act on some variables and interpret the process as a dynamic information flux from them to the target, the total causal effect will be observed after every single process finishes, equivalently, after the last one does. This proposal for may be overly simplistic and lacking flexibility, as adding a single edge with a high weight can radically change the cost function regardless of its causal effect. A less rigid formulation of could consider the average response time across the multitude of causal processes involved, each of which can be represented by a causal path between the intervention variable and the target. The average could be weighted by the causal impact of each process, ensuring that minor processes do not excessively skew the evaluation.
Consider the case of linear models with additive noise characterized by SCMs of the following form:
In this setting, the path impact can be assessed by calculating the product of the coefficients associated with their corresponding edges . Furthermore, the total causal effect of a cause X over Y is the sum of the effects attributed to the paths between X and Y. Suppose we also have information regarding the response times associated with edges in , as depicted in Figure 5.6. We denote these quantities as . Considering the set of all these paths and defining the weight of each path as , we define the following:
In brief, represents the propagation time of the causal effect through , and is the weighted average of , weighted by the relative importance of the causal effect of each path on the overall process. The value of in this revised formulation intuitively represents the time at which a significant portion of the causal effect becomes observable, rather than necessarily capturing its entirety. In this sense, it offers greater robustness and flexibility compared to a cost that relies solely on calculating the longest path.
General Remarks We have presented some formulations incorporating temporal dimension within the causal AR framework. However, it is essential to recognize that a general solution is insufficient in resolving the issue across diverse contexts. Instead, deeper considerations must be given to the unique demands of the user and the specific properties inherent in the problem being addressed.
5.4 TIME AWARENESS FOR FAIRER RECOMMENDATIONS
63
If the user needs to complete the action within a time constraint, e.g., purchase a house and move in within two months of applying for a loan, instead of directly adding the term to the total cost, an alternative approach could be to use it as a constraint in the optimization problem. This approach would redefine the problem as finding the most cost-effective action, where the effects are achieved within a predetermined maximum time, leading to a favorable decision.
Moreover, the problem could be such that is not a predetermined fixed value, but rather it may depend on the specific instance under consideration. For instance, in the context of achieving fitness through a diet and exercise program, the required time would vary based on factors such as the user's age, gender, and weight. In such cases, it would be necessary to enrich the data structure and fit based on available data.
Lastly, the nature of the data can have a significant impact on the formulation of the problem. As an example, where data provides relevant information regarding the temporal dimension, the choice of may inherently depend on it. In particular, when working with a time series dataset, it may be possible to construct a more nuanced that aligns with specific practical contexts.
Considering these aspects, it follows that the issue is both complex and multifaceted. Although fully addressing it is beyond the scope of this work, developing effective methods will require applying our proposal to real-world scenarios.
5.4 Time Awareness for Fairer Recommendations
Building on the formulation proposed in Section 5.3, this section extends the discussion to the domain of fairness, specifically examining the implications of recommendations for marginalized demographic groups. Indeed, long wait times for implementing recourse actions can profoundly impact these communities' financial stability, educational opportunities, and overall well-being. Such delays exacerbate pre-existing inequalities, perpetuating cycles of disadvantage that are challenging to overcome. In the following, we highlight the critical role of time in influencing the fairness of AR, particularly for minority populations, and explore how temporal factors contribute to systemic inequities. Finally, we propose a novel interpretation of actionability that incorporates time constraints, ensuring that recommendations remain feasible within predefined temporal limits.
Same Cost, Different Times Given the formulation in Eq. (5.1), we consider a scenario in which sensitive attributes are included among the features, denoted by (with a slight abuse of notation, we use the same symbol for both the feature space and the set of features). We examine the case of
5.4 TIME AWARENESS FOR FAIRER RECOMMENDATIONS
64

(a) Not accounting for time could introduce hidden biases in recommendation algorithms.

(b) Let , it could be that is depending on Age.
Figure 5.3: Time Awareness Scenarios for Fair Recommendations. Possible scenarios where the time cost matters from a fairness perspective. (a) An example of how similar feature costs can result in significantly different temporal costs. (b) An example of time being considered as a resource whose value varies based on individual characteristics.
two individuals, and , who differ in their sensitive attributes, such that . We hypothesize that the cost of recommendations produced by the time-unaware automatic decision system for these individuals, and , are approximately equal. This suggests that, despite differences in sensitive attributes, the system proposes similar intervention costs for both individuals. However, the temporal cost may differ significantly between them—meaning one individual might require more time than the other to reach the desired outcome. This scenario is illustrated in Fig. 5.3a.
Not Everyone Values Time Equally In another scenario, time may be regarded as a resource whose value varies based on individual characteristics. Fig. 5.3b demonstrates this idea through a specific case related to applying for a loan. The value of in Eq. (5.1) might be higher for the older population as they are likely closer to retirement and have a limited window to recuperate from financial setbacks. Conversely, younger individuals might have a lower value given their longer time horizon to adjust their savings behavior. Hence, financial models must be calibrated to accommodate varying values across different demographic segments. This understanding enables the creation of customized recommendations sensitive to each individual's dynamics and the time-related evaluation of changes within their societal and economic contexts.
Actionability as a Time Constraint Actionability is considered one of the crucial aspects in a counterfactual generation process, as highlighted in Guidotti (2022) and Karimi et al. (2023). We propose expanding the concept beyond the notion of being able to act upon to include the ability to do so within a reasonable timeframe (Fig. 5.4). In fact, if the action required to implement a

Time-Aware Recourse
Julia aims to join a public housing renovation program covering 70% of costs, expiring in 6 months.
Her loan request for the remaining 30% is denied by the bank.
What steps can she take to obtain the loan within the deadline?
Figure 5.4: Actionability as Time Constraint. (Left) As decreases, the graph undergoes a pruning process that reduces the number of actionable variables. For example, only C and D will be actionable if the user specifies a maximum time of 2 years for the request. (Right) A real-life application is one where an individual has finite time available.
recommendation is excessively time-consuming or impractical, the recommendation becomes unhelpful for the user. In the constrained optimization framework of AR, the actionability threshold is directly controlled by the maximum time constraint, denoted as . This parameter can be determined a priori or adapted based on the user's specific requirements each time a request is made. In the latter case, the parameter enables personalized control over actionability for the applicant. From this perspective, we propose a new interpretation of fair recommendations expressed as follows: a time-aware algorithmic recourse model is fair if its recommendations remain fair under any fixed time constraint.
5.5 Empirical Evaluation
5.5.1 Research Questions
To evaluate our proposed approach, we aim to answer the following questions:
• Q1: How does the action cost influence the selection of actionable variables?
• Q2: Does the current formulation of causal AR exhibit a bias favoring interventions on root nodes in the causal graph?
The code and the dataset are available at https://github.com/marti5ini/time-car. Experiments were run on Ubuntu 20.04LTS, 252GB RAM, 3.30GHz x 36 IntelCore i9.

Figure 5.5: German Credit Causal Graph. The assumed causal graph for the German Credit dataset. Nodes are labeled with the initials of their corresponding variables, namely Gender, Education, Age, Job, Loan Amount, Loan Duration, Income and Saving. The node Y denotes the Credit Score.
5.5.2 Experimental Settings
We consider a semi-synthetic SCM based on the German Credit dataset . While the corresponding causal graph is shown in Fig. 5.5, the loan approval SCM consists of the following structural equations and noise distributions:
(Gender)
(Age)
(Education)
(Job)
(Loan Amount)
(Loan Duration)
(Income)
(Savings)
The Credit Score Y is obtained according to:
We model Age, Gender and Loan Duration as non-actionable variables but consider the latter to be mutable, i.e., it cannot be manipulated directly but is allowed to change (e.g., as a consequence of an intervention on Loan Amount). Our analysis specifically focuses on Education and Income, as we suppose that these two variables may display the most significant bias. The reason behind our belief is that both variables lie on the same causal pathway. Moreover, from a semantic perspective, one would anticipate that education is a way slower process than an income increase. A potential illustration of this idea is depicted in Fig. 5.6, in which edges starting from Education have quite
1 https://www.kaggle.com/datasets/uciml/german-credit

Figure 5.6: Actionable Weighted Causal Graph. German Credit actionable causal graph where the edge labels represent the response times for parent-child relationships.
significant weights compared to the others. Notably, the structural equations used in (Karimi et al., 2020c) differ from those defined in our work. The rationale for the variation is rooted in the observation that the SCM used had excessive noise to each variable, thus rendering the causal effect of any reasonable intervention practically irrelevant and precluding the possibility of testing alternative scenarios. Moreover, while the original structural equations accounted for both linear and nonlinear relationships, it was deemed sufficient for us only to consider the linear ones. Indeed, for the scope of our work, studying systems other than linear was unnecessary because the time dimension is independent of the SCM form. Using the loan approval SCM described above, we have generated a synthetic observational dataset D with 10000 samples. For each feature , we applied an intervention described by:
generating for each intervention an interventional dataset Given a fixed intervention cost, our goal is to determine which action yields the greatest impact on the target variable Y. To this end, we estimate the Causal Effect Derivative (CED), which, in the linear case, can be interpreted as the causal effect produced by a unit-cost intervention on a specific variable. The CED is computed using the following finite-difference expression, which captures the effect-to-cost ratio of the intervention:
5.5.3 Results
Q1: Determining the Optimal Cost As stated in Section 5.2, the cost function used in Karimi, Schölkopf, and Valera (2021) is the normalized norm.
2 Note that the cost of the action is equal to , regardless of the variable on which the action is executed.
Such normalization is required because if the distributions of the variables being manipulated have different scales, this could result in different costs. Fig. 5.7 depicts a possible scenario that describes the phenomenon mentioned above. The blue-colored distribution has a smaller variance, while the red has a larger one. As a result, the intervention cost in the case of the first distribution is higher than that of the second, given the same amount of . Although this formulation is commonly used, we believe it may not be sufficient, given that it entails critical aspects that we endeavor to explain below.
For instance, we consider a simple SCM system, such as the linear Gaussian model. In this setting, each variable is defined by the structural equation
Here, represents the variance of the exogenous noise term , which we refer to as the proper variance of .
The total variance of , denoted , includes both the contribution from the noise and the influence of its parents. Letting be the vector of structural coefficients restricted to the set of parents of , and the covariance matrix of the parent variables, the variance of can be compactly expressed as
Since is a covariance matrix, it is positive semi-definite, implying that . Therefore, we obtain the inequality
meaning that the total variance of is always at least as large as its proper variance.
Furthermore, can be recursively expanded as a linear function of its ancestors, with a coefficient that reflects the cumulative effect along the causal paths. If , we have a avalanche effect of the variances. This means that the variables become increasingly spread along the causal order. A comprehensive discussion on this topic can be found in (Reisach et al., 2023; Reisach, Seiler, and Weichwald, 2021), where this property is exploited to infer the causal structure of a directed acyclic graph. When considering AR, we argue that using the normalized norm with as a cost function can lead to significant distortions if applied to the system being studied. This is because interventions become less expensive as one moves down the graph's topological order, regardless of each variable's internal properties. To address this issue, we have decided to normalize the cost function based on the proper variances .

Figure 5.7: Impact of Distribution Scale on Costs. An example demonstrating how the scale of distributions can lead to variations in intervention costs.
Table 5.1: Causal Effect Derivative. Comparison between the estimated CED of the SCM used in (Karimi et al., 2020c) and the ones we proposed. Non-actionable variables are in red. Best-estimated actionable values are in bold.
| Feature | CED in (Karimi et al., 2020c) | Our CED |
|---|---|---|
| Gender | 0.004 | 0.273 |
| Age | -0.016 | 0.329 |
| Education | 0.000 | 0.181 |
| Loan Amount | -0.018 | -0.099 |
| Job | 0.015 | 0.087 |
| Duration | -0.021 | -0.037 |
| Income | 0.058 | 0.137 |
| Savings | 0.038 | 0.066 |
Q2: Identifying a potential bias in time-unaware Causal AR In Table 5.1, we report each feature's estimated Causal Effects Derivative (CED) obtained by applying Eq. (5.2) respectively to the SCM reported in (Karimi et al., 2020c) and the one proposed in this work. Concerning the former, it can be observed that nearly every CED is close to zero, giving rise to an unrealistic problem. For instance, the absence of any importance of variables such as Gender, Age, and Education in the context of credit score prediction appears highly unusual. One possible explanation could be related to the previous discussion on using variance as a normalization coefficient. If the variance increases along the causal direction (multiplying at each edge), variables that are further away from the target will have a smaller variance and, therefore, a higher intervention cost. Conversely, those closer to the target will have a larger variance and a lower cost. In fact, the four variables with the highest CED are at a distance of 1 from Y, while all those at a distance of at least 2 have lower CED values.
Fig. 5.8 presents the pair plot of the SCM system described in Section 5.5.2, for three different distributions: Observational, Interventional on Education,

Figure 5.8: Observational vs. Interventional Distributions. Pair plot illustrating observational and interventional distributions for the German Credit dataset. The results show that intervening on Education yields a stronger impact on improving the outcome of Y compared to Income, as highlighted in the bottom-right subplot.
and Interventional on Income. Only a subset of variables was selected, focusing on the two treatment variables and on Y. We added Age and Loan Amount to provide a clearer view of the system's structure and how interventions modify instances. Regarding Loan Amount, it is observed that since it does not depend on either Education or Income, its distribution remains the same in all cases. The same applies to Age, which provides additional insight: the pair plots (Age, Education) and (Age, Income) show a bimodal distribution, explainable through the presence of fork paths and , revealing the presence of a gender gap in Education and Income of individuals described by the SCM. Finally, the most significant observation pertains to the Target variable Y. Notably, it is evident that for the same cost, Education has a stronger causal effect than Income. As a result, the recommended action for addressing the unfavorable outcome through recourse would involve prioritizing the improvement of Education, confirming the bias towards the root nodes we hypothesized in Section 5.2.
5.6 BROADER IMPACT
71
5.6 Broader Impact
A crucial aspect emphasized by the XAI community is the user's demand for plausible explanations (Guidotti et al., 2018; Ustun, Spangher, and Liu, 2019). In the context of AR, plausibility refers to the perceived consistency and reasonableness of the recommendations provided by recourse approaches. From a psychological perspective, providing plausible explanations enables users to form mental models that align with their prior knowledge and reasoning abilities. When the temporal dimension is incorporated into causal reasoning, an AR approach could ensure that the actions suggested are psychologically congruent with human intuitions and mental frameworks. This compatibility fosters a sense of trust and confidence in the algorithmic system, thereby facilitating user acceptance and engagement.
In conclusion, by incorporating the temporal dimension into AR reasoning, the plausibility of explanations is enhanced, aligning them more closely with user expectations and cognitive processes. Moreover, considering actionability addresses the user's need for practical and timely actions. These insights highlight that time-aware AR approaches are valuable, as they bridge the gap between human intuition, psychological congruence, and efficient decision-making processes.
Prediction vs. Improvement An important point to clarify is the distinction between the predicted outcome ( ) and the actual outcome (Y). Machine learning (ML) models are typically statistical in nature and do not inherently capture causal relationships. As a result, may behave very differently from Y. Consider, for example, disease diagnosis in the medical domain. Suppose we have several variables indicating the presence or absence of specific symptoms in a patient. A predictive model uses statistical correlations between these symptoms and the disease to enhance accuracy. However, if the patient takes a medication that suppresses some symptoms, may change significantly—despite the fact that the actual disease status Y remains unchanged. From a causal perspective, intervening on effects (e.g., symptoms) does not influence their causes (e.g., the disease itself). For a more thorough discussion of this issue, see (König, Freiesleben, and Grosse-Wentrup, 2022). In our work, we define a predictive model that is aware of the underlying causal relationships, ensuring that aligns more closely with Y, allowing us to treat them as a unified entity. Importantly, not all variables in the system causally influence the outcome—only a relevant subset does.
5.7 Conclusions
In this work, we discussed the problem of AR from a causal perspective, focusing on incorporating the temporal dimension into evaluating the cost of an action. Firstly, we justified this integration by discussing its connection with the causal graph's topological structure and proposing a new time-aware
5.7 CONCLUSIONS
72
causal AR formulation. Then, we tested our theoretical intuition through an experiment inspired by the credit score model on the German Credit Dataset. Our findings confirm our expectations: if the causal model is unaware of the response times between variables, it could recommend actions that, although optimal considering only the SCMs, would require too much time to be practically viable in most applications. Moreover, by showing scenarios where identical cost actions lead to disparate time requirements for different individuals and by revising actionability to include time constraints, we identify the need for time-aware models that ensure fairness and align with human psychological expectations, encouraging trust in automated decision-making and promoting fairer outcomes. As a final remark, we would like to highlight how incorporating the temporal dimension into AR is a conceptually distinct problem from its causal formulation. A similar discussion to the one presented in this work could be made under different causal knowledge conditions up to its absence. In our opinion, the advantage of the causal framework stems from using the graph structure as a support for the finer estimation of the temporal relationships between the system's variables.
Part III
TIME AWARE CAUSALITY
Chapter 6
Autonomous Dynamical Systems
Adopting the framework introduced by Pearl (2009), a causal model can be understood as a set X of observable random variables whose dependency relations are encoded through either a DAG or a SCM (Chapter 2). Both representations allow for the formalization of causal relationships and support causal inference, which in turn enables the prediction of changes in the probability distribution under the assumption that an external intervention has been performed on the system.
We aim to investigate how this framework can be extended to accommodate systems that evolve over time, addressing two central objectives:
• Introducing interventions into causal time series analysis. Traditional techniques in the literature (Hamilton, 1994) typically focus on identifying statistical dependencies from observational data, without explicitly modeling the effect of interventions. A paradigmatic example is Granger causality, which estimates the causal influence of a time series on another series by comparing the prediction errors of two linear regression models, one that includes the past values , and one that does not. While effective within its scope, such methods lack the formal tools to reason about interventional changes.
• Enhancing the expressiveness of causal models to capture temporally distributed effects. Interventions in dynamic systems often have effects that unfold over different temporal scales. Capturing this behavior is crucial for applications in fields such as economics, epidemiology, climate science and medicine(Schwarz, Casolo, and Kilbertus, 2024) where delayed or temporally diffuse causal effects are common. A more expressive causal modeling framework would allow for a principled treatment of such temporal complexities, improving both the interpretability and applicability of causal inference in time-dependent domains.
The most elementary approach consists of indexing the variables in X with a temporal parameter, by incorporating the time dependence directly into the SCM equations. We consider a sequence of variables indexed by time
6.1 A DYNAMICAL SYSTEM PERSPECTIVE
75
. A causal model with temporal structure can be described as a system of equations:
where denotes the set of parent nodes of in the causal graph, and represents an exogenous noise term. We assume that the causal structure must be consistent with the temporal order, ensuring that causes necessarily precede their effects:
Remarkably, the strict inequality reflects the assumption that there are no instantaneous influences between different variables.
6.1 A Dynamical System Perspective
Causal analysis in this temporal formulation inherits several challenges from the broader causal modeling literature. For instance, the observed variables in X may not be causally sufficient, as the underlying causal structure could involve latent confounders. Furthermore, identifying the correct causal direction among observed variables is often non-trivial. In addition to these familiar challenges, the temporal setting introduces new complexities: most notably, time series data typically consist of a single observed trajectory, which limits our ability to infer structure or validate assumptions from repeated trials. Given these limitations, the core idea of the following chapters is to approach the problem from a different perspective: instead of integrating time into causal models, we aim to embed causality within time-based models. We argue that the greater flexibility of these models may provide a more effective solution. Moreover, this direction is grounded in a fundamental principle already mentioned above: the phenomena we study, and reality itself, unfold over time, and causal relationships should reflect this intrinsic characteristic; every action requires time to materialize and to produce an effect in the world.
At the same time, static SCMs have proven to be highly effective in representing real-world systems and remain one of the main tools in causal analysis. This raises a crucial question: if the phenomena we study naturally evolve over time, how can a static theory successfully model them? And how can we reconcile these two perspectives? In this work, we put forward the following hypothesis: SCMs can be understood as a compression protocol for representing a dynamical model, one that discards all information related to the temporal dimension while preserving only the structural features observable over long timescales. In other words, SCMs capture a dynamical system's equilibrium states while admitting a causal interpretation.
6.1 A DYNAMICAL SYSTEM PERSPECTIVE
76
Compressing Temporal Information. To discuss the role of causality in dynamical systems, we begin by considering the framework of Statistical Mechanics. In this context, a macroscopic system is described through time averages of functions defined over the microscopic state at time t of its constituent particles. More formally, given a microscopic observable F, its time average over a sufficiently long trajectory of the system is given by
To make sense of the temporal average considered, it is essential to take into account the existence of two different temporal scales: the macroscopic time scale, which corresponds to the observation times of the system, is much larger than the microscopic time scale, which governs the speed of changes at the molecular level. Yet, calculating the average in principle requires knowledge of the system's microscopic state and its temporal evolution.
For an ergodic system, time averages can be replaced by phase-space averages computed through an appropriate invariant measure :
This substitution allows us to describe the long-term behavior of a system using equilibrium equations that summarize its macroscopic properties. A classical example is the ideal gas law:
which links pressure, volume, and temperature without explicitly modeling the movement of individual particles. This law is derived by averaging over time or microstates and thus compresses detailed dynamics into a compact summary. However, it does not directly encode causal relations. It represents a constraint on the observational distribution , but says nothing about how interventions affect the system.
Still, under certain conditions, the equilibrium equation can acquire a causal interpretation. For instance, if we heat a gas in a container with fixed volume, the equation tells us how the pressure will change at equilibrium. In such cases, the equation becomes predictive of intervention outcomes. But to use it causally, we must carefully specify the nature of the intervention and verify that the assumptions of the model hold under manipulation.
SCM as a model of dynamical systems' equilibrium Let us consider a dynamical system, potentially involving stochastic components. We can assign an initial observational distribution to represent the state of the system, along with its associated uncertainty. This distribution evolves over time according to the inherent dynamics of the system. Under certain conditions, the system may
6.2 AUTONOMY
77
converge to an invariant (or stationary) distribution. This limiting distribution can be interpreted as representing an equilibrium state of the system.
Now, imagine intervening on the system at a given point in time, altering its dynamics. As a result, the system may evolve toward a different invariant distribution. This new equilibrium reflects the long-term causal effect of the intervention on the system’s behavior.
Our goal is to reinterpret this shift as the causal response of the system, not just in the dynamic sense, but in terms of a corresponding intervention on a static SCM. In other words, we aim to characterize the long-run behavior of the dynamical system as if it were governed by a static SCM whose equilibrium distribution directly encodes the causal consequences of interventions.
This perspective allows us to bridge the gap between dynamical causal processes and the static causal models typically used in causal inference by treating the invariant distributions of the dynamical system as the key objects of interest. In this framework, long-term causal behavior can be studied through the lens of shifts in equilibrium distributions, interpreted via interventions on the corresponding static SCM.
6.2 Autonomy
The equation 6.1 relies on another important assumption: the function is invariant in time. Although its inputs, namely the set of parent variables and the noise term , may vary over time steps, the functional form of remains fixed. This means that the same causal law governs the evolution of the system at every point in time, capturing the notion of mechanisms autonomy: the internal workings of a system remain unaffected by changes in the distribution of other variables or by interventions applied elsewhere in the system. This point is subtle, and at least three remarks are needed.
-
From a methodological perspective, the condition of autonomy corresponds to the ability to conceptualize a system as distinct and separable from its surrounding environment, such that it interacts with the environment only through specific channels. This perspective allows for a clear boundary between the internal dynamics of the system and the external factors influencing it, thereby enabling meaningful causal analysis.
-
More specifically, autonomy can be interpreted as a modularity assumption. That is, each mechanism is considered a fundamental and self-contained component of the system, responsible for determining the behavior of a particular variable given its direct causes. These mechanisms are assumed to reflect stable aspects of the world's structure, remaining invariant over time and under a range of interventions. This invariance is what makes it possible to isolate and study individual causal relationships, as well as to predict the consequences of hypothetical manipulations.
6.2 AUTONOMY
78
- The autonomy condition enables the modeling of long-term causal effects by ensuring that the underlying causal mechanisms remain stable over time. This stability, in turn, allows for the system to converge toward a well-defined, time-invariant distribution as . In other words, autonomy supports the existence of asymptotic behavior that is not merely the result of statistical regularities but reflects persistent causal structure. This is particularly important when analyzing systems whose equilibrium or steady-state properties carry meaningful causal interpretations, where long-term outcomes are shaped by sustained interactions governed by invariant mechanisms.
6.2.1 Is Climate Change Caused by Humans? Causal Ambiguity in Non-Stationary Processes
Climate change is a powerful example of how causal reasoning becomes difficult when the assumption of autonomy does not hold. In a standard causal model, the mechanisms that describe how a system evolves are assumed to remain stable over time. However, the climate system is shaped by many complex and long-term processes, such as solar activity, volcanic eruptions, and ocean circulation. These processes may change over time in ways that we do not fully understand or cannot directly control.
Due to these changes, the causal relationships in the climate system might not be stable. For example, the relationship between greenhouse gas emissions and global temperature may look different in different periods, depending on the background influence of other natural factors. This makes it hard to say with certainty whether recent temperature increases are caused mainly by human activity or by natural changes.
This challenge is related to the idea of causal sufficiency. A model is causally sufficient if it includes all the important variables that influence the system. If some relevant factors are missing, the model's mechanisms may appear to change over time, when in fact they are reacting to unmodeled influences. In this case, the system may still be predictable, but we lose the ability to make strong causal claims.
One possible solution would be to expand the model to include more of these hidden influences. If we could measure and include them, we could recover a model where the mechanisms remain stable, and causal inferences become more reliable. But in practice, this is often hard to do, especially when the missing factors involve complex natural systems or long-term trends. Until then, our ability to estimate the effects of intervention remains limited by this uncertainty.
6.3 NOT ONLY LONG-TERM EFFECTS
79
6.3 Not Only Long-Term Effects
The discussion in Section 6.1 on the macroscopic analysis of an ideal gas offers two alternative perspectives on the role of temporal compression.
The first perspective concerns cases where the fast dynamics of the system are either too complex to model or irrelevant for the researcher's goals. In the case of a gas, the motion of individual particles fits both categories: we are unable to predict each particle's movement, and even if we could, this information would not be practically useful. Therefore, only the slow, macroscopic time scale matters, and studying long-term effects becomes the main objective.
This principle, common to many modeling practices involving abstraction, applies in at least two scenarios:
-
When macroscopic variables emerge from the behavior of a large number of microscopic components (e.g., gas particles, macroeconomic indicators from individual agents, or biological systems from cellular processes).
-
When a small number of components evolve across multiple time scales, such as neuronal activity (fast scale) and the slow evolution of synaptic structures, or stock market price fluctuations (fast scale) and their monthly or yearly trends (slow scale).
In the first case, compression typically occurs through some form of phase-space averaging; in the second case, it occurs through temporal averaging. Sometimes, as in the ideal gas example, both mechanisms coexist. From this perspective, SCMs provide an effective model to describe macroscopic dynamics and, under suitable assumptions, capture all the useful information about the system.
The second perspective addresses situations where the researcher is also interested in the fast dynamics of the system and wants to understand the effects of actions during the evolution itself. Typically, the fast scale is not so fast as to be practically unobservable, and its effects offer valuable insights.
Example 5 Consider a government policy aimed at controlling the birth rate. Suppose that the government could set the exact number of births per year indefinitely. After a sufficiently long period (roughly the maximum human lifespan, say 110 years), and assuming all other mechanisms remain unchanged, the result would be a completely homogeneous population pyramid, meaning the same number of individuals at each age.
However, this long-term description would not capture all relevant aspects. The evolution of the population pyramid during the transition period would offer critical information, for example, about the available workforce or the financial pressure on pension systems. In fact, policy evaluation typically focuses on short- to medium-term effects, and very often the system is not expected to reach equilibrium at all, due to future policies or long-term social, cultural, or political changes.
6.4 OBJECTIVE OF THE NEXT CHAPTERS
80
One particularly interesting scenario occurs when the information of interest lies entirely in the microscopic description of the system, and the equilibrium itself is of little or no practical use.
Example 6 Consider the Lotka–Volterra model, which describes the interaction between two animal species that share the same environment, a prey and a predator. When the prey population increases, predators have more food available, leading to a growth in their population as well. However, an excess of predators eventually reduces the prey population, initiating a new cycle. This dynamic repeats over time. Although the system may admit a theoretical equilibrium point, the true interest lies not in identifying this equilibrium, but in studying the cyclical dynamic behavior itself.
In such contexts, compressing the temporal dimension would mean precisely discarding the most valuable information. In other words, analyzing the associated SCM would be ineffective from all practical perspectives. Access to the full underlying temporal model is essential, and both inference and causal reasoning must be performed at the level of the dynamical system itself.
6.4 Objective of the Next Chapters
In the upcoming chapters, we aim to address both perspectives, exploring their connections in greater depth.
-
On the one hand, we are interested in understanding how to map between the two descriptions, that is, how to relate dynamical models to their equilibrium representations. This interest is motivated by several, partly complementary, reflections. We want to better understand in what sense a SCM can be considered causal, and whether this causal meaning can be extended to the underlying dynamical system. We argue why invoking causality at the dynamical level is meaningful and how this perspective remains consistent with the classical causal framework. At the same time, this connection offers a new perspective for interpreting SCMs more broadly, helping to clarify their underlying assumptions and limitations. For instance, stating that the causal graph is acyclic implicitly makes assumptions about the nature of the underlying dynamical system. What does this imply? Under what conditions is this assumption justified, and when might it fail to hold?
-
On the other hand, we are interested in extending causal inference beyond the static formulation. In many cases, it is necessary to evaluate the effects of an intervention over time, and SCMs are no longer a sufficient description. Actions in the real world require time to produce effects, and understanding how these effects develop demands a temporal causal model. In Chapter 7 and Chapter 8, we propose a new framework for this purpose, introducing the notion of intervention in stochastic processes, modeling
6.4 OBJECTIVE OF THE NEXT CHAPTERS
81
how interventions alter dynamics, and developing tools to estimate causal effects over time. Our approach aims to maintain as much continuity as possible with the formalism of SCMs, identifying modular and independent mechanisms, and interpreting them as functional relationships describing differential equations (or difference equations in the discrete-time case).
Chapter 7
Causal Inference over Time
Main Sources: Martina Cinquini et al. (2025). “A Practical Approach to Causal Inference over Time.” In: AAAI-25, Sponsored by the Association for the Advancement of Artificial Intelligence, February 25 - March 4, 2025, Philadelphia, PA, USA. Ed. by Toby Walsh, Julie Shah, and Zico Kolter. AAAI Press, pp. 14832–14839. DOI: 10.1609/AAAI.V39I14.33626. URL: https://doi.org/10.1609/aaai.v39i14.33626.
Author's Note This chapter presents a mature stage of the PhD research and brings together several research threads developed throughout the project. Building on structural causal models and temporal systems, it introduces a clear and unified framework for performing causal inference over time. The chapter connects ideas from dynamical systems, vector autoregressive models, and causal reasoning, offering both theoretical foundations and practical tools to study the effects of interventions in systems that evolve over time. The results represent an important milestone in the overall research path.
Dynamical systems often exhibit complex behaviors that unfold over time, leading to delayed responses and feedback loops. Understanding the causal effect of interventions within such systems is crucial across disciplines such as climate (Runge et al., 2019) and social sciences (Wunsch et al., 2022), where different time scales play a central role. For instance, monetary policy adjustments may have immediate effects on consumer spending, but their impact on inflation and economic growth only becomes evident in the medium/long-term. Similarly, the consequences of human actions on climate change may take decades to manifest, with the risk of endorsing public policies that underestimate their relevance. To address these issues, it is essential to perform causal inference over time. From the perspective of causality, SCMs provide a formal framework to enable causal inference from cross-sectional data. However, adapting existing methods to capture temporal dynamics remains a challenge (Bongers et al., 2021). Alternatively, autoregressive models offer practical methods for time-series analysis and forecasting (Lütkepohl, 2005), but their formalization of causal effects is limited. First, they model interventions as shocks in a specific
7.1 CONTRIBUTIONS
83
point in time, with effects that fade away after a certain period (Moneta et al., 2011). Second, a common methodological stance in these works is that of Granger causality (Granger, 1969). This approach treats relationships between variables as predictive dependencies that are only potentially causal; it assesses whether one variable can improve the forecasting of another, rather than explicitly identifying a causal mechanism between them. In other words, inferring a true cause-effect relationship requires additional assumptions about the system, such as causal sufficiency. Without these, no definitive conclusions can be drawn regarding the system's causal structure. This challenge is addressed specifically within the field of Causal Discovery, which is not the central focus of this thesis. For a deeper discussion of Granger's approach and its methodological implications, we refer the reader to his original works (Granger, 2003; Granger, 1980, 1988) and some other relevant works (Comte and Renault, 1996; Eichler, 2012a,b, 2013). The specific implications of assuming causal sufficiency a priori are discussed in more recent literature (Eichler and Didelez, 2010; White and Lu, 2010). Our work is conceptually closer to this latter scenario.
Our work combines the strengths of both frameworks, i.e., SCMs and Vector AutoRegressive Models (VARs), to enable robust reasoning about the causal effect of interventions on dynamical systems over time. Our experiments on synthetic and real-world datasets show that the proposed framework achieves strong performance in terms of observational forecasting while enabling accurate estimation of the causal effect of interventions on dynamical systems.
The rest of the chapter is organized as follows. Section 7.2 introduces the key background on structural causal models and stochastic processes. Section 7.3 presents the theoretical foundations for causal inference over time, focusing on stochastic difference equations. Section 7.4 provides a practical implementation of causal interventions and details how VARs can be mapped to SCMs. Section 7.5 discusses real-world applications and implications of the proposed framework. Section 7.6 reports the experimental evaluation. Finally, Section 7.8 concludes the chapter and outlines directions for future research.
7.1 Contributions
This chapter makes the following contributions:
• Formalization of Causal Inference over Time: We introduce a framework for performing causal inference over discrete-time stochastic processes, extending SCMs to account for temporal dynamics.
• Intervention Modeling in Dynamical Systems: We define two types of interventions, additive and forcing, that allow us to study the effects of sustained actions over time, and we show how to estimate their impact on system trajectories.
• Mapping VAR to SCM: We provide a method for mapping VAR models to equivalent SCMs at equilibrium, showing that long-term causal effects can be recovered using SCMs.
• Theoretical Guarantees: We prove that under stability conditions, the mapping preserves causal semantics, i.e., observational and interventional distributions commute between the time-based and equilibrium representations.
• Practical Applications and Case Studies: We apply our framework to synthetic and real-world datasets, demonstrating its ability to support both interventional and counterfactual reasoning in time-evolving settings.
7.2 Preliminaries
7.2.1 Structural Causal Models
Equation A SCM determines how a set of endogenous (observed) random variables are obtained from a set of exogenous variables , with prior distribution , via a set of structural equations . Each computes from its causal parents and a set . We refer to as a solution of . We assume to be minimal, i.e., it only contains variables such that . This formulation extends the definition in (Pearl, 2009) (also called Markovian SCM in Bongers, Blom, and Mooij (2018)) to include cycles.
Graph A SCM induces a directed graph that describes the functional dependencies in : is the set of nodes for which represents and is the set of the edges .
Intervention Besides describing the observational distribution , SCMs allow answering interventional queries about the effect of external manipulations, and enable counterfactual queries assessing what would have happened to a particular observation if one observed variable had taken a different value. An intervention on a SCM yields a new SCM for which one or more mechanisms change to , where and . We refer to a hard intervention when is replaced by a constant value , and . This type of intervention is denoted by the do-operator . On the other hand, we refer to a soft intervention when at least one argument of is retained. The causal effect CE of an intervention is evaluated
1 Unlike in acyclic SCMs, loses its hierarchical interpretation since two nodes can be mutually parents.
in terms of differences between the values of the observable variables before and after the intervention I, i.e.,
These queries can be seen as operations on that yield a new SCM . A SCM is (interventionally/counterfactually) solvable if each operation has a solution , while it is uniquely solvable if, additionally, the solution is unique. In (Bongers, Blom, and Mooij, 2018), the latter is denoted as simple SCM. In general, simple SCMs allow for cycles and hidden confounders. However, not all SCMs with cycles and hidden confounders are simple.
A SCM is said to be Markovian if it induces a DAG and . Markovian SCMs are always uniquely solvable, hence a subset of simple SCMs.
7.2.2 Discrete-time Stochastic Processes
Definition 18 A Discrete-time Stochastic Process (DSP) is a function
where is a time index in , such that (denoting ) is a random variable on a probability space . We refer to (denoting ) as a realization or trajectory of and denote the i-th component of with .
A DSP can be described through a Difference Equation (dE), i.e., a recurrence relation that allows computing based on its past values. dEs can serve as discrete approximations of differential equations, sharing some fundamental theoretical properties. In many applications, the former are approximation tools to simulate the latter numerically. As with differential equations, it can be beneficial to introduce stochastic components into the equation to model phenomena that are not entirely predictable. This unpredictability may stem from incomplete knowledge of the relevant variables of the process or its intrinsic randomness. We will denote with dE the class of difference equations in general, regardless of whether they are deterministic or not.
Including stochastic components in differential equations gives rise to various classes of equations. This section introduces the notions of Ordinary Difference Equation (OdE), describing deterministic processes; Random Difference Equation (RdE), which involve randomness in the initial state and in the evolution parameters; and Stochastic Difference Equation (SdE), which describe inherently stochastic trajectories. Understanding these concepts is helpful for
2 The probability space consists of a sample space , a -algebra of events, and a probability measure that assigns probabilities to events in .
contextualizing our work, and for clarifying how it extends the ideas in (Mooij, Janzing, and Schölkopf, 2013).
Ordinary Difference Equation An OdE is an expression that describes the evolution of an indexed variable through a functional relationship
where represents the past of . Specifically, a -order OdE is an expression where the preceding variables of include up to , i.e., .
Random Difference Equation A RdE is a dE of the form
where is a random variable and such that for every , the equation
is an OdE.
Note that in Equation 7.2 is a random variable and characterizes a DSP induced by . In this sense, we say that is a solution of Equation 7.2. Equivalently, we say that is a solution of Equation 7.2 if Equation 7.3 is satisfied for almost all .
Example 7 (RdE) The system described by
represents a first-order linear RdE equipped with an initial condition for , in which the stochasticity of generates a distribution over and over the parameters of the equation . The general solution of Equation 7.4 can be found by recursive substitution, obtaining .
Stochastic Difference Equation A SdE describes a DSP via a functional relationship of the form
3 In (Bongers, Blom, and Mooij, 2018), is regarded as a stochastic process that converges eventually or asymptotically to a time-independent random variable. In this work, simplifying the concept, we consider it as a random variable throughout the whole process.
where represents the trajectory up to time , represents the system's deterministic mechanism, and the Hadamard product is the inhomogeneous stochastic part, where denotes white noise, i.e., . While for OdEs and RdEs trajectories may asymptotically converge to an equilibrium, SdEs cannot exhibit such convergence due to the ongoing influence of .
Example 8 (SdE - Random Walk) The equation , , equipped with , represents a SdE with solution . Random Walk is closely connected with its continuous counterpart, the Wiener Process, also called Brownian Motion.
Graph Analogously to SCMs, we can associate a directed graph to a dE , consisting of nodes representing individual components , while an edge is present if such that in .
7.2.3 Vector Autoregressive models
In this chapter we focus on linear SdEs or in other words, the VAR model (Kilian and Lütkepohl, 2017).
Equation Consider a -dimensional vector-valued stationary time series generated by a VAR model with lag , where a lag represents the number of previous time steps used to predict the current value of each variable. Specifically, the VAR() model is defined by
where is a -dimensional vector of intercept terms, are matrices and is a -dimensional white noise term. If the process is stationary (Hamilton, 1994), i.e., the unconditional joint distribution of over any finite set of time indices does not depend on time shifting, formally
Equation 7.6 can also be written as
where is the lag operator defined as and is the -dimensional identity matrix.
Properties A VAR process is stable if all roots of the determinantal polynomial of the VAR operator are outside the complex unit circle. This condition can be formally expressed as:
where C denotes the set of complex numbers. The stability condition ensures that the process is stationary (Lütkepohl, 2005). Consequently, a stable VAR(p) process is stationary.
In (Wold, 1938), the author introduced the Wold decomposition Theorem, which states that every covariance-stationary time series can be written as the sum of two uncorrelated processes, that is where is a deterministic component that can be forecast from its past, and is a purely stochastic process with an infinite-order Moving Average ( ) representation:
Suppose the are absolutely summable and that there exists an operator with absolutely summable coefficient matrices satisfying . Then is invertible with and can be approximated arbitrarily well by a finite-order VAR( ) with sufficiently large, and , where is the identity matrix.
In particular, the matrices of a VAR( ) model can be calculated by recursively applying the formula
Remark Consider the model , where is a (constant) intercept term. Using Wold's Theorem, we can express it by linearity of as . Noting that , we obtain
where . Due to the invertibility of , we can express the same relation through . From this observation, we automatically obtain the equality
A limitation of VARs is the inability to interpret the system in causal terms since the components of are cross-correlated and act as hidden confounders. A common approach to overcome this issue is to orthogonalize the noise terms. In this context, the process of Causal Discovery (CD) is analogous to the one of
SCMs (Geiger et al., 2015; Hyvärinen et al., 2010; Malinsky and Spirtes, 2018; Moneta et al., 2013), and identifies a triangular matrix such that consists of mutually uncorrelated elements. The transformed VAR, known as the Structural VAR (SVAR) model in the literature (Kilian and Lütkepohl, 2017), is defined by , where . From a modeling perspective, VAR and SVAR are equivalent, as any SVAR can be expressed in its reduced-form VAR by computing for in 7.6. Notably, choosing one over the other does not affect its causal interpretation, provided that is known. For simplicity, in this work, we adopt the VAR notation, to introduce a novel framework for causal inference over time, which complements the SVAR's causal discovery approach.
Graph An edge is present iff s.t. .
7.3 Causal perspective on Discrete-time Stochastic Processes
In this section, we present the theoretical foundations for causal inference over time. Our main focus is on SdEs, which represent the most complex type among the equations considered.
First, we briefly summarize the results from Aliee, Theis, and Kilbertus (2021), Bongers, Blom, and Mooij (2018), and Mooij, Janzing, and Schölkopf (2013) regarding OdEs and RdEs (Section 7.3.1). Then, we extend these results to SdEs, providing a formal definition of causal interventions in this context (Section 7.3.2). Finally, we demonstrate how a SCM can serve as a simplified representation of the asymptotic behavior of an underlying dynamical system (Section 7.3.3).
7.3.1 Stochastic Processes Equilibration - dEs
Let X be a DSP. We say that (strongly) equilibrates if converges to a random variable for almost surely, i.e.,
denoted by . We call the equilibrium state of . Moreover, we say that weakly equilibrates if converges in distribution to a random variable , i.e., for all for which (the CDF of ) is continuous,
In general, .

Figure 7.1: RdE Equilibration. Illustration of the relationship between RdEs & SCMs and the effect of causal interventions on them. Applying equilibration (here denoted by ) before or after intervention does not change the final resulting distribution , i.e., the diagram commutes. For SdEs, when variables are localized in times, commutation is not preserved, that is .
Remark 10 If is a solution of an RdE, almost sure convergence is achieved if and only if, for almost all , the solution of the OdE in Equation 7.3 converges asymptotically to a fixed value . On the other hand, a DSP that is a solution of a SdE (for convenience, we recall Equation 7.5: ) cannot equilibrate unless the term converges as to 0, thus transforming the equation into a RdE. Apart from this scenario, no solutions of a SdE can strongly equilibrate.
Example 9 (RdE equilibration) Consider Example 7. Assuming that the inequality holds , we can write
Equilibration as a map from RdEs to SCMs
The process equilibration allows defining a map that associates each RdE with an SCM. Furthermore, this map preserves the semantic of intervention, in the same sense of Section 7.3.3. Visually, the diagram in Figure 7.1 commutes, i.e., applying equilibration before or after intervention doesn't change the resulting .
Consider a Simple RdE and its solution . Let be the random variable which equilibrates to. Then it is possible to associate an SCM where and is defined through the equilibrium relation
where is the constant stochastic process associated with . In other words, fully inherits the functional relationships of , substituting dynamic variables with their stationary counterparts. A proof for the general case in continuous-time can be found in (Bongers, Blom, and Mooij, 2018).
The discrete-time variant follows directly by applying methods of numerical approximation (Hildebrand, 1987; Jornet, 2023). For further discussion on the commutativity of the diagram in 7.1, see Dash, 2003, 2005.
7.3.2 Causal Interventions on SdEs
We define an intervention I on a SdE D as a modification of one or more component equations denoted by the mapping:
where . Unlike SCMs, the intervention applies starting from a specific time . In other words, the process follows the original equations for and the modified ones for . We denote the modified SdE as to generalize Eq. (7.1) to account for time. To differentiate between interventions on a SCM and on a SdE , and will be respectively adopted when necessary.
Definition 19 (Causal Effect over time (CE )) Let X be a solution of a specific SdE D. We define the causal effect at time t of an intervention I as
where is the solution of the modified SdE .
The interpretation of is closely related to the causal effect of an intervention on a SCM (7.1), : while the latter measures the causal effect of an exogenous intervention, does so for any time step of the DSP, i.e., it measures the causal effect of an intervention over time. Importantly, as we will show in the next section, as , i.e., there is an asymptotic correspondence between the two quantities.
Equilibration as a map from SdEs to SCMs
Associating an SdE with an SCM involves two key steps. The first concerns the conditions under which the dynamical system converges to a stationary (observational) distribution. The second involves constructing a mapping between interventions in the two models and establishing their equivalence.
In this chapter, we focus on the first aspect and discuss the second only in the linear case. While the existence of a suitable SCM appears intuitively plausible in general, explicitly characterizing it requires mathematical tools beyond the scope of this chapter. For nonlinear systems, we will investigate this issue further in the next chapter (8).
Existence of an observational limit distribution Several works discuss the existence and uniqueness of a limit distribution for stochastic systems (Arnold et al., 1995; Bhattacharya and Majumdar, 2003; Łoskot and Rudnicki, 1995). Here, we adapt the following theorem from (Lasota and Mackey, 1989) to our formulation in Equation 7.5:
Theorem 2 [Adapted Equation 7.5 from (Lasota and Mackey, 1989)] Consider a described by
If the following conditions hold: i) are continuous in , and is closed; ii) is i.i.d. white noise; and iii) for every ,
(iii.1)
(iii.2)
where is the Euclidean norm in . Then, there exists a unique invariant distribution to which converges as , regardless of the initial state .
Rediscussing Theorem 2 in terms of Lipschitz continuity For a more intuitive interpretation of Theorem 2, we show that condition (iii) holds under Lipschitz continuity of and . Given Lipschitz continuous with Lipschitz constants , we want to find sufficient conditions on and such that, for every fixed ,
(1)
4 Theorem 2 considers Markovian systems, while our formulation allows for and to depend on multiple past states. As long as the states considered are finite in number, i.e., depends on , it is always possible to represent the system as if it were Markovian, through the transformation . Given this fact, for ease of exposition, we will consider strictly Markovian systems in the discussion.
5 A function is Lipschitz with constant if for all , it holds that .
being a random vector s.t. each of its component satisfy , . For (1) we calculate
The same procedure for (2) yields
Observing that every polynomial with can be bounded above by assuming and provided that is sufficiently large, we finally obtain
In the simple case in which , we obtain the inequality , i.e., is a contraction. Condition (2) disappears as . In the general case, we interpret as a contraction map on and as a diffusion process. The balance between these processes generates the invariant distribution.
7.3.3 Mapping SdEs to SCMs - The linear case
Given an SdE and its solution , we study the conditions on such that: i) converges in distribution to as ; and ii) there exists an SCM such that is a solution of and, for every intervention , it holds that . While i) is automatically satisfied by any finite memory stationary process, ii) requires more careful analysis, as discussed below.

Figure 7.2: T-transformation. T-transformation transfers causal information from the temporal to the cross-sectional dimension, and thus to the joint distribution . The diagram commutes, i.e., red and blue paths produce the same result.
A negative result from (Janzing, Rubenstein, and Schölkopf, 2018) Consider the stable bivariate system defined by the equations , . For every , and are independent of each other. Consequently, the joint distribution cannot capture the causal dependencies of the system (X causes Y). The lack of causal information in the cross-sectional dimension arises because the variables are localized in time; their values change rapidly, leading to minimal or no correlation with their past values. On this specific point Janzing, Rubenstein, and Schölkopf (2018) provide an explicit negative result: without first making the variables de-localized in time, there is no SCM that can capture the SdE. In fact, our definition of intervention (7.13) acts on a variable of the system for a prolonged and indefinite period.
T-transformation To overcome this limitation Janzing, Rubenstein, and Schölkopf (2018) propose a transformation of based on a frequency analysis of the time series. Instead, our choice is inspired by the long-run normalized mean via the transformation defined by
where . Moreover, so that for every intervention , (7.14) yields the same values. However, unlike , can be mapped into an SCM that precisely models its distribution shift over any intervention, thereby satisfying property ii), represented as the commutativity of the diagram in 7.2.
It is important to clarify that is not the process of interest, and the focus of the causal analysis remains on . However, due to the equivalence of long-
6 Our (7.15) can also be interpreted as a form of discrete Fourier transform of the time-series with frequency zero.
7 The expectation here is taken over time as well. Nonetheless, for stationary processes, this simplifies to for all .
run causal effects calculated in both processes and the ability to associate with the SCM that models these effects, serves as a convenient intermediate mathematical tool. To demonstrate how this transformation ensures these desirable properties, we will focus on the subclass of linear systems, particularly on VAR models. The reason for this choice is twofold. First, linear models, despite their simplicity, are still on par performance-wise with state-of-the-art ML based forecast techniques (Toner and Darlow, 2024), in particular when dealing with stochastic time series (Parmezan, Souza, and Batista, 2019). Second, the mathematical treatment of interventions and the estimation of causal effects is particularly straightforward to implement and interpret, making this a useful first step for a possible extension to the nonlinear case.
7.4 From VARs to SCMs
In this section, we provide implementations of two types of causal interventions, leveraging the strengths of the VAR framework (Section 7.4.1). Then, we show that linear SCMs can model the long-term effects of stable VARs, explaining the properties of its DSP equilibrium (Section 7.4.2).
7.4.1 Implementation of Causal Interventions
Different application scenarios may need different types of interventions. Consider a government’s fiscal policy. In such a setting, a feasible approach would be to implement an additive intervention in the form of an annual tax increase of, e.g., 300 euros per household on top of existing taxes. Alternatively, in other scenarios, e.g., when studying the effect of the key European Central Bank’s interest rate (Belke and Polleit, 2007), a more natural choice is to implement a forcing intervention that enforces the convergence of an observed variable (e.g., interest rate) to a target value. In the following, we propose an implementation for VARs of these two forms of interventions, showing their effects on the system and discussing their stability conditions.
Additive Interventions
Given a stable VAR(p) as in Eq. (7.7), we define an additive intervention at time with force F as the mapping:
(7.16)
where is the indicator function, which equals 1 if , otherwise 0. In other words, we perform a translation while keeping the process dynamics unchanged. In such case, the temporal causal effect is deterministic and takes values for while, for :
where is the impulse response function of the VAR model. Refer to Section 7.2.3 for further details.
Remark For this type of intervention, is deterministic and does not depend on the specific trajectory. The same property can be observed on the linear SCM associated with the process, defining the intervention in a similar way: changes into .
Stability Additive intervention preserves the stability regardless of the value of , since does not change. See Section 7.2.3 for stability conditions of VARs.
Forcing Interventions
We define a forcing intervention at time with force and target value as:
(7.17)
We assume to be positive in each component. This intervention acts as an attraction towards , and modulates the intensity of the attraction force. Applying an intervention on a single component toward the fixed value and letting yields the do operator . We refer to (Mooij, Janzing, and Schölkopf, 2013) for a detailed discussion of this point.
Stability Forcing interventions perturb the system dynamics by modifying the operator . Specifically, by shifting the term to the left of the equation and rewriting it in matrix form as , we obtain . Hence, the stability of the intervened system is not guaranteed, and it is necessary to verify that all the eigenvalues of are still inside the unit circle. Intuitively, the stability of an observational system often relies on negative feedback loops. Fixing one variable can disrupt this balance, leading to runaway behavior. For example, turning off a pressure release valve in a pressurized tank can cause the pressure to build up uncontrollably, eventually leading to an explosion.
Example 10 (Inverted Pendulum) When applying a forcing intervention, the intensity of F can play an important role. To show this, consider the toy model depicted in Fig. 7.3 and described by the VAR(1) equation
the roots of are , indicating that the system is stable. Applying to component , we need to examine
which have roots . It is easy to verify that for , one root is less than 1, and thus the model is no longer stable. On the other hand, intervening on preserves stability regardless of intensity; the same procedure yields , so that .
Stable VARs with at most self-loops are interventionally stable. It is possible to identify sufficient conditions for D to be always stable under intervention. In particular, it is easy to see that if all matrices of the model are strictly lower triangular, and thus is acyclic, has a finite Moving Average representation. This property is preserved by any intervention .
Acyclicity can be weakened to allow self-loops. Given a VAR model such that all its matrices are (non-strictly) lower triangular, the stability of the intervened system directly follows from the stability of the observational one. To verify this, note that the determinantal polynomial of the model
reduces to the product of diagonal terms since all matrices are triangular, and each i-th root satisfies the relation . Observing that and considering the root with the smallest norm , using the continuity of , we can deduce that such that . Intervening on component yields , from which we can conclude for all with norm lower than , and in particular for all those within the unit circle.
7.4.2 Mapping VARs to SCMs
We provide the explicit mapping from VARs to linear SCMs in the following theorem.


Figure 7.3: Inverted Pendulum. (Left) A simple model that lacks interventional stability: functions as a stabilizer for , which exhibits a divergent dynamic. Intervening on disrupts the negative feedback loop, making the system unstable. (Right) A concrete example of the model from control theory, the inverted pendulum: is the position of the cart, while is the angle ; fixing the cart makes the system unstable, i.e., the pendulum falls. As a practical example, consider optimal control applications to nuclear reactors management (Edwards, Lee, and Ray, 1992).
Theorem 3 Given a stable VAR(p) D defined by Eq. (7.6), there exists a linear SCM M with structural equations
such that, given the transformation , the following properties hold:
-
and share the same causal graph, i.e., ;
-
The observational distribution induced by at equilibrium is equal to the one induced by , ;
-
The interventional distribution is equal to the one induced by the same intervention on , .
Proof. Consider the representation of (since we can always apply a translation to it without modifying the dynamic of the stochastic part, let us assume for simplicity that ):
8 For simplicity we set , i.e., we assume . The theorem applies in the general case up to a translation of both the VAR and the associated SCM.
To capture the long-run relationships of the process, we apply the transformation
By examining the equilibration , we can link a stable VAR( ) process to the following SCM:
By computing the limit of we get:
that is
For an alternative proof see (Hamilton, 1994, p. 194) and (Anderson, 1994, p. 429), from which we report the main statement:
☐
Theorem 4 (Anderson, 1994, p. 429) Let X be a DSP defined by
such that is white noise and . Then
where represents the autocovariance .
Exploiting the i.i.d assumption for , admits the representation
Using , we rewrite
(7.23)
that is compatible with Eq. (7.21). Additionally, it is worth noting that given a positive definite covariance matrix and a fixed order of variables in , Cholesky decomposition (Lütkepohl, 2005) guarantees the existence and uniqueness of a triangular matrix such that . The same holds for LDL decomposition (Lütkepohl, 2005), namely . Setting and , we can deduce Eq. (7.21) from Theorem 4.
Remark Note that due to the influence of time in VARs, the equivalent SCMs at equilibrium, while linear, may lead to cycles in the causal graph (see, e.g., Fig. 7.4c) and correlations between the exogenous variables, captured by the full covariance matrix in Eq. (7.19). Note also that the above Theorem implies that there is a direct relationship between interventions on DSPs , and interventions on SCMs .
Equilibration commutes with additive intervention We show that applying the same additive intervention on the VAR and its associated SCM yields the same interventional distribution. We start by studying the long term effect of the additive term F over the VAR model:
where .
By applying (Eq. (7.20)) and Eq. (7.21), we obtain
Using Theorem 3, we study the same intervention of the associated SCM:
The correspondence follows directly from .
Equilibration commutes with forcing intervention We report Eq. (7.17) for clarity of exposition:
We can rewrite the equation by shifting the term to the left, reformulating it in matrix form , and obtaining . By defining and , we obtain , which is again an additive intervention, but on the intervened dynamic. For this reason, we can prove the case and directly applying the result of additive intervention afterwards. By applying (Eq. (7.20)) and equilibrating, we obtain
Consider the analogue of forcing intervention over an SCM:
We can rewrite it as , that is .
7.5 Practical implications
Causal queries Our formulation of causal interventions on VARs differs from the standard approach based on Granger causality by being closer to that of SCMs. Consequently, it enables the generalization of interventional and counterfactual queries to account for time (see Section 7.5.1). That is, it allows for answering the following causal questions:
• Forecasted Interventions What are the expected effects on an individual trajectory (or a population) when intervening in the present, and how do they vary over time?
• Retrospective Counterfactuals What would have happened to an individual trajectory if an intervention had been applied at a specific point in the past? What state would it be in now?
Both causal queries acquire a meaning embedded in the temporal dimension in terms of forecasting for the future (Section 7.6.3) and retrospection for the past (Section 7.6.4), respectively.
Expressiveness and Universality VARs, although linear models, are remarkably expressive (Kilian and Lütkepohl, 2017). By the Wold Decomposition Theorem (Wold, 1938), any purely nondeterministic, covariance-stationary process can be approximated arbitrarily well by an autoregressive model. In this sense, VARs act as universal approximators for stationary dynamics.
However, as with many “universal consistency” results in machine learning, this theorem comes with important caveats. It does not quantify how quickly the approximation error decays with the sample size, nor how the complexity of the model (e.g., the autoregressive order) scales with the complexity of the underlying process. In practice, such missing rates make the theorem more of a conceptual reassurance than a constructive modeling principle.
To illustrate the gap between theory and practice, consider the following example:
Example 11 Discrete Gaussian Random Walk in a One-Dimensional Box The system is defined as:
(7.24) where
This describes, for example, the motion of a particle confined to a one-dimensional box. For most of its trajectory, the process behaves like a simple AR(1) system; but whenever the boundary is reached, the reflection introduces a strongly nonlinear effect. Although the Wold theorem guarantees a valid representation, the corresponding MA( ) expansion is essentially intractable, and it fails to capture the localized nonlinearity created by the reflections—thereby missing a defining structural feature of the process.
More generally, processes whose stationary distributions deviate sharply from Gaussianity are difficult to represent faithfully with the Wold decomposition. Unless the moving-average coefficients are chosen in a highly structured way, the infinite linear combination of Gaussian innovations tends to induce Gaussian marginals for , by the Central Limit Theorem. This makes VAR-based representations ill-suited for processes with fundamentally non-Gaussian steady states.
we intend to explore non-linear DSPs in future work, as they may lead to better convergence rates and allow for causal interpretation of a broader family of dynamical models.
Feedback loops To properly understand complex systems, it is often useful to model feedback loops between their variables. Time-series models naturally capture this property, while SCMs require significant reformulation. The theory of cyclic SCMs has seen a significant advancement in recent years (Bongers et al., 2021), but practical approaches, both for causal discovery and causal inference, are still underdeveloped (Bongers et al., 2016; Lorbeer and Mohsen, 2023). Our formalization of causal inference on VARs is a step forward in this direction.
Fitting VARs estimation is typically performed using ordinary least squares. Various alternative methods are available, both in terms of constrained optimization (e.g., to use prior knowledge about some coefficients of the VAR matrices (Sims, 1980)) and within a Bayesian framework (Koop, Korobilis, et al., 2010). Refer to Lütkepohl (2005, chapters 3, 4, 5) for a comprehensive discussion. Importantly, although VARs are most commonly used on time-series data (i.e., data from one single unit across a period of time), there are approaches tailored to the analysis of panel data (i.e., the evolution of many units over time) (Sigmund and Ferstl, 2021); and cross-sectional data (i.e., many individuals at a single point of time), provided that they have at least some proxy variables of time (Deaton, 1985). Such approaches open up a promising line of future work that can further generalize VARs applicability for causal reasoning over time.
7.5.1 Answering causal queries in practice
Forecasting
Forecasting is one of the main objectives of time series analysis in general (Montgomery, Jennings, and Kulahci, 2015). We discuss predictors based on VAR processes that minimize the Mean Square Error (MSE).
Suppose we have a time series up to time and we want to predict the state of the system after steps . We call a predictor for this quantity the -steps predictor. In particular, the optimal predictor with respect to MSE is
The optimality of the expected value relies on the assumption that in Eq. (7.6) is i.i.d. white noise. For a VAR( ) as in Eq. (7.6), the optimal h-step predictor can be evaluated by recursively applying
where if . In other words, it is possible to forecast all subsequent values of by applying the original equation of the VAR without considering the noise . For example, considering the 1-step predictor, we get
Similarly, by exploiting the possibility of recursively applying Eq. (7.26), we obtain the estimate of the forecast error covariance (or MSE) matrix as
Note that each term in the sum is a positive definite matrix, and consequently, the MSE matrix is monotonically non-decreasing. approaches the covariance matrix of , , for . In fact, the optimal long-range forecast is just the process mean. In other words, the past of the process contains no information on the development of the process in the distant future.
Interventional Forecasting
Consider a VAR(p) model and suppose an intervention is applied to the system at time . We report the procedure for performing interventional forecasts for additive and forcing interventions separately.
Additive intervention The model equations are modified only by adding the term , consequently, Eq. (7.26) simply becomes
The MSE matrix remains unchanged, as both and all the matrices (and consequently the matrices , see Eq. (7.10)) are not modified.
Alternatively, exploiting the linearity of the predictor, it is possible to directly estimate the expected causal effect at time h through
and add this quantity to the observational forecast. The resulting interventional forecast is equivalent.
Forcing intervention In this case, the intervention modifies the matrices of the process, and the procedure is more complex. Let us proceed step by step. The intervened model is described by (see Eq. (7.17))
(7.28) where .
The resulting equation has the form of a standard VAR(p) model, so we can apply the forecasting exactly as in Section 7.5.1. The same applies to the MSE matrix, calculated using the modified matrices and .
Unlike the additive intervention, there is no way to directly calculate the causal effect. The estimate is therefore obtained through the difference.
that is the difference between the interventional forecast and the observational one.
7.5.2 Retrospective Counterfactuals
In the ladder of causality (Bareinboim et al., 2022; Pearl, 2009), counterfactual statements belong to the last level, distinct from the interventional level, and a mature causal model should be able to address both. Embracing this perspective, we show how counterfactual queries can be formulated for causal inference over time. The procedure follows the same steps used in the SCM framework.
• Abduction Based on the observed trajectory , we estimate the values of by calculating the residuals . For a VAR( ) model, in particular, .
• Action We apply a specific intervention I by modifying the model's equations.
• Prediction We simulate the evolution of the new process using in the equation.
Let be a time series generated by a VAR( ) model. We want to evaluate what the trajectory of would have been up to the present time assuming a specific intervention was applied at a particular past time . We proceed as follows:
-
Perform the abduction step and retrieve the residuals .
-
Apply the intervention to the model as in Section 7.5.1.
-
Simulate the counterfactual trajectory from to through the recursive application of
where is defined as in Eq. (7.27) or Eq. (7.28), depending on the type of intervention. Note that if using forcing intervention, the whole term on the right must be left-multiplied by before performing the simulation.

(a) Pendulum

(b) German

(c) Census
Figure 7.4: Causal graphs. The causal graph for (a) and (b) is known, while for (c), it is assumed. In (b), nodes are labeled with the initials of each feature: Expertise, Responsibility, Loan Amount, Duration, Income, Savings, and Credit Score. In (c), 0 – 14, 15 – 64, and 65 – 99 represent age groups.
Observation Performing retrospective counterfactual without applying any intervention results in the perfect recovery of the factual trajectory, so that the difference with the interventional one can be interpreted in the same way as in 7.5.1, i.e. as the causal effect over time along the trajectory.
7.6 Empirical evaluation
We evaluate VAR models’ accuracy and expressiveness in multivariate time series, focusing on two forecasting dimensions: observational (7.6.2) and interventional (7.6.3).
7.6.1 Research Questions
The experiments address the following three questions:
• RQ1. How does the VAR performance compare with SOTA models for forecasting multivariate time series?
• RQ2. How do additive and forcing interventions affect the system dynamics?
• RQ3. How accurate is the causal VAR framework in estimating the causal effect of interventions over time?
Code is publicly available on https://github.com/marti5ini/ci-over-time.
Experimental Settings
Datasets We rely on two synthetic datasets, German and Pendulum, and the real-world Census dataset . German simulates a loan approval scenario
9 This dataset is inspired on https://archive.ics.uci.edu/dataset/144/statlog+german+credit+data
10 https://data.census.gov/ with seven variables. Pendulum is a two-variable system where operates as a stabilizer for , which exhibits a divergent dynamic. Census includes demographic variables across three age groups, along with migration, birth, and death rates from 1992 to 2023 for 50 countries. 7.4 illustrates the causal graphs for all datasets.
Metrics We measure the discrepancy between the h-steps forecast and the true value on the test set . We report Mean Absolute Error (MAE) focusing on the target variables (i.e., Credit Score for German, for Pendulum, and age groups for Census). All results are averaged over ten runs.
7.6.2 Observational Forecasting
Baselines We compare the VAR framework with three relevant works: i) DLinear (Zeng et al., 2023), a decomposition-based linear model that separates trend and seasonal components; ii) TSMixer (Chen et al., 2023), a Multilayer Perceptron (MLP) based model that focuses on mixing time and feature dimensions; iii) TiDE (Das et al., 2023), a MLP based encoder-decoder model. To assess the effectiveness of the forecasting methods, we introduce an observational oracle forecaster that has full knowledge about the true data generating process and produces the optimal predictor, i.e., .
RQ1: VAR vs SOTA models The observational forecasting results in Table 7.1 show performance across varying data sizes (i.e., number of instances) and forecast horizons for all datasets. VAR emerges as the top-performing model, consistently matching or closely approaching Oracle's scores for all datasets. DLinear usually achieves predictive accuracy close to VAR for 1-step forecasts, presumably due to the common linear nature of both models. TiDE and TSMixer consistently underperform compared to VAR and DLinear for German and Pendulum. For all models (including Oracle), performance on the Pendulum dataset is uniformly worse than on the German, highlighting the greater challenge in forecasting given the system's stronger stochasticity and variables changing more rapidly over time. On Census, VAR and TiDE provide the best results, TiDE slightly outperforming VAR in 5-step horizon.
7.6.3 Interventional Forecasting
We evaluate the causal VAR's forecast in estimating the causal effects on German.
Baselines Since state-of-the-art methods do not allow computing the causal effect of interventions on dynamical systems, we use an oracle forecaster as a benchmark for theoretically optimal performance. Specifically, the ground truth values are estimated as , while the predicted values from the proposed VAR framework as .
Table 7.1: Observational Forecasting. MAE scores (lower is better) for VAR, DLinear (Zeng et al., 2023), TiDE (Das et al., 2023) and TSMixer (Chen et al., 2023). Results averaged over 10 runs. Best model in bold, Oracle in typewriter. For Census, size equals the number of countries times the number of years.
| Dataset | Size | Observational Forecasting | |||||
|---|---|---|---|---|---|---|---|
| Horizon | Oracle | VAR | DLinear | TiDE | TSMixer | ||
| German | 100 | 1 | .004 | .008 | .009 | .011 | .014 |
| Pendulum | .042 | .043 | .043 | .218 | .217 | ||
| German | 10 | .014 | .055 | .055 | .094 | .139 | |
| Pendulum | .399 | .420 | .440 | 1.43 | 1.43 | ||
| German | 500 | 1 | .004 | .004 | .004 | .011 | .014 |
| Pendulum | .042 | .042 | .042 | .218 | .217 | ||
| German | 10 | .014 | .015 | .015 | .093 | .135 | |
| Pendulum | .399 | .401 | .405 | 1.43 | 1.43 | ||
| Census | 50 × 32 | 1 | - | .001 | .006 | .001 | .008 |
| 5 | - | .017 | .025 | .014 | .024 | ||
Interventions We perform causal interventions on the root node Expertise and observe the effect on the target variable Credit Score. For the additive case, we apply , while for forcing, we use with a target value of . These values are selected for illustrative purposes such that the long-term expected value of Expertise is the same for both interventions (i.e., 5).
RQ2: Additive and forcing interventions Figure 7.5 illustrates the additive intervention. Expertise is a variable that typically necessitates several years for acquisition in practical scenarios. The causal VAR accurately captures such delayed impact as its effect on Credit Score appears after several years. As the system maintains its dynamic characteristics unchanged, the forecasted covariance remains the same even after the intervention. Figure 7.6 shows the forcing intervention, where the interventional forecasting exactly aligns with the target value. Moreover, we stress that even for a low value of , the forcing intervention resembles a do-intervention (shrinking the variances significantly) even though theoretically convergence is guaranteed only for .
RQ3: Estimating the causal effect of interventions over time Table 7.2 summarizes results on interventional forecasting, showing errors with varying data size and forecast horizons. At 1-step, both interventions lead to perfect

Figure 7.5: Additive Intervention. (Left) Intervention on Expertise with . (Right) Effect on Credit Score. Shaded regions denote 95% confidence bounds.


Figure 7.6: Forcing Intervention. (Left) Intervention on Expertise with and target . (Right) Effect on Credit Score. Confidence bounds are narrower compared to Fig. 7.5.
Table 7.2: Interventional Forecasting. MAE scores (lower is better) for the proposed causal VAR framework on the German dataset. Results averaged over 10 runs, with standard deviation in subscript. Scores are scaled by a factor of to ease readability.
| Dataset | Size | Horizon | Interventional Forecasting | |
|---|---|---|---|---|
| Additive | Forcing | |||
| German | 100 | 1 | .000.000 | .000.000 |
| 10 | .043.028 | .364.297 | ||
| 500 | 1 | .000.000 | .000.000 | |
| 10 | .018.014 | .115.081 | ||
performance since Credit Score is a slow-changing variable and requires at least 3 time steps for an intervention to take effect. At 10-step, our causal effect estimates remain highly accurate.
7.6.4 Experimental details and extra results
In this section, we expand the description of the experimental section from Section 7.6, and provide the reader with additional results in the following subsections. First, we outline the details that are consistent across all experiments and then explore the specifics of each experiment in their respective subsections.
Hardware To run all experiments, we used a machine with 18 cores, 36 threads, equipped with Intel(R) Core (TM) i9-10980XE CPU @ 3.00GHz, OS Ubuntu 20.04.3, programming language Python 3.12.0.
Datasets This section provides all the information on datasets used in the empirical evaluation of Section 7.6 of the main manuscript and the following subsections.
German. We aimed to capture relationships between the variables that appeared intuitive to us and, to a certain extent, reflected a real-world loan approval scenario. Therefore, we selected the following variables from the German Credit dataset : Expertise (E), Responsibility (R), Loan Amount (L), Loan Duration (D), Income (I), Savings (S) and Credit Score (C). We have indexed the variables from 0 to 6, following the sequence in which they are mentioned. The corresponding causal graph is designed as in Figure 7.4b. To generate a 7-dimensional vector-valued stationary time series, we simulate a stable SVAR(4) process, considering four lags to be a reasonable timeframe for conducting our analysis. In modeling the autoregressive behavior of socio-economic variables, we use different matrices tailored to capture temporal dependencies in the data. Below, we provide interpretations for such matrices and specify all the non-zero coefficients:
-
denotes the instantaneous impact between variables and affects only those nominal features (theoretical value of a good or financial instrument defined by a consensus or standard), e.g., the Credit Score. This is highlighted because the tangible attributes of an applicant require a certain period to change. In our model, we set ; ; . Furthermore, all diagonal entries of are set to 1;
-
has diagonal values that are all 0.95 except for the last one (ie., Credit Score), which is 0. This matrix gives the dynamic system a memory function.
11 https://www.kaggle.com/datasets/uciml/german-credit
-
includes interactions among variables we classify as rapid. These effects are considered short-term and are typically the most direct and intense, as the system’s memory extends only one step back in time. In our model, we set ; ; ;
-
contains medium-term effects, illustrating how conditions from three steps back affect the current state of the system. In our model, we set ;
-
reflects long-term relationships within the system. In our model, we set ; .
Pendulum. For the description of the model see Example 10. To generate a 2-dimensional vector-valued stationary time series, we simulate a stable SVAR(1) process. In this case, we set as an identity matrix, while is set as in Equation 7.18.
Census. We consider open data extracted from the United States Census Bureau . This source provides a panel dataset spanning yearly demographic characteristics for 227 countries, starting from 1950 up to 2023. We conducted a preprocessing procedure to align the data with our experimental requisites. Specifically, we selected the 50 countries with high income . Since most countries had missing values in the initial decades of data collection, we decided to start the dataset from 1991, considering the 32-year period sufficient for our work. The total number of instances is therefore 1600. Then, we chose only the essential variables for our analysis, which led to the construction of the ground truth causal graph. The chosen variables include: Total Population for three age groups namely 0 – 14, 15 – 64, and 65 – 99, Net Migration, Total Births, Total Deaths. The assumed causal graph is shown in Figure 7.4c. To adapt the data to the autoregressive model, we modified the assignment of values for Net Migration, Total Births, and Total Deaths by shifting them to the values of the previous year.
Metrics We measure the discrepancy between the h-step forecast and the true value in the test set using the root mean square error (RMSE) and the symmetric mean absolute percentage error (SMAPE) metrics (Montgomery, Jennings, and Kulahci, 2015). We report scores focusing on the target variables (i.e., Credit Score for German, for Pendulum, and age groups for Census).
Training and evaluation methodology We generated synthetic time-series datasets with varying training samples. We used 300 validation and 2400 test samples for German while 100 validation and 2200 test samples for Pendulum.
13 https://blogs.worldbank.org/en/opendata/world-bank-country-classifications-by-income-level-for-
Table 7.3: Observational forecasting. MAE scores in Table 7.1. Here, we also report the standard deviation in subscript.
| Dataset | Size | Horizon | MAE | ||||
|---|---|---|---|---|---|---|---|
| Oracle | VAR | DLinear | TiDE | TSMixer | |||
| German | 100 | 1 | .004 | .008.004 | .009.004 | .011.000 | .014.001 |
| Pendulum | .042 | .043.001 | .043.001 | .218.000 | .217.000 | ||
| German | 10 | .014 | .055.030 | .055.027 | .094.003 | .139.005 | |
| Pendulum | .399 | .420.018 | .440.009 | 1.43.002 | 1.43.001 | ||
| German | 500 | 1 | .004 | .004.000 | .004.000 | .011.000 | .014.000 |
| Pendulum | .042 | .042.000 | .042.000 | .218.001 | .217.000 | ||
| German | 10 | .014 | .015.001 | .015.000 | .093.002 | .135.004 | |
| Pendulum | .399 | .401.002 | .405.010 | 1.43.003 | 1.43.001 | ||
We implemented DLinear, TiDe, and TSMixer models using the Darts library (Herzen et al., 2022). Each model was trained for 200 epochs, and final evaluations were performed on the test set. We employed an early stopping mechanism to prevent overfitting, monitoring the validation loss with patience set to 10 and a minimum delta of . We used the Adam optimizer (Kingma and Ba, 2015) with an initial learning rate of and an exponential learning rate scheduler with a decay rate of 0.99. For hyperparameter tuning, we always select the best hyperparameter combination according to validation loss, reporting results from the test dataset in the manuscript. We applied Mean Squared Error as the loss function for DLinear and quantile regression as the likelihood function for TiDE and TSMixer.
For the Census dataset, we constrained the fitting of the VAR framework by setting the matrix coefficients without dependencies in the causal graph to zero. All experiments were repeated 10 times, with results reported as averages and standard deviations.
Observational Forecasting
How does the VAR performance compare with SOTA models for forecasting multivariate time series? Table 7.3 presents results that mirror those in Table 7.1 with standard deviation in subscript. In addition to the results from Section 7.6.2, Table 7.4 provides the forecasting accuracy, measured using RMSE and SMAPE scores, across different data sizes and forecast horizons
14 https://pytorch.org/docs/stable/generated/torch.optim.lr_scheduler.ExponentialLR.html for German and Pendulum datasets. The patterns observed here are consistent with those in the main text. VAR continues to lead in performance, often aligning closely with the Oracle. DLinear remains competitive for shorter forecast horizons thanks to its linear structure, occasionally surpassing VAR by a small margin.
Table 7.4: Observational forecasting. RMSE and SMAPE scores (lower is better) for VAR, DLinear (Zeng et al., 2023), TiDE (Das et al., 2023) and TSMixer (Chen et al., 2023), benchmarked against the oracle forecaster. Results averaged over ten runs, with standard deviation in subscript.
| Dataset | Size | Horizon | RMSE | SMAPE | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Oracle | VAR | DLinear | TiDE | TSMixer | Oracle | VAR | DLinear | TiDE | TSMixer | |||
| German | 100 | 1 | .005 | 2.01 | ||||||||
| Pendulum | .053 | 15.7 | ||||||||||
| German | 10 | .018 | 7.33 | |||||||||
| Pendulum | .494 | 82.7 | ||||||||||
| German | 500 | 1 | .005 | 2.01 | ||||||||
| Pendulum | .053 | 15.7 | ||||||||||
| German | 10 | .018 | 7.33 | |||||||||
| Pendulum | .494 | 82.7 | ||||||||||
| German | 1000 | 1 | .005 | 2.01 | ||||||||
| Pendulum | .053 | 15.7 | ||||||||||
| German | 10 | .018 | 7.33 | |||||||||
| Pendulum | .494 | 82.7 | ||||||||||
Table 7.5: Observational forecasting. RMSE and SMAPE scores (lower is better) for VAR, DLinear, TiDE and TSMixer on the Census dataset.
| Dataset | Size | RMSE | SMAPE | |||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Horizon | VAR | DLinear | TiDE | TSMixer | VAR | DLinear | TiDE | TSMixer | ||
| Census | 50×32 | 1 | .002 | .007 | .002 | .009 | .409 | 1.76 | .401 | 1.79 |
| 5 | .018 | .026 | .013 | .024 | 3.25 | 6.36 | 2.92 | 6.28 | ||
In contrast, TSMixer and TiDE generally underperform in comparison, with their scores consistently following behind VAR and DLinear. The challenging nature of the Pendulum dataset is apparent, with all models (including Oracle)

(a) Intervention on R
(b) Effect on D
(c) Effect on I
(d) German causal graph

(e) Intervention on L
(f) Effect on D
(g) Effect on I
(h) German causal graph
Figure 7.7: Additive Interventions. (a) Intervention on Responsibility with and the resulting effect on: (b) Loan Duration and (c) Income. (e) Intervention on Loan Amount with and the resulting effect on: (f) Loan Duration and (g) Income. In (d) and (h), the deep orange node represents the intervened variable, while the lighter orange nodes are those influenced by the intervention. In all plots, shaded regions denote 95% confidence bounds.
showing greater difficulty in maintaining the accuracy as for German. Table 7.5 presents the results for the Census dataset. The performance gap between the models narrows. For 1-step forecasts, both VAR and TiDE achieve similar, strong results, while for 5-step forecasts, TiDE slightly outperforms VAR in both metrics.
Interventional Forecasting
How do additive and forcing interventions affect the system dynamics? Figure 7.7 illustrates two additive interventions applied to German. Panel (a) depicts an intervention on Responsibility with , while panel (e) shows an intervention on Loan Amount with . The causal graphs in panels (d) and (h) show how these interventions propagate through the network. Panels (b) and (c) display the effects of the Responsibility intervention on Loan Duration and Income, respectively. Panels (f) and (g) illustrate the corresponding effects for the Loan Amount intervention. Specifically, in panels (a-c), we observe that the intervention on Responsibility affects Income while having no impact on Loan Duration. This behavior aligns with the causal relationships depicted in panel (d) as Responsibility is not an ancestor of Loan Duration. Similarly,
Past Observational Oracle Intervened Oracle Intervened VAR Target Value

(a) Intervention on I
(b) Effect on S
(c) Effect on C
(d) German causal graph

(e) Intervention on D
(f) Intervention on I
(g) Effect on C
(h) German causal graph
Figure 7.8: Forcing Interventions. (a) Intervention on Income with F = 5 and target value . The resulting effect on (b) Savings and (c) Credit Score. (e) Intervention on Loan Duration with F = 3 and target value . (b) Intervention on Income with F = 3 and target value . (g) Effect of interventions in (e-f) on Credit Score. In (d) and (h), the deep orange node represents the intervened variable, while the lighter orange nodes are those influenced by the intervention. In all plots, shaded regions denote 95% confidence bounds.
panels (e-g) illustrate that the intervention on Loan Amount affects only Loan Duration, as Loan Amount is not an ancestor of Income.
Figure 7.8 shows two forcing interventions applied to German. Panel (a) displays an intervention on Income with and target value . Panels (b) and (c) show how this intervention affects Savings and Credit Score, respectively. Panel (e) presents an intervention on Loan Duration with and target value , while panel (f) shows a different intervention on Income with and target value . Panels (a-c) present results that are consistent with those demonstrated in the manuscript, namely that interventional forecasting precisely aligns with the specified target value. Panels (e-f) demonstrate the capability of the causal VAR framework to implement multiple interventions within the system simultaneously. Panel (g) displays the combined impact of these interventions on Credit Score. By visualizing this cumulative effect, we could gain insights into the complex interplay between multiple variables and their joint influence on the target variable.
Interventions We provide the intervention type and the force values used to evaluate the interventional forecasting described in the following paragraph. For German, we perform causal interventions on root node Expertise, and observe
Table 7.6: Interventional Forecasting. RMSE and SMAPE scores (lower is better) for the proposed causal VAR framework on German and Inverted Pendulum datasets. RMSE scores are scaled by a factor of to ease readability. Results averaged over ten runs, with standard deviation in subscript.
| Dataset | Train Steps | Horizon | RMSE (scaled) | SMAPE | ||
|---|---|---|---|---|---|---|
| Additive | Forcing | Additive | Forcing | |||
| German | 100 | 1 | .000.000 | .000.000 | .000.000 | .000.000 |
| Pendulum | .042.031 | .062.046 | .146.107 | .319.236 | ||
| German | 10 | .446.295 | .829.547 | |||
| Pendulum | .262.140 | |||||
| German | 500 | 1 | .000.000 | .000.000 | .000.000 | .000.000 |
| Pendulum | .024.023 | .035.034 | .083.080 | .180.173 | ||
| German | 10 | .173.139 | .464.338 | .353.276 | ||
| Pendulum | .049.035 | .690.451 | .111.077 | |||
| German | 1000 | 1 | .000.000 | .000.000 | .000.000 | .000.000 |
| Pendulum | .010.007 | .014.011 | .034.026 | .074.056 | ||
| German | 10 | .101.079 | .299.220 | .210.163 | ||
| Pendulum | .023.012 | .376.257 | .054.031 | |||
Table 7.7: Interventional Forecasting. MAE scores (lower is better) for the proposed causal VAR on the Pendulum dataset. Results averaged over 10 runs, with standard deviation in subscript. Scores are scaled by a factor of to ease readability.
| Dataset | Train Steps | Horizon | MAE | |
|---|---|---|---|---|
| Additive | Forcing | |||
| Pendulum | 100 | 1 | .094.069 | .310.230 |
| 10 | .264.142 | |||
| 500 | 1 | .053.052 | .174.169 | |
| 10 | .112.078 | |||
the resulting effect on the target variable Credit Score. For the additive case, we apply , while for the forcing case, we use with a target value of . For Pendulum, we perform causal interventions on , and observe the resulting effect on . For the additive case, we apply , while for forcing, we use with a target value of .
How accurate is the causal VAR framework in estimating the causal effect of interventions over time? Table 7.6 provides RMSE and SMAPE scores for interventional forecasting across different data sizes and forecast horizons on the German and Pendulum datasets. These scores further validate the effectiveness of the proposed causal VAR framework. For 1-step forecasts, the Pendulum dataset shows the intervention effect immediately, in contrast to the German dataset, where variables change slowly and require several time steps to exhibit measurable effects. For 10-step forecasts, the scores demonstrate that the model achieves high accuracy. Notably, the RMSE values remain low across both datasets and intervention types, indicating the robustness of the model in estimating causal effects over longer horizons. Additionally, while the SMAPE scores show some variation, the results suggest that the model is well-suited for handling more complex forecasting scenarios.
Table 7.7 outlines the results of interventional forecasting, detailing errors across different data sizes and forecast horizons for the Pendulum dataset. Our causal effect estimates remain highly accurate for both forecast horizons. In contrast to the German dataset in Table 7.2, the intervention effect is observable even at the 1-step forecast. These results reinforce the findings presented in the main paper, highlighting the effectiveness of the proposed causal VAR framework in interventional forecasting tasks.
Retrospective Counterfactuals
In this section, we demonstrate that our causal VAR framework can also address the causal queries discussed Section 7.5 in terms of retrospective counterfactuals.
Figure 7.9 illustrates two counterfactual interventions, with panels (a-d) related to German and panels (e-h) focused on Census. For German, panel (a) shows an intervention in 2004 on Expertise with and the effect of this intervention on (b) Responsibility and (c) Loan Amount. This scenario could potentially answer the question: “What would be the outcome in 2024 if an applicant had improved their expertise in 2004?”. Panel (b) shows that an increase in Expertise would have led to a corresponding rise in Responsibility. Notably, panel (c) reveals the Loan Amount remains unchanged, reflecting the structure of our causal graph where Expertise is not an ancestor of this node. For the Census dataset, we examine an intervention in 2011 on Births with and its effect on the population’s average age (computed as a weighted mean of age groups) of three countries: (e) Germany, (f) Spain, and (g) Singapore. The force value indicates that Births increase by 0.4% of each country’s total population annually. This analysis could potentially explore the question: “How would a policy promoting increased births in 2011 have affected a country’s current average population age?”. Panels (e-f) display that such an intervention
7.7 USE CASES
119
Past
Counterfactual
Hypothetical Intervention
Present

(a) Intervention on E
(b) Effect on R
(c) Effect on L

(d) German graph
causal

(e) Germany
(f) Spain
(g) Singapore
(h) Census graph
causal
Figure 7.9: Retrospective Counterfactuals. Panels (a-d) focus on the German dataset. (a) Intervention on Expertise with . Effect of the intervention on (b) Responsibility and (c) Loan Amount. Panels (e-h) examine the Census dataset with an intervention on Births with . Effect of the intervention on the population's average age of (e) Germany, (f) Spain, and (g) Singapore. In (d) and (h), the deep purple node represents the intervened variable, while the lighter purple nodes are those influenced by the intervention.
would have significantly lowered the average age in Germany and Spain, given their relatively older population structures. In contrast, panel (g) shows that the effect on Singapore would have been more moderate, consistent with its younger demographic profile at the intervention time.
7.7 Use cases
In this section, we show real-world scenarios where estimating causal effects over time represents a useful step toward a realistic modeling of the phenomena. We focus on the German and Census datasets, presenting two analyses for each. For German, Figure 7.10 illustrates the effect of increasing Expertise by on Credit Score.
German 1 – Same intervention, different outcomes The left panel of Figure 7.10 shows the distribution of the time required for loan applicants to cross or not the acceptance threshold after the intervention. Access to this information allows quantification of intervention efficacy, identification of credit-building patterns, and infer the key factors influencing loan eligibility
7.7 USE CASES
120

Figure 7.10: German. Effect of increasing Expertise on Credit Score. (Left) The time each loan applicant takes to cross or not the acceptance threshold. The histogram shows the distribution of crossing times. (Right) Comparison of two loan applicants, i.e., trajectories, with similar scores at intervention time. Forecasts are dashed for observational and dotted for interventional.


Figure 7.11: Census. Additive intervention across all countries. (Left) Intervention on Births with and its effect on the population's average age. (Right) Intervention on Migration with and its effect on Births.
outcomes. It can also inform the recommendation of actions (e.g. in algorithmic recourse (Karimi et al., 2023)) within a reasonable timeframe, fostering trust in the system and promoting user acceptance.
German 2 – Similar cross-sectional values, different causal effects over time The right panel of Figure 7.10 shows trajectories that, while seeming similar at a given time, may have significantly divergent historical and future behaviors. For instance, the purple trajectory may have autonomously crossed the threshold without intervention, whereas in the case of the yellow one, the applied intervention may be inadequate to ensure the desired outcome. Such divergence highlights the importance of moving beyond models that rely only on
7.8 CONCLUSIONS
121
cross-sectional data, motivating the need for techniques, such as the proposed causal VAR framework, that capture individual applicant behavior over time.
For Census, Figure 7.11 presents two additive interventions across all countries.
Census 1 – Impact of Births on Average Age The left panel of Figure 7.11 shows the increase on Births with and its effect on the population's average age (computed as a weighted mean of age groups). The force value means that Births increase by 0.4% of each country's total population every year. Examining how they affect population age over time could allow policymakers to identify which countries might benefit most from specific types of demographic interventions and evaluate the long-term viability of systems. We can also observe that the intervention in Japan caused a more evident decrease in the average age than in Chile.
Census 2 – Impact of Migration on Births The right panel of Figure 7.11 reports how a 4% growth in Migration w.r.t. the total population influences Birth rates. We observe that increased migration leads to a rise in births. However, its impact is less evident (observational and interventional forecasting trajectories are closer) compared to the result on the average age shown in Figure 7.11 (left panel).
7.8 Conclusions
In this chapter, we have established a link between discrete-time dynamical systems at equilibrium and SCMs. Moreover, we have provided an explicit procedure for mapping VARs to linear SCMs and demonstrated that, under specific model stability conditions, interventions on the dynamical system and the SCM yield equivalent results. To conduct causal inference over time, we have introduced two classes of interventions (additive and forcing) for VARs.
Limitations When systems exhibit strongly nonlinear dynamics, linear VARs may prove less effective than alternative nonlinear approaches. Moreover, our framework requires prior knowledge of the causal graph. In scenarios where this information is lacking, the process of causal discovery can present significant challenges.
Future work In the next chapter, we will investigate the use of non-linear DSPs, as they may lead to better convergence rates and allow for causal interpretation of a broader family of dynamical models. Moreover, our work opens several interesting research directions (Section 7.5 for concrete examples) and applications (e.g. causal inference over time in high-dimensional contexts such as climate science).
Chapter 8
Continuous Time and Non-linear Systems
Author's Note This chapter represents a major advancement in the PhD research, extending the discrete-time framework introduced earlier to the more general setting of continuous-time and non-linear systems. It constitutes a natural evolution of Chapter 7 and reformulates its key ideas within the theoretical framework of Itô calculus and stochastic differential equations. This is an original contribution, developed specifically during the writing of the thesis and not yet published. Section 8.1 provides a general overview of the mathematical theory used and does not contain original results.
In Chapter 7, we discussed the implementation of causal inference over time using discrete-time models, represented by dEs. From a practical perspective, we built a linear framework to estimate the evolution equations of a system under study and to perform causal queries on it. In this chapter, we aim to extend the discussion to more general models by removing the two limitations of the previous approach. In particular, we focus on continuous-time models, using Stochastic Differential Equations (SDEs) as the fundamental theoretical framework, and we consider equations that are not necessarily linear.
The chapter is structured as follows.
In Section 8.1, we introduce the necessary mathematical foundation to describe the problem at hand using SDEs.
In Section 8.2, we propose a reformulation of the evolution equations based on the theory of Gradient Flow (GF), allowing us to generalize the concept of causal inference over time (Chapter 7) to the broader setting.
In Section 8.3, we develop a causal interpretation of SDEs, introducing the formalization of interventions and their effects in continuous-time dynamical systems.
In Section 8.4, we focus on estimating the asymptotic causal effects of interventions, analyzing the stationary behavior of the system under different intervention strategies.
In Section 8.5, we establish a formal connection between discrete-time and continuous-time frameworks, showing how results can be transferred between SdEs and SDEs. A schematic summary of the overall chapter's contributions is provided in Table 8.1.
8.1 Differential Equations
Consider a dynamical system described by the (deterministic) Ordinary Differential Equation (ODE)
which models the evolution over time of a quantity of interest, x. We call the vector field of the system, as it represents the direction and speed of x, given its position or state. Typically, one wants to study how x evolves starting from a specific initial state . If satisfies certain regularity conditions, knowing both and is enough to determine a unique solution , which describes the complete trajectory of x as a function of time. In this sense, characterizes the entire system and allows us to analyze its behavior .
Similarly, we can consider the case where is not precisely known. Here, the initial state may belong to a set of possible values, requiring us to apply the evolution described by Eq. (8.1) to each case. More generally, if we treat as a random variable , the solution of Eq. (8.1) becomes a Stochastic Process (SP) (Definition 18), with the key difference that is now a continuous parameter in rather than a discrete index. Recall that denotes the sample space on which we define our probability space.
Moreover, we assume that can also behave probabilistically, depending on a random variable . In other words, the equation might have additional random parameters that are separate from the initial condition . We can then rewrite Eq. (8.1) in the following form:
and refer to it as a Random Differential Equation (RDE) .
1 For the sake of simplicity, throughout this chapter, we will consider one-dimensional systems. We will extend the discussion to the n-dimensional case only when necessary for the exposition.
2 for a causal interpretation of ODEs see Manten et al. (2024)
3 See (Bongers, Blom, and Mooij, 2018), f for further clarification on RDEs
Logistic Equation solution with initial state

Figure 8.1: Logistic Equation. Representation of the evolution of a SP driven by the logistic equation. The initial distribution has a uniform density between 0.1 and 0.6. A particular solution of this equation is the sigmoid function (darker blue line), obtained by setting .
Example 12 (Random Logistic Differential Equation) Consider the equation
which is the standard form of the logistic differential equation, commonly used to describe models such as population growth. It is straightforward to show that the solution to this equation is
Notice that, regardless of the initial state, all trajectories converge to the value 1. Indeed, Eq. (8.3) admits two equilibrium points for (0 and 1), i.e., values at which its velocity is zero.
As a slight variation, consider the equation
where is a random variable representing different limit values. In this case, rather than converging to a single limit value, we observe a limiting distribution: as , increasingly resembles a specific random variable, which we denote by .

Figure 8.2: Random Logistic Equation. Evolution of the SP driven by Eq. (8.4), with and . Note that, assuming and are independent of each other, converges to .
RDEs are generally easy to handle, as the randomness primarily affects the “initial conditions” of the process. Once a specific realization is fixed and both and are determined, becomes the solution of an ODE. In general, the solution of an RDE can be expressed in integral form (we are explicitly indicating the dependence of X and on to highlight where stochastic elements appear in the equation):
By fixing a specific and introducing the notations and , we can rewrite the equation as
which corresponds to the classical solution of an initial value problem with initial condition and an ODE as in Eq. (8.1).
In (Bongers, Blom, and Mooij, 2018), it is shown how a direct link can be established between RDEs and SCMs. Similar to what was discussed in Section 7.3, the latter can be interpreted as the compressed version of the former, removing all information about the temporal component of the process and considering only the invariant distribution, obtained in the limit . In other words, SCM model the long-run behavior of RDEs.
In this work, we aim to extend the discussion to SDEs, which provide a more sophisticated framework for modeling inherently stochastic systems. Unlike RDEs, where randomness is primarily confined to the initial conditions, SDEs incorporate continuous random perturbations. This implies that the system is influenced by both deterministic dynamics and stochastic fluctuations at every point in time, making it impossible to reduce the problem to an initial condition formulation of an ODE. Instead, the stochastic component introduces a time-dependent randomness that fundamentally shapes the system's evolution.
To rigorously analyze and solve SDEs, advanced mathematical tools are required. These include Brownian motion, which models continuous random perturbations, and Itô calculus, a specialized framework that extends standard calculus to stochastic processes. In the following sections, we introduce these concepts in detail.
8.1.1 Brownian Motion
Brownian Motion (BM) refers to the random, irregular movement of pollen particles suspended in water, first observed by the botanist Robert Brown in 1828. This movement is caused by the continuous collisions of water molecules with the pollen, leading to the gradual spreading or diffusion of the particles in the water. The concept of BM has broad applications beyond the study of microscopic particles in liquids. It is used to model various phenomena, such as stock price fluctuations, thermal noise in electrical circuits, and random disturbances in physical, biological, economic, and management systems. Its universality stems from the minimality of the assumptions required for its theoretical framework. Essentially, any process involving random disturbances at each moment in time can be analyzed using BM. In the following, we introduce its definition and briefly discuss its fundamental properties.
Definition 20 (Brownian Motion) A continuous-time stochastic process W is called a Brownian motion if it satisfies the following properties :
-
almost surely,
-
W is continuous almost surely,
-
is independent of for every ,
-
for every .
The above properties can be interpreted as follows: (1) states that the trajectories of a BM always start from the origin; (2) ensures that each individual trajectory is continuous (although, as can be intuitively expected from Fig. 8.3, it is almost surely not differentiable); (3) represents the property of indepen-
4 The definition provided here presents the properties in a simplified form, as we do not intend to introduce the concept of filtration on a probability space in this thesis for the sake of simplicity. For a rigorous definition, we refer to Pascucci (2024).

Figure 8.3: Brownian Motion. Depiction of a standard BM over the time interval [0,1]. The black line represents a single trajectory. The distribution of the process at the final time follows a (standard normal) distribution, as illustrated by the histogram on the right.
dent increments: the process, considered over separate intervals, is completely memoryless; (4) states two important facts: the first one is that the process is time-invariant, indeed it holds that ; the second one is that the distribution of any increment is normal. This property provides an additional interpretative insight i.e., the observed variation over any time interval can be understood as the macroscopic effect of infinitely many microscopic perturbations occurring on much shorter time scales. Regardless of their specific nature, assuming these perturbations are i.i.d., their cumulative sum follows a Gaussian distribution, as stated by the Central Limit Theorem. This further clarifies why BM is so prevalent across diverse scientific disciplines.
Remark BM is a Markov process, meaning that its future values depend only on its present state and not on past observations. Formally, for any sequence ,
Furthermore, BM is also a martingale, e.g., for any s < t,
This last property can be directly derived from (3) and (4).
BM is not the solution of any RDE Suppose we want to model BM. Instead of considering Eq. (8.2) and trying to find a process that satisfies it, we aim to identify the vector field f such that
We immediately observe that the left-hand side term is ill-posed since BM is almost everywhere non-differentiable w.r.t. t. Even if we interpret the equation in a weak sense, we would still need to transfer the irregularity of W onto f.
Moreover, it is easy to recognize an expressivity issue. Firstly, since almost surely, there is no randomness in the initial state of the process. Additionally, we have assumed that the random parameters of are finite, which contradicts the properties of BM: no matter how many observations we have at times , the next increment will always be independent of the entire history.
Thus, we must consider a new class of processes specifically designed to handle such irregularities. In the next section, we introduce Itô processes.
8.1.2 Itô Processes and Stochastic Differential Equations
A (time-homogeneous) Itô process is a SP defined by
where the random variable is the initial state of , and are called respectively the drift and the diffusion coefficients of the process. As a first observation, notice that as , the equation reduces to Eq. (8.2). In fact, the integral on the right represents the irregular perturbation of the process due to the contribution of BM.
We can express Eq. (8.9) in its differential form as
This equation is what is referred to as a Stochastic Differential Equation (SDE). It is important to note that it is not a precise mathematical statement but rather a compact way of writing Eq. (8.9).
The terms drift and diffusion have a precise meaning: Considering an infinitesimal time interval in which the process evolves, say from to , we obtain
5 For clarity and consistency with the literature on Itô calculus (Pascucci, 2024), we switch the notation from to , to indicate the process at time .
which means that controls the average infinitesimal displacement of the process. Similarly, we get
which means that controls the infinitesimal rate of diffusion of the process. In fact, for small time intervals, we have
Example (BM with constant drift and diffusion) Suppose and are constants and . then Equation equation 8.10 simplifies to
It is easy to verify that, starting from Definition 20, property (4), we immediately obtain
and
8.1.3 Stochastic Integrals
One of the main challenges in stochastic calculus is to provide a precise meaning to the integral
The main difficulty arises from the fact that BM is not a rectifiable function. As a result, it is not possible to naturally rewrite the integral in the form
The classical approach to defining this integral begins with simple (e.g., piecewise constant) processes, and then progressively extends to more general classes of integrands through successive refinements. Eventually, the integral is well-defined for the class of locally square-integrable processes. The final result is encapsulated in the well-known Itô formula. Without delving into the technical details of the construction, we discuss the implications of this result for estimating key quantities of the process. Let us begin by introducing Itô’s formula in the simplest case, where the reference SP is precisely BM.
Theorem 5 (Itô formula - Brownian Motion) Let be a function (e.g., with a continuous second derivative), then the following relation holds:
A first observation is that, in the special case where is the identity function , we obtain
since the last integral vanishes. Moreover, the expected value of this integral is 0, which follows from the properties of BM. Less intuitively, under fairly general conditions on f, it also holds that
Informally, this result follows from interpreting the integral as a weighted sum of many small increments , each of which has mean zero due to the properties of BM.
The rightmost integral is the most interesting feature of the relation. Without it, the formula would be entirely equivalent to the fundamental theorem of calculus. In fact, it represents the fundamental difference between stochastic calculus and classical calculus.
Rewriting Eq. (8.11) in differential form, we obtain
We can observe a strong similarity with the second-order Taylor expansion of f in its differential form, which is written as
The formulas would be entirely identical if the identity held. In fact, it turns out that, symbolically, this identity incorporates a rule consistent with
Itô's formula, allowing us to reach the same conclusions. Specifically, using the relations
we can formulate the extended version of Itô's formula for any process defined as in Eq. (8.9).
Theorem 6 (Itô formula for Itô Processes) Let be a function and an Itô process as in Eq. (8.9), defined by the SDE
then the following relation holds:
Proof. Consider the (differential) second-order Taylor expansion of f
Substituting with we get
Applying Eq. (8.12) to the expressions in square brackets, the only nonzero contribution is
Grouping all the remaining terms, we obtain Eq. (8.13).
In practice, Itô’s formula allows us to access relevant observables of the system under study, represented as an SP. For example, by considering and , we can estimate the mean and variance of , respectively, and analyze their evolution over time. More generally, it enables us to solve fairly general SDEs, often finding explicit closed-form solutions. By extending classical calculus to the stochastic setting, Itô’s formula serves as a cornerstone of modern applied probability, providing powerful tools for both theoretical analysis and practical applications.
8.1.4 Fokker Plack Equation
The study of a SP through its SDE provides very detailed information about its evolution, potentially describing the behavior of each individual trajectory. However, we are often interested in a more macroscopic description of the system—a coarser but simpler resolution. To this end, we can focus only on the probability density of , which we denote by .
If our goal, for example, is to estimate the evolution of the mean and variance of over time, this object is as good as the original SP. Remarkably, the Fokker–Planck equation (also called the Forward Kolmogorov equation) allows us to translate an SDE into an associated Partial Differential Equation, which models the evolution of .
Theorem 7 (Fokker Planck Equation) Let be a SP modeled by the SDE as in Eq. (8.10), and let be its probability density. The following Partial Differential Equation holds:
Proof. Let us consider an arbitrary function . By applying Eq. (8.13), we obtain
Taking the expectation and differentiating w.r.t to t we get
Note that the term with disappears, since the expectation of is zero. Rewriting expectation as an integral over , we get
Consider the drift part of the integral on the right part. Integrating by parts, we obtain
6 Note that depends only on in this case, so the partial derivative with respect to is 0.
Applying the same procedure for the diffusion term, intergating by parts two times, we obtain in the end
Since is arbitrary, the term in square brackets must be identically zero. ☐
8.1.5 Multidimensional Stochastic Calculus
In this section, we extend the definitions and results from the previous sections to the multidimensional setting.
Definition 21 (d-dimensional BM) A d-dimensional BM, denoted by W, is a d-dimensional vector of independent BMs. Specifically, it satisfies
where is the identity matrix.
Definition 22 (n-dimensional SDE) An n-dimensional SDE is a system of SDEs of the form
where:
-
is an n-dimensional SP.
-
is a vector-valued function, referred to as the drift vector.
-
is a matrix-valued function (diffusion matrix).
-
is a d-dimensional BM.
Definition 23 The formal rules for computing products of differentials (Eq. (8.12)) extend to the multidimensional case as follows:
where denotes the Kronecker delta. These rules arise from the fact that the components of are mutually independent.
Definition 24 (n-dimensional Itô formula for Itô processes) Let be a SP governed by an n-dimensional SDE. The Itô formula (Theorem 6) extends to
8.2 GRADIENT FLOW
134
where .
Definition 25 (n-dimensional Fokker–Planck equation) Consider an n-dimensional SDE with drift vector and diffusion matrix . Assume that is positive definite i.e., for some . The Fokker–Planck equation (Eq. (8.14)) generalizes to
Using the divergence operator notation, , the equation can be written in a more compact form as
Example 13 (Constant, isotropic diffusion) Consider the d-dimensional SDE
Here, each component of is influenced by an independent one-dimensional BM, meaning that diffusion occurs uniformly in all directions. In this case, we have , and the divergence term simplifies to . Consequently, Eq. (8.17) reduces to
where is the Laplacian operator.
This equation contains two important special cases:
• Setting yields , which corresponds to the well-known heat equation with diffusive constant .
• Setting results in , which is the continuity equation with vector field .
8.2 Gradient Flow
In Section 7.3, we discussed how to interpret a discrete-time dynamical system through a causal lens, providing a meaning for causal interventions on SdEs and demonstrating the existence of a link between these and SCMs. However, the existence of an explicit mapping between the two frameworks has only been established for linear systems (Theorem 3). The goal of this section is to lay the foundation for extending this result to nonlinear and/or continuous-time systems.
8.2 GRADIENT FLOW
135
A key assumption in our approach was the existence of an invariant distribution for the DSP under consideration. Indeed, invariant distributions in both the observational and interventional dynamical systems served as the bridge between the temporal framework (SdE) and the static framework (SCM).
This leads to the following question: What conditions must the drift vector and the diffusion matrix satisfy for the associated SDE to admit an invariant distribution? In general, this problem is challenging to address (Berglund, 2021; Hairer, 2010; Löcherbach, 2015). However, the solution is particularly elegant and well-structured for an important special case Stochastic Gradient Flow, also known as the Overdamped Langevin Equation, while remaining sufficiently general for the purposes of our study.
8.2.1 Stochastic Gradient Flow
Consider the d-dimensional SDE
This equation has two important features. First, the diffusion matrix is constant and isotropic. Second, the drift vector corresponds to the (negative) gradient of a function V, which we refer to as the potential function.
Remark Under the condition
meaning that grows faster than logarithmically as , the stochastic differential equation in Eq. (8.19) has a well-defined invariant distribution, known as the Gibbs distribution:
Proof. The Fokker-Planck equation for Eq. (8.19) is given by
To prove that Eq. (8.20) is indeed an invariant distribution, we need to verify that , which leads to the condition
7 Compared to Eq. (8.18), we apply a slight transformation to the diffusion coefficient to simplify the equations that will follow. Specifically, we leave the identity matrix implicit and replace the term with .
8.3 A CAUSAL PERSPECTIVE ON SDES
136
Computing explicitly, we find
Substituting this into the equation, we obtain
We are now ready to introduce the concept of causal intervention on a SDE. The key idea behind our approach is that fully determines the equilibrium distribution of the dynamical system. Any intervention modifies its properties, leading to a distributional shift, which manifests through a new Gibbs distribution once the new equilibrium is reached.
8.3 A Causal Perspective on SDEs
The concept of a causal system varies significantly across scientific theories. For example, in the context of dynamical systems, particularly in control theory, a system is considered causal if its governing function depends only on its past or present states, never on future states. This is why such systems are also referred to as non-anticipative or physical systems. This interpretation is so broad that it is difficult to conceive of a system that could be meaningfully modeled in a non-causal manner. As a result, rather than serving as an epistemological principle, causality in this sense becomes a methodological prerequisite for describing the natural constraints of evolutionary models.
In contrast, Pearl’s theory of causality defines causal relationships as inherently asymmetric, making a clear distinction between interaction-based phenomena and those governed by causation. The assumption of acyclicity in causal graphs is not merely a mathematical convenience but a fundamental principle of how causal relationships are conceptualized. In this framework, the system’s variables are arranged within a rigid hierarchical structure in which root causes influence their descendants, propagating information along chains of cause and effect.
In this work, we take an intermediate stance, adopting a classical definition that is compatible with both perspectives. We define a variable as causal with respect to another if intervening on it results in a corresponding change in the second variable. The key aspect of this definition is that the intervention is conceived as external to the system under study, originating from an external agent's deliberate choice. In other words, causality is established through experimentation. This methodological approach has already been considered in the past, for example in Sokol and Hansen, 2014, Mogensen and Hansen, 2022, Commenges and Gégout-Petit, 2009.
8.3 A CAUSAL PERSPECTIVE ON SDES
137
However, even this perspective has limitations, as the boundary between it and the weaker notion of causality in control theory is not always well defined. Consider, for instance, a gas composed of a vast number of interacting particles. Changing the state of a single particle would, in principle, influence the others. Yet, in high-dimensional systems, this view of causality becomes less meaningful. Throughout the following sections, we will explore this issue from various angles, gradually developing a causal perspective.
One key aspect of our discussion will be the following: The causalization of a system can be understood as a form of coarse-grained representation. This representation preserves essential system behavior while omitting unnecessary details, offering a form of representational compression that aligns with an intelligence embedded in the environment. This perspective accounts for an agent's ability to intervene and generalize when facing distribution shifts. In fact, the causal graph can be regarded as the most compressed representation that remains consistent with the system's probability distribution (Peters, Janzing, and Schölkopf, 2017).
8.3.1 Causal Interventions on SDEs
Consider a d-dimensional SDE as in Eq. (8.19), written as a system of equations
We define an intervention on the SDE at time as a modification of one or more drift functions according to the rule:
In practice, we modify the mechanism that drives the evolution of , replacing it with a new one starting from the intervention time . As in Chapter 7, we focus on two types of intervention:
• Additive Intervention: we modify the drift function by adding a constant,
• Forcing Intervention: we include a term that pulls the variable toward a target value ,
Similarly, we denote the intervention with and the new solution of the intervened SDE with . As in the discrete-time case (Definition 19), we define the Causal Effect over time of as
8.4 Estimating the Long-Run Causal Effect
If the dynamical system admits a stationary distribution both before and after the intervention, we may be interested in estimating the long-term effect of the intervention, that is,
A brute-force approach consists in simulating the system for a sufficiently long time, until it reaches equilibrium. However, this method has two major limitations. First, we typically lack information about the convergence rate to the stationary distribution, which could, in principle, be very slow. Second, due in part to the first issue, this procedure may be computationally expensive.
In practice, if we have a way to estimate directly without relying on numerical simulation, that approach is almost certainly preferable.
Using the formulation in Eq. (8.19), we ask whether the drift vector can be written as the gradient of a potential function. In fact, writing the expectation explicitly as
makes the estimation of CE straightforward.
One-dimensional case Given the SDE
we can always express as the (negative) derivative of another function by defining
As a result, if grows sufficiently fast as , a stationary distribution always exists and is given by
In particular, under an additive intervention, the potential function becomes
and the new stationary distribution adjusts accordingly.
Remark (Additive intervention is not always stable) In the discrete-time setting (see Section 7.4.1), additive interventions preserved system stability regardless of the magnitude of . This is no longer guaranteed in the continuous-time case. Specifically, the existence of a stationary distribution requires that grow faster than logarithmically as . Adding a linear term may violate this condition. For instance, if , an additive intervention with not only fails to satisfy the condition, but also pushes the probability mass indefinitely toward larger values of . A sufficient condition for an additive intervention to preserve stability is that grows faster than linearly at the tails.
Similarly, the forcing intervention transforms into
Without loss of generality, and by ignoring the constant term , we can write
Note that for large values of , the rightmost term in the numerator becomes dominant, making the distribution increasingly similar to a Gaussian distribution with variance . In particular, as , the distribution approaches the Dirac delta function , making forcing intervention equivalent to the operation .
n-dimensional case Consider the SDE
Here, is a vector field, and we need to determine whether it admits a potential function V. For this to be true, assuming V is sufficiently regular, the mixed partial derivatives of V must be equal, that is,
This condition is equivalent to requiring that is an irrotational vector field. Formally, this means that the following must hold:
This requirement is quite restrictive. To see this, consider the linear case
In this case, Eq. (8.29) becomes the condition ; in other words, the evolution matrix must be symmetric. While this condition is reasonable in physical systems, as a consequence of Newton's third law , it is incompatible with the framework of causality, which seeks to investigate asymmetries in interactions between objects. For this reason, a direct application of the Langevin equation is not satisfactory. We need to follow a different approach.
Acyclic n-dimensional case Starting from Eq. (8.28), let us restrict ourselves to the case where the causal graph is acyclic. In other words, the Jacobian matrix of is always lower triangular (not strict). In this setting, we can apply the results from Section 8.4 one variable at a time, following the causal hierarchy, i.e., moving from causes to effects. The system of equations then takes the form
We proceed as follows:
-
We begin by finding the distribution , using the fact that the first equation is a one-dimensional SDE, as described in Section 8.4.
-
Extending to , we study its evolution by fixing . In this way, the second equation also becomes a one-dimensional SDE, and we obtain the limit distribution . We note that this is exactly the conditional distribution of given : .
-
Proceeding in the same way, for each we compute the conditional probability .
8 For every action (force) in nature, there is an equal and opposite reaction. If object A exerts a force on object B, then object B exerts an equal and opposite force on object A.
- Once the conditional distribution for given all the previous variables is computed, we can reconstruct the entire joint distribution. Moreover, we have the canonical factorization (Eq. (2.2))
- Knowing the form of each individual term in the factorization, we can explicitly express as
where is the potential associated with and is the joint product of the partition functions at each step of the pipeline.
We observe in point (5) that keeps its original structure, that is, it remains a Gibbs distribution, with .
Remark The procedure followed is based on the principle of modularity of causal mechanisms: an intervention on a variable modifies only the mechanism that determines it, leaving all others unchanged. Concerning the canonical factorization, this principle corresponds to the independence between conditional probabilities. When intervening on , the only term that changes is . In this context, the acyclicity of the causal graph plays a fundamental role. Without this assumption, we would not be able to write as a product of independent components. As a result, estimating causal effects in the cyclic case becomes less straightforward.
Every intervention is identifiable We have seen that the interventions considered add an extra term to the original potential, which in both cases is a function only of the variable that has been intervened on. Specifically, for the additive intervention (Eq. (8.25)) we obtain a linear term , and for the forcing intervention (Eq. (8.26)) a quadratic term .
It is useful to notice that such terms can only arise from modifying the corresponding function , and not the others, assuming sufficient regularity of . In fact, by the integral definition of , this function cannot contain terms that do not depend in some way on .
To see this, assume that
From the definition of (Eq. (8.24)) as a definite integral from 0 to , we have
since does not depend on . Therefore, appears only as an integration constant in . In particular, since is computed as a definite integral, the contribution of is cancelled out, as it does not depend on the integration limits. Therefore, every intervention considered leads to the addition of a term in the final potential that depends only on the variable that was modified. As a result, the presence of such a term uniquely identifies which intervention was applied to the system.
8.5 Connection with Discrete-Time Models
In this section, we discuss the theoretical bridges between the discrete-time framework presented in Chapter 7 and the continuous-time framework explored in this chapter. Specifically, by making the connection between SdEs and SDEs explicit, the goal is to enable the transfer of results obtained in one framework to the other, and vice versa. As shown in Table 8.1, we aim to focus on two specific cases for applying this transfer: extending the continuous-time framework to linear systems with loops, and extending the discrete-time framework to the nonlinear acyclic case. At present, we are not yet able to handle nonlinear systems with loops in either framework.
| Framework | Linear Acyclic | Linear with Loops | Nonlinear Acyclic |
|---|---|---|---|
| Discrete Time | √7.4.2 | √7.4.2 | ↑ |
| Continuous Time | √8.4 | ↓ | √8.4 |
Table 8.1: Solved Cases. Summary of solved cases and directions of result transferability between discrete- and continuous-time frameworks. The arrows indicate results that are expected to transfer but remain to be formally established.
8.5.1 From SDEs to VARs
We begin by showing how a linear SDE can be associated with a VAR(1). Consider the linear SDE
where A is the drift matrix and D is the diffusion matrix. The explicit solution is:
While the second term is a stochastic integral, its covariance can be written as a deterministic integral:
Since the integrand is deterministic, is a multivariate Gaussian process. Hence, it is fully characterized by its mean, i.e., , and the covariance above. By evaluating the solution at discrete time steps , we obtain a VAR(1) model of the form:
where
With this equivalence in hand, we can generalize Theorem 3 to define a mapping between SDEs and SCMs. Formally, we define this mapping as the composition of the map from SDE to VAR and the map from VAR to SCM, as illustrated in Fig. 8.4.
Composition: SDE SCM

Figure 8.4: SDEs to SCMs. Graphical summary of the mapping: the SDE is first discretized into a VAR model, and then equilibrated to yield an SCM. The composition of these two steps defines a mapping from continuous-time stochastic dynamics to a causal model.
Theorem 8 Consider an SDE as in Eq. (8.32). Then, there exists a linear SCM of the form
for which the properties stated in Theorem 3 hold. In particular, note that can be chosen arbitrarily: the result can be interpreted as the existence of a family of equivalent SCMs, each derived from a discrete-time system with a different time step.
Remark The equivalence between the continuous-time and discrete-time models should not be interpreted in a strong (i.e., pathwise) sense. Brownian motion cannot, in any meaningful way, be reduced to the sampling of a random variable, regardless of how small is chosen. In other words, from a pathwise perspective, the SDE is significantly more expressive than the corresponding VAR model: for each trajectory of the discrete model, there exist infinitely many continuous-time trajectories that share only the initial state and the terminal state . However, this discrepancy disappears when viewed from a distributional standpoint. The probability distributions observed at any given time are identical across the two models. One may interpret the continuous-time model as the underlying physical process and the discrete-time model as a sampled representation of it, much like a video recording of a real-world scene. The continuous model flows uninterrupted, while the discrete model offers a frame-by-frame reconstruction. The finite frame rate of the video corresponds to the time discretization through : smooth motion becomes a sequence of snapshots. Although this approximation captures the overall behavior, it inevitably omits the infinitesimal fluctuations that occur between frames. Nonetheless, once the system reaches its stationary distribution, both perspectives agree not only that the system has stabilized, but also on its equilibrium state. This alignment justifies the possibility of mapping both descriptions into the same SCM.
8.5.2 From SdEs to SDEs
Approximate Solutions It is not always possible to discretize a SDE in such a way that the resulting difference equation exactly follows the original trajectory — that is, so that the two models agree perfectly on the position of at all discrete times. In particular, for nonlinear SDEs, this exact correspondence generally does not exist. However, it is possible to implement numerical simulation schemes that guarantee bounds on the error (for example, in terms of the norm of the difference between expected values), with the error controlled by the choice of the timestep . In other words, the finer the discretization, the closer the discrete model will reproduce trajectories similar to those of the continuous model. Here, we present the simplest scheme and summarize its main properties.
Definition 26 (Euler-Maruyama Scheme) Consider an SDE of the form
where and are sufficiently regular functions, and is an n-dimensional standard Brownian motion.
The Euler-Maruyama discretization with timestep is defined recursively by
where approximates with , and the increments are independent Gaussian random variables with distribution .
Remark 11 The equation obtained by applying the Euler–Maruyama scheme can be adapted to match the standard form of the difference equation presented in Eq. (7.5), namely:
To achieve this, it suffices to define
It should be noted that the diffusion term is multiplied by as a consequence of Itô’s formula, and specifically due to the equivalence . Furthermore, the final difference equation absorbs the terms dependent on into the functions and , eliminating any explicit reference to the time scale chosen for the system’s evolution.
In order to formally quantify how a discrete-time model approximates its continuous-time counterpart, it is necessary to introduce a notion of convergence that captures, in a precise sense, the similarity between the two processes. To this end, we introduce the definition of strong convergence between DSPs.
Definition 27 (Strong Convergence of Stochastic Processes) Let X be a DSP and let be a sequence of DSP, all defined on the same space X and over the same time interval . We say that converges strongly to X if, for every , it holds that
Moreover, we say that converges with strong order if there exist a constant such that
In the case of interest, the sequence of stochastic processes represents progressively finer discretizations, corresponding to decreasing values of the timestep parameter . For simplicity, we will denote by the stochastic process obtained through discretization with a fixed timestep .
It is important to note that the definition of strong convergence introduced above concerns processes defined in continuous time. Therefore, before being able to study the convergence of the discrete-time Euler–Maruyama scheme, we must extend the resulting process to the entire interval in a suitable manner. We define the continuous-time extension of the discrete process in Eq. (8.35) as an Itô process with piecewise constant drift and diffusion coefficients. Specifically, for , where , we define
Theorem 9 (Strong Convergence of the Euler–Maruyama Scheme) Consider a SDE satisfying global Lipschitz conditions; that is, there exists a constant C > 0 such that
Then, the process , the continuous Itô process obtained by discretizing the original SDE with timestep , converges to the solution of the SDE with strong order 1/2. Formally,
where is a constant independent of k.
Remark 12 The theorem above can be interpreted both as a convergence result and as a bound on the maximal error given a fixed timestep . Specifically, since the causal effect CE is defined in terms of the expected value of , this bound can be used to estimate, up to an error of order , the long-term causal effect of a nonlinear discrete-time stochastic process. Of course, this is only a preliminary result: it does not guarantee the existence of an explicit associated SCM for the process, nor does it ensure the ability to identify the invariant distribution explicitly.
It is also important to note that the bound characterizes the observational process specifically. In practice, the study of real-world dynamical systems almost always relies on data collected at discrete time intervals, i.e., time series. In other words, the theorem provides a principled estimate of how the sampling rate might affect the quality of the reconstructed description of the true underlying system. If, however, the available data allow us to empirically establish a tighter error bound, introducing a new constant , for instance through the evaluation of predictive performance over future observations, then we can achieve much finer control over the expected error when making causal claims about interventions.
As an additional observation, additive interventions do not affect the Lipschitz constant of the drift term . As a consequence, we expect that the expected error bound remains unchanged when moving from the observational to the interventional level.
Chapter 9
Final Discussion
This chapter summarizes how the contributions presented throughout the thesis address the research questions formulated in Section 1.2, organizing the discussion around the two main lines of investigation explored. Specifically, Section 9.1 focuses on AR and its limitations, while Section 9.2 explores the extension of causal inference to systems that evolve over time. For each part, we review how the corresponding research questions have been answered, highlight key limitations, and outline promising directions for future research.
9.1 Algorithmic Recourse
This part of the thesis examined the limitations of existing approaches to AR, identifying the formulation of the cost function as a central theoretical challenge. In the absence of contextual information, standard methods often rely on default cost metrics, typically some form of distance in the instance space, which are chosen arbitrarily and may not reflect user preferences. We propose an alternative approach that leverages contextual knowledge to generate more realistic and user-relevant recommendations.
9.1.1 Response to the Research Question
RQ1 concerns whether principled frameworks for AR can be developed to generate actionable and realistic recommendations. This question has been addressed from multiple perspectives. First, we explored how user-specific contextual knowledge can be integrated into the recommendation process (Chapter 4). Second, we examined how incorporating causal structure can guide the design of more meaningful cost functions. In this context, we distinguished between CEx and CRe: while the former, a more common and simpler approach, identifies the optimal counterfactual instance, the latter goes further by specifying a sequence of actionable changes needed to reach that instance (Chapter 3). Additionally, we studied how introducing a temporal dimension transforms the recourse framework, advancing toward more realistic and constrained recommendations (Chapter 5).
9.1 ALGORITHMIC RECOURSE
149
9.1.2 Limitations
Chapter 4 assumes that users can effectively manage the optimization process. However, this assumption may break down in high-dimensional or non-monotonic settings, where navigating the decision boundary becomes cognitively demanding. While involving the user avoids overly prescriptive cost modeling, it does not eliminate the issue of plausibility: users may encounter suggestions that are unrealistic, inconsistent, or internally incoherent. The lack of plausibility checks or statistical constraints can lead to counterfactuals that are technically valid but practically meaningless. Moreover, as the number of actionable features increases, so does the user's cognitive burden. Prioritizing the most influential variables or suggesting promising directions could help mitigate this challenge. Lastly, counterfactual recommendations can be subject to manipulation or ethical concerns, underlining the importance of responsible design in recourse systems.
Chapter 5 assumes full knowledge of the underlying causal structure, which may not hold in practical applications where causal graphs must be inferred from data. Furthermore, the proposed temporal extension remains preliminary, currently limited to the inclusion of an additional term in the cost function. Using waiting times along the causal graph provides a highly specific and simplified way to model system evolution, which may fall short in capturing more complex temporal dynamics. In this regard, the framework presented in Part III offers a promising foundation for future development. Determining appropriate waiting times, however, remains a significant challenge. In this work, these values were assigned manually based on general plausibility, without a rigorous theoretical or empirical basis. Future research should investigate methods for estimating these values automatically, potentially by leveraging datasets with explicit temporal structures, such as time series. Alternatively, these values could be selected directly by the user when interacting with the recommendation tool, allowing the temporal cost to be tailored to the individual and adapted to the specific context.
9.1.3 Future Work
Regarding Chapter 4, a key direction for future research is to develop a statistical protocol that actively learns the cost function from user interaction. While such a model would not fully capture individual-level variation, due to the inherently subjective nature of preferences, it could still provide an “average” approximation. This could serve as a preliminary tool for generating reasonable recommendations, which users may then tailor to their specific needs.
For Chapter 5, future research could aim to relax the assumption of full causal knowledge by incorporating causal discovery methods. Furthermore, the potential applications in fairness and actionability could be empirically validated, also within the more advanced framework proposed in Part III.
9.2 CAUSAL INFERENCE OVER TIME
150
9.2 Causal Inference over Time
This part of the thesis extended causal reasoning to dynamical systems, investigating how interventions and causal inference can be modeled in settings where variables evolve over time. By linking the equilibrium behavior of dynamical systems to SCMs, the proposed framework allowed causal questions to be formulated and answered in the presence of temporal dependencies.
9.2.1 Response to the Research Question
RQ2 asks whether causal inference methods can be extended to dynamical systems in order to model the effects of interventions over time and support recommendations that are consistent across time. This question was addressed in Chapter 7 by developing a framework that maps discrete-time dynamical systems to equivalent SCMs, under stability assumptions. It was shown that, under appropriate conditions, interventions defined at the dynamical level correspond to interventions at the SCM level, making it possible to compute long-term causal effects even in evolving systems.
In Chapter 8, the framework was extended to continuous-time models with non-linear dependencies, using Itô stochastic integration theory. Finally, the relationship between the discrete-time and continuous-time frameworks was examined, showing how, and under which conditions, results can be transferred between the two.
9.2.2 Limitations
Both frameworks assume knowledge of the system’s causal structure, with the exception of cases where this assumption can be weakened to require only causal sufficiency. They also rely on specific structural assumptions about the evolution equations, e.g., stochastic noise is always treated additively. The systems considered are assumed to be stable, meaning they do not exhibit long-term trends. While extending the analysis to systems with trends appears feasible based on existing work, the equivalence results with SCMs would no longer apply.
Moreover, the current frameworks do not account for time-varying interventions or those confined to a specific period, e.g., a public policy designed to last three years, or one that adapts annually in response to observed outcomes.
Finally, the case of non-linear systems with feedback loops remains unexplored and represents the most significant open challenge. Given the generality of such systems, extending the framework in this direction would mark a major milestone in the development of this line of research.
9.2 CAUSAL INFERENCE OVER TIME
151
9.2.3 Future Work
So far, the proposed framework has been validated only in the discrete-time case, with experiments on both synthetic and real-world datasets. A similar empirical evaluation is needed for the continuous-time extension, ideally through a specific work with a stronger focus on real-world applicability.
From a theoretical perspective, addressing the non-linear case with feedback loops remains the main priority, along with formalizing precisely how results transfer between the discrete and continuous-time settings. The long-term goal is to develop a unified and general framework that can accommodate all these specific cases.
Regarding the assumption of known causal structure, integrating causal discovery algorithms into the modeling pipeline could be a valuable first step toward a more complete framework. However, as discussed in Chapter 2, this approach has inherent limitations, both in terms of required assumptions and the robustness of the resulting models.
In the author’s view, constructing realistic causal models requires a hybrid approach to structure identification, one that combines automatic procedures with traditional mathematical modeling. Statistical methods can meaningfully support scientific inquiry, but they are not a substitute for human-led research. In this spirit, it is important to develop mechanisms for knowledge injection, allowing researchers to embed domain-specific expertise of each particular application directly into the models.
List of Figures
Figure 2.1 The Causal Inference Pipeline: From Observational data to Interventions and Counterfactual reasoning 8
Figure 2.2 Violation of Faithfulness. A simple DAG. When , the causal effects from to cancel out, leading to a violation of Faithfulness. 19
Figure 2.3 Partially Observed Causal Graph. Observed variables are influenced by latent variables . Causal Sufficiency does not hold. 21
Figure 2.4 Effect of a Do-Intervention on the Causal Graph. The intervention removes all incoming arrows to . 23
Figure 2.5 Extension of a Causal Graph. The original graph G is extended by explicitly including exogenous noise variables , each influencing its corresponding endogenous variable . 25
Figure 3.1 Independent Features. The simplest non-trivial causal model relevant to the problem of Algorithmic Recourse: the features are independent of one another, and each contributes individually to the final outcome. 33
Figure 3.2 Causal vs non-Causal AR. (Left) Classic Algorithmic Recourse setting. (Right) Causal Algorithmic Recourse setting, where variables can have dependencies. 37
Figure 3.3 CEx vs CRe. Illustration of the difference between CEx and CRe. While CEx suggests reaching the nearest refuge in a straight line, ignoring obstacles or terrain, CRe leverages additional structural information (the topographic map) to recommend the fastest feasible route, even if it leads to a different refuge. This example highlights how incorporating knowledge of system structure enables more effective and realistic recommendations. 39
Figure 4.1 Workflow of Feature Space Navigator. 43
Figure 4.2 The Space of Changes. Example of allowed movements through the sliders. 50
Figure 4.3 Statlog Scenario. 54
Figure 4.4 Wine Scenario. 56
Figure 5.1 Simple Causal Graph. A causal graph representing the relationship between college education, individual skills, and job salary. 60
Figure 5.2 Causal Graph vs Time Weighted Causal Graph. (Left) An example of a causal graph. (Right) A possible way to incorporate time information over the causal graph. A wavy edge weight is meant to represent time between intervention over node i and the observed effect on node j. 61
Figure 5.3 Time Awareness Scenarios for Fair Recommendations. Possible scenarios where the time cost matters from a fairness perspective. (a) An example of how similar feature costs can result in significantly different temporal costs. (b) An example of time being considered as a resource whose value varies based on individual characteristics. 64
Figure 5.4 Actionability as Time Constraint. (Left) As decreases, the graph undergoes a pruning process that reduces the number of actionable variables. For example, only C and D will be actionable if the user specifies a maximum time of 2 years for the request. (Right) A real-life application is one where an individual has finite time available. 65
Figure 5.5 German Credit Causal Graph. The assumed causal graph for the German Credit dataset. Nodes are labeled with the initials of their corresponding variables, namely Gender, Education, Age, Job, Loan Amount, Loan Duration, Income and Saving. The node Y denotes the Credit Score. 66
Figure 5.6 Actionable Weighted Causal Graph. German Credit actionable causal graph where the edge labels represent the response times for parent-child relationships. 67
Figure 5.7 Impact of Distribution Scale on Costs. An example demonstrating how the scale of distributions can lead to variations in intervention costs. 69
Figure 5.8 Observational vs. Interventional Distributions. Pair plot illustrating observational and interventional distributions for the German Credit dataset. The results show that intervening on Education yields a stronger impact on improving the outcome of Y compared to Income, as highlighted in the bottom-right subplot. 70
Figure 7.1 RdE Equilibration. Illustration of the relationship between RdEs & SCMs and the effect of causal interventions on them. Applying equilibration (here denoted by ) before or after intervention does not change the final resulting distribution , i.e., the diagram commutes. For SdEs, when variables are localized in times, commutation is not preserved, that is . 90
Figure 7.2 -transformation. -transformation transfers causal information from the temporal to the cross-sectional dimension, and thus to the joint distribution . The diagram commutes, i.e., red and blue paths produce the same result. 94
Figure 7.3 Inverted Pendulum. (Left) A simple model that lacks interventional stability: functions as a stabilizer for , which exhibits a divergent dynamic. Intervening on disrupts the negative feedback loop, making the system unstable. (Right) A concrete example of the model from control theory, the inverted pendulum: is the position of the cart, while is the angle ; fixing the cart makes the system unstable, i.e., the pendulum falls. As a practical example, consider optimal control applications to nuclear reactors management (Edwards, Lee, and Ray, 1992). 98
Figure 7.4 Causal graphs. The causal graph for (a) and (b) is known, while for (c), it is assumed. In (b), nodes are labeled with the initials of each feature: Expertise, Responsibility, Loan Amount, Duration, Income, Savings, and Credit Score. In (c), 0 – 14, 15 – 64, and 65 – 99 represent age groups. 107
Figure 7.5 Additive Intervention. (Left) Intervention on Expertise with . (Right) Effect on Credit Score. Shaded regions denote 95% confidence bounds. 110
Figure 7.6 Forcing Intervention. (Left) Intervention on Expertise with and target . (Right) Effect on Credit Score. Confidence bounds are narrower compared to Fig. 7.5. 110
Figure 7.7
Additive Interventions. (a) Intervention on Responsibility with and the resulting effect on: (b) Loan Duration and (c) Income. (e) Intervention on Loan Amount with and the resulting effect on: (f) Loan Duration and (g) Income. In (d) and (h), the deep orange node represents the intervened variable, while the lighter orange nodes are those influenced by the intervention. In all plots, shaded regions denote 95% confidence bounds. 115
Figure 7.8
Forcing Interventions. (a) Intervention on Income with and target value . The resulting effect on (b) Savings and (c) Credit Score. (e) Intervention on Loan Duration with and target value . (b) Intervention on Income with and target value . (g) Effect of interventions in (e-f) on Credit Score. In (d) and (h), the deep orange node represents the intervened variable, while the lighter orange nodes are those influenced by the intervention. In all plots, shaded regions denote 95% confidence bounds. 116
Figure 7.9
Retrospective Counterfactuals. Panels (a-d) focus on the German dataset. (a) Intervention on Expertise with . Effect of the intervention on (b) Responsibility and (c) Loan Amount. Panels (e-h) examine the Census dataset with an intervention on Births with . Effect of the intervention on the population's average age of (e) Germany, (f) Spain, and (g) Singapore. In (d) and (h), the deep purple node represents the intervened variable, while the lighter purple nodes are those influenced by the intervention. 119
Figure 7.10
German. Effect of increasing Expertise on Credit Score. (Left) The time each loan applicant takes to cross or not the acceptance threshold. The histogram shows the distribution of crossing times. (Right) Comparison of two loan applicants, i.e., trajectories, with similar scores at intervention time. Forecasts are dashed for observational and dotted for interventional. 120
Figure 7.11
Census. Additive intervention across all countries. (Left) Intervention on Births with and its effect on the population's average age. (Right) Intervention on Migration with and its effect on Births. 120
Figure 8.1 Logistic Equation. Representation of the evolution of a SP driven by the logistic equation. The initial distribution has a uniform density between 0.1 and 0.6. A particular solution of this equation is the sigmoid function (darker blue line), obtained by setting . 124
Figure 8.2 Random Logistic Equation. Evolution of the SP driven by Eq. (8.4), with and . Note that, assuming and are independent of each other, converges to . 125
Figure 8.3 Brownian Motion. Depiction of a standard BM over the time interval [0,1]. The black line represents a single trajectory. The distribution of the process at the final time follows a (standard normal) distribution, as illustrated by the histogram on the right. 127
Figure 8.4 SDEs to SCMs. Graphical summary of the mapping: the SDE is first discretized into a VAR model, and then equilibrated to yield an SCM. The composition of these two steps defines a mapping from continuous-time stochastic dynamics to a causal model. 143
List of Tables
Table 2.1 The Ladder of Causality. The Ladder of Causality for the static-bivariate case. 9
Table 2.2 Cause-Effect Pairs. Whenever the presence of a confounder is ruled out, the intervention makes it possible to distinguish which case the system belongs to by comparing the interventional distribution with the observational one. 11
Table 5.1 Causal Effect Derivative. Comparison between the estimated CED of the SCM used in (Karimi et al., 2020c) and the ones we proposed. Non-actionable variables are in red. Best-estimated actionable values are in bold. 69
Table 7.1 Observational Forecasting. MAE scores (lower is better) for VAR, DLinear (Zeng et al., 2023), TiDE (Das et al., 2023) and TSMixer (Chen et al., 2023). Results averaged over 10 runs. Best model in bold, Oracle in typewriter. For Census, size equals the number of countries times the number of years. 109
Table 7.2 Interventional Forecasting. MAE scores (lower is better) for the proposed causal VAR framework on the German dataset. Results averaged over 10 runs, with standard deviation in subscript. Scores are scaled by a factor of to ease readability. 110
Table 7.3 Observational forecasting. MAE scores in Table 7.1. Here, we also report the standard deviation in subscript. 113
Table 7.4 Observational forecasting. RMSE and SMAPE scores (lower is better) for VAR, DLinear (Zeng et al., 2023), TiDE (Das et al., 2023) and TSMixer (Chen et al., 2023), benchmarked against the oracle forecaster. Results averaged over ten runs, with standard deviation in subscript. 114
Table 7.5 Observational forecasting. RMSE and SMAPE scores (lower is better) for VAR, DLinear, TiDE and TSMixer on the Census dataset. 114
LIST OF TABLES
158
Table 7.6 Interventional Forecasting. RMSE and SMAPE scores (lower is better) for the proposed causal VAR framework on German and Inverted Pendulum datasets. RMSE scores are scaled by a factor of to ease readability. Results averaged over ten runs, with standard deviation in subscript. 117
Table 7.7 Interventional Forecasting. MAE scores (lower is better) for the proposed causal VAR on the Pendulum dataset. Results averaged over 10 runs, with standard deviation in subscript. Scores are scaled by a factor of to ease readability. 117
Table 8.1 Solved Cases. Summary of solved cases and directions of result transferability between discrete- and continuous-time frameworks. The arrows indicate results that are expected to transfer but remain to be formally established. 142
Bibliography
Abdul, Ashraf M., Jo Vermeulen, Danding Wang, Brian Y. Lim, and Mohan S. Kankanhalli (2018). “Trends and Trajectories for Explainable, Accountable and Intelligible Systems: An HCI Research Agenda.” In: Proceedings of the 2018 CHI Conference on Human Factors in Computing Systems, CHI 2018, Montreal, QC, Canada, April 21-26, 2018. Ed. by Regan L. Mandryk, Mark Hancock, Mark Perry, and Anna L. Cox. ACM, p. 582. DOI: 10.1145/3173574.3174156. URL: https://doi.org/10.1145/3173574.3174156.
Aeberhard, Stefan and M. Forina (1991). Wine. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5PC7J.
Aliee, Hananeh, Fabian J. Theis, and Niki Kilbertus (2021). “Beyond Predictions in Neural ODEs: Identification and Interventions.” In: CoRR abs/2106.12430.
Amershi, Saleema, Maya Cakmak, William Bradley Knox, and Todd Kulesza (2014). “Power to the people: The role of humans in interactive machine learning.” In: Ai Magazine 35.4, pp. 105–120. DOI: 10.1609/aimag.v35i4.2513. URL: https://doi.org/10.1609/aimag.v35i4.2513.
Anderson, C. (2008). “The end of the theory: the Data Deluge Makes the Scientific Method Obsolete.” In: Wired.
Anderson, TW (1994). “The Statistical Analysis of Time Series.” In: Wiley Series in Probability and Statistics.
Arnold, Ludwig, Christopher KRT Jones, Konstantin Mischaikow, Geneviève Raugel, and Ludwig Arnold (1995). Random dynamical systems. Springer.
Bareinboim, Elias, Juan D Correa, Duligur Ibeling, and Thomas Icard (2022). "On pearl's hierarchy and the foundations of causal inference." In: Probabilistic and Causal Inference: The Works of Judea Pearl. 1st ed. Vol. 36. ACM Books. New York, NY, USA: Association for Computing Machinery, pp. 507–556. ISBN: 9781450395861.
Barocas, Solon, Andrew D Selbst, and Manish Raghavan (2020). “The hidden assumptions behind counterfactual explanations and principal reasons.” In: Proceedings of the 2020 Conference on Fairness, Accountability, and Transparency. ACM, pp. 80–89.
Belke, Ansgar and Thorsten Polleit (2007). “How the ECB and the US Fed set interest rates.” In: Applied Economics 39.17, pp. 2197–2209.
Beretta, Isacco, Eleonora Cappuccio, and Marta Marchiori Manerba (2023). "User-Driven Counterfactual Generator: A Human Centered Exploration." In: Joint Proceedings of the xAI-2023 Late-breaking Work, Demos and Doctoral Consortium co-located with the 1st World Conference on eXplainable Artificial Intelligence (xAI-2023), Lisbon, Portugal, July 26-28, 2023. Ed. by Luca Longo. Vol. 3554. CEUR Workshop Proceedings. CEUR-WS.org, pp. 83–88. URL: https://ceur-ws.org/Vol-3554/paper15.pdf.
Beretta, Isacco and Martina Cinquini (2023). “The Importance of Time in Causal Algorithmic Recourse.” In: Explainable Artificial Intelligence - First World Conference, xAI 2023, Lisbon, Portugal, July 26-28, 2023, Proceedings, Part I. Ed. by Luca Longo. Vol. 1901. Communications in Computer and Information Science. Springer, pp. 283–298. DOI: 10.1007/978-3-031-44064-9_16.
Beretta, Isacco, Martina Cinquini, and Isabel Valera (2024). “Enhancing Fairness Through Time-aware Recourse: a Pathway to Realistic Algorithmic Recommendations.” In: Proceedings of the 3rd European Workshop on Algorithmic Fairness. CEUR Workshop Proceedings. URL: http://ceur-ws.org/Vol-3908/#paper_10.
Berglund, Nils (2021). “Long-time dynamics of stochastic differential equations.” In: arXiv preprint arXiv:2106.12998.
Bhattacharya, Rabi and Mukul Majumdar (2003). “Random dynamical systems: a review.” In: Economic Theory 23, pp. 13–38.
Biecek, Przemysław and Tomasz Burzykowski (2021). Explanatory Model Analysis. Chapman and Hall/CRC, New York. ISBN: 9780367135591. URL: https://pbiecek.github.io/ema/.
Bodria, Francesco, Riccardo Guidotti, Fosca Giannotti, and Dino Pedreschi (2022a). “Transparent Latent Space Counterfactual Explanations for Tabular Data.” In: 9th IEEE International Conference on Data Science and Advanced Analytics, DSAA 2022, Shenzhen, China, October 13-16, 2022. Ed. by Joshua Zhexue Huang, Yi Pan, Barbara Hammer, Muhammad Khurram Khan, Xing Xie, Laizhong Cui, and Yulin He. IEEE, pp. 1–10. DOI: 10.1109/DSAA54385.2022.10032407. URL: https://doi.org/10.1109/DSAA54385.2022.10032407.
Bodria, Francesco, Salvatore Rinzivillo, Daniele Fadda, Riccardo Guidotti, Fosca Giannotti, and Dino Pedreschi (2022b). “Explaining Black Box with Visual Exploration of Latent Space.” In: 24th Eurographics Conference on Visualization, EuroVis 2022 - Short Papers, Rome, Italy, June 13-17, 2022. Ed. by Marco Agus, Wolfgang Aigner, and Thomas Höllt. Eurographics Association, pp. 85–89. DOI: 10.2312/EVS.20221098. URL: https://doi.org/10.2312/evs.20221098.
Bongers, Stephan, Tineke Blom, and Joris M Mooij (2018). “Causal modeling of dynamical systems.” In: arXiv preprint arXiv:1803.08784.
Bongers, Stephan, Patrick Forré, Jonas Peters, and Joris M Mooij (2021). "Foundations of structural causal models with cycles and latent variables." In: The Annals of Statistics 49.5, pp. 2885–2915.
Bongers, Stephan, Jonas Peters, Bernhard Schölkopf, and Joris M. Mooij (2016). “Structural Causal Models: Cycles, Marginalizations, Exogenous Reparametrizations and Reductions.” In: CoRR abs/1611.06221.
Byrne, Ruth M. J. (2019). “Counterfactuals in Explainable Artificial Intelligence (XAI): Evidence from Human Reasoning.” In: IJCAI. ijcai.org, pp. 6276–6282.
Cappuccio, Eleonora, Isacco Beretta, Marta Marchiori Manerba, and Salvatore Rinzivillo (2024). “An Interactive Interface for Feature Space Navigation.”
In: HHAI 2024: Hybrid Human AI Systems for the Social Good. IOS Press, pp. 73–83.
Chen, Si-An, Chun-Liang Li, Sercan Ö. Arik, Nathanael C. Yoder, and Tomas Pfister (2023). “TSMixer: An All-MLP Architecture for Time Series Forecasting.” In: Trans. Mach. Learn. Res. 2023.
Cheng, Furui, Yao Ming, and Huamin Qu (2021). “DECE: Decision Explorer with Counterfactual Explanations for Machine Learning Models.” In: IEEE Trans. Vis. Comput. Graph. 27.2, pp. 1438–1447. DOI: 10.1109/TVCG.2020.3030342. URL: https://doi.org/10.1109/TVCG.2020.3030342.
Chickering, David Maxwell (2002). “Optimal structure identification with greedy search.” In: Journal of machine learning research 3.Nov, pp. 507–554.
Chromik, Michael and Martin Schuessler (2020). “A Taxonomy for Human Subject Evaluation of Black-Box Explanations in XAI.” In: Exss-atec@ iui 94.
Cinquini, Martina, Isacco Beretta, Salvatore Ruggieri, and Isabel Valera (2025). "A Practical Approach to Causal Inference over Time." In: AAAI-25, Sponsored by the Association for the Advancement of Artificial Intelligence, February 25 - March 4, 2025, Philadelphia, PA, USA. Ed. by Toby Walsh, Julie Shah, and Zico Kolter. AAAI Press, pp. 14832–14839. DOI: 10.1609/AAAI.V39I14.33626. URL: https://doi.org/10.1609/aaai.v39i14.33626.
Colombo, Diego, Marloes H Maathuis, et al. (2014). “Order-independent constraint-based causal structure learning.” In: J. Mach. Learn. Res. 15.1, pp. 3741–3782.
Commenges, Daniel and Anne Gégout-Petit (2009). “A general dynamical statistical model with causal interpretation.” In: Journal of the Royal Statistical Society Series B: Statistical Methodology 71.3, pp. 719–736.
Comte, F and Eric Renault (1996). “Noncausality in Continuous Time Models.” In: Econometric Theory 12.2, pp. 215–256.
Das, Abhimanyu, Weihao Kong, Andrew Leach, Shaan Mathur, Rajat Sen, and Rose Yu (2023). “Long-term Forecasting with TiDE: Time-series Dense Encoder.” In: Trans. Mach. Learn. Res. 2023.
Dash, Denver (2003). “Caveats for Causal Reasoning with Equilibrium Models.” In: Proceedings of the 9th International Workshop on Artificial Intelligence and Statistics.
– (2005). “Restructuring Dynamic Causal Systems in Equilibrium.” In: AIS-TATS. Society for Artificial Intelligence and Statistics, pp. 81–88.
Deaton, Angus (1985). “Panel data from time series of cross-sections.” In: Journal of econometrics 30.1-2, pp. 109–126.
Edwards, Robert M, Kwang Y Lee, and Asok Ray (1992). “Robust optimal control of nuclear reactors and power plants.” In: Nuclear Technology 98.2, pp. 137–148.
Eichler, Michael (2012a). “Causal inference in time series analysis.” In: Causality: Statistical perspectives and applications, pp. 327–354.
– (2012b). “Graphical modelling of multivariate time series.” In: Probability Theory and Related Fields 153.1, pp. 233–268.
Eichler, Michael (2013). “Causal inference with multiple time series: principles and problems.” In: Philosophical Transactions of the Royal Society A: Mathematical, Physical and Engineering Sciences 371.1997, p. 20110613.
Eichler, Michael and Vanessa Didelez (2010). “On Granger causality and the effect of interventions in time series.” In: Lifetime data analysis 16.1, pp. 3–32.
Geiger, Philipp, Kun Zhang, Bernhard Schölkopf, Mingming Gong, and Dominik Janzing (2015). “Causal Inference by Identification of Vector Autoregressive Processes with Hidden Components.” In: ICML. Vol. 37. JMLR Workshop and Conference Proceedings. JMLR.org, pp. 1917–1925.
Granger, Clive W. J. (Aug. 1969). “Investigating Causal Relations by Econometric Models and Cross-spectral Methods.” In: Econometrica, pp. 424–438. DOI: 10.2307/1912791.
Granger, Clive WJ (2003). “Some aspects of causal relationships.” In: Journal of Econometrics 112.1, pp. 69–69.
Granger, CWJ (1980). “Testing for causality: A personal viewpoint.” In: Journal of Economic Dynamics and Control 2.1, pp. 329–352.
– (1988). “Some recent development in a concept of causality.” In: Journal of Econometrics 39.1-2, pp. 199–211.
Guidotti, Riccardo (2021). “Evaluating local explanation methods on ground truth.” In: Artif. Intell. 291, p. 103428. DOI: 10.1016/j.artint.2020.103428. URL: https://doi.org/10.1016/j.artint.2020.103428.
– (2022). “Counterfactual explanations and how to find them: literature review and benchmarking.” In: Data Mining and Knowledge Discovery, pp. 1–55.
Guidotti, Riccardo, Anna Monreale, Salvatore Ruggieri, Franco Turini, Fosca Giannotti, and Dino Pedreschi (2018). “A survey of methods for explaining black box models.” In: ACM computing surveys (CSUR) 51.5, pp. 1–42.
Gunning, David and David Aha (2019). “DARPA’s explainable artificial intelligence (XAI) program.” In: AI magazine 40.2, pp. 44–58.
Hairer, Martin (2010). “Convergence of Markov processes.” In.
Halpern, Joseph Y. (2016). Actual Causality. Cambridge, MA: MIT Press.
Hamilton, James Douglas (1994). Time Series Analysis. Princeton University Press.
Herzen, Julien, Francesco Lässig, Samuele Giuliano Piazzetta, Thomas Neuer, Léo Tafti, Guillaume Raille, Tomas Van Pottelbergh, Marek Pasieka, Andrzej Skrodzki, Nicolas Huguenin, et al. (2022). “Darts: User-friendly modern machine learning for time series.” In: Journal of Machine Learning Research 23.124, pp. 1–6.
Hildebrand, Francis Begnaud (1987). Introduction to numerical analysis. Courier Corporation.
Hofmann, Hans (1994). Statlog (German Credit Data). UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5NC77.
Holland, Paul W (1986). “Statistics and causal inference.” In: Journal of the American Statistical Association 81.396, pp. 945–960.
Hyvärinen, Aapo, Kun Zhang, Shohei Shimizu, and Patrik O. Hoyer (2010). “Estimation of a Structural Vector Autoregression Model Using Non-Gaussianity.” In: J. Mach. Learn. Res. 11, pp. 1709–1731.
Janzing, Dominik, Paul Rubenstein, and Bernhard Schölkopf (2018). “Structural causal models for macro-variables in time-series.” In: arXiv preprint arXiv:1804.03911.
Janzing, Dominik and Bernhard Schölkopf (2008). “Causal Inference Using the Algorithmic Markov Condition.” In: IEEE Transactions on Information Theory 56, pp. 5168–5194.
Jia, Yunzhe, James Bailey, Kotagiri Ramamohanarao, Christopher Leckie, and Michael E. Houle (2019). “Improving the Quality of Explanations with Local Embedding Perturbations.” In: Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, KDD 2019, Anchorage, AK, USA, August 4-8, 2019. Ed. by Ankur Teredesai, Vipin Kumar, Ying Li, Rómer Rosales, Evimaria Terzi, and George Karypis. ACM, pp. 875–884. DOI: 10.1145/3292500.3330930. URL: https://doi.org/10.1145/3292500.3330930.
Jornet, Marc (2023). “Theory and methods for random differential equations: a survey.” In: SeMA Journal 80.4, pp. 549–579.
Karimi, Amir-Hossein, Gilles Barthe, Borja Balle, and Isabel Valera (2020a). "Model-Agnostic Counterfactual Explanations for Consequential Decisions." In: AISTATS. Vol. 108. Proceedings of Machine Learning Research. PMLR, pp. 895–905.
Karimi, Amir-Hossein, Gilles Barthe, Bernhard Schölkopf, and Isabel Valera (2020b). “A survey of algorithmic recourse: definitions, formulations, solutions, and prospects.” In: arXiv preprint arXiv:2010.04050.
Karimi, Amir-Hossein, Gilles Barthe, Bernhard Schölkopf, and Isabel Valera (2023). “A Survey of Algorithmic Recourse: Contrastive Explanations and Consequential Recommendations.” In: ACM Comput. Surv. 55.5, 95:1–95:29. DOI: 10.1145/3527848. URL: https://doi.org/10.1145/3527848.
Karimi, Amir-Hossein, Bernhard Schölkopf, and Isabel Valera (2021). “Algorithmic Recourse: from Counterfactual Explanations to Interventions.” In: FAccT '21: 2021 ACM Conference on Fairness, Accountability, and Transparency, Virtual Event / Toronto, Canada, March 3-10, 2021. Ed. by Madeleine Clare Elish, William Isaac, and Richard S. Zemel. ACM, pp. 353–362.
Karimi, Amir-Hossein, Julius Von Kügelgen, Bernhard Schölkopf, and Isabel Valera (2020c). “Algorithmic recourse under imperfect causal knowledge: a probabilistic approach.” In: Advances in neural information processing systems 33, pp. 265–277.
Kasirzadeh, Atoosa and Andrew Smart (2021). “The Use and Misuse of Counterfactuals in Ethical Machine Learning.” In: FAccT. ACM, pp. 228–236.
Kelly, Markelle, Rachel Longjohn, and Kolby Nottingham (n.d.). The UCI Machine Learning Repository. https://archive.ics.uci.edu.
Kilian, Lutz and Helmut Lütkepohl (2017). Structural vector autoregressive analysis. Cambridge University Press.
Kingma, Diederik P. and Jimmy Ba (2015). “Adam: A Method for Stochastic Optimization.” In: ICLR (Poster).
Koller, D. and N. Friedman (2009). Probabilistic Graphical Models: Principles and Techniques. Adaptive computation and machine learning. MIT Press.
König, Gunnar, Timo Freiesleben, and Moritz Grosse-Wentrup (2022). “Improvement-Focused Causal Recourse (ICR).” In: CoRR abs/2210.15709.
Koop, Gary, Dimitris Korobilis, et al. (2010). “Bayesian multivariate time series methods for empirical macroeconomics.” In: Foundations and Trends® in Econometrics 3.4, pp. 267–358.
Krause, Josua, Adam Perer, and Kenney Ng (2016). “Interacting with Predictions: Visual Inspection of Black-box Machine Learning Models.” In: Proceedings of the 2016 CHI Conference on Human Factors in Computing Systems, San Jose, CA, USA, May 7-12, 2016. Ed. by Jofish Kaye, Allison Druin, Cliff Lampe, Dan Morris, and Juan Pablo Hourcade. ACM, pp. 5686–5697. DOI: 10.1145/2858036.2858529. URL: https://doi.org/10.1145/2858036.2858529.
Lasota, Andrzej and Michael C Mackey (1989). “Stochastic perturbation of dynamical systems: The weak convergence of measures.” In: Journal of Mathematical Analysis and Applications 138.1, pp. 232–248.
Liao, Q. Vera and Kush R. Varshney (2021). “Human-Centered Explainable AI (XAI): From Algorithms to User Experiences.” In: CoRR abs/2110.10790. arXiv: 2110.10790. URL: https://arxiv.org/abs/2110.10790.
Liao, Q. Vera, Yunfeng Zhang, Ronny Luss, Finale Doshi-Velez, and Amit Dhurandhar (2022). “Connecting Algorithmic Research and Usage Contexts: A Perspective of Contextualized Evaluation for Explainable AI.” In: Proceedings of the Tenth AAAI Conference on Human Computation and Crowdsourcing, HCOMP 2022, virtual, November 6-10, 2022. Ed. by Jane Hsu and Ming Yin. AAAI Press, pp. 147–159. URL: https://ojs.aaai.org/index.php/HCOMP/article/view/21995.
Löcherbach, Eva (2015). “Ergodicity and speed of convergence to equilibrium for diffusion processes.” In.
Lorbeer, Boris and Mustafa Mohsen (2023). “Comparative Study of Causal Discovery Methods for Cyclic Models with Hidden Confounders.” In: CogMI. IEEE, pp. 103–111.
Łoskot, Krzysztof and Ryszard Rudnicki (1995). “Limit theorems for stochastically perturbed dynamical systems.” In: Journal of applied probability 32.2, pp. 459–469.
Lütkepohl, Helmut (2005). New introduction to multiple time series analysis. Springer Science & Business Media.
Madumal, Prashan, Tim Miller, Liz Sonenberg, and Frank Vetere (2019). “A grounded interaction protocol for explainable artificial intelligence.” In: arXiv preprint arXiv:1903.02409.
Mahajan, Divyat, Chenhao Tan, and Amit Sharma (2019). “Preserving Causal Constraints in Counterfactual Explanations for Machine Learning Classifiers.”
In: CoRR abs/1912.03277. arXiv: 1912.03277. URL: http://arxiv.org/abs/1912.03277.
Malinsky, Daniel and Peter Spirtes (2018). “Causal Structure Learning from Multivariate Time Series in Settings with Unmeasured Confounding.” In: CD@KDD. Vol. 92. Proceedings of Machine Learning Research. PMLR, pp. 23–47.
Manten, Georg, Cecilia Casolo, Emilio Ferrucci, Søren Wengel Mogensen, Cristopher Salvi, and Niki Kilbertus (2024). “Signature Kernel Conditional Independence Tests in Causal Discovery for Stochastic Processes.” In: CoRR abs/2402.18477.
Miller, Tim (2019). “Explanation in artificial intelligence: Insights from the social sciences.” In: Artificial intelligence 267, pp. 1–38.
Mogensen, Søren Wengel and Niels Richard Hansen (2022). “Graphical modeling of stochastic processes driven by correlated noise.” In: Bernoulli 28.4, pp. 3023–3050.
Mohri, M., A. Rostamizadeh, and A. Talwalkar (2012). Foundations of Machine Learning. Adaptive Computation and Machine Learning series. MIT Press.
Molnar, Christoph, Giuseppe Casalicchio, and Bernd Bischl (2020). “Interpretable Machine Learning - A Brief History, State-of-the-Art and Challenges.” In: ECML PKDD 2020 Workshops - Workshops of the European Conference on Machine Learning and Knowledge Discovery in Databases (ECML PKDD 2020): SoGood 2020, PDFL 2020, MLCS 2020, NFMCP 2020, DINA 2020, EDML 2020, XKDD 2020 and INRA 2020, Ghent, Belgium, September 14-18, 2020, Proceedings. Vol. 1323. Communications in Computer and Information Science. Springer, pp. 417–431. DOI: 10.1007/978-3-030-65965-3_28. URL: https://doi.org/10.1007/978-3-030-65965-3\_28.
Moneta, Alessio, Nadine Chlaß, Doris Entner, and Patrik Hoyer (2011). “Causal search in structural vector autoregressive models.” In: NIPS Mini-Symposium on Causality in Time Series. PMLR, pp. 95–114.
Moneta, Alessio, Doris Entner, Patrik O Hoyer, and Alex Coad (2013). “Causal inference by independent component analysis: Theory and applications.” In: Oxford Bulletin of Economics and Statistics 75.5, pp. 705–730.
Montgomery, Douglas C, Cheryl L Jennings, and Murat Kulahci (2015). Introduction to time series analysis and forecasting. John Wiley & Sons.
Mooij, Joris M., Dominik Janzing, and Bernhard Schölkopf (2013). “From Ordinary Differential Equations to Structural Causal Models: the deterministic case.” In: Proceedings of the Twenty-Ninth Conference on Uncertainty in Artificial Intelligence, UAI 2013, Bellevue, WA, USA, August 11-15, 2013. Ed. by Ann E. Nicholson and Padhraic Smyth. AUAI Press.
Mothilal, Ramaravind Kommiya, Amit Sharma, and Chenhao Tan (2020). "Explaining machine learning classifiers through diverse counterfactual explanations." In: FAT* '20: Conference on Fairness, Accountability, and Transparency, Barcelona, Spain, January 27-30, 2020. Ed. by Mireille Hildebrandt, Carlos Castillo, L. Elisa Celis, Salvatore Ruggieri, Linnet Taylor, and Gabriela
Zanfir-Fortuna. ACM, pp. 607–617. DOI: 10.1145/3351095.3372850. URL: https://doi.org/10.1145/3351095.3372850.
Nannini, Luca, Marta Marchiori Manerba, and Isacco Beretta (2024). “Mapping the landscape of ethical considerations in explainable AI research.” In: Ethics and Information Technology 26.3, p. 44.
Parmezan, Antonio Rafael Sabino, Vinicius MA Souza, and Gustavo EAPA Batista (2019). “Evaluation of statistical and machine learning models for time series prediction: Identifying the state-of-the-art and the best conditions for the use of each model.” In: Information sciences 484, pp. 302–337.
Pascucci, Andrea (2024). Probability Theory II: Stochastic Calculus. UNITEXT. Springer Nature Switzerland. ISBN: 9783031631924.
Pearl, J. (2009). Causality. 2nd ed. Cambridge University Press.
Pearl, J. and D. Mackenzie (2018a). The Book of Why. The New Science of Cause and Effect. Basic Books.
Pearl, Judea (2011). "Bayesian networks." In.
– (Feb. 2019). “The Seven Tools of Causal Inference, with Reflections on Machine Learning.” In: Commun. ACM 62.3, 54–60.
Pearl, Judea and Dana Mackenzie (2018b). The book of why: the new science of cause and effect. Basic books.
Peters, Jonas, Dominik Janzing, and Bernhard Schölkopf (2017). Elements of Causal Inference: Foundations and Learning Algorithms. Adaptive Computation and Machine Learning. Cambridge, MA: MIT Press.
Reisach, Alexander G., Myriam Tami, Christof Seiler, Antoine Chambaz, and Sebastian Weichwald (2023). “Simple Sorting Criteria Help Find the Causal Order in Additive Noise Models.” In: CoRR abs/2303.18211.
Reisach, Alexander, Christof Seiler, and Sebastian Weichwald (2021). “Beware of the simulated dag! causal discovery benchmarks may be easy to game.” In: Advances in Neural Information Processing Systems 34, pp. 27772–27784.
Ribera, Mireia and Ágata Lapedriza (2019). “Can we do better explanations? A proposal of user-centered explainable AI.” In: Joint Proceedings of the ACM IUI 2019 Workshops co-located with the 24th ACM Conference on Intelligent User Interfaces (ACM IUI 2019), Los Angeles, USA, March 20, 2019. Ed. by Christoph Trattner, Denis Parra, and Nathalie Riche. Vol. 2327. CEUR Workshop Proceedings. CEUR-WS.org. URL: https://ceur-ws.org/Vol-2327/IUI19WS-ExSS2019-12.pdf.
Riveiro, Maria and Serge Thill (2021). “"That's (not) the output I expected!" On the role of end user expectations in creating explanations of AI systems." In: Artif. Intell. 298, p. 103507. DOI: 10.1016/J.ARTINT.2021.103507. URL: https://doi.org/10.1016/j.artint.2021.103507.
Runge, Jakob, Sebastian Bathiany, Erik Bollt, Gustau Camps-Valls, Dim Coumou, Ethan Deyle, Clark Glymour, Marlene Kretschmer, Miguel D Mahecha, Jordi Muñoz-Marí, et al. (2019). “Inferring causation from time series in Earth system sciences.” In: Nature communications 10.1, p. 2553.
Schölkopf, B. (2019). "Causality for Machine Learning." In.
Schölkopf, B. and J. von Kügelgen (Apr. 2022). “From Statistical to Causal Learning.” In.
Schölkopf, B., F. Locatello, S. Bauer, N.R. Ke, N. Kalchbrenner, A. Goyal, and Y. Bengio (2021). "Towards Causal Representation Learning." In: CoRR.
Schwarz, Thomas, Cecilia Casolo, and Niki Kilbertus (2024). “Uncertainty-Aware Optimal Treatment Selection for Clinical Time Series.” In: CoRR abs/2410.08816.
Seizov, Ognyan and Alexander Wulf (Sept. 2020). “Artificial Intelligence and Transparency: A Blueprint for Improving the Regulation of AI Applications in the EU.” In: European Business Law Review 31, pp. 611–640. DOI: 10.54648/EULR2020024.
Shneiderman, Ben (2020). “Bridging the Gap Between Ethics and Practice: Guidelines for Reliable, Safe, and Trustworthy Human-centered AI Systems.” In: ACM Trans. Interact. Intell. Syst. 10.4, 26:1–26:31. DOI: 10.1145/3419764. URL: https://doi.org/10.1145/3419764.
Shneiderman, Ben, Catherine Plaisant, Maxine S. Cohen, Steven Jacobs, Niklas Elmqvist, and Nicholas Diakopoulos (2016). “Grand challenges for HCI researchers.” In: Interactions 23.5, pp. 24–25. DOI: 10.1145/2977645. URL: https://doi.org/10.1145/2977645.
Sigmund, Michael and Robert Ferstl (2021). “Panel vector autoregression in R with the package panelvar.” In: The Quarterly Review of Economics and Finance 80, pp. 693–720.
Sims, Christopher A (1980). “Macroeconomics and reality.” In: Econometrica: journal of the Econometric Society, pp. 1–48.
Slack, Dylan, Anna Hilgard, Himabindu Lakkaraju, and Sameer Singh (2021). "Counterfactual Explanations Can Be Manipulated." In: NeurIPS, pp. 62–75.
Sokol, Alexander and Niels Richard Hansen (2014). “Causal interpretation of stochastic differential equations.” In: Electron. J. Probab 19.100, pp. 1–24.
Sovrano, Francesco, Fabio Vitali, and Monica Palmirani (2021). “Making Things Explainable vs Explaining: Requirements and Challenges under the GDPR.” In: CoRR abs/2110.00758. arXiv: 2110.00758. URL: https://arxiv.org/abs/2110.00758.
Toner, William and Luke Nicholas Darlow (2024). “An Analysis of Linear Time Series Forecasting Models.” In: Forty-first International Conference on Machine Learning.
Uhler, Caroline, Garvesh Raskutti, Peter Bühlmann, and Bin Yu (2013). “Geometry of the faithfulness assumption in causal inference.” In: The Annals of Statistics, pp. 436–463.
Ustun, Berk, Alexander Spangher, and Yang Liu (2019). “Actionable Recourse in Linear Classification.” In: FAT. ACM, pp. 10–19.
Verma, Sahil, Varich Boonsanong, Minh Hoang, Keegan Hines, John Dickerson, and Chirag Shah (2024). “Counterfactual Explanations and Algorithmic Recourses for Machine Learning: A Review.” In: ACM Comput. Surv. 56.12, 312:1–312:42.
Verma, Sahil, John P. Dickerson, and Keegan Hines (2020). “Counterfactual Explanations for Machine Learning: A Review.” In: CoRR abs/2010.10596. arXiv: 2010.10596. URL: https://arxiv.org/abs/2010.10596.
Verma, Thomas and Judea Pearl (1990). “Equivalence and Synthesis of Causal Models.” In: Proceedings of the Sixth Annual Conference on Uncertainty in Artificial Intelligence. UAI '90. USA: Elsevier Science Inc., 255–270. ISBN: 0444892648.
Wachter, Sandra, Brent D. Mittelstadt, and Chris Russell (2017). “Counterfactual Explanations without Opening the Black Box: Automated Decisions and the GDPR.” In: CoRR abs/1711.00399, p. 841.
Wagner, Clifford H (1982). “Simpson’s paradox in real life.” In: The American Statistician 36.1, pp. 46–48.
Walsh, Dorothy (1979). “Occam’s razor: A principle of intellectual elegance.” In: American Philosophical Quarterly 16.3, pp. 241–244.
Wang, Zijie J., Jennifer Wortman Vaughan, Rich Caruana, and Duen Horng Chau (2023). “GAM Coach: Towards Interactive and User-centered Algorithmic Recourse.” In: Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems, CHI 2023, Hamburg, Germany, April 23-28, 2023. Ed. by Albrecht Schmidt, Kaisa Väänänen, Tesh Goyal, Per Ola Kristensson, Anicia Peters, Stefanie Mueller, Julie R. Williamson, and Max L. Wilson. ACM, 835:1–835:20. DOI: 10.1145/3544548.3580816. URL: https://doi.org/10.1145/3544548.3580816.
Wexler, James, Mahima Pushkarna, Tolga Bolukbasi, Martin Wattenberg, Fernanda B. Viégas, and Jimbo Wilson (2020). “The What-If Tool: Interactive Probing of Machine Learning Models.” In: IEEE Trans. Vis. Comput. Graph. 26.1, pp. 56–65. DOI: 10.1109/TVCG.2019.2934619. URL: https://doi.org/10.1109/TVCG.2019.2934619.
White, Halbert and Xun Lu (2010). “Granger causality and dynamic structural systems.” In: Journal of Financial Econometrics 8.2, pp. 193–243.
Wold, Herman (1938). “A study in the analysis of stationary time series.” PhD thesis. Almqvist & Wiksell.
Wunsch, Guillaume, Federica Russo, Michel Mouchart, and Renzo Orsi (2022). "Time and causality in the social sciences." In: Time & Society 31.2, pp. 177–204.
Zeng, Ailing, Muxi Chen, Lei Zhang, and Qiang Xu (2023). “Are Transformers Effective for Time Series Forecasting?” In: Proceedings of the AAAI Conference on Artificial Intelligence 37.9, pp. 11121–11128. DOI: 10.1609/aaai.v37i9.26290.
Zhang, Yujia, Kuangyan Song, Yiming Sun, Sarah Tan, and Madeleine Udell (2019). “" Why Should You Trust My Explanation?" Understanding Uncertainty in LIME Explanations." In: arXiv preprint arXiv:1904.12991.