                       Bayesian Active Learning for Bivariate Causal Discovery


                          Yuxuan Wang 1 Mingzhou Liu 1 Xinwei Sun 2 Wei Wang 3 Yizhou Wang 4


                              Abstract                                        1. Introduction
                                                                              Determining the direction of causal relationships between
         Determining the direction of relationships be-                       pairs of variables is a fundamental challenge in understand-
         tween variables is fundamental for understand-                       ing complex systems. In fields like genetic research (Pinna
         ing complex systems across scientific domains.                       et al., 2010; Jia & Zhang, 2022), while we may observe
         While observational data can uncover relation-                       strong associations between genetic variants and pheno-
         ships between variables, it cannot distinguish be-                   types, determining which variable causally influences the
         tween cause and effect without experimental in-                      other remains difficult. This directional uncertainty com-
         terventions. To effectively uncover causality, pre-                  plicates our understanding of underlying mechanisms and
         vious works have proposed intervention strategies                    limits our ability to make reliable predictions about system
         that sequentially optimize the intervention val-                     behavior.
         ues. However, most of these approaches primarily
                                                                              Traditional methods for inferring causal direction rely pri-
         maximized information-theoretic gains that may
                                                                              marily on observational data, representing relationships
         not effectively measure the reliability of direc-
                                                                              through directed edges between variable pairs. However,
         tion determination. In this paper, we formulate
                                                                              observational data alone often proves insufficient for deter-
         the causal direction identification as a hypothesis-
                                                                              mining causal direction due to the fundamental limitation
         testing problem, and propose a Bayes factor-based
                                                                              of Markov equivalence (Pearl, 2009) - different causal di-
         intervention strategy, which can quantify the ev-
                                                                              rections can generate identical observational distributions,
         idence strength of one hypothesis (e.g., causal)
                                                                              making them indistinguishable without intervention data.
         over the other (e.g., non-causal). To balance the
         immediate and future gains of testing strength,                      The limitations of observational studies necessitate experi-
         we propose a sequential intervention objective                       mental interventions as the gold standard for determining
         over intervention values in multiple steps. By                       causal direction (Fisher, 1936). While interventional ex-
         analyzing the objective function, we develop a                       periments like gene knockouts have become increasingly
         dynamic programming algorithm that reduces the                       feasible (Pinna et al., 2010), they remain costly and resource-
         complexity from non-polynomial to polynomial.                        intensive. This limitation has motivated the development
         Experimental results on bivariate systems, tree-                     of active learning methods for causal direction determina-
         structured graphs, and an embodied AI environ-                       tion. Traditional approaches typically employ information-
         ment demonstrate the effectiveness of our frame-                     theoretic objectives (Tong & Koller, 2001; Murphy, 2001;
         work in direction determination and its extensi-                     Agrawal et al., 2019), greedily maximizing the mutual in-
         bility to both multivariate settings and real-world                  formation between interventions and outcomes. However,
         applications.                                                        recent studies (Gong et al., 2023) have shown that successful
                                                                              causal direction inference depends not only on the informa-
                                                                              tiveness of generated data but also on its evidential complex-
1
    School of Computer Science, Peking University, Beijing, China             ity. This highlights a potential misalignment: maximizing
    2
      School of Data Science, Fudan University, Shanghai, China 3 State       information gain alone may not be optimal for bivariate
    Key Laboratory of General Artificial Intelligence, BIGAI, Bei-            causal discovery, as it does not directly optimize for the
    jing, China 4 School of Computer Science, Inst. for Artificial
                                                                              probability of drawing correct directional conclusions. This
    Intelligence, State Key Laboratory of General Artificial Intelli-
    gence, Peking University, Beijing, China. Correspondence to:              is a crucial distinction from a Bayesian decision-theoretic
    Xinwei Sun <sunxinwei@fudan.edu.cn>, Wei Wang <wang-                      perspective (Trimmer et al., 2011), where the objective is
    wei@bigai.ai>.                                                            typically to select actions that maximize the expected util-
                                                                              ity of the outcome, in our case, the correct identification
    Proceedings of the 42 nd International Conference on Machine              of causal direction. Simply acquiring information is often
    Learning, Vancouver, Canada. PMLR 267, 2025. Copyright 2025               a surrogate for, but not identical to, achieving a specific
    by the author(s).

                                                                          1
                                   Bayesian Active Learning for Bivariate Causal Discovery

decision-making goal.                                                 ments. These results validate the framework potential for
                                                                      both scaling to complex multivariate systems and practical
In this paper, we study sequential intervention strategies
                                                                      deployment in real-world scenarios.
to effectively determine causal direction while minimizing
experimental costs. Working with a fixed intervention bud-            The main contributions of this paper are:
get requires to consider intervention decisions jointly rather
than independently (Huan & Marzouk, 2016; Lim et al.,                   1. We propose an active intervention framework that lever-
2022), as myopic approaches focusing solely on immediate                   ages Bayes factors to quantify the strength of direc-
information gain may lead to suboptimal outcomes once the                  tional evidence, providing an alternative to traditional
budget is exhausted. Our framework balances two key objec-                 information-theoretic approaches.
tives: maximizing the probability of discovering the correct
causal direction early in the sequence, while maintaining               2. We formulate a sequential objective that balances short-
the capability to reach definitive conclusions by the end of               term and long-term intervention outcomes, and develop
the budget period. This requires carefully planning each                   a dynamic programming algorithm for efficient opti-
intervention by considering both its immediate evidential                  mization of intervention selection.
value and its impact on future discovery potential. More-               3. We evaluate our method on bivariate edge orienta-
over, sequential optimization is computationally expensive,                tion tasks, root source localization in tree-structured
especially when the intervention budget or the action space                graphs (Greenewald et al., 2019), and a switch-light
is large, necessitating efficient algorithmic solutions.                   reasoning task in embodied AI settings.
To address these challenges, we propose a framework that
employs Bayes factors (Kass & Raftery, 1995) to formulate             2. Related work
an objective for edge orientation. This approach is inher-
ently decision-focused: Bayes factors enable systematic hy-           Active causal discovery. Traditional causal discovery meth-
pothesis testing by quantifying the relative evidence support-        ods based on observational data face the inherent challenge
ing competing directional hypotheses, directly informing the          of the Markov equivalence class (Pearl, 2009), where multi-
decision about causal direction. This formulation allows us           ple causal structures can induce identical observations. To
to explicitly optimize for obtaining decisive and correct di-         overcome this constraint, researchers have developed ac-
rectional evidence—aligning with established thresholds for           tive intervention techniques. For example, (He & Geng,
when evidence is deemed conclusive—rather than pursuing               2008) proposed to maximize edge recovery per interven-
broader informational criteria that may not be as efficiently         tion; (Shanmugam et al., 2015) selected the optimal inter-
targeted towards the specific decision at hand. We develop            vention vertices based on graph coloring. Works that are
a sequential objective that explicitly balances immediate             most relevant to ours are (Murphy, 2001; Tong & Koller,
and future rewards, and use dynamic programming to effi-              2001; Masegosa & Moral, 2013; Agrawal et al., 2019; Toth
ciently optimize the intervention selection process, ensuring         et al., 2022), which selected interventions that maximize
that each intervention not only provides immediate insights           the mutual information between the graph and hypothetical
but also maintains flexibility for future direction determi-          samples. However, such information-theoretic objectives
nations. While the framework is introduced for bivariate              can be suboptimal from a Bayesian decision-theoretic stand-
cases, it extends to tree-structured graphs (Greenewald et al.,       point (Trimmer et al., 2011) when the goal is a specific,
2019), enabling root cause localization through sequential            correct determination, as they do not always maximize the
interventions.                                                        probability of achieving confident causal conclusions (Gree-
                                                                      newald et al., 2019). In contrast to purely information-
To demonstrate the effectiveness and generality of our frame-         theoretic goals, we employ Bayes factors to directly opti-
work, we evaluate our methods on bivariate edge orien-                mize for decisive and accurate evidence for a specific causal
tation tasks and further extend to more challenging sce-              hypothesis, aiming for more efficient discovery for this tar-
narios including root source localization in tree-structured          geted decision.
graphs (Greenewald et al., 2019) and a switch-light reason-
ing task in embodied AI environments (Peng et al., 2024).             Bivariate causal discovery. To identify the causal direction
Our experiments on tree-structured graphs demonstrate the             between two variables, previous works leverage asymme-
potential for handling multivariate settings through sequen-          try prior between the cause and the effect for identification
tial interventions, particularly in applications such as biol-        through only observational data. Upon this prior, one line
ogy (Jia & Zhang, 2022) and system anomaly detection (Han             of works employed Kolmogorov complexity as a measure
et al., 2023). Additionally, results from the embodied AI ex-         of causal direction (Tagasovska et al., 2020; Mitrovic et al.,
periment show that our method can efficiently make correct            2018). However, the Kolmogorov complexity is computa-
decisions about causal relationships in physical environ-             tionally intractable. Another line of work imposed restric-
                                                                      tions on the functional class of causal relationships, such

                                                                  2
                                     Bayesian Active Learning for Bivariate Causal Discovery

as assuming additive noise models (Hoyer et al., 2008; von              denote 1 : k = {1, 2, . . . , k} for any 1 ≤ k ∈ N. For
Kügelgen et al., 2019; Blöbaum et al., 2018). However, it             a vector x ∈ RK , we denote x−k as the sub-vector that
may fail to generalize to a broader family of models. In this           excludes the k-th element.
paper, we achieve bivariate causal identification through
                                                                        Bayes factor. To measure the uncertainty during the inter-
active intervention, without imposing any asymmetry con-
                                                                        vention, we borrow the concept of Bayes factor (Jeffreys,
straints to the causal relationship.
                                                                        1961; Kass & Raftery, 1995) defined as the likelihood ratio
