https://github.com/aiml-k/activebayesiancausal
Code for ABC3: Active Bayesian Causal Inference with Cohn Criteria in Randomized Experiments (AAAI 2025)
Science Score: 23.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: arxiv.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (8.4%) to scientific vocabulary
Repository
Code for ABC3: Active Bayesian Causal Inference with Cohn Criteria in Randomized Experiments (AAAI 2025)
Basic Info
- Host: GitHub
- Owner: AIML-K
- License: mit
- Language: Python
- Default Branch: main
- Size: 2.27 MB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
ABC3: Active Bayesian Causal Inference with Cohn Criteria in Randomized Experiments (AAAI 2025)
This is a code for ABC3: Active Bayesian Causal Inference with Cohn Criteria in Randomized Experiments.
Abstract
In causal inference, a randomized experiment is a de facto method to overcome various theoretical issues in observational study. However, the experimental design requires expensive costs, so an efficient experimental design is necessary. We propose ABC3, a Bayesian active learning policy for causal inference. We show a policy minimizing an estimation error on conditional average treatment effect is equivalent to minimizing an integrated posterior variance, similar to Cohn criteria. We theoretically prove ABC3 also minimizes an imbalance between the treatment and control groups and the type 1 error probability. Imbalance-minimizing characteristic is especially notable as several works have emphasized the importance of achieving balance. Through extensive experiments on real-world data sets, ABC3 achieves the highest efficiency, while empirically showing the theoretical results hold.
Installation
Install the requirements by
pip install -r requirements.txtInstall
torchfollowing the instruction
Main Experiments
Run the
run.shbybash run.shCheck the resulting plots in
plots/cate_error,plots/mmdandplots/type1
Other Experiments
If you are interested in reproducing the hyperparameter test (Fig. 4 and 5), run
run/hyperparameter_kernel.pyandhyperparameter_sigma.pywith desired arguments, then runsrc/plot.pywith argumentskernelorsigma.If you want to check our assumption (Fig. 6), run
run/assumption.py, then runsrc/plot.pywirh aassumptionargument.If you want to test our sampling-and-optimization-based algorithm (Appendix E), run
run/sampling.pywith proper arguments, then runsrc/plot.pywith asamplingargument.If you want to plug-in different regressors (Appendix F), run
run/regressor.pywith proper arguments, then runsrc/plot.pywith aregarguement.
Owner
- Name: AIML-K
- Login: AIML-K
- Kind: organization
- Repositories: 2
- Profile: https://github.com/AIML-K
AI+Math Lab @ Korea Univ.
GitHub Events
Total
- Watch event: 7
- Member event: 2
- Push event: 1
- Create event: 4
Last Year
- Watch event: 7
- Member event: 2
- Push event: 1
- Create event: 4
Dependencies
- matplotlib *
- numpy *
- pandas *
- scikit-learn *
- scipy *
- tqdm *