arXiv:2611.01867cs.AINov 2026

Manuscript Offprint

arXiv:2611.01867

Fairness-Aware Design for Contextual Experiments: Guaranteeing Reliability and Equity in Heterogeneous Subgroups

Guangyan Gan, Ling Zhang, Yanhua Cheng, Yongxiang Tang, Kaiyuan Li, Xialong Liu, Peng Jiang

Abstract

Experimental design is critical for evidence-based decision-making in healthcare, marketing, and public policy. However, designing efficient experiments across heterogeneous subgroups presents significant challenges. Existing methods often optimize for statistical power or overall sample efficiency, overlooking crucial fairness considerations across these different subgroups. To address this gap, we introduce a Fairness-Aware Contextual Track-and-Stop Design (F-CTSD) algorithm. The proposed F-CTSD algorithm provides statistical guarantees on subgroup fairness while minimizing required sample sizes. We quantify the fairness-efficiency trade-off and derive the exact sample complexity for the proposed F-CTSD algorithm under its fairness constraints. We further theoretically prove that the proposed F-CTSD algorithm consistently produces accurate treatment effect estimates even under fairness requirements, enhancing statistical reliability. Numerical experiments show that the proposed F-CTSD algorithm outperforms existing methods, achieving higher sample efficiency while reducing subgroup fairness violations by 4.95%.

Introduction

Experimental design plays a pivotal role across various domains, including public policy (Bond et al. 2012; Opper 2019; Viviano 2025), healthcare (Chick, Gans, and Yapar 2022; Alban, Chick, and Forster 2023), and digital platforms (Johari et al. 2022; Bojinov, Simchi-Levi, and Zhao 2023). In these settings, experimenters often leverage data-driven algorithms to adaptively optimize interventions and improve operational efficiency. Adaptive allocation has proven to be more efficient than traditional random experiments, such as classical randomized controlled trials (Lai and Robbins 1985). However, a substantial body of research in the social sciences documents pronounced heterogeneity in treatment effects across different groups (Angrist 2004; Varadhan and Seeger 2013; Wager and Athey 2018; Künzel et al. 2019; Simchi-Levi, Wang, and Xu 2024). This heterogeneity is

particularly consequential in areas like personalized healthcare and recommendation systems, where the effectiveness of interventions varies significantly across subpopulations. As a result, strategies that tailor treatments based on observable characteristics have gained increasing attention.

Most existing methodologies in experimental design focus primarily on statistical objectives, such as maximizing power, minimizing variance, and reducing bias, often overlooking fairness considerations, especially when decisions affect heterogeneous subgroups (Simchi-Levi, Wang, and Xu 2024). This neglect can systematically disadvantage certain groups, raising significant ethical and regulatory issues. Documented real-world examples, such as discriminatory pricing in e-commerce (Cohen, Miao, and Wang 2025; Xu, Qiao, and Wang 2023) and biased treatment allocations in healthcare (Chien et al. 2022), highlight the importance of integrating fairness into experimental design to ensure equitable opportunities and outcomes. Recent advances, such as the non-parametric causal forest estimator (Wager and Athey 2018), enable robust estimation of heterogeneous treatment effects. Additionally, Simchi-Levi, Wang, and Xu (2024) optimize experimental design to efficiently identify the best treatment per subgroup under minimal sample complexity, leveraging the Best Arm Identification (BAI) framework while explicitly modeling subgroup heterogeneity. Despite these strides, a critical challenge remains under-explored: fairness in experimental design, particularly in the context of heterogeneous and distinct subgroups.

Fairness concerns are paramount when allocation policies induce disparities across sensitive attributes such as age, gender, or race (Viviano and Bradic 2024). In practical applications, including personalized pricing, clinical trials, and public policy, experimental designs that optimize solely for efficiency risk generating unfair treatment allocations across subgroups. These disparities not only undermine ethical standards but also raise concerns related to regulatory compliance and the credibility of experimental outcomes. Incorporating fairness into experimental design is driven by both ethical imperatives and practical benefits. Ensuring equitable treatment allocation safeguards vulnerable populations and fulfills social responsibilities, while fairness-aware

∗^{*}Corresponding author

Copyright © 2026, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

designs enhance the external validity and acceptance of experimental findings, particularly in high-stakes fields like healthcare and public policy. However, enforcing fairness constraints introduces inherent trade-offs: mitigating disparities often reduces statistical efficiency or restricts the adaptive allocation of participants to more effective treatments. This tension calls for principled methods that explicitly balance efficiency and fairness in treatment allocation.

In this paper, we address experimental design under explicit fairness constraints within the contextual BAI framework, focusing on a fixed-confidence setting. Our goal is to develop principled algorithms that identify the optimal treatment for each subgroup while rigorously enforcing fairness constraints throughout the learning process.

We present the following contributions:

  1. Sample Complexity Lower Bound. We derive an instance-dependent lower bound on the sample complexity for any δ\delta-weighted-Probably Approximately Correct (PAC) algorithm that satisfies fairness constraints. This bound quantifies the price of fairness, referring to the additional samples required to identify the optimal arm while adhering to fairness constraints, shading light on the trade-off between sample complexity and fairness.

  2. Algorithm Design. We propose the F-CTSD algorithm under the δ\delta-weighted PAC constraint. Our algorithm asymptotically matches the sample complexity lower bound and ensures that fairness constraints are satisfied at each interaction round for pre-specified fairness values. Unlike the Fair Best Arm Identification (F-BAI) algorithm (Russo and Vannella 2024), we introduce a novel stopping rule tailored to the δ\delta-weighted PAC constraint. Additionally, our tracking procedure is probabilistic, contrasting with the deterministic methods used in the Contextual Track-and-Stop (CTSD) algorithm (Simchi-Levi, Wang, and Xu 2024), which only identifies the optimal arm without fairness considerations.

  3. Numerical Experiments. We evaluate F-CTSD on synthetic datasets, showing that our algorithm outperforms benchmark methods in both sample efficiency and minimizing fairness violations.

By rigorously incorporating fairness into experimental design, our work provides both methodological innovations and practical insights for conducting equitable and efficient experiments in heterogeneous populations.