Sequential experiment design (SED). SED proposes to                     BF01 = P(D|H0 )/P(D|H1 ) over data D, which measures
generate the design points in a sequential manner until                 the strength of evidence in favor of the null hypothesis over
the convergence of optimization, in order to overcome the               the alternative. It has been widely used in selecting the true
oversampling or undersampling issue met in design of ex-                graph among Markov equivalence classes (Madigan et al.,
periments (DOE) (Rainforth et al., 2024). For example,                  1996; Castelo & Perlman, 2004; Castelletti & Consonni,
(Chakraborty & Chowdhury, 2016) introduced a novel dis-                 2024). In particular, (Castelletti & Consonni, 2024) em-
tribution adaptive sequential experimental design for gener-            ployed the Bayes factor in active causal discovery; however,
alised analysis of variance; (Foster et al., 2021) reduced the          it only used it to determine the minimum number of interven-
computational cost of traditional Bayesian DOE by learning              tions, without truly interacting with the environment. In this
an amortized deep design network; and (Blau et al., 2022)               paper, we provide a framework that incorporates the Bayes
induced the design policy by solving a Markov decision pro-             factor to actively interact with the environment, enabling
cess. Particularly, in causal discovery, researchers such as            more effective identification of the causal relationship.
(Tigas et al., 2022; Toth et al., 2022) proposed to apply SED
using information-theoretic criteria, aiming to maximize                4. Methodology
information gain with each intervention. However, infor-
mation gain maximization can be suboptimal for achiev-                  In this section, we present our intervention strategy for
ing specific, correct decisions. For decision-focused SED,              learning causal direction. In section 4.1, we first introduce
Bayesian decision theory (Reggiani & Weerts, 2008; Berger,              the Bayesian objective over a single-step intervention for
2013) offers an alternative by optimizing choices for desired           interaction. To interact, section 4.2 introduces an iterative
outcomes or minimal loss. This aligns with broader needs                algorithm, including prior initialization, optimization, and
in tasks like sequential decision-making under causal un-               posterior updating. Section 4.3 extends the framework to
certainty (Gonzalez-Soto et al., 2018), where robust causal             multi-step interventions. Finally, section 4.4 applies our
models guide subsequent actions. In this paper aligning                 approach to multivariate causal discovery.
with a decision-theoretic approach, we introduce an SED
that explicitly gathers information for obtaining decisive              4.1. Bayesian sample selection
and correct evidence regarding causal direction, making
the optimization more effective for achieving correct causal            Suppose we have conducted m interventions so far, and
conclusions.                                                            the corresponding intervention data are denoted as Dm :=
                                                                        {(x1 , y 1 ), . . . , (xn0 , y m )}. To determine the next interven-
                                                                        tion value x, we propose to maximize the probability of
3. Preliminaries                                                        decisive and correct evidence (denoted as PDC ):
Problem setup & Notations. Consider a bivariate system
                                                                          PDC (x) = P0DC (x) · P(H0 ) + P1DC (x) · P(H1 )              (1a)
with X ∈ X and Y ∈ Y, our goal is to design an interven-
tion strategy to effectively distinguish the causal relation              P0DC (x) = P {BF01 (Dm ∪ {x, y}) > k0 |H0 , Dm } (1b)
H1 : X → Y from the anti-causal one H0 : X ← Y . To                       P1DC (x) = P {BF01 (Dm ∪ {x, y}) < k1 |H1 , Dm } . (1c)
achieve this, we assume the availability of n observational
data Dobs = {(x1 , y1 ), · · · , (xn , yn )} that are i.i.d drawn       The objective PDC is the weighted sum of the probability
from the joint distribution P(X, Y ). When X → Y , the                  of determination under the null and alternative hypothesis.
underlying structural causal model (SCM) is:                            The Bayes factor is defined as:

        xi := fX (NX,i ),     yi := fY (xi , NY,i ), ∀i,                                                  P(Dm | H0 )
                                                                                         BF01 (Dm ) =                 .
                                                                                                          P(Dm | H1 )
where fX and fY are structural equations, and {NX,i }ni=1 ,
{NY,i }ni=1 are independent noise. Throughout, we assume                Therefore, the objective (1a) takes expectation over p(y)
NX and NY are d-separated in the graph, i.e., NX ⊥   ⊥d NY ,            under H0 , and p{y|do(x)} under H1 . Since we cannot
which implies the causal sufficiency condition (Spirtes et al.,         identify causal directions through only Dobs , we set the
2001) that is standard in causal discovery. For notational              prior P(H0 ) = P(H1 ) = 1/2. Here, k0 , k1 are related
convenience, we denote N the set of natural numbers, and                to the decisive evidence under H0 and H1 , respectively.

                                                                    3
                                     Bayesian Active Learning for Bivariate Causal Discovery

Specifically, we say the data provide decisive evidence in               from observational data.
                                                γ0
favor of H0 at level γ0 if BF01 (D) > k0 := ω(1−γ  0)
                                                      with
                                                                         In this paper, we do not update these priors using interven-
        0)
