[Paper Review] Adversarial Counterfactual Environment Model Learning
This paper proposes Adversarial Weighted Empirical Risk Minimization (AWRM), a novel method for learning accurate environment dynamics models in offline reinforcement learning by adversarially generating counterfactual data to mitigate selection bias. The practical algorithm GALILEO improves counterfactual prediction, offline policy evaluation, and online decision-making, outperforming supervised learning and existing baselines on synthetic and real-world tasks with significantly reduced error on out-of-distribution action queries.
A good model for action-effect prediction, named environment model, is important to achieve sample-efficient decision-making policy learning in many domains like robot control, recommender systems, and patients' treatment selection. We can take unlimited trials with such a model to identify the appropriate actions so that the costs of queries in the real world can be saved. It requires the model to handle unseen data correctly, also called counterfactual data. However, standard data fitting techniques do not automatically achieve such generalization ability and commonly result in unreliable models. In this work, we introduce counterfactual-query risk minimization (CQRM) in model learning for generalizing to a counterfactual dataset queried by a specific target policy. Since the target policies can be various and unknown in policy learning, we propose an adversarial CQRM objective in which the model learns on counterfactual data queried by adversarial policies, and finally derive a tractable solution GALILEO. We also discover that adversarial CQRM is closely related to the adversarial model learning, explaining the effectiveness of the latter. We apply GALILEO in synthetic tasks and a real-world application. The results show that GALILEO makes accurate predictions on counterfactual data and thus significantly improves policies in real-world testing.
Motivation & Objective
- To address catastrophic failures in counterfactual action prediction caused by selection bias in behavior policies during data collection.
- To improve the generalization of environment dynamics models beyond the i.i.d. assumption by learning under adversarial data distributions.
- To develop a practical algorithm that enhances offline policy evaluation and improvement by accurately modeling action effects on unseen data.
- To eliminate spurious associations between states, actions, and next states that arise from biased behavior policies.
- To achieve faithful dynamics modeling in sequential decision-making settings where standard supervised learning fails under distribution shift.
Proposed method
- Proposes AWRM, a learning objective that incorporates an adversarial policy to generate data distributions that weaken the model’s accuracy, forcing robustness.
- Uses a generator network to simulate counterfactual data by inverting the behavior policy’s action selection, creating challenging test cases.
- Implements GALILEO, a practical algorithm that approximates the optimal adversarial counterfactual data distribution using the current model and training data.
- Applies adversarial training where the model is optimized to minimize error on data generated by a policy that exploits its weaknesses.
- Employs a two-stage training process: first, train a dynamics model on offline data; second, refine it using adversarially generated counterfactual transitions.
- Uses inverse propensity weighting and GAN-based data augmentation as baselines for comparison in ablation and evaluation.
Experimental results
Research questions
- RQ1Can standard supervised learning fail catastrophically in counterfactual prediction due to selection bias in behavior policies?
- RQ2Does adversarial data distribution shift improve the robustness of environment dynamics models on out-of-distribution action queries?
- RQ3Can GALILEO achieve performance comparable to an oracle AWRM method that uses the worst-case counterfactual data for each iteration?
- RQ4How does AWRM compare to existing methods like IPW, SCIGAN, and supervised learning in offline policy evaluation and improvement?
- RQ5Does GALILEO improve online decision-making performance by enabling more accurate counterfactual reasoning?
Key findings
- GALILEO reduces counterfactual prediction error by up to 50% compared to supervised learning on synthetic tasks with high selection bias.
- On the GNFC benchmark, GALILEO achieves the lowest MMSE across all tasks, with a mean error of 3.86 ± 0.03 (e1_p1), significantly outperforming SL (5.73 ± 0.33).
- In the TCGA benchmark, GALILEO maintains low error (e.g., 1.56 ± 0.04 for t0_bias_2.0), while SL’s error increases dramatically (e.g., 1.92 ± 0.67) under distribution shift.
- GALILEO’s response curves closely match ground truth, showing correct causal relationships (y_{t+1} ∝ y_t + a_t), unlike SL, which learns spurious associations (e.g., y_{t+1} ∝ φ - 14a_t).
- On continuous-control tasks, GALILEO improves offline policy evaluation and improvement, demonstrating robustness to distribution shift in action distributions.
- The method achieves performance close to the AWRM-oracle baseline, indicating effective approximation of the optimal adversarial data distribution.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.