Introduction
In decision-making contexts such as personalized medicine or dynamic pricing, we often face the challenge of predicting outcomes for actions that were never taken—a problem known as counterfactual inference. Standard machine learning models trained on historical observational data suffer from selection bias, as past actions were likely dictated by specific human policies. This paper addresses Counterfactual Classification (CC), focusing on categorical outcomes (e.g., purchase vs. no-purchase) rather than continuous effects.
Methodology: Counterfactual Self-Training (CST)
The authors propose Counterfactual Self-Training (CST), framing counterfactual inference as a domain adaptation problem. The goal is to transition from biased observational data to a simulated randomized controlled trial.
CST operates through an iterative process:
- Initial Training: A base model is trained on factual observational data.
- Pseudolabeling: The model predicts outcomes for all counterfactual actions (actions not taken in the original data).
- Augmentation: The dataset is expanded with these "imagined" outcomes.
- Iterative Refinement: The model is retrained on the augmented dataset until convergence.
To mitigate the risk of error propagation from incorrect pseudolabels, the authors introduce Counterfactual Virtual Adversarial Training (CVAT). This consistency-based regularization forces the model to maintain stable predictions under small input perturbations across all possible actions, effectively smoothing decision boundaries and denoising the training set.
Experimental Evaluation
The effectiveness of CST was tested across three distinct data environments:
- Toy Data: Visualizing decision boundary refinement on "two-moon" distributions.
- Synthetic Pricing: 50-dimensional feature sets with five discrete price points to evaluate demand function estimation where the ground truth is known.
- Real-World Benchmarks: Multi-label datasets (Scene and Yeast) converted into bandit feedback format to simulate missing counterfactual information.
Key Results and Insights
CST demonstrates significant improvements over the Direct Method (DM) and representation learning techniques like HSIC. By imputing labels for every action, CST effectively simulates a randomized trial, making it highly effective at extrapolation—predicting behavior under policies never previously implemented.
As shown in the results for synthetic pricing, CST with CVAT consistently achieves the lowest Log Loss. For instance, on the D1 dataset, the error dropped from 2.37 (Backbone) to 0.54 (PL + CVAT). Similar gains were observed in Hamming Loss across both synthetic and real-world datasets. Notably, the method remains robust even in low-overlap scenarios where historical policies were highly deterministic, a setting that typically poses a significant challenge for counterfactual learners.
Conclusion and Future Work
While CST provides a powerful, model-agnostic framework for counterfactual classification, it currently requires discrete action spaces. Future research may explore joint kernel embeddings to handle continuous actions and more robust model selection techniques, such as counterfactual cross-validation, to optimize the self-training loop.
Summary updated