ω := P(H
     P(H1 ) , since we have P(H0 |D) > γ0 .                              tional data. This is because, even when H0 holds, the data
                                                                         may be better fit by p(θ0 |H1 ), making it difficult for the
The objective has been similarly used to determine the sam-
                                                                         Bayes factor to provide sufficient evidence to support H0 .
ple size for interventions (Castelletti & Consonni, 2024),
                                                                         While we can put constraints on θ1 to avoid this issue, it is
without actually interacting with the environment. In con-
                                                                         not necessary in the scenario considered in this paper.
trast, we consider the scenario where we can interact with
the environment. During the interaction, our goal is sequen-             Optimization. Having identified the interventional distribu-
tially choosing the values of X for intervention to most                 tions, we now focus on optimizing PDC over x. To this end,
effectively reduce the uncertainty about the causal direction.           we expand P0DC and P1DC in (1) with the following form:
Connection to information gain. One may consider op-                                  Z
                                                                             0
timizing the intervention sample by maximizing the infor-                   PDC (x) =     I {BF01 (Dm ∪ {(x, y)}) > k0 }
                                                                                        Y
mation gain (Lindley, 1956; Bernardo, 1979) that has been
employed in causal discovery (Mian et al., 2023; Toth et al.,                                  × p{y|do(x), H0 }dyP(H0 |Dm ); (4)
                                                                                        Z
2022). We have demonstrated in Appx. A that the infor-
                                                                           P1DC (x) =       I {BF01 (Dm ∪ {(x, y)}) < k1 }
mation gain is a monotonic transformation of the Bayes                                  Y
factor, meaning it may favor interventions that maximize                                       × p{y|do(x), H0 }dyP(H1 |Dm ). (5)
the Bayes factor given each hypothesis. However, the Bayes
factor is more related to the causal hypothesis testing con-             This objective integrates over all possible outcomes y af-
sidered in our scenario, it is therefore employed to guide the           ter intervention. When X, Y are continuous, we employ
intervention process.                                                    Monte-Carlo approximation to estimate the objective and
                                                                         apply a smooth approximation of the indication function,
4.2. Optimization and posterior update                                   which enables gradient-based optimization. When X, Y are
We introduce how to optimize x and update the causal belief              discrete, we can directly evaluate the objective by enumer-
at each iteration. Our procedure involves estimating the                 ating all possible intervention values to find the optimum.
initial intervention distribution for calculating the Bayes              Please refer Appendix B.3 for details.
factor, optimization of x, and posterior update.                         Posterior update. Having obtained the optimal x, we get
Estimating the intervention distribution. To compute the                 y through interaction. We can append the interventional
Bayes factor in (1a), we need to compute p{y|do(x), Hj }                 data Dm+1 = Dm ∪ {x, y}. With these data, we update our
under each hypothesis, which equals to:                                  causal belief, a.k.a, posterior of each hypothesis as follows:
                         Z                                                                        p ({x, y}|Hj ) P(Hj |Dm )
      p{y|do(x), H0 } = p(y | θ0 )p(θ0 |H0 )dθ0 ;    (2)                   P (Hj |Dm+1 ) = P
                                                                                                j∈{0,1} p ({x, y}|Hj ) P(Hj |Dm )
                         Z
                                                                                                  p(x)p(y|x, Hj )P(Hj |Dm )
      p{y|do(x), H1 } = p(y|x, θ1 )p(θ1 |H1 )dθ1 , (3)                                      =P                                    ,
                                                                                                j∈{0,1} p(x)p(y|x, Hj )P(Hj |Dm )

since the edge Y → X is broken when we intervene on
                                                                         where p(y|x, Hj ) are given by (2-3) for j = 0, 1.
x, we have p{y|do(x)} = p(y) under H0 . Under H1 , we
have p{y|do(x)} = p(y|x). For each hypothesis, we take                   We summarize the whole procedure in Alg. 1 with k = 1 in
the expectation over p(θj |Hj ). Following (Kass & Raftery,              lines 6-7.
1995), we specify p(θj |Hj ) as the data-dependent prior cen-
tered around the MLE estimate. when X, Y are continuous,                 4.3. Multi-step optimization
we set it as Gaussian distribution N (θ,   b Σ)b , where θb is the
                                                                         While the single-step intervention design presented in sec-
MLE estimate, and Σ    b is the inverse Hessian of the negative
                                                                         tion 4.2 provides a foundation, its greedy and myopic nature
log-likelihood. When X, Y are categorical, we use Beta dis-
                                                                         may lead to suboptimal solutions (Rainforth et al., 2024).
tribution to specify each level’s parameter, where the param-
                                                                         In this section, we propose a multi-step version that opti-
eters in Beta distribution is obtained as the MLE estimate.
                                                                         mizes a sequence of interventions by considering cumula-
Suppose X, Y respectively have lX and lY levels, the param-
                                                                         tive evidence across multiple steps, along with an efficient
eters we specify include θ0,i := P(Y = i) for i < lX under
                                                                         algorithm for solving the resulting optimization problem.
H0 , and θ1,j,i := P(Y = j|X = i) for j < lY and i ≤ lX
under H1 . For each parameter θ0,i := Beta(α0,i , β0,i ) (the            Multi-step objective. Following (González et al., 2016;
prior of θ1,j,i is similar), where α0,i , β0,i are MLE estimates         Jiang et al., 2020), we optimize the next step by also looking

                                                                     4
                                          Bayesian Active Learning for Bivariate Causal Discovery

Algorithm 1 Bayesian active intervention                                  This property implies that PDC (x1:k ) depends only on the
 1: Input: Observational data Dobs , total budget B                       count of each value from X that appears in the sequence
 2: Output: Dint , posterior P(Hj |Dint ) for j = 0, 1.                   x1:k . Therefore, we can rewrite J(x1 , . . . , xK ) as J(nK )
 3: Initialize Dint = ∅, P(H0 ) = P(H1 ) = 21 .                           and PDC (x1:k ) as PDC (nk ), where nk ∈ |N|lX for any
 4: Specify P(θ|Hj ) from Dobs for j ∈ {0, 1}.                            k ≤ K represents the count vector. The i-th element of nk
 5: while |Dint | < B do                                                  records how many times the value x  ei appears in the sequence
 6:    Set remaining budget K = B − |Dint |.                              x1:k . Upon this property, the following proposition ensures
                                      PK k
       Obtain {xt }K                                                      us to optimize J(x1:K ) via dynamic programming.
 7:                 t=1 by maximizing     i=1 γ PDC (x1:i ).
 8:    Perform do(X = x1 ) and observe y.                                 Proposition 4.2. Denote x∗1:K as the optimal value of
 9:    Update Dint ← Dint ∪ {(x1 , y)}.                                   J(x1:K ). Given x∗1:k−1 for each k ≤ K, the optimal value
10:    Update posterior P(Hj |Dint ).                                     of x∗k only depends on n∗k−1 .
11: end while
                                                                          The proof is left to Appx. B.2. This property ensures us to
                                                                          solve x∗ in a recursive manner:
ahead its next K − 1 steps (for simplicity, we omit Dm ):                   Jk (nk ) := max {PDC (nk ) + γJk−1 (nk − exk )}
                                                                                          xk
PDC (x1:K ) = P {BF01 ({x1 , y 1 } ∪ Dfut ) > k0 |H0 } P(H0 )                    x∗k := arg max {PDC (nk ) + γJk−1 (nk − exk )}
                                                                                            xk
             + P {BF01 ({x1 , y 1 } ∪ Dfut ) < k1 |H1 } P(H1 ),
                                                                                                                                      (8)
                                                             (6)
where Dfut = {z 2 , ..., z K } represents data of the next K − 1          for each k ≤ K, where exk ∈ {0, 1}lX represents the
steps, with z i := (xi , y i ). To determine the optimal x1 for           one-hot encoded vector, where the element corresponding
intervention, we need to optimize over x1:K . Here, K is                  to xk is 1, and all other elements are 0. In this recursive
a trade-off between the short-term and long-term benefits.                formulation, the optimal solution to the original problem is
Although a large value of K would maximize certainty in                   composed of the optimal solution to each subproblem.
the long run, it may affect the effectiveness in the immediate
steps. To balance the short-term and long-term benefits, we               Complexity Analysis. For a given remaining intervention
propose to optimize the following objective:                              budget K, our algorithm determines the optimal interven-
                                                                          tion sequence (x∗1 , ..., x∗K ) that maximizes the cumulative
                                    K
                                    X                                     reward J(x1:K ). Since both x∗ and J are determined by
           J(x1 , · · · , xK ) :=         γ k PDC (x1:k ),      (7)       count vectors n, we first enumerate all possible count vec-
                                    k=1                                   tors and compute their corresponding PDC values (Phase 1),
                                                                          then recursively compute the optimal cumulative rewards
where 0 < γ < 1 denotes the discount factor. Such a de-                   Jk (n) for each k (Phase 2). Finally, we obtain x∗ through
sign is common in sequential experimental design (Foster                  backward optimization (Phase 3). The complexity analysis
et al., 2021) and reinforcement learning (Huan & Marzouk,                 for each phase proceeds as follows.
2016) that balances immediate and future rewards. How-
ever, our work differs in its optimization target: instead of             Phase 1: State Precomputation (lines 4-6). This phase
maximizing information gain or expected utility, we directly              enumerates all feasible count vectors n = (n1 , ..., n|X | )
optimize the probability of reaching decisive causal conclu-              where nx ∈ N denotes the numberP        of applications for in-
sions. This arises from the practical goal that determines                tervention x ∈ X , constrained by x∈X nx ≤ K. This
causal relationships within limited experimental budgets.                 represents all possible ways to distribute K interventions
                                                                          across |X | different intervention types, with the total num-
Optimization via dynamic programming. We consider                         ber of combinations being K+|X      |−1
                                                                                                                 
                                                                                                                   = O(K |X |−1 ). Each
                                                                                                         |X |−1
both categorical and continuous cases for optimizing (7).
                                                                          state’s PDC value is precomputed and stored for subsequent
When X is continuous, we can follow Sec. 4.2 to employ                    optimization.
Monte Carlo approximation for the smooth approximation
                                                                          Phase 2: Recursive State Optimization (lines 8-12). For
of the objective. When X is discrete, evaluating (7) requires
                                                                          each step k = 1, . . . , K, the algorithm computes opti-
considering |X |k possible sequences, which is computa-
                                                                          mal cumulative rewards Jk (n) through backward induc-
tionally infeasible when k is large. To accelerate, we use
                                                                          tion: Pi) State Generation: Enumerate all count vectors
dynamic programming, which builds upon two key proper-
                                                                          with x nx = k, requiring O(k |X |−1 ) states. ii) State
ties that allow for efficient optimization, as presented below.
                                                                          Update: Evaluate all possible interventions x ∈ X using
Proposition 4.1. Suppose X has lX categories, x  e1 , ..., x
                                                           elX .          the recursive relation (Equation (8)) with O(|X |) opera-
For any k, PDC (x1:k ) is symmetric with respect to its argu-             tions
                                                                          PK per state. Aggregating       across all budget levels yields:
                                                                                              |X |−1
ments (x1 , · · · , xk ).                                                    k=1  O(|X  | · k        ) = O(|X | · K |X | ).

                                                                      5
                                    Bayesian Active Learning for Bivariate Causal Discovery

Phase 3: Optimal Path Reconstruction (lines 14-18).                   selected intervention target V ∈ V, our goal is to determine
Starting from the terminal state n∗K , the optimal intervention       which neighboring node is its parent, thereby identifying
sequence is reconstructed by iteratively subtracting unit vec-        edge directions in the causal tree. Let N (V ) denote the
tors: n∗ ← n∗ − ex∗t , k = K, . . . , 1 This backtracking             neighbors of node V in the tree skeleton. We design optimal
process requires O(K) operations, independent of |X |.                intervention values xV by maximizing (1) that is associated
                                                                      with multiple hypothesis:
Total Complexity. Combining all phases yields: O(K |X | )+
O(|X | · K |X | ) + O(K) = O(|X | · K |X | ). which is a poly-                             X
                                                                                                  PDC (xV ; U ),
nomial complexity for K. This represents an exponential
                                                                                         U ∈N (V )
improvement over the naive O(|X |K ) brute-force approach.
                                                                      where PDC (xV ; U ) denotes the objective whose goal is to
Algorithm 2 Dynamic Programming for Optimal Interven-                 discriminate H1 : V → U . from its null H0 : V ← U .
tion Design
  1: Input: Remaining budget K, intervention space X
                                                                      5. Experiments
  2: Output: Optimal intervention sequence (x∗1 , ..., x∗K )
  3: Phase 1: Precompute PDC values
                                 P                                    In this section, we evaluate our method on bivariate causal
  4: for all count vectors n with x∈X nx ≤ K do                       discovery and tree-structure causal graph learning (Gree-
  5:   Store PDC (n) {Compute via causal model}                       newald et al., 2019). We also consider a switch-light reason-
  6: end for                                                          ing task to demonstrate the usage of our method in embodied
  7: Phase 2: Forward value iteration                                 artificial intelligence (Embodied AI).
  8: for each budget k = 1 to K do
                                P                                     Compared baselines. We compare our method with the
  9:   for all feasible nk with x nx = k do
                                                                      following baselines: i) Rand that randomly selects the inter-
10:       Compute Jk (nk ) via Equation (8)
                                                                      vention value; ii) InfoGain (Tigas et al., 2022; Toth et al.,
11:    end for
                                                                      2022) that optimizes the information gain to choose the
12: end for
                                                                      best intervention value. To accommodate this method to
13: Phase 3: Backward path retrieval
                                                                      our hypothesis testing setting, we compute the Bayes factor
14: Initialize n∗ ← arg maxn JK (n)
                                                                      after optimization to inform the decision; and iii) Multi-
15: for k = K down to 1 do
                                                                      step InfoGain that enhances (Tigas et al., 2022; Toth et al.,
16:    Find x∗k that maximized Equation (8) for n∗
                                                                      2022) by incorporating the multi-step optimization scheme
17:    Update n∗ ← n∗ − ex∗k
                                                                      described in Sec. 4.3.
18: end for
                                                                      Evaluation metrics. For bivariate causal discovery, we
                                                                      report the rate of type I error and recall, which are the
4.4. Application to multivariate causal discovery                     probabilities of incorrectly rejecting the null hypothesis
                                                                      when it is true, and correctly rejecting it when it is false,
Our approach can be naturally applied to causal discovery
                                                                      respectively. We also report the probability of decisive
over multiple variables, when combined with off-the-shelf
                                                                      and correct evidence PDC defined in (1). For tree-structure
approaches in identifying the target variable for intervention
                                                                      causal discovery and the switch-light reasoning task, we
(He & Geng, 2008; Hauser & Bühlmann, 2014). For such
                                                                      report the total number of interventions required to recover
target variable, it may be associated with multiple causal
                                                                      the causal graph.
