<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Beyond Propensity Score: The SAHR, Subgroup-Aware Holistic Ridge for Causal Inference in Observational</article-title></title-group>
<contrib-group>
<contrib contrib-type="author"><name><surname>Hamisheh Bahar</surname><given-names>Mahdi</given-names></name><xref ref-type="aff" rid="aff1"/></contrib>
<aff id="aff1">Department of Industrial Engineering, Sharif University of Technology, Tehran, Iran.</aff>
</contrib-group>
<abstract><p>Causal inference is critical for decision-making in healthcare, economics, and policy, but it faces challenges such as confounding, heterogeneous treatment effects, and scalability in high-dimensional settings. Traditional methods like propensity scores often struggle with these complexities, particularly when treatment effects vary across subpopulations or datasets are large. To address these limitations, we propose Subgroup-Aware Holistic Ridge (SAHR). This novel framework leverages subgroup analysis, kernel approximation, and adaptive covariate balancing based on BNN or regression covariates to enable robust causal inference. SAHR identifies subgroups with heterogeneous treatment effects using Gaussian Mixture Models (GMM), ensures scalability via the Nyström method, and balances covariates adaptively through a Holistic Ridge regression framework. Experiments on benchmark datasets demonstrate that SAHR outperforms state-of-the-art methods in predictive accuracy, subgroup identification, and covariate balancing. By addressing key challenges in observational studies, SAHR advances causal inference methodology, offering an interpretable tool for applications in personalized medicine and policy evaluation.</p></abstract>
<kwd-group kwd-group-type="author"><kwd>Causal inference</kwd><kwd>Subgroup analysis</kwd><kwd>Covariate balancing</kwd><kwd>Gaussian mixture models</kwd><kwd>BNN</kwd><kwd>Propensity</kwd></kwd-group>
</article-meta></front>
<body>
<sec id="sec-1">
<p>scores, Regression.</p>
</sec>
<sec id="sec-2"><label>1</label><title>Introduction</title>
<p>Causal inference is a cornerstone of modern statistical and machine learning research, with applications spanning economics, social sciences, and biomedical studies. The primary goal of causal inference is to estimate the effect of interventions or treatments on outcomes of interest, often in the presence of confounding variables that can bias results. In observational studies, where treatments are not randomly assigned, addressing confounding is particularly challenging. Propensity score methods, introduced by <xref ref-type="bibr" rid="ref-1">[1]</xref>, have become a fundamental tool for reducing bias by balancing covariates between treated and control groups. These methods have been extensively studied and refined, with Austin <xref ref-type="bibr" rid="ref-2">[2]</xref> providing a comprehensive overview of their applications and limitations. Recent advancements in machine learning have significantly enhanced the toolkit for causal inference. Techniques such as Bayesian Additive Regression Trees (BART) <xref ref-type="bibr" rid="ref-3">[3]</xref>, doubly robust estimation <xref ref-type="bibr" rid="ref-4">[4]</xref>, and kernel-based methods <xref ref-type="bibr" rid="ref-5">[5]</xref> have enabled more flexible and accurate estimation of treatment effects. For instance, BART <xref ref-type="bibr" rid="ref-3">[3]</xref> offers a nonparametric Bayesian approach to modeling treatment effects, while doubly robust estimators <xref ref-type="bibr" rid="ref-4">[4]</xref> combine the strengths of outcome regression and propensity score weighting to achieve consistent estimates even under model misspecification. Kernel-based methods, such as the kernel two-sample test by <xref ref-type="bibr" rid="ref-5">[5]</xref>, provide powerful tools for comparing distributions and ensuring covariate balance.</p>
<p>In this paper, we propose a novel framework for causal inference that utilizes the strengths of traditional methods with modern machine learning techniques. Our approach, which we refer to as Subgroup-Aware Holistic Ridge (SAHR), is based on a holistic ridge regression model that incorporates an Auto-supervised balancing mechanism to account for confounding variables. The model leverages Gaussian Mixture Models (GMM) <xref ref-type="bibr" rid="ref-6">[6]</xref> for subgroup identification, Nyström kernel approximation <xref ref-type="bibr" rid="ref-7">[7]</xref> for scalability, and a weighted ridge regression framework <xref ref-type="bibr" rid="ref-8">[8]</xref> to balance predictive accuracy and covariate balancing. This approach is inspired by recent work on patient representation learning <xref ref-type="bibr" rid="ref-9">[9]</xref> and individualized treatment effect estimation <xref ref-type="bibr" rid="ref-10">[10]</xref>, as well as by advancements in distributional metrics such as the Wasserstein distance <xref ref-type="bibr" rid="ref-11">[11]</xref> and the Maximum Mean Discrepancy (MMD) <xref ref-type="bibr" rid="ref-5">[5]</xref>. By combining these elements, the SAHR model aims to provide a robust and scalable framework for estimating treatment effects in observational studies. Its importance lies in the following key contributions:</p>
<p>I. Scalability meets precision: SAHR uncovers hidden variations in treatment effects across subgroups using a Gaussian Mixture Model, delivering precise, personalized causal insights, and leverages the Nyström method to efficiently handle high-dimensional data while maintaining computational scalability, ensuring fast, accurate</p>
</sec>
<sec id="sec-3"><title>results.</title>
<p>II. Adaptive balance, robust results: SAHR introduces a holistic Bayesian ridge regression framework that adaptively balances covariates derived from a BNN, ensuring robust inference by aligning subgroup-specific patterns with the overall population distribution without deviation.</p>
</sec>
<sec id="sec-4"><label>2</label><title>Literature Review</title>
<p>Causal inference, a field at the intersection of statistics, machine learning, and social sciences, seeks to estimate the effects of interventions or treatments on outcomes of interest. A central challenge in this domain is addressing confounding, particularly in observational studies where treatments are not randomly assigned. Propensity score methods, introduced by Rosenbaum and Rubin <xref ref-type="bibr" rid="ref-1">[1]</xref>, have emerged as a foundational tool for mitigating confounding by balancing covariates between treated and control groups. These methods estimate the probability of treatment assignment given observed covariates, enabling researchers to create comparable groups through matching, stratification, or weighting. Austin <xref ref-type="bibr" rid="ref-2">[2]</xref> provides a comprehensive review of propensity score methods, highlighting their versatility and limitations in various applications. Building on this, Imai and Ratkovic <xref ref-type="bibr" rid="ref-12">[12]</xref> introduced covariate-balancing propensity scores, which optimize covariate balance directly during estimation, thereby further enhancing the robustness of these methods. While propensity score methods are powerful, they rely heavily on the correct specification of the propensity score model. To address this limitation, doubly robust estimators, introduced by <xref ref-type="bibr" rid="ref-4">[4]</xref>, combine outcome regression and propensity score weighting. These estimators are consistent if either the propensity score model or the outcome model is correctly specified, offering a safeguard against model misspecification. <xref ref-type="bibr" rid="ref-13">[13]</xref> Further explored the performance of doubly robust estimators under high variability in inverse probability weights, providing practical insights into their application. This dual robustness property has made doubly robust methods a cornerstone of modern causal inference.</p>
<p>The integration of machine learning into causal inference has further expanded the toolkit for estimating treatment effects. BART, introduced by <xref ref-type="bibr" rid="ref-3">[3]</xref>, provides a flexible, nonparametric Bayesian framework for modeling treatment effects. BART&apos;s ability to capture complex, nonlinear relationships has made it a popular choice for causal inference tasks. Similarly, Wage and Athey <xref ref-type="bibr" rid="ref-14">[14]</xref> developed random forests for heterogeneous treatment effect estimation, enabling the identification of subgroups with varying treatment effects. These machine learning approaches are complemented by neural network-based methods, such as those proposed by <xref ref-type="bibr" rid="ref-10">[10]</xref> and <xref ref-type="bibr" rid="ref-15">[15]</xref>, which leverage deep learning to model individualized treatment effects. These advancements highlight the growing synergy between machine learning and causal inference.</p>
<p>Subgroup analysis is another critical area of research, as treatment effects often vary across subpopulations. Su et al. <xref ref-type="bibr" rid="ref-16">[16]</xref> introduced recursive partitioning for subgroup analysis, providing a systematic approach to identifying subgroups with differing treatment effects. In <xref ref-type="bibr" rid="ref-14">[14]</xref>, this approach was extended to random forests, enabling more flexible and accurate subgroup identification. These methods are particularly valuable in personalized medicine and policy evaluation, where understanding heterogeneous treatment effects is essential. Ensuring covariate balance between treated and control groups is a fundamental requirement for valid causal inference. Distributional metrics, such as MMD <xref ref-type="bibr" rid="ref-5">[5]</xref> and Wasserstein distance <xref ref-type="bibr" rid="ref-11">[11]</xref>, provide powerful tools for assessing and achieving this balance. Gretton et al. <xref ref-type="bibr" rid="ref-5">[5]</xref> proposed MMD as a kernel-based method for comparing distributions, offering a rigorous framework for evaluating covariate balance. Villani <xref ref-type="bibr" rid="ref-11">[11]</xref> provided a theoretical foundation for optimal transport and Wasserstein distance, which have become widely used in machine learning and causal inference for measuring distributional differences. These metrics are particularly useful in high-dimensional settings, where traditional methods may struggle.</p>
<p>Regularization techniques, such as ridge regression <xref ref-type="bibr" rid="ref-8">[8]</xref>, play a crucial role in addressing multicollinearity and improving the stability of causal inference models. Imai and Ratkovic <xref ref-type="bibr" rid="ref-8">[8]</xref> introduced ridge regression as a method for biased estimation in nonorthogonal problems, providing a robust framework for handling high-dimensional data. Further advanced this field by proposing the Nyström method for scalable kernel approximation, enabling the application of kernel-based methods to large datasets. These techniques are essential for ensuring the scalability and efficiency of modern causal inference methods <xref ref-type="bibr" rid="ref-7">[7]</xref>. Evaluating the performance of causal models is a critical step in ensuring their validity and reliability. LaLonde <xref ref-type="bibr" rid="ref-17">[17]</xref> highlighted the challenges of evaluating causal models using experimental data and provided insights into the limitations of regression adjustment. Schochet <xref ref-type="bibr" rid="ref-18">[18]</xref> discussed the limitations of regression adjustment in the Neyman model for causal inference, emphasizing the importance of robust evaluation methods. These studies underscore the need for rigorous evaluation frameworks in causal inference. Covariate balancing remains a critical component of causal inference, as it ensures that treated and control groups are comparable. Belthangady et al. <xref ref-type="bibr" rid="ref-19">[19]</xref> proposed BCAUS, a method for automatically balancing covariates in massive multi-arm observational studies, providing a robust framework for handling high-dimensional data. This approach aligns with the broader trend of leveraging machine learning for covariate balancing, as seen in <xref ref-type="bibr" rid="ref-12">[12]</xref>.</p>
<p>Generative models, such as GANITE <xref ref-type="bibr" rid="ref-15">[15]</xref>, have emerged as powerful tools for estimating individualized treatment effects. Yoon et al. <xref ref-type="bibr" rid="ref-15">[15]</xref> introduced GANITE, a generative adversarial network for estimating individualized treatment effects, demonstrating the potential of deep learning for causal inference tasks. These models are particularly valuable in settings where counterfactual outcomes need to be estimated, such as personalized medicine and policy evaluation. Theoretical foundations, such as those provided by <xref ref-type="bibr" rid="ref-20">[20]</xref>, <xref ref-type="bibr" rid="ref-21">[21]</xref>, and Heckman and Vytlacil <xref ref-type="bibr" rid="ref-22">[22]</xref>, are essential for understanding the principles of causal inference. Pearl <xref ref-type="bibr" rid="ref-20">[20]</xref> introduced the concept of Directed Acyclic Graphs (DAGs) for causal reasoning, providing a powerful framework for modeling causal relationships. Imbens and Rubin <xref ref-type="bibr" rid="ref-21">[21]</xref> and Heckman and Vytlacil <xref ref-type="bibr" rid="ref-22">[22]</xref> contributed to the econometric evaluation of social programs, emphasizing the importance of structural models and policy evaluation. These theoretical advancements have shaped the development of modern causal inference methods. The field of causal inference has evolved significantly, driven by advancements in propensity score methods, machine learning, and distributional metrics. These developments have enabled more accurate and flexible estimation of treatment effects, paving the way for applications in personalized medicine, policy evaluation, and beyond.</p>
</sec>
<sec id="sec-5"><label>3</label><title>Research Gap</title>
<p>Despite significant advancements in causal inference methodologies, several challenges and gaps remain in the field, particularly in observational studies.</p>
<p>I. Handling heterogeneity in treatment effects: Traditional causal inference methods often assume homogeneous treatment effects across the population, which is rarely the case in real-world scenarios. While methods like recursive partitioning <xref ref-type="bibr" rid="ref-16">[16]</xref> and random forests <xref ref-type="bibr" rid="ref-14">[14]</xref> have been developed to address heterogeneity, they often lack a robust mechanism for balancing covariates while simultaneously modeling subgroup-specific treatment effects. This gap limits their ability to provide accurate and interpretable estimates of treatment effects across diverse subpopulations.</p>
<p>II. Scalability in high-dimensional settings: Many existing methods, such as propensity score matching <xref ref-type="bibr" rid="ref-1">[1]</xref> and BART <xref ref-type="bibr" rid="ref-3">[3]</xref>, struggle with scalability when applied to high-dimensional datasets. Kernel-based methods, such as those proposed by <xref ref-type="bibr" rid="ref-5">[5]</xref>, offer a solution but often require significant computational resources. The Nyström method <xref ref-type="bibr" rid="ref-7">[7]</xref> addresses this issue to some extent, but its integration with causal inference frameworks remains underexplored.</p>
<p>III. Balancing predictive accuracy and covariate balance: A key challenge in causal inference is achieving a balance between these two. While doubly robust estimators <xref ref-type="bibr" rid="ref-4">[4]</xref> and covariate balancing propensity scores <xref ref-type="bibr" rid="ref-12">[12]</xref> provide robust frameworks, they often rely on strong assumptions about model specification. There is a need for methods that can adaptively balance covariates while maintaining high predictive accuracy, especially in settings with complex, nonlinear relationships.</p>
<p>IV. Integration of subgroup analysis and distributional metrics: Subgroup analysis is critical for understanding heterogeneous treatment effects, but existing methods often lack a systematic approach to integrating subgroup identification with distributional metrics such as MMD <xref ref-type="bibr" rid="ref-5">[5]</xref> and Wasserstein distance <xref ref-type="bibr" rid="ref-11">[11]</xref>. This integration is essential to ensuring that subgroups are both interpretable and balanced with respect to covariate distributions.</p>
<p>V. Leveraging modern machine learning techniques: While machine learning methods like neural networks <xref ref-type="bibr" rid="ref-10">[10]</xref> and Generative Adversarial Networks (GANs) <xref ref-type="bibr" rid="ref-15">[15]</xref> have shown promise in causal inference, their application often lacks a principled framework for ensuring covariate balance and interpretability. There is a need for models that can leverage the flexibility of machine learning while adhering to the rigorous requirements of causal inference.</p>
<p>The SAHR model fills critical gaps in the causal inference literature by providing a robust, scalable, and interpretable framework for estimating treatment effects in observational studies. Its integration of subgroup analysis, kernel approximation, and adaptive covariate balancing addresses key challenges in the field, making it a significant advancement in causal inference methodology. By bridging traditional methods and modern machine learning techniques, the SAHR model has the potential to drive innovation and improve decision-making across healthcare, economics, and the social sciences.</p>
</sec>
<sec id="sec-6"><label>4</label><title>Method</title>
<p>Let X ∈ R denote a vector of d covariates for each individual, T = {0,1} denote a binary treatment assignment (where T = 1 indicates treatment and T = 0 indicates control), and Y denote the observed outcome. Let Y0 and Y1 represent the potential outcomes under control and treatment, respectively. The observed outcome Y can be expressed as Y = T. Y1 + (1 − T)Y0 to estimate causal effect from observational data, we rely on the following fundamental assumptions.</p>
<p>Assumption 1 (Stable Unit Treatment Value Assumption (SUTVA)). The potential outcomes for any individual are unaffected by the treatment assignments of other individuals. Formally, for each individual i, Yi = Yi(Ti), where Yi(Ti) is the potential outcome for individual i under treatment Ti. This assumption ensures that the treatment of one individual does not influence the outcomes of others and the observed outcome corresponds to the potential outcome under the assigned treatment.</p>
<p>Assumption 2 (ignorability (unconfoundedness)). The treatment assignment T is conditionally independent of the potential outcomes Y0 and Y1, given the covariates X. Formally, T ⊥ (Y0, Y1)|X. This assumption implies that all confounding factors are captured by the covariates X, ensuring that treatment assignment is as good as random conditional on X.</p>
<p>Assumption 3 (positivity (overlap)). Every individual has a non-zero probability of receiving either treatment or control, given their covariates X. Formally, for all i, 0 &lt; P(T = 1|X = xi) &lt; 1 this assumption ensures sufficient overlap in the covariate distributions between treated and control groups, making causal comparisons valid.</p>
<sec id="sec-7"><label>4.1</label><title>Model and Framework Overview</title>
<p>Our proposed framework, SAHR, is designed to estimate causal treatment effects from observational data. The framework consists of several key components:</p>
<p>Step 1 (kernel approximation). To handle high-dimensional data efficiently, we use kernel approximation techniques, specifically the Nyström method, to transform the input data into a lower-dimensional feature space. It allows us to apply our method to large datasets without incurring high computational costs. Where ϕ(X) = Nystroem(X) with 100 components.</p>
<p>Step 2 (subgroup analysis using GMM). We use a GMM to identify subgroups within the data to handle heterogeneity in treatment effects. Each subset is modelled separately, enabling more accurate estimation of treatment effects in heterogeneous populations. So, we partition units into K subgroups (a mixture of K Gaussian distributions), and the subgroup labels Z ∈ {1, … , K} are assigned as: Z = GMM( ϕ(X), K) for each subgroup k, we define a subset of data as (ϕ(X)k, Tk, yk) are covariates, treatment assignments, and outcomes for units in subgroup k, respectively.</p>
<p>Step 3 (Setting evaluation criteria). We calculate the Average Treatment effect on the Treated (ATT) on the Jobs dataset, since the original randomized sample E consists only of treated subjects T, and C is the control group. Where y ∈ {0,1} denote the observed outcome. Using <xref ref-type="bibr" rid="ref-10">[10]</xref>, the equations are as follows:</p>
<p>̃ (i) (i) ΨATT = ∑ y − ∑ y .</p>
<p>|T| i∈T |C ∩ E| i∈C∩E</p>
<p>ϵ = Ψ ̃ − ∑ [Q(1, x ) − Q(0, x )]. (1)</p>
<p>ATT ATT i i</p>
<p>|T| i∈T Step 4 (holistic ridge regression). For each subgroup k, we fit our Regression model with a self-regularization term. The objective function for k is given by:</p>
<p>β ̂ = arg min L (β ).</p>
<p>k k k (2)</p>
<p>βk 2 2 2</p>
<p>Lk(βk) = ‖yk − ϕ(X)kβk‖2 + α1‖βk‖2 + α2‖βk − θ‖2 (3)</p>
<p>where βk, α1, α2, θ and yk are the coefficient vector for subgroup k, the regularization term for the L2 penalty, the regularization parameter for the self-regularization term, a reference coefficient typically obtained from the entire dataset, and the outcome vector for subgroup k with linear Regression or BNN <xref ref-type="bibr" rid="ref-23">[23]</xref>. The BNN is trained using Stochastic Variational Inference (SVI) with the Adam optimizer and a trace of the Evidence Lower Bound (ELBO) loss function. Priors for the network weights and biases are defined as normal distributions, and the guide function specifies the variational posterior distributions.</p>
<p>Step 5 (optimization problem of SAHR model). The solution to the Eq. (2) problem is given by:</p>
<p>T −1 T</p>
<p>β = (ϕ(X) ϕ(X) + α I + α I) (ϕ(X) y + α θ). (4)</p>
<p>k k k 1 2 k k 2</p>
</sec>
<sec id="sec-8"><label>4.2</label><title>Implementation on the Jobs Dataset</title>
<p>The Jobs dataset <xref ref-type="bibr" rid="ref-17">[17]</xref> is a widely used benchmark in the causal inference community. The dataset includes information on individuals who participated in a job training program to estimate the program&apos;s effect on employment outcomes. The dataset contains 8 covariates, including age, education, and previous earnings, and the treatment variable indicates whether an individual participated in the job training program. We averaged across 10 train/validation/test splits with a 62/18/20 split. The dataset is available for download at</p>
<fig id="fig1"><label>Figure 1</label><caption><p>Covariate distributions before and after adjustment.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:5:65.9,346.1,537.1,630.1"/><p content-type="note">This figure is shown in the PDF version of the article.</p></fig>
<p><xref ref-type="fig" rid="fig1">Fig. 1</xref> presents a comprehensive visualization of imbalance in treatment across various covariates, highlighting disparities between the treatment and control groups. Each subplot provides insights into potential biases in treatment assignment that could affect the validity of causal inferences. The age distribution shows that most individuals are between 20 and 35 years old, with the control group significantly larger, suggesting possible selection bias. The education level histogram shows a peak around 12 years of schooling, with the control group vastly outnumbering the treatment group, suggesting that educational attainment might influence treatment assignment. The race and ethnicity subplots (black race and Hispanic ethnicity) indicate that while most individuals are non-Black and non-Hispanic, the treatment group has a relatively higher proportion of minority individuals, which may introduce racial or ethnic disparities in treatment effects. The marital status distribution shows a clear dominance of married individuals in the control group, suggesting that marital status may influence treatment selection and, in turn, affect socioeconomic variables tied to family structure. The most striking imbalances appear in the income distributions for 1974 and 1975, where earnings are heavily skewed, with a significant proportion of individuals earning very little and only a few earning substantial amounts. The treatment group is notably underrepresented across income levels, particularly among higher earners, suggesting that financial status may have influenced eligibility for treatment. Given that income is closely linked to access to resources, healthcare, and quality of life, such disparities could bias the study&apos;s conclusions. Additionally, the no degree variable suggests that a large proportion of the control group lacks a formal degree, whereas the treatment group is smaller in this category, raising concerns that educational attainment may affect treatment distribution.</p>
<p>Addressing these imbalances is crucial for deriving valid and unbiased conclusions, ensuring that observed treatment effects are not simply artifacts of pre-existing group differences. The figure underscores the importance of controlling for these covariates in the analysis to mitigate potential biases and enhance the robustness of the study&apos;s findings. SAHR’s comprehensive approach not only identifies potential biases but also provides actionable insights to improve the design and analysis of observational studies. By addressing treatment imbalances and advocating rigorous analytical standards, this work enhances the broader scientific community&apos;s ability to draw reliable and valid causal inferences, ultimately supporting more effective and equitable interventions. The integration of these advanced methodologies ensures robust, reproducible findings, fostering a culture of accountability and trust in research outcomes.</p>
</sec>
</sec>
<sec id="sec-9"><label>5</label><title>Results</title>
<p>We evaluated our SAHR framework on the Jobs dataset. We compared its performance against several state-of-the-art methods, including OLS/LR-1, OLS/LR-2, BLR, k-NN, BART, Random Forest, Causal Forest, AIPW, BNN, TARNet, CFR Wass, GANITE, and BCAUSS. The results are summarized in <xref ref-type="table" rid="tab1">Table 1</xref>, which presents the in-sample (ϵtr) and out-of-sample (ϵte) errors for the ATT.</p>
<table-wrap id="tab1"><label>Table 1</label><caption><p>Comparison of methods on the jobs dataset.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,346.4,537.1,531.9"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p>Our SAHR framework achieved an in-sample error (ϵtr) of 0.036± 0.019 and an out-of-sample error (ϵte) of 0.047 ± 0.036 for the ATT. These results are competitive with the state-of-the-art methods, particularly BCAUSS, which achieved an out-of-sample error of 0.05 ± 0.02. Our method outperformed several traditional methods, such as k-NN, Random Forest, and Causal Forest, and performed comparably to more advanced methods, such as GANITE and BCAUSS.</p>
<table-wrap id="tab2"><label>Table 2</label><caption><p>Comparison of methods on the jobs dataset.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:6:66,158.6,537.1,253.5"/><p content-type="note">This table is shown in the PDF version of the article.</p></table-wrap>
<p><xref ref-type="table" rid="tab2">Table 2</xref> compares the performance of Dragonnet, BCAUSS, and SAHR in terms of distributional metrics for covariate balance between treated and untreated groups. SAHR demonstrates the best performance overall, with the lowest KS (p-value &lt; 1%) (0.7% train, 1% test), indicating the least frequent rejection of the null hypothesis that the treated and untreated groups are from the same distribution. Additionally, SAHR achieves the lowest Wasserstein Distance (0.033 train, 0.081 test) and MMD measures across all kernels (Linear, RBF, Poly), highlighting its superior ability to maintain covariate balance. While BCAUSS performs better than Dragonnet in most metrics, it falls short of SAHR&apos;s performance. Dragonnet lags significantly behind, with higher KS (p-value &lt; 1%), Wasserstein Distance, and MMD measures, indicating poorer covariate balance. Overall, SAHR emerges as the best-performing model, demonstrating excellent generalization and a balanced performance across both the training and test sets.</p>
<fig id="fig2"><label>Figure 2</label><caption><p>Covariate distributions before and after adjustment.</p></caption><graphic content-type="pdf-region" xlink:href="pdf-region:7:66,467.4,537.1,724.8"/><p content-type="note">This figure is shown in the PDF version of the article.</p></fig>
<p><xref ref-type="fig" rid="fig2">Fig. 2</xref> provides a detailed, formal visualization of the SAHR model’s efficacy in balancing covariates between the treated and control groups on the Jobs dataset. Each subplot represents a distinct scenario: the training set before adjustment, the training set after adjustment, the test set before adjustment, and the test set after adjustment. These visualizations reveal a pronounced imbalance in the original data, with substantial differences in the distributions of covariates between the treated and control groups. The SAHR model effectively mitigates this imbalance through its self-supervised balancing mechanism and subgroup analysis, as evidenced by the improved alignment of distributions in the adjusted plots. Annotations within each subplot provide critical statistical metrics, such as the mean, variance, and Wasserstein distance, enabling a quantitative evaluation of distributional discrepancies and the model&apos;s enhancements. For instance, the Wasserstein distance decreases significantly from 0.0306 (training set before adjustment) to 0.0016 (training set after adjustment), and from 0.0593 (test set before adjustment) to 0.0027 (test set after adjustment), highlighting the model&apos;s success in reducing distributional gaps. Similarly, the variances for treated and control groups converge closely after adjustment, further demonstrating the model&apos;s balancing capability. The side-by-side comparison of before-and-after scenarios underscores the model&apos;s robustness in maintaining covariate balance, a crucial requirement for accurate causal inference.</p>
</sec>
<sec id="sec-10"><label>6</label><title>Discussion and Conclusion</title>
<p>Our SAHR framework represents a significant advancement in causal inference, demonstrating exceptional performance in estimating treatment effects from observational data. By integrating a self-supervised balancing mechanism and utilizing GMM for subgroup analysis, SAHR effectively reduces confounding bias and ensures robust covariate balance between treated and control groups. The use of kernel approximation techniques further enhances scalability, making SAHR suitable for high-dimensional datasets while maintaining computational efficiency. These features make SAHR a powerful tool for addressing the challenges of causal inference in real-world scenarios. One of SAHR&apos;s key strengths is its superior ability to maintain covariate balance. The framework achieves the lowest KS (p-value &lt; 1%) (0.7% train, 1% test), Wasserstein Distance (0.033 train, 0.081 test), and MMD measures across all kernels (Linear, RBF, Poly), outperforming state-of-the-art methods like Dragonnet and BCAUSS. It demonstrates its effectiveness in ensuring that treated and control groups are well-balanced, which is critical for accurate causal inference. Additionally, SAHR achieves competitive estimates of the treatment effect, with an in-sample error (ϵtr) of 0.036 ± 0.019 and an out-of-sample error (ϵte) of 0.047 ± 0.036 for the ATT on the Jobs dataset. These results are comparable to advanced methods like GANITE and BCAUSS, while outperforming traditional approaches such as k-NN, Random Forest, and Causal Forest.</p>
<p>Despite its strengths, SAHR has some limitations that need to be addressed. Currently, the framework is designed to handle only binary treatments, which restricts its applicability to problems involving multiple or continuous treatments. Extending SAHR to support these scenarios is an important direction for future work. Additionally, while SAHR performs exceptionally well on the Jobs dataset, further validation on a broader range of real-world datasets is necessary to assess its generalizability across different domains and data structures. The use of GMM for subgroup analysis, while effective, also introduces additional complexity in model training and hyperparameter tuning. Simplifying this process or developing automated tuning methods could improve usability. Finally, like most causal inference methods, SAHR relies on the assumption of unconfoundedness, and violations of this assumption can lead to biased estimates. Future work could explore robustness to unmeasured confounding.</p>
<p>Looking ahead, several promising directions exist for extending and improving SAHR. Expanding the framework to handle multiple treatments and continuous treatment variables would broaden its applicability to a wider range of causal inference problems. Developing methods to assess and mitigate unmeasured confounding would enhance the robustness of SAHR in real-world settings. Incorporating automated hyperparameter tuning for the GMM and kernel approximation components would make SAHR more user-friendly and accessible to non-experts. Benchmarking SAHR on a diverse set of real-world datasets, including those with complex data structures and varying levels of confounding, would provide deeper insights into its generalizability and performance. Finally, integrating SAHR&apos;s balancing mechanism with deep learning architectures could further enhance its ability to model complex, high-dimensional relationships in observational data.</p>
<p>The SAHR framework provides a robust and flexible approach to causal inference, combining the interpretability of traditional methods with the scalability and performance of modern machine learning techniques. Its state-of-the-art performance on the Jobs dataset, particularly in terms of covariate balance and treatment effect estimation, demonstrates its potential to drive meaningful progress in the field. While there are limitations to address, the modular design and computational efficiency of SAHR provide a strong foundation for future advancements. By addressing these challenges and expanding its capabilities, SAHR could become a widely adopted tool for causal inference across research and practice.</p>
</sec>
<sec id="sec-11"><title>Acknowledgments</title>
<p>The authors sincerely appreciate all those who contributed to the completion of this research.</p>
</sec>
<sec id="sec-12"><title>Funding</title>
<p>This research was conducted without financial support from any public, private, or non-profit organization.</p>
</sec>
<sec id="sec-13"><title>Data Availability</title>
<p>The data used in this study are available from the corresponding author upon reasonable request.</p>
</sec>
<sec id="sec-14"><title>Appendix</title>
<sec id="sec-15"><title>Optimization for subgroup-specific holistic ridge parameters</title>
<p>∂Lk(βk)</p>
<p>Solving the optimization problem for each subgroup k that is needed to set to zero as follows:</p>
<p>∂βk</p>
<p>2 2 2</p>
<p>Lk(βk) = ‖yk − ϕ(X)kβk‖2 + α1‖βk‖2 + α2‖βk − θ‖2. (5)</p>
<p>T T T T</p>
<p>Lk(βk) = (yk − ϕ(X)kβk) ((yk − ϕ(X)kβk) ) + α1β βk + α2(βk − θ) (βk − θ). (6) ∇β Lk(βk) = −2ϕ(X)k(yk − ϕ(X)kβk) + 2α1βk + 2α2(βk − θ). (7) −2ϕ(X) (y − ϕ(X) β ) + 2α β + 2α (β − θ) = 0. (8)</p>
<p>k k k k 1 k 2 k</p>
<p>ϕ(X) ϕ(X) β + α β + α β = ϕ(X) y + α θ. (9)</p>
<p>k k k 1 k 2 k k k 2</p>
<p>(ϕ(X) ϕ(X)kβk + α1I + α2I)βk = ϕ(X) yk + α2θ. (10)</p>
<p>T −1 T</p>
<p>β = (ϕ(X) ϕ(X) β + α I + α I) (ϕ(X) y + α θ). (11)</p>
<p>k k k k 1 2 k k 2</p>
</sec>
<sec id="sec-16"><title>Distributional metrics glossary</title>
<p>MMD <xref ref-type="bibr" rid="ref-5">[5]</xref> is a distance metric that compares probability distributions by embedding them into a Reproducing Kernel Hilbert Space (RKHS). It is widely used in machine learning and causal inference to measure differences between distributions, particularly for assessing covariate balance between treated and control groups.</p>
<p>Kolmogorov–Smirnov <xref ref-type="bibr" rid="ref-27">[27]</xref> statistic is a nonparametric test that compares two probability distributions by calculating the maximum difference between their Cumulative Distribution Functions (CDFs). It is commonly used in causal inference to evaluate the balance of covariates between treated and control groups. Wasserstein distance <xref ref-type="bibr" rid="ref-11">[11]</xref>, also known as the Earth Mover&apos;s Distance, quantifies the cost of transforming one probability distribution into another. It is particularly effective for comparing distributions with non-overlapping support and is widely applied in optimal transport and causal inference to assess distributional differences.</p>
<p>Integral probability metrics <xref ref-type="bibr" rid="ref-28">[28]</xref> are a family of distance metrics used to compare probability distributions, including the MMD and the Wasserstein distance. They are widely used in causal inference to assess the balance between the treated and control groups, ensuring the validity of causal estimates.</p>
</sec>
<sec id="sec-17"><title>Methodological foundations glossary</title>
<p>GMM <xref ref-type="bibr" rid="ref-6">[6]</xref> is a probabilistic models that represent data as a mixture of multiple Gaussian distributions. They are widely used for clustering and subgroup analysis, making them ideal for identifying latent subgroups in causal inference.</p>
<p>Ridge regression <xref ref-type="bibr" rid="ref-8">[8]</xref> is a regularized linear regression technique that penalizes the coefficients with an L2 penalty to prevent overfitting. It is particularly useful in high-dimensional settings and serves as a key component of the SAHR model for adaptive covariate balancing.</p>
<p>The Nyström method <xref ref-type="bibr" rid="ref-7">[7]</xref> is a kernel approximation technique that reduces the computational complexity of kernel-based methods by selecting a subset of landmark points. It is used in the SAHR model to handle non-linear relationships in high-dimensional data efficiently.</p>
<p>Kernel approximation <xref ref-type="bibr" rid="ref-23">[23]</xref> refers to techniques that reduce the computational complexity of kernel functions. The Nyström Method is a popular approach in the SAHR model for efficiently approximating kernels in high-dimensional settings.</p>
</sec>
</sec>
</body>
<back><ref-list><title>References</title>
<ref id="ref-1"><label>1</label><mixed-citation>Rosenbaum, P. R., &amp; Rubin, D. B. (1983). The central role of the propensity score in observational studies for causal effects. Biometrika, 70(1), 41–55. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1093/biomet/70.1.41">https://doi.org/10.1093/biomet/70.1.41</ext-link></mixed-citation></ref>
<ref id="ref-2"><label>2</label><mixed-citation>Austin, P. C. (2011). An Introduction to propensity score methods for reducing the effects of confounding in observational studies. Multivariate behavioral research, 46(3), 399–424. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/00273171.2011.568786">https://doi.org/10.1080/00273171.2011.568786</ext-link></mixed-citation></ref>
<ref id="ref-3"><label>3</label><mixed-citation>Chipman, H. A., George, E. I., &amp; McCulloch, R. E. (2010). Bart: Bayesian additive regression trees. Annals of applied statistics, 4(1), 266–298. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1214/09-AOAS285">https://doi.org/10.1214/09-AOAS285</ext-link></mixed-citation></ref>
<ref id="ref-4"><label>4</label><mixed-citation>Bang, H., &amp; Robins, J. M. (2005). Doubly robust estimation in missing data and causal inference models. Biometrics, 61(4), 962–973. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/j.1541-0420.2005.00377.x">https://doi.org/10.1111/j.1541-0420.2005.00377.x</ext-link></mixed-citation></ref>
<ref id="ref-5"><label>5</label><mixed-citation>Gretton, A., Borgwardt, K. M., Rasch, M. J., Schölkopf, B., &amp; Smola, A. (2012). A kernel two-sample test. The journal of machine learning research, 13, 723–773. <ext-link ext-link-type="uri" xlink:href="https://dl.acm.org/doi/10.5555/2188385.2188410">https://dl.acm.org/doi/10.5555/2188385.2188410</ext-link></mixed-citation></ref>
<ref id="ref-6"><label>6</label><mixed-citation>Reynolds, D. (2009). Gaussian mixture models. In Encyclopedia of biometrics (pp. 659–663). Boston, MA: Springer US. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-0-387-73003-5_196">https://doi.org/10.1007/978-0-387-73003-5_196</ext-link></mixed-citation></ref>
<ref id="ref-7"><label>7</label><mixed-citation>Williams, C. K. I., &amp; Seeger, M. (2000). Using the nyström method to speed up kernel machines. Proceedings of the 14th international conference on neural information processing systems (pp. 661–667). Cambridge, MA, USA: MIT Press. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5555/3008751.3008847">https://doi.org/10.5555/3008751.3008847</ext-link></mixed-citation></ref>
<ref id="ref-8"><label>8</label><mixed-citation>Hoerl, A. E., &amp; Kennard, R. W. (1970). Ridge regression: Biased estimation for nonorthogonal problems. Technometrics, 12(1), 55–67. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/00401706.1970.10488634">https://doi.org/10.1080/00401706.1970.10488634</ext-link></mixed-citation></ref>
<ref id="ref-9"><label>9</label><mixed-citation>Tesei, G., Giampanis, S., Shi, J., &amp; Norgeot, B. (2023). Learning end-to-end patient representations through self-supervised covariate balancing for causal treatment effect estimation. Journal of biomedical informatics, 140, 104339. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jbi.2023.104339">https://doi.org/10.1016/j.jbi.2023.104339</ext-link></mixed-citation></ref>
<ref id="ref-10"><label>10</label><mixed-citation>Shalit, U., Johansson, F. D., &amp; Sontag, D. (2017). Estimating individual treatment effect: Generalization bounds and algorithms. Proceedings of the 34th international conference on machine learning (Vol. 70, pp. 3076–3085). PMLR. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5555/3305890.3305999">https://doi.org/10.5555/3305890.3305999</ext-link></mixed-citation></ref>
<ref id="ref-11"><label>11</label><mixed-citation>Villani, C. 2009). Optimal transport: Old and new (Vol. 338). Springer. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1007/978-3-540-71050-9">https://doi.org/10.1007/978-3-540-71050-9</ext-link></mixed-citation></ref>
<ref id="ref-12"><label>12</label><mixed-citation>Imai, K., &amp; Ratkovic, M. (2014). Covariate balancing propensity score. Journal of the royal statistical society series b: Statistical methodology, 76(1), 243–263. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1111/rssb.12027">https://doi.org/10.1111/rssb.12027</ext-link></mixed-citation></ref>
<ref id="ref-13"><label>13</label><mixed-citation>Robins, J., Sued, M., Lei-Gomez, Q., &amp; Rotnitzky, A. (2007). Comment: Performance of double-robust estimators when “inverse probability” weights are highly variable. Statistical science, 22(4), 544–559. <ext-link ext-link-type="uri" xlink:href="http://doi.org/10.1214/07-STS227D">http://doi.org/10.1214/07-STS227D</ext-link></mixed-citation></ref>
<ref id="ref-14"><label>14</label><mixed-citation>Wager, S., &amp; Athey, S. (2018). Estimation and inference of heterogeneous treatment effects using random forests. Journal of the American statistical association, 113(523), 1228–1242. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/01621459.2017.1319839">https://doi.org/10.1080/01621459.2017.1319839</ext-link></mixed-citation></ref>
<ref id="ref-15"><label>15</label><mixed-citation>Yoon, J., Jordon, J., &amp; Van Der Schaar, M. (2018). GANITE: Estimation of individualized treatment effects using generative adversarial nets. International conference on learning representations. ICLR 2018. (pp. 3076–3085). <ext-link ext-link-type="uri" xlink:href="https://dblp.org/rec/conf/iclr/YoonJS18.html">https://dblp.org/rec/conf/iclr/YoonJS18.html</ext-link></mixed-citation></ref>
<ref id="ref-16"><label>16</label><mixed-citation>Su, X., Tsai, C. L., Wang, H., Nickerson, D. M., &amp; Li, B. (2009). Subgroup Analysis via Recursive Partitioning. The journal of machine learning research, 10, 141–158. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5555/1577069.1577074">https://doi.org/10.5555/1577069.1577074</ext-link></mixed-citation></ref>
<ref id="ref-17"><label>17</label><mixed-citation>LaLonde, R. J. (1986). Evaluating the econometric evaluations of training programs with experimental data. The American economic review, 76(4), 604–620. <ext-link ext-link-type="uri" xlink:href="http://www.jstor.org/stable/1806062">http://www.jstor.org/stable/1806062</ext-link></mixed-citation></ref>
<ref id="ref-18"><label>18</label><mixed-citation>Schochet, P. Z. (2010). Is regression adjustment supported by the Neyman model for causal inference? Journal of statistical planning and inference, 140(1), 246–259. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/j.jspi.2009.07.008">https://doi.org/10.1016/j.jspi.2009.07.008</ext-link></mixed-citation></ref>
<ref id="ref-19"><label>19</label><mixed-citation>Belthangady, C., Stedden, W., &amp; Norgeot, B. (2021). Minimizing bias in massive multi-arm observational studies with BCAUS: Balancing covariates automatically using supervision. BMC medical research methodology, 21(1), 190. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1186/s12874-021-01383-x">https://doi.org/10.1186/s12874-021-01383-x</ext-link></mixed-citation></ref>
<ref id="ref-20"><label>20</label><mixed-citation>Pearl, J. (2003). Causality: Models, reasoning, and inference. Econometric theory, 19(675–685), 46. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10+10170S0266466603004109">https://doi.org/10+10170S0266466603004109</ext-link></mixed-citation></ref>
<ref id="ref-21"><label>21</label><mixed-citation>Imbens, G. W., &amp; Rubin, D. B. (2015). Causal inference for statistics, social, and biomedical sciences. Cambridge University Press. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1017/CBO9781139025751">https://doi.org/10.1017/CBO9781139025751</ext-link></mixed-citation></ref>
<ref id="ref-22"><label>22</label><mixed-citation>Heckman, J. J., &amp; Vytlacil, E. J. (2007). Chapter 70 econometric evaluation of social programs, part I: Causal models, structural models and econometric policy evaluation. In Handbook of econometrics (Vol. 6, pp. 4779–4874). Elsevier. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1016/S1573-4412(07)06070-9">https://doi.org/10.1016/S1573-4412(07)06070-9</ext-link></mixed-citation></ref>
<ref id="ref-23"><label>23</label><mixed-citation>Rahimi, A., &amp; Recht, B. (2007). Random features for large-scale kernel machines. Advances in neural information processing systems (Vol. 20, pp. 1–8). EECS at UC Berkeley. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5555/2981562.2981710">https://doi.org/10.5555/2981562.2981710</ext-link></mixed-citation></ref>
<ref id="ref-24"><label>24</label><mixed-citation>Johansson, F., Shalit, U., &amp; Sontag, D. (2016). Learning representations for counterfactual inference. Proceedings of the 33rd international conference on machine learning (Vol. 48, pp. 3020–3029). New York, New York, USA: PMLR. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.5555/3045390.3045708">https://doi.org/10.5555/3045390.3045708</ext-link></mixed-citation></ref>
<ref id="ref-25"><label>25</label><mixed-citation>Crump, R. K., Hotz, V. J., Imbens, G. W., &amp; Mitnik, O. A. (2008). Nonparametric tests for treatment effect heterogeneity. The review of economics and statistics, 90(3), 389–405. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1162/rest.90.3.389">https://doi.org/10.1162/rest.90.3.389</ext-link></mixed-citation></ref>
<ref id="ref-26"><label>26</label><mixed-citation>Khoshandam, L., &amp; Nematizadeh, M. (2024). An inverse network DEA model for two-stage processes in the presence of undesirable factors. Journal of applied research on industrial engineering, 11(2), 179–194. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.22105/jarie.2023.351161.1492">https://doi.org/10.22105/jarie.2023.351161.1492</ext-link></mixed-citation></ref>
<ref id="ref-27"><label>27</label><mixed-citation>Jr., F. J. M. (1951). The Kolmogorov-Smirnov test for goodness of fit. Journal of the american statistical association, 46(253), 68–78. <ext-link ext-link-type="uri" xlink:href="https://doi.org/10.1080/01621459.1951.10500769">https://doi.org/10.1080/01621459.1951.10500769</ext-link></mixed-citation></ref>
<ref id="ref-28"><label>28</label><mixed-citation>Müller, A. (1997). Integral probability metrics and their generating classes of functions. Advances in applied probability, 29(2), 429–443. <ext-link ext-link-type="uri" xlink:href="https://doi.org/https://doi.org/10.2307/1428011">https://doi.org/https://doi.org/10.2307/1428011</ext-link></mixed-citation></ref>
</ref-list></back>
</article>