arXiv:2608.22212cs.LGAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.22212

Joint Causal Structure and Cluster Discovery Using Variational Inference

Avni Rajpal, Anubhav Kumar, Rishabh Karnad, Mohammad Emtiyaz Khan, P. K. Srijith

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Avni Rajpal

Department of Artificial Intelligence, Indian Institute of Technology Hyderabad, India

ai21resch04001@iith.ac.in

Anubhav Kumar

Department of Artificial Intelligence, Indian Institute of Technology Hyderabad, India

ai24mtech12004@iith.ac.in

Rishabh Karnad

Department of Artificial Intelligence, Indian Institute of Technology Hyderabad, India

ai22mtech12001@iith.ac.in

Mohammad Emtiyaz Khan

RIKEN Center for AI Project, Tokyo, Japan

emtiyaz.khan@riken.jp

P.K. Srijith

Department of Artificial Intelligence, Indian Institute of Technology Hyderabad, India

srijith@iith.ac.in

Abstract

Causal discovery aims to understand the relationships between individual random variables. In many applications, such as brain imaging and climate modeling, it is more meaningful to consider interactions among groups of variables. Existing methods assume that knowledge of such groups or clusters is explicitly available when modeling interactions. However, in practice, these clusters as well as the causal relationships among them, are latent. In this paper, we present a novel approach based on variational inference to simultaneously infer both the latent clusters and causal structures. We learn an approximate posterior over clusters and graph-structure by considering variational distributions based on categorical and Bernoulli models respectively. We derive variational lower bounds and estimation techniques to learn variational and model parameters. The effectiveness of our proposed methods for cluster and causal discovery are demonstrated on both synthetic and real data sets.

1 Introduction

The ability to go beyond statistical associations and infer causal effect relationships between variables in a data-generating system is crucial in many scientific applications (Pearl, 2009; Spirtes et al., 2000). Causal discovery aims to learn causal structure over a set of random variables from observational data, often represented as a directed acyclic graph (DAG). Typically, causal learning methods assume that the data generating process can be modeled using a structural causal model (SCM) (Peters et al., 2017). SCMs consist of a set of equations that represent independent mechanisms each of which produces scalar values and assumes that exogenous noise variables are independent. However, there are situations where it is more suitable to model mechanisms that generate vector-valued outputs. For instance, learning causal dependencies between brain regions rather than between individual neurons is more informative for neuroscientists (Semedo et al., 2020; Perich and Rajan, 2020).

In literature, DAGs over clusters, groups or partitions of variables are known as Group DAGs (Parviainen and Kaski, 2017) or Cluster DAGs (C-DAGs) (Anand et al., 2023). Wahl et al. (2023) discuss how to do causal inference over a pair of clusters of variables when the clustering is known. Another instance where grouping of variables is useful is in the presence of latent confounding, where the assumption of independent noise is violated. One of the works that group variables in the presence of confounding between exogenous variables is Kawahara et al. (2010), which explicitly assumes a linear non-Gaussian model. Vector-valued

SCMs (vSCMs) have been proposed recently by Wahl et al. (2024), which generalizes classical SCMs to accommodate grouping assumptions defined by C-DAG. Most works on C-DAGs assume variable grouping is known through domain knowledge. Recently, Niu et al. (2022) proposed a score-based approach to learn both clusters and DAGs jointly from the data, particularly when the underlying distribution is not faithful to the full DAG.

In this paper, we address the problem of jointly inferring causal structure and clusters from the observational data. We consider linear and non-linear Gaussian additive noise models based on vSCMs and propose a novel approach that treats both the clusters and structures as latent variables. The proposed approach learns an approximate posterior distribution over them by using variational inference (Blei et al., 2017). The proposed Bayesian treatment of learning distribution over clusters and structures can benefit in uncertainty quantification and active interventions. Bayesian learning has been found useful in the standard SCM setup in Annadani et al. (2021); Lorch et al. (2021); Deleu et al. (2022). However, developing a variational inference technique to infer both clusters and structures in vSCMs is challenging and we propose appropriate variational distributions and training methods to address this. The experimental results on synthetic and real data sets demonstrate the effectiveness of the proposed approach to jointly discover cluster and causal structure over clusters.

References (35)