directions to determine. We can therefore optimize the
value by combining the objective of all directions of interest.       Implementation details. We set the evidence levels in (1b)
Besides, since we do not update p{y|do(x)} once it is fixed,          and (1c) to k0 = 10 and k1 = 1/10, respectively. Results
we require it to be identifiable. To illustrate, we provide           for alternative parameter settings, including k0 = 30, k1 =
examples over three variables in Appx. C.                             1/30 and k0 = 100, k1 = 1/100, are presented in D.3. The
                                                                      selection of these parameter values is based on the classifi-
Causal trees. The type of causal graph that naturally sat-
                                                                      cation of Bayes factor detailed in Appendix D.1, following
isfies this identifiable condition is causal trees, which can
                                                                      (Kass & Raftery, 1995; Schönbrodt & Wagenmakers, 2018).
be widely applied in various domains, such as microservice
                                                                      For Alg. 1, we set the total budge to B = 100 and the
systems diagnostics (Xin et al., 2023; Pham et al., 2024;
                                                                      number of observational samples to |Dobs | = 1000. For
Fariha et al., 2020), general system anomaly detection (Han
                                                                      the optimization over discrete variables, we consider Alg. 2.
et al., 2023; Palanki, 2024).
                                                                      For the optimization over continuous variables, we employ
Specifically, given a tree skeleton with vertex set V and             the Adam optimizer with a learning rate of 0.1 and a total
edge set E, existing methods like (Greenewald et al., 2019)           iterations of 4000 steps. We decay the learning rate to 0.001
provide strategies for selecting intervention targets. For each       after the first 200 steps. The switch-light reasoning task

                                                                  6
                                         Bayesian Active Learning for Bivariate Causal Discovery




Figure 1. Results on bivariate causal discovery. The two rows presents results in two different settings. Columns (a)-(d) report the type I
error rate, recall, PDC under H0 , and PDC under H1 , respectively, in relation to the number of intervention samples.




Figure 2. Ablation study on the multi-step optimization algorithm. The red and blue lines denote our method with and without multi-step
optimization, respectively. The first two columns are results from Setting-1, and the last two columns are results from Setting-2.


is implemented on the TongSim (Peng et al., 2024) engine                 we repeat the generation process 20 times. For each time,
running on a server with NVIDIA 2080-Ti GPUs.                            we generate 100 replications under H0 and H1 , respectively,
                                                                         to record the type I error rate and recall.
5.1. Bivariate causal discovery                                          Comparsion with baselines. We report the performance of
Data generation. We consider binary variables , where      1             our method and the baseline approaches in Fig. 1. As shown,
the data is generated from P(Y ) ∼ Bern(0.5) (resp. P(X))                in Setting-1: Weak Causation, our method outperforms the
and P(X|Y = 0) ∼ Bern(p0 ), P(X|Y = 1) ∼ Bern(p1 )                       baselines in recall, and achieving competitve type I error
(resp. P(Y |X)) under the null hypothesis H0 (resp. the                  rate, indicating effective causal discovery with controlled
alternative hypothesis H1 ). Here, the quantity |p0 − p1 | =             false positives; wheras in Setting-2: Strong Causation, the
TV(P(X|Y = 0), P(X|Y = 1)) measures the strength of                      performance of our method and the baselines is similar.
the causal influence. A small value of |p0 − p1 | indicates              To interpret these results, the advantage of our method in
weak causal interaction, whereas a large one means the                   Setting-1 largely stems from the use of the PDC as the
causal influence is strong. Accordingly, we consider two                 optimization objective, which facilitates a more efficient
different data settings: Setting-1: Weak Causation with                  collection of decisive and correct evidence (see columns (c)
|p0 − p1 | ∈ [0.1, 0.2] and Setting-2: Strong Causation with             and (d)), leading to a better intervention strategy. On the
|p0 − p1 | ∈ [0.8, 0.9]. To remove the effect of randomness,             other hand, for Setting-2, the causal relationship is strong
                                                                         and therefore can be identified without the need for refined
1
    Please refer to Appx. D.4 for results on continuous variables.       interventions. Consequently, information gain-based meth-

                                                                     7
                                        Bayesian Active Learning for Bivariate Causal Discovery
                                                                                  Intervention Methods Comparison (Line Plot)




                                                                          Average Number of Interventions
                                                                                                            180
                                                                                                                                      Rand
Table 1. Results under different observational sample sizes |Dobs |                                         160
                                                                                                                                      InfoGain
                    Setting 1                    Setting 2                                                  140
  |Dobs |                                                                                                                             Multi-step InfoGain
            Type I Error      Recall     Type I Error      Recall                                           120                       Ours
    800      0.025±.015    0.607±.047     0.000±.00     1.000±.00
   1000     0.0385±.022 0.627±.044        0.001±.00     1.000±.00                                           100
   1200     0.0395±.013 0.623±.059        0.000±.00     1.000±.00
                                                                                                             80


                                                                                                             60
ods (Tigas et al., 2022; Toth et al., 2022) can also achieve                                                      0.05   0.1   0.15   0.2             0.24
results similar to ours.                                                                                                        δ

Ablative study. We conduct an ablation study on the
                                                                          Figure 3. Results on tree causal discovery. The Y-axis is the aver-
multi-step optimization algorithm introduced in Sec. 4.3                  age number of interventions conducted when using (Greenewald
and present the results in Fig. 2. As we can see, the se-                 et al., 2019) and our method to recover the whole tree. The X-axis
quential optimization algorithm significantly enhances the                represents different choices of the parameter δ. Please refer to
performance of our method, particularly in Setting-1 where                Appx. D.5 for variance analysis.
the causal relationship is more challenging to identify. This
result demonstrates that our sequential optimization scheme
can effectively balance the short-term and long-term bene-                5.3. Causal reasoning in embodied AI
fits, leading the optimization of our PDC objective towards
the optimal solution.                                                     In this section, we consider a switch-light reasoning task to
                                                                          illustrate the usage of our method in causal Embodied AI.
Influence of the observational sample sizes |Dobs |. In
Tab. 1, we report the type I error rate and recall under differ-          Experimental setup. We develop a simulation environ-
ent observation sample sizes |Dobs | = {800, 1000, 1200}.                 ment based on TongSim (Peng et al., 2024), which includes
As shown, our method works consistently well under dif-                   an embodied agent, two switches (S1 and S2 ), and two
ferent observational data settings. This result demonstrates              lights (L1 and L2 ). The agent is tasked to identify which
that our method is robust to changes in hyperparameters,                  switch controls which light through active intervention. The
consistently achieving reliable causal identification.                    data of switch activation and lighting status is generated
                                                                          using Bernouli distributions P(Li |Sj = 0) ∼ Bern(p0 ) and
                                                                          P(Li |Sj = 1) ∼ Bern(p1 ) for i, j = 1, 2. We select the pa-
5.2. Tree-structured causal graph learning
                                                                          rameter |p0 − p1 | = TV(P(Li |Sj = 0), P(Li |Sj = 1))
Data generation. We consider tree graphs with 30 ver-                     from the set {(0.2, 0.3), (0.4, 0.5), (0.6, 0.7), (0.8, 0.9)}
tices. To generate the data, we first randomly sample 200                 for various strength of causal influence. To further increase
trees from the space of all possible trees. Next, we se-                  the complexity, we introduce a latent confounder between
lect a root vertex and generate its value by sampling from                the switch activations, making the results unidentifiable
Bern(0.5). For the remaining vertices, we sample accord-                  based solely on observational data. To remove the effect
ing to the following distributions: P(Xi |PAi = 0) ∼                      of randomness, we repeat the generation process 100 times.
Bern(ϵ), P(Xi |PAi = 1) ∼ Bern(1 − ϵ), where PAi rep-                     The environment and its underlying causal structures are
resents the parent of Xi in the tree. For each vertex, we                 illustrated in Fig. 4.
randomly select ϵ from the interval [δ, 0.5 − δ]. We explore
                                                                          Result analysis. Tab. 2 shows the average number of inter-
five different choices of δ ∈ {0.05, 0.1, 0.15, 0.2, 0.25}.
                                                                          ventions needed to recover the underlying causal structures.
Results analysis. In Fig. 3, we show the averaged number                  As we can see, our method demonstrates competitive per-
of interventions required when applying (Greenewald et al.,               formance across various settings of |p0 − p1 |. Notably, the
2019) and our method to recover the tree graph. As we                     advantage is particularly pronounced when |p0 −p1 | is small
can see, our method demonstrates consistent advantage over                and the causal influence is weak, which aligns with observa-
baselines under all settings of δ. Particularly, in the most              tions from the bivariate causal discovery experiment. These
challenging scenario with δ = 0.05, our method recover                    results underscore the applicability of our method to causal
the graph with averagely 140 interventions, which is about                reasoning tasks in Embodied AI.
10% fewer than the information-theoretic methods proposed
by (Tigas et al., 2022; Toth et al., 2022). These results                 6. Conclusions and limitations
highlight the effectiveness of our Bayes factor objective in
optimizing reliable causal discovery, as well as the efficacy             In this paper, we propose a novel Bayesian framework for
of our sequential optimization algorithm in identifying the               active causal discovery. We formulated an objective based
optimal intervention values.                                              on Bayes factors and the probability of obtaining decisive

                                                                      8
                                         Bayesian Active Learning for Bivariate Causal Discovery

                                            H0 :      S1        S2            References
                                                     L2        L1             Agrawal, R., Squires, C., Yang, K., Shanmugam, K., and
                                                                                Uhler, C. Abcd-strategy: Budgeted experimental de-
                                            H1 :      S1        S2              sign for targeted causal structure discovery. In The 22nd
                                                     L1        L2              International Conference on Artificial Intelligence and
                                                                               Statistics, pp. 3400–3409. PMLR, 2019.
