Skip to content

shantanu48114860/Deep-Counterfactual-Networks-with-Propensity-Dropout

 
 

Repository files navigation

Introduction:

This project is the implementation of the paper: "Deep Counterfactual Networks with Propensity-Dropout" [arXiv] in pytorch.
Ahmed M. Alaa, Michael Weisz, Mihaela van der Schaar

Dataset:

IHDP dataset will be found in the folder: "./Dataset"

Abstract

"We propose a novel approach for inferring the individualized causal effects of a treatment (intervention) from observational data. Our approach conceptualizes causal inference as a multitask learning problem; we model a subject's potential outcomes using a deep multitask network with a set of shared layers among the factual and counterfactual outcomes, and a set of outcome-specific layers. The impact of selection bias in the observational data is alleviated via a propensity-dropout regularization scheme, in which the network is thinned for every training example via a dropout probability that depends on the associated propensity score. The network is trained in alternating phases, where in each phase we use the training examples of one of the two potential outcomes (treated and control populations) to update the weights of the shared layers and the respective outcome-specific layers. Experiments conducted on data based on a real-world observational study show that our algorithm outperforms the state-of-the-art."

                                      • Ahmed M. Alaa • Michael Weisz • Mihaela van der Schaar

Architecture

Developer

Shantanu Ghosh

Dependencies

python 3.7.7

pytorch 1.3.1

How to run

To reproduce the experiments for IHDP dataset, first download the dataset as described above and then, type the following command:

python3 main_propensity_dropout.py

Hyperparameters:

  • Propensity Network
  • Epochs: 50
    Learning rate: 0.001
    Batch size: 32
  • DCN
  • Epochs: 100
    Learning rate: 0.0001

Contact

beingshantanu2406@gmail.com
shantanu.ghosh@ufl.edu

About

Implementation of the paper "Deep Counterfactual Networks with Propensity-Dropout"(https://arxiv.org/pdf/1706.05966.pdf) in pytorch framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%