Implementation of paper Long-Term Effect Estimation with Surrogate Representation [1].
LTEE first transforms the context into a latent space and obtains the latent representation. It then builds double-headed RNNs where each head represents an RNN specifically trained for the treated or the control group. At each timestep, the RNN outputs the surrogate representation to perform two subtasks simultaneously: (1) predicting the outcome observed at t and (2) enforcing the similarity between distributions of surrogate representations in the treated and the control groups. At long-term T, we can observe the outcome in the source data (but not target data), and
- Run the data simulation script data_generate.py for NEWS data and data_generateIHDP.py for IHDP data.
- Run the main program LTEE_IHDP.py for the experiments in Sec. 4.2 in the paper and LTEE_IHDP_future.py for the experiments in Sec. 4.3. The output is the Mean Absolute Error averaged over 10 runs.
- python == 2.7
- tensorflow == 1.1.0
[1] Lu Cheng, Ruocheng Guo, and Huan Liu. Long-Term Effect Estimation with Surrogate Representation. ACM International Conference on Web Search and Data Mining (WSDM), 2021. [paper]