Figure 4. The simulation environment for the switch-light reason-
ing task. The agent is required to identify which swich (S1 and               Berger, J. O. Statistical decision theory and Bayesian anal-
S2 ) controls which light (L1 and L2 ) though active exploration.               ysis. Springer Science & Business Media, 2013.
The causal graphs under H0 and H1 are shown on the right.
                                                                              Bernardo, J. M. Expected information as expected utility.
                                                                                the Annals of Statistics, pp. 686–690, 1979.

                                                                              Blau, T., Bonilla, E. V., Chades, I., and Dezfouli, A. Op-
Table 2. Average number of interventions required in the switch-                timizing sequential experimental design with deep re-
light reasoning task. Best results are boldfaced.                               inforcement learning. In International conference on
                                     Range of |p0 − p1 |                        machine learning, pp. 2107–2128. PMLR, 2022.
     Methods
                        (0.2, 0.3)   (0.4, 0.5) (0.6, 0.7)   (0.8, 0.9)
       Rand            46.15±14.5    14.77±2.7 7.44±1.3      4.00±0.7
     InfoGain          33.51±13.9     9.97±3.9   5.05±1.7    2.60±0.8         Blöbaum, P., Janzing, D., Washio, T., Shimizu, S., and
 Multi-step InfoGain   32.52±14.3    9.66±3.6    4.99±1.6    2.63±0.7           Schölkopf, B. Cause-effect inference by comparing re-
       Ours            32.11±13.2     9.88±3.3   4.89±1.5    2.61±0.7           gression errors. In International Conference on Artificial
                                                                                Intelligence and Statistics, pp. 900–909. PMLR, 2018.

                                                                              Castelletti, F. and Consonni, G. Bayesian sample size deter-
                                                                                mination for causal discovery. Statistical Science, 39(2):
and correct evidence for causal relationships under interven-                   305–321, 2024.
tions. To optimize this objective, we present an efficient
sequential optimization algorithm grounded in dynamic pro-                    Castelo, R. and Perlman, M. D. Learning essential graph
gramming. The effectiveness of our method is demonstrated                       markov models from data. In Advances in Bayesian
through superior performance in bivariate causal discovery                      networks, pp. 255–269. Springer, 2004.
and tree-structured causal graph learning tasks.
                                                                              Chakraborty, S. and Chowdhury, R. Sequential experimen-
Limitation and Future works. While our method can ef-
                                                                                tal design based generalised anova. Journal of Computa-
fectively identify causal relationships in the bivariate case,
                                                                                tional Physics, 317:15–32, 2016.
extending it to multivariate graphs can be non-trivial, since
we currently rely on the identifiability of p{y|do(x)} for                    Fariha, A., Nath, S., and Meliou, A. Causality-guided adap-
optimization. To resolve this problem, we will develop                          tive interventional debugging. In Proceedings of the 2020
algorithms that simultaneously estimate the interventional                      ACM SIGMOD International Conference on Management
distribution and compute the Bayes factors from the inter-                      of Data, pp. 431–446, 2020.
ventional samples for a dedicated solution. Moreover, we
are also interested in applying our method to various causal                  Fisher, R. A. Design of experiments. British Medical
reasoning and intuitive physics tasks in Embodied AI.                           Journal, 1(3923):554, 1936.

Acknowledgements                                                              Foster, A., Ivanova, D. R., Malik, I., and Rainforth, T. Deep
                                                                                adaptive design: Amortizing sequential bayesian experi-
This work was supported by the National Science and                             mental design. In International conference on machine
Technology Major Project (2022ZD0114904) and NSFC-                              learning, pp. 3384–3395. PMLR, 2021.
6247070125.
                                                                              Gong, T., Gerstenberg, T., Mayrhofer, R., and Bramley,
Impact Statement                                                                N. R. Active causal structure learning in continuous time.
                                                                               Cognitive Psychology, 140:101542, 2023.
This paper presents work whose goal is to advance the field
of Machine Learning. There are many potential societal                        González, J., Osborne, M., and Lawrence, N. Glasses: Re-
consequences of our work, none which we feel must be                            lieving the myopia of bayesian optimisation. In Artificial
specifically highlighted here.                                                  Intelligence and Statistics, pp. 790–799. PMLR, 2016.

                                                                          9
                                  Bayesian Active Learning for Bivariate Causal Discovery

Gonzalez-Soto, M., Sucar, L. E., and Escalante, H. J. Play-          Lindley, D. V. On a measure of the information provided by
  ing against nature: causal discovery for decision mak-               an experiment. The Annals of Mathematical Statistics, 27
  ing under uncertainty. arXiv preprint arXiv:1807.01268,              (4):986–1005, 1956.
  2018.
                                                                     Loshchilov, I. and Hutter, F. Sgdr: Stochastic gra-
Greenewald, K., Katz, D., Shanmugam, K., Magliacane, S.,               dient descent with warm restarts. arXiv preprint
  Kocaoglu, M., Boix Adsera, E., and Bresler, G. Sample                arXiv:1608.03983, 2016.
  efficient active learning of causal trees. Advances in
  Neural Information Processing Systems, 32, 2019.                   Madigan, D., Andersson, S. A., Perlman, M. D., and Volin-
                                                                      sky, C. T. Bayesian model averaging and model selection
Han, X., Zhang, L., Wu, Y., and Yuan, S. On root cause                for markov equivalence classes of acyclic digraphs. Com-
  localization and anomaly mitigation through causal in-              munications in Statistics–Theory and Methods, 25(11):
  ference. In Proceedings of the 32nd ACM International               2493–2519, 1996.
  Conference on Information and Knowledge Management,
                                                                     Masegosa, A. R. and Moral, S. An interactive approach for
  pp. 699–708, 2023.
                                                                      bayesian network learning using domain/expert knowl-
Hauser, A. and Bühlmann, P. Two optimal strategies for               edge. International Journal of Approximate Reasoning,
  active learning of causal models from interventional data.          54(8):1168–1181, 2013.
  International Journal of Approximate Reasoning, 55(4):
                                                                     Mian, O., Kamp, M., and Vreeken, J. Information-theoretic
  926–939, 2014.
                                                                      causal discovery and intervention detection over multiple
He, Y.-B. and Geng, Z. Active learning of causal networks             environments. In Proceedings of the AAAI Conference on
  with intervention experiments and optimal designs. Jour-            Artificial Intelligence, volume 37, pp. 9171–9179, 2023.
  nal of Machine Learning Research, 9(Nov):2523–2547,                Mitrovic, J., Sejdinovic, D., and Teh, Y. W. Causal infer-
  2008.                                                               ence via kernel deviance measures. Advances in neural
                                                                      information processing systems, 31, 2018.
Hoyer, P., Janzing, D., Mooij, J. M., Peters, J., and
  Schölkopf, B. Nonlinear causal discovery with additive            Murphy, K. P. Active learning of causal bayes net structure.
  noise models. Advances in neural information processing             Technical report, technical report, UC Berkeley, 2001.
  systems, 21, 2008.
                                                                     Palanki, V. Leveraging causal inference techniques for
Huan, X. and Marzouk, Y. M. Sequential bayesian optimal                robust root cause identification in complex systems. J
  experimental design via approximate dynamic program-                 Artif Intell Mach Learn & Data Sci 2024, 2(3):1200–1203,
  ming. arXiv preprint arXiv:1604.08320, 2016.                         2024.
Jeffreys, H. Theory of Probability (3rd Edition). Oxford,            Pearl, J. Causality. Cambridge university press, 2009.
  University Press, 1961.
                                                                     Peng, Y., Han, J., Zhang, Z., Fan, L., Liu, T., Qi, S., Feng,
Jia, Z. and Zhang, X. Accurate determination of causalities            X., Ma, Y., Wang, Y., and Zhu, S.-C. The tong test:
   in gene regulatory networks by dissecting downstream                Evaluating artificial general intelligence through dynamic
   target genes. Frontiers in Genetics, 13:923339, 2022.               embodied physical and social interactions. Engineering,
                                                                       34:12–22, 2024.
Jiang, S., Chai, H., Gonzalez, J., and Garnett, R. Binoculars
   for efficient, nonmyopic sequential experimental design.          Pham, L., Ha, H., and Zhang, H. Root cause analysis for
   In International Conference on Machine Learning, pp.                microservice system based on causal inference: How far
   4794–4803. PMLR, 2020.                                              are we? In Proceedings of the 39th IEEE/ACM Interna-
                                                                       tional Conference on Automated Software Engineering,
Kass, R. E. and Raftery, A. E. Bayes factors. Journal of the           pp. 706–715, 2024.
  american statistical association, 90(430):773–795, 1995.
                                                                     Pinna, A., Soranzo, N., and De La Fuente, A. From knock-
Kingma, D. P. and Ba, J. Adam: A method for stochastic                 outs to networks: establishing direct cause-effect relation-
  optimization. arXiv preprint arXiv:1412.6980, 2014.                  ships through graph analysis. PloS one, 5(10):e12912,
                                                                       2010.
Lim, V., Novoseller, E., Ichnowski, J., Huang, H., and
  Goldberg, K. Policy-based bayesian experimental design             Rainforth, T., Foster, A., Ivanova, D. R., and Bickford Smith,
  for non-differentiable implicit models. arXiv preprint               F. Modern bayesian experimental design. Statistical
  arXiv:2203.04272, 2022.                                              Science, 39(1):100–114, 2024.

                                                                10
                                   Bayesian Active Learning for Bivariate Causal Discovery

Reggiani, P. and Weerts, A. A bayesian approach to decision-
  making under uncertainty: An application to real-time
  forecasting in the river rhine. Journal of Hydrology, 356
  (1-2):56–69, 2008.
Schönbrodt, F. D. and Wagenmakers, E. Bayes factor de-
  sign analysis: Planning for compelling evidence. Psy-
  chon. B. Rev., 25(1):128–142, 2017. doi: doi:10.3758/
  s13423-017-1230-y.
Schönbrodt, F. D. and Wagenmakers, E.-J. Bayes factor
  design analysis: Planning for compelling evidence. Psy-
  chonomic bulletin & review, 25(1):128–142, 2018.

Shanmugam, K., Kocaoglu, M., Dimakis, A. G., and Vish-
  wanath, S. Learning causal graphs with small interven-
  tions. Advances in Neural Information Processing Sys-
  tems, 28, 2015.
Spirtes, P., Glymour, C., and Scheines, R. Causation, pre-
  diction, and search. MIT press, 2001.

Tagasovska, N., Chavez-Demoulin, V., and Vatter, T. Dis-
  tinguishing cause from effect using quantiles: Bivariate
  quantile causal discovery. In International Conference
  on Machine Learning, pp. 9311–9323. PMLR, 2020.

Tigas, P., Annadani, Y., Jesson, A., Schölkopf, B., Gal, Y.,
  and Bauer, S. Interventions, where and how? experimen-
  tal design for causal models at scale. Advances in Neural
  Information Processing Systems, 35:24130–24143, 2022.
Tong, S. and Koller, D. Active learning for structure in
  bayesian networks. In International joint conference on
  artificial intelligence, volume 17, pp. 863–869. Citeseer,
  2001.
Toth, C., Lorch, L., Knoll, C., Krause, A., Pernkopf, F.,
  Peharz, R., and Von Kügelgen, J. Active bayesian causal
  inference. Advances in Neural Information Processing
  Systems, 35:16261–16275, 2022.
Trimmer, P. C., Houston, A. I., Marshall, J. A., Mendl, M. T.,
  Paul, E. S., and McNamara, J. M. Decision-making under
  uncertainty: biases and bayesians. Animal cognition, 14:
  465–476, 2011.

von Kügelgen, J., Rubenstein, P. K., Schölkopf, B., and
  Weller, A. Optimal experimental design via bayesian
  optimization: active causal structure learning for gaus-
  sian process networks. arXiv preprint arXiv:1910.03962,
  2019.

Xin, R., Chen, P., and Zhao, Z. Causalrca: Causal inference
  based precise fine-grained root cause localization for mi-
  croservice applications. Journal of Systems and Software,
  203:111724, 2023.


                                                                 11
                                 Bayesian Active Learning for Bivariate Causal Discovery

Appendix

A The connection between PDC and information gain                                                                        13

B Multi-step optimization                                                                                                13
   B.1 Proof of symmetry property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    13
   B.2 Proof of count-dependent only property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .      14
   B.3 Estimation and optimization for continuous interventions . . . . . . . . . . . . . . . . . . . . . . . . . .      15
   B.4 Estimation of Interventional Distributions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .    15
   B.5 Parameter Prior and Likelihood Computation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .        15
   B.6 Smooth Approximation for Gradient-based Optimization . . . . . . . . . . . . . . . . . . . . . . . . . .          15

C Application to multivariate causal discovery                                                                           16

D Experiments                                                                                                            17
   D.1 Bayes Factor classification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .   17
   D.2 Additional results on the discrete setting with k0 = 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . .   17
   D.3 Performance evaluation with different evidence thresholds . . . . . . . . . . . . . . . . . . . . . . . . .       19
   D.4 Experiments on Continuous Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .      19
   D.5 Variance Analysis for Tree Structure Experiments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .      20




                                                            12
                                         Bayesian Active Learning for Bivariate Causal Discovery

A. The connection between PDC and information gain
Here we provide a detailed analysis of the relationship between our objective function and the information gain criterion.
The mutual information between the hypothesis H and new observation Y given intervention X = x can be expressed as:

                                          XZ                                      p{y, H = h | do(X = x)}
              I(Y ; H | X = x) =                   p{y, H = h | do(X = x)} log                            dy
                                               Y                                  p{y | do(X = x), H = h}
                                           h
                                                                                                                              (9)
                                          XZ                                     p{y, H = h | do(X = x)}
                                      =          p{y | do(X = x), H = h}P(H) log                         dy
                                               Y                                 p{y | do(X = x), H = h}
                                           h


For the term p{y, H = h | do(X = x)}/p{y | do(X = x), H = h} when h = H0 , we can derive:

                 p{y, H0 | do(X = x)}         p{y | do(X = x), H0 }
                                       =P                         ′    ′
                 p{y | do(X = x), H0 }     h p{y | do(X = x), h }p{h }
                                            ′

                                                             p{y | do(X = x), H0 }
                                       =                                                                                    (10)
                                         p{y | do(X = x), H0 }p{H0 } + p{y | do(X = x), H1 }p{H1 }
                                                 BF01 ({(x, ynew )})
                                       =
                                         BF01 ({(x, ynew )})p{H0 } + p{H1 }

Similarly, when h = H1 , we can obtain:

                                p{y, H1 | do(X = x)}                     1
                                                      =                                                                     (11)
                                p{y | do(X = x), H1 }   BF01 ({(x, ynew )})p{H0 } + p{H1 }

Therefore:
                                     Z
                                                        BF01 ({(x, ynew )})
          I(Y ; H | X = x) =              p{H0 } log                               p{Y = y | do(X = x), H0 }dy
                                   Y            BF01 ({(x, ynew )})p{H0 } + p{H1 }
                                 Z                                                                                          (12)
                                                                 1
                               +     p{H1 } log                                    p{Y = y | do(X = x), H1 }dy
                                  Y             BF01 ({(x, ynew )})p{H0 } + p{H1 }

Comparing the summands in equations 5 and above, we can observe that both are monotonic functions of BF01 ({(x, ynew )}).
When BF01 ({(x, ynew )}) increases, both the indicator function in PDC and the logarithm term in information gain increase,
indicating these objectives are aligned in preferring interventions that yield high Bayes factors when H0 is true, and low
Bayes factors when H1 is true.

B. Multi-step optimization
B.1. Proof of symmetry property
Here we provide a detailed proof that PDC (x1:k ) is symmetric in its arguments (x1 , · · · , xk ) for any fixed k. This symmetry
property is crucial for reducing the computational complexity of our optimization problem.
Proposition B.1. For any fixed k, PDC (x1:k ) is symmetric in its arguments (x1 , · · · , xk ).

Proof. By definition of PDC (Equation (6)), we have:

        PDC (x1:k ) = P{BF01 ({x1 , y 1 } ∪ Dfut ) > k0 | H0 }P(H0 ) + P{BF01 ({x1 , y 1 } ∪ Dfut ) < k1 | H1 }P(H1 )
                       X
                    =       P{y1:k | do(x1:k ), H0 }P(H0 )I {BF01 ({x1 , y 1 } ∪ Dfut ) > k0 }
                        y1:k ∈Y k                                                                                           (13)
                          X
                    +               P{y1:k | do(x1:k ), H1 }P(H1 )I {BF01 ({x1 , y 1 } ∪ Dfut ) < k1 }
                        y1:k ∈Y k


                                                                   13
                                   Bayesian Active Learning for Bivariate Causal Discovery

For each hypothesis Hj , the likelihood term can be expressed as:
                                                                 k
                                                               Z Y
                           P{y1:k | do(x1:k ), Hj } =                   P{yi | do(xi ), θ, Hj }P{θ | Hj }dθ                  (14)
                                                                  i=1


The Bayes factor is the ratio of these likelihoods:
                                                              R Qk
                                                                        P{yi | do(xi ), θ, H0 }P{θ | H0 }dθ
                          BF01 ({x1 , y 1 } ∪ Dfut ) = R Qi=1
                                                          k
                                                                                                                             (15)
                                                                   i=1 P{yi | do(xi ), θ, H1 }P{θ | H1 }dθ


Both the likelihood terms and the Bayes factor are invariant under any permutation of the indices of (y1 , · · · , yk ) due to the
product form inside the integrals. By Fubini’s theorem, we can interchange the order of summation over y1:k in the original
expression. Since both the likelihoods and the decision criteria (through the Bayes factor) are invariant under permutations
of corresponding (xi , yi ) pairs, PDC (x1:k ) must be symmetric in (x1 , · · · , xk ).

This symmetry property leads to significant computational savings in the main optimization problem. Rather than evaluating
all possible ordered sequences of interventions, we only need to consider unique combinations of intervention values,
reducing the complexity from O(|X |k ) to O(k |X | ).

B.2. Proof of count-dependent only property
To develop an efficient optimization algorithm, we first prove that our k-step optimization decisions depend only on the
aggregate statistics of previous interventions. This property enables us to solve the problem recursively using dynamic
programming.
Proposition B.2. For the sequential optimization problem in Equation 7, the optimal policy πt∗ : X t−1 → X at step t
depends only on the aggregate statistics of previous interventions:
                                                                    t−1
                                                                            !
                                                                   X
                                                 ∗
                                               πt (x1:t−1 ) = ft        exi
                                                                                  i=1

where exi is the unit vector corresponding to intervention xi , and ft : N|X | → X is some function.

Proof. Let nt ∈ N|X | denote the vector of counts for each intervention value in X up to step t, where the i-th element
represents how many times the i-th intervention value has been used in the first t steps. Our objective function is to maximize
Pk
   i=1 PDC (x1:i ). By the symmetry property (Proposition 4.1), PDC (x1:i ) = PDC (ni ), meaning the value at each step
depends only on the count vector rather than the specific sequence of interventions.
We can then transform the optimization problem as follows:
                                          K
                                          X
                                   max          γ k PDC (x1:k )
                                     x
                                          k=1
                                                       K
                                                       X
                              ⇐⇒         max                 γ k PDC (nk )
                                   valid n1 ,··· ,nK
                                                       k=1
                                              (                       K−1
                                                                                        )
                                                                      X
                                                                              k
                              ⇐⇒ max                    max                  γ PDC (nk )    + γ K PDC (nK )                  (16)
                                   valid nK     valid n1 ,··· ,nK−1
                                                                      k=1


Here, a count vector nk is valid if there exists an intervention sequence x1:k that generates it, i.e., if there exists some xk
such that nk = nk−1 + exk . This decomposition reveals that at each step we need to: (i) track the current count vector nk ,
(ii) choose the next intervention xk that generates a valid next count vector, and (iii) solve the subproblem for the previous
k − 1 steps. This structure suggests maintaining value functions Jk (nk ) and policies πk (nk ) for each possible count vector
at each step, which can be computed recursively through dynamic programming.

                                                                        14
                                   Bayesian Active Learning for Bivariate Causal Discovery

B.3. Estimation and optimization for continuous interventions
In the continuous intervention setting, estimating interventional distributions and computing likelihoods requires careful
consideration of the continuous parameter space. Here we detail our approach for implementation.

B.4. Estimation of Interventional Distributions
For continuous interventions, we first estimate the parameters of the interventional distributions under each hypothesis using
maximum likelihood estimation:
Under H0 where X has no causal effect on Y , the interventional distribution reduces to the marginal distribution:

                                            P{y | do(X = x), θ, H0 } = P{y | θ}                                          (17)

Under H1 where X causes Y , the interventional distribution equals the conditional distribution:

                                           P{y | do(X = x), θ, H1 } = P{y | x, θ}                                        (18)

The maximum likelihood estimates θ̂ for each hypothesis are obtained by:
                                                            Nobs
                                                            X
                                           θ̂H = arg max           log P{yi | xi , θ, H}                                 (19)
                                                        θ
                                                            i=1


B.5. Parameter Prior and Likelihood Computation
Following (Kass & Raftery, 1995), we employ a data-dependent parameter prior centered around the MLE estimate. For
each hypothesis H, we approximate the parameter posterior as a Gaussian distribution:

                                                  P{θ | Dm , H} ≈ N (θ̂, Σ̂)                                             (20)

where Σ̂ is the inverse Hessian of the negative log-likelihood at θ̂.
The marginal likelihood is then approximated using Laplace’s method:

                         P{y | do(X = x), H} ≈ (2π)d/2 P{y | do(X = x), θ̂, H}|Σ̂|1/2 P{θ̂ | H}                          (21)

In practice, computing the Hessian for all data points in each likelihood evaluation can be computationally intensive. An
alternative is to use an empirical Bayes approach with a point mass prior (Σ̂ → 0), which reduces the computation to a
likelihood ratio test while maintaining computational efficiency.

B.6. Smooth Approximation for Gradient-based Optimization
To enable gradient-based optimization in continuous intervention space, we need to address the non-differentiability of the
indicator functions in PDC . We introduce a smooth approximation using the exponential function:
                                                     (
                                                       exp(−x/β) if x < 0
                                            Hβ (x) =                                                                   (22)
                                                       1             if x ≥ 0

This can be expressed compactly using the ReLU function:

                                               Hβ (x) = exp(−ReLU(−x)/β)                                                 (23)

Using this approximation, we can first rewrite the single-step PDC in a differentiable form:

                   PDC (Dm , x) ≈ Ey∼m̂0 {exp(−ReLU(k0 − BF01 (Dm ∪ {(x, y)}))/β)} P(H0 | Dm )
                                                                                                                         (24)
                                 + Ey∼m̂1 {exp(−ReLU(BF01 (Dm ∪ {(x, y)}) − k1 )/β)} P(H1 | Dm )

                                                               15
                                      Bayesian Active Learning for Bivariate Causal Discovery

The expectations are approximated using Monte Carlo sampling:
                                      N
                                 1 X
                                       exp −ReLU(k0 − BF01 (Dm ∪ {(x, yi0 )}))/β P(H0 | Dm )
                                          
                        P̂DC =
                                 N i=1
                                                                                                                      (25)
                                      N
                               1 X
                                     exp −ReLU(BF01 (Dm ∪ {(x, yi1 )}) − k1 )/β P(H1 | Dm )
                                        
                             +
                               N i=1

Similarly, for the multi-step case, we can write:
               PDC (x1:K ) ≈ Ey∼m̂0 {exp(−ReLU(k0 − BF01 (Dm ∪ {(x1 , y 1 )} ∪ Dfut ))/β)} P(H0 | Dm )
                                                                                                                      (26)
                            + Ey∼m̂1 {exp(−ReLU(BF01 (Dm ∪ {(x1 , y 1 )} ∪ Dfut ) − k1 )/β)} P(H1 | Dm )

where Dfut = {(x2 , y 2 ), ..., (xK , y K )} represents data of the next K − 1 steps.
This differentiable approximation enables the use of gradient-based optimization methods to find the optimal intervention
values. The smoothing parameter β controls the trade-off between approximation accuracy and optimization stability.

C. Application to multivariate causal discovery
To illustrate both the applicability and limitations of our method in general graphs, consider a three-node complete graph
(as shown in Figure 5). Figure 6 shows all possible configurations under H0 : X ← Y , and Figure 7 shows configurations
under H1 : X → Y .

                                                                   Z

                                                              ?          ?

                                                          X                   Y
                                                                   ?

                                Figure 5. A complete three-node graph with uncertain edge directions


                                  Z                                Z                            Z


                            X             Y                 X            Y                X            Y

                             (a) Case (i)                     (b) Case (ii)               (c) Case (iii)

                                          Figure 6. Possible configurations under H0 : X ← Y


                                  Z                                Z                            Z


                            X             Y                 X            Y                X            Y

                             (a) Case (i)                     (b) Case (ii)               (c) Case (iii)

                                          Figure 7. Possible configurations under H1 : X → Y

When testing the causal direction between X and Y in this setting, under H0 : X ← Y , the possible configurations are
shown in Figure 6. For all these cases, P{Y | do(X), H0 } = P{Y } since X has no causal effect on Y.

                                                                   16
                                     Bayesian Active Learning for Bivariate Causal Discovery

Under H1 : X → Y , we have the configurations shown in Figure 7. The interventional distributions differ
                                                                                                    R across these
cases: for cases (a) and (b), P{Y | do(X), H1 } = P{Y | X}, while for case (c), P{Y | do(X), H1 } = P{Y | X, Z =
z}P{Z = z}dz.
However, when certain structural information is known (e.g., if we know X ← Z → Y exists), the interventional
distributions become uniquely identifiable, corresponding to case (c) in Figure 7. In such cases, our method directly applies.

D. Experiments
D.1. Bayes Factor classification
The Bayes factor can be classified into different categories of evidence strength (Jeffreys, 1961; Schönbrodt & Wagenmakers,
2017), which helps interpret its value in supporting H0 or H1 . Table 3 presents these classifications:


Table 3. Classification for the evidence levels of the Bayes factor BF01 (from (Schönbrodt & Wagenmakers, 2017) adapted from (Jeffreys,
1961)).
                                         Bayes factor               Evidence Level
                                            > 100              Extreme evidence for H0
                                          30 − 100            Very strong evidence for H0
                                           10 − 30              Strong evidence for H0
                                            3 − 10             Moderate evidence for H0
                                            1−3               Anecdotal evidence for H0
                                              1                       No evidence
                                           1/3 - 1            Anecdotal evidence for H1
                                          1/10 - 1/3           Moderate evidence for H1
                                         1/30 - 1/10            Strong evidence for H1
                                         1/100 - 1/30         Very strong evidence for H1
                                           < 1/100             Extreme evidence for H1

This classification provides a systematic framework for interpreting Bayes factors, with values further from 1 indicating
stronger evidence for the respective hypothesis. The reciprocal nature of the classification (e.g., BF01 > 100 and
BF01 < 1/100 representing extreme evidence for opposing hypotheses) reflects the symmetry in evidence interpretation.

D.2. Additional results on the discrete setting with k0 = 10
This appendix presents comprehensive performance results across the full range of total variation (TV) distances from 0
to 1.0, examining how the choice of |p1 − p0 | described in Section 5 affects both the recall rate and Type I error control.
For each TV distance range (spanning intervals of 0.1), we show recall rates under H1 and Type I error rates under H0 ,
presented in consecutive columns.




                                                                  17
                                                                            Bayesian Active Learning for Bivariate Causal Discovery
                                                                                                                                                      0.7
           0.20
                       Rand                                                                                                                                                                                                   0.04
                       InfoGain                                                       0.03                                                            0.6

           0.15        Multi-step InfoGain                                                                                                            0.5                                                                     0.03




                                                                  Type I error rate




                                                                                                                                                                                                          Type I error rate
                       Ours
                                                                                      0.02                                                            0.4




                                                                                                                                             Recall
  Recall




           0.10                                                                                                                                                                                                               0.02
                                                                                                                                                      0.3
                                                                                      0.01
                                                                                                                                                      0.2                                                                     0.01
           0.05
                                                                                                                                                      0.1
                                                                                      0.00                                                                                                                                    0.00
           0.00                                                                                                                                       0.0
                  0      20         40       60        80   100                              0     20        40       60         80   100                   0    20        40       60         80   100                              0     20        40       60         80   100
                              Interventional samples                                                    Interventional samples                                        Interventional samples                                                    Interventional samples


                      Recall (0.0-0.1)                                                           Type I (0.0-0.1)                                               Recall (0.1-0.2)                                                         Type I (0.1-0.2)

                                                                                                                                                      1.0
                                                                                      0.05                                                                                                                                    0.05
           0.8
                                                                                                                                                      0.8
                                                                                      0.04                                                                                                                                    0.04
                                                                  Type I error rate




                                                                                                                                                                                                          Type I error rate
           0.6
                                                                                                                                                      0.6                                                                     0.03
  Recall




                                                                                                                                             Recall
                                                                                      0.03
           0.4                                                                                                                                                                                                                0.02
                                                                                      0.02                                                            0.4

           0.2                                                                        0.01                                                                                                                                    0.01
                                                                                                                                                      0.2

                                                                                      0.00                                                                                                                                    0.00
           0.0                                                                                                                                        0.0
                  0     20         40        60        80   100                              0     20        40       60         80   100                   0    20        40       60         80   100                              0     20        40       60         80   100
                              Interventional samples                                                    Interventional samples                                        Interventional samples                                                    Interventional samples


                      Recall (0.2-0.3)                                                           Type I (0.2-0.3)                                               Recall (0.3-0.4)                                                         Type I (0.3-0.4)

           1.0                                                                        0.05                                                            1.0
                                                                                                                                                                                                                              0.05
           0.8                                                                        0.04                                                            0.8
                                                                                                                                                                                                                              0.04
                                                                  Type I error rate




                                                                                                                                                                                                          Type I error rate
           0.6                                                                        0.03                                                            0.6                                                                     0.03
  Recall




                                                                                                                                             Recall



                                                                                      0.02                                                                                                                                    0.02
           0.4                                                                                                                                        0.4

                                                                                      0.01                                                                                                                                    0.01
           0.2                                                                                                                                        0.2
                                                                                      0.00                                                                                                                                    0.00
           0.0                                                                                                                                        0.0
                  0     20         40        60        80   100                              0     20        40       60         80   100                   0    20        40       60         80   100                              0     20        40       60         80   100
                              Interventional samples                                                    Interventional samples                                        Interventional samples                                                    Interventional samples


                      Recall (0.4-0.5)                                                           Type I (0.4-0.5)                                               Recall (0.5-0.6)                                                         Type I (0.5-0.6)

           1.0                                                                                                                                        1.0                                                                     0.06
                                                                                      0.04
           0.8                                                                                                                                        0.8                                                                     0.05
                                                                  Type I error rate




                                                                                                                                                                                                          Type I error rate
                                                                                      0.03                                                                                                                                    0.04
           0.6                                                                                                                                        0.6
  Recall




                                                                                                                                             Recall




                                                                                      0.02                                                                                                                                    0.03
           0.4                                                                                                                                        0.4
                                                                                                                                                                                                                              0.02
                                                                                      0.01
           0.2                                                                                                                                        0.2                                                                     0.01
                                                                                      0.00
                                                                                                                                                                                                                              0.00
           0.0                                                                                                                                        0.0
                  0     20         40        60        80   100                              0     20        40       60         80   100                   0    20        40       60         80   100                              0     20        40       60         80   100
                              Interventional samples                                                    Interventional samples                                        Interventional samples                                                    Interventional samples


                      Recall (0.6-0.7)                                                           Type I (0.6-0.7)                                               Recall (0.7-0.8)                                                         Type I (0.7-0.8)

           1.0                                                                                                                                        1.0
                                                                                      0.04                                                                                                                                    0.04
           0.8                                                                                                                                        0.8
                                                                                      0.03                                                                                                                                    0.03
                                                                  Type I error rate




                                                                                                                                                                                                          Type I error rate




           0.6                                                                                                                                        0.6
  Recall




                                                                                                                                             Recall




                                                                                      0.02                                                                                                                                    0.02
           0.4                                                                                                                                        0.4
                                                                                      0.01                                                                                                                                    0.01
           0.2                                                                                                                                        0.2
                                                                                      0.00                                                                                                                                    0.00
           0.0                                                                                                                                        0.0
                  0     20         40        60        80   100                              0     20        40       60         80   100                   0    20        40       60         80   100                              0     20        40       60         80   100
                              Interventional samples                                                    Interventional samples                                        Interventional samples                                                    Interventional samples


                      Recall (0.8-0.9)                                                           Type I (0.8-0.9)                                               Recall (0.9-1.0)                                                         Type I (0.9-1.0)


Figure 8. Performance evaluation showing recall rates and Type I error rates for different causal strengthness (evalueted by the total
variation (TV) distance ranges between P{Y | do(X = 0)} and P{Y | do(X = 1)}

These results provide a complete picture of method performance across different distributional distances, complementing the
focused analysis of representative TV ranges presented in the main text. The figures maintain a consistent layout: each row
shows two pairs of metrics - recall and Type I error rates for consecutive TV distance ranges, allowing direct comparison of
performance as the distributional similarity varies from highly similar (TV range 0-0.1) to highly distinct (TV range 0.9-1.0).

                                                                                                                                        18
                                      Bayesian Active Learning for Bivariate Causal Discovery




Figure 9. Results on bivariate causal discovery with k0 = 30 (very strong evidence). The two rows presents results in two different
settings. Columns (a)-(d) report the type I error rate, recall, PDC under H0 , and PDC under H1 , respectively, in relation to the number of
intervention samples.


The paired layout facilitates examination of how performance evolves across adjacent TV ranges, with each row capturing
the transition between consecutive intervals.

D.3. Performance evaluation with different evidence thresholds
Following established Bayesian evidence interpretation frameworks (Jeffreys, 1961; Schönbrodt & Wagenmakers, 2018), we
conducted additional experiments with more stringent evidence thresholds to verify the robustness of our proposed method.
This subsection presents results for k0 = 30 (very strong evidence) and k0 = 100 (extreme evidence), complementing the
k0 = 10 results shown above. These experiments were conducted in response to reviewer feedback and demonstrate the
utility of our methods across different evidence strength requirements.
Results with stringent evidence thresholds. We report the performance under more stringent evidence requirements in
Fig. 9 and Fig. 10. Our method consistently outperforms baselines in recall while maintaining competitive type I error rates
across both k0 = 30 and k0 = 100 settings. The advantage stems from our PDC -based optimization that efficiently collects
decisive evidence. Importantly, the superior performance of our approach remains consistent across different evidence
threshold requirements, demonstrating the robustness of the proposed intervention strategy.

D.4. Experiments on Continuous Settings
Experimental Setup For continuous intervention variables, we employ the Adam optimizer (Kingma & Ba, 2014) with
cosine learning rate scheduling (Loshchilov & Hutter, 2016) (initial rate 0.1, cosine decaying to 0.001 over 200 steps, total
4000 optimization steps). Following the same rejection criterion as in the discrete case, we maintain k0 = k11 = 10 and use
ns = 1, 000 observational samples with T = 100 sequential interventions.

Data Generation        We evaluate our method using additive noise models (ANMs):
Under H1 : X → Y :
                                                             Y = f (X) + ε                                                             (27)

Under H0 : X ← Y :
                                                             X = f (Y ) + ε                                                            (28)

Here f (x) = tanh(x) is the nonlinear link function. To test robustness across different noise distributions, we create a pool

                                                                    19
                                      Bayesian Active Learning for Bivariate Causal Discovery




Figure 10. Results on bivariate causal discovery with k0 = 100 (extreme evidence). The two rows presents results in two different
settings. Columns (a)-(d) report the type I error rate, recall, PDC under H0 , and PDC under H1 , respectively, in relation to the number of
intervention samples.


of noise models including uniform, normal, Student’s t, and two different 4-component Gaussian mixtures:
                                              4
                                              X                                1    3
                                         ε∼          πi N (µi , σi2 ),    π=     1 + Softmax(z)                                        (29)
                                               i=1
                                                                               8    4

where z ∼ N (0, I4 ). For each experimental setting, we randomly select one distribution from this pool. This approach
allows us to evaluate our method’s performance under diverse and complex noise patterns.

Parameter Estimation          For each hypothesis H, we model the functional relationship as:

                                                            fθ (x) = a tanh(bx)                                                        (30)

where θ = (a, b) are learnable parameters. The output distribution is modeled using a mixture of 4 Gaussian components
to approximate arbitrary distributions flexibly. We jointly learn these structural parameters along with the mixture model
parameters (means, variances, and mixing weights) using maximum likelihood estimation on observational data. The
optimization is performed using Adam optimizer (Kingma & Ba, 2014) for 10,000 steps with an initial learning rate of 0.1,
which is decreased by a factor of 2 at steps 3000, 5000, and 7500.
After learning the model parameters from observational data, we compute the likelihood of interventional samples using the
method described in Appendix B.5.

Results The experimental results in Figure 11 demonstrate that all methods achieve comparable performance in the
continuous setting. Both recall and Type I error rates show similar performance levels across different approaches, with
well-controlled Type I error rates. This convergence can be attributed to the identifiability properties of ANMs, where causal
direction can often be determined from observational data alone. The intervention selection strategy thus becomes less
critical compared to the discrete case, highlighting how model structure influences the complexity of causal discovery.

D.5. Variance Analysis for Tree Structure Experiments
To better understand the performance characteristics of different methods, we analyze the distribution of required interven-
tions across 200 random trials, visualized through violin plots partitioned into five groups. While the average performance
of random intervention appears competitive in certain settings, the violin plots reveal high variance in its performance
distribution. Specifically, the random strategy exhibits a bimodal distribution with a concentrated mass of trials requiring

                                                                         20
                                                                Bayesian Active Learning for Bivariate Causal Discovery


                            1.0                                                                                          1.0

                            0.8                                                                                          0.8




                                                                                                          Type I Error
                            0.6                                                                                          0.6
              Recall




                            0.4                                                                                          0.4
                                                                             Rand
                            0.2                                              InfoGain                                    0.2
                                                                             Multi-step InfoGain
                            0.0                                              Ours                                        0.0

                                                  0    10            20            30          40                              0   10            20             30    40
                                                            Active Sampling Size                                                        Active Sampling Size


                                                            (a) Recall                                                             (b) Type I Error

Figure 11. Performance comparison in continuous settings showing recall and Type I error rates. All methods achieve comparable
performance with relatively few interventions, suggesting that in the continuous additive noise setting, causal direction can be effectively
determined regardless of the intervention strategy.


few interventions and a longer tail of trials requiring significantly more interventions. In contrast, both information gain and
multi-step information gain methods demonstrate more uniform distributions, indicating more consistent and predictable
performance across trials. This suggests that the seemingly competitive average performance of random intervention is
largely driven by a small subset of fortunate trials, rather than reliable systematic efficiency.
               Average Number of Interventions




                                                                                                                                        Rand
                                                 200
                                                                                                                                        InfoGain
                                                                                                                                        Multi-step InfoGain
                                                 150                                                                                    Ours



                                                 100


                                                  50
                                                        0.05                       0.1                   0.15                       0.2                        0.24
                                                                                                              δ

Figure 12. Distribution of required interventions across different effect sizes ε, visualized using violin plots. Each violin plot represents
the distribution of 200 trials partitioned into five groups.




                                                                                                    21
