Woulda, Coulda, Shoulda: Counterfactually-Guided Policy Search
Not on the map. Why?
Abstract (arXiv)
Learning policies on data synthesized by models can in principle quench the thirst of reinforcement learning algorithms for large amounts of real experience, which is often costly to acquire. However, simulating plausible experience de novo is a hard problem for many complex environments, often resulting in biases for model-based policy evaluation and search. Instead of de novo synthesis of data, here we assume logged, real experience and model alternative outcomes of this experience under counterfactual actions, actions that were not actually taken. Based on this, we propose the Counterfactually-Guided Policy Search (CF-GPS) algorithm for learning policies in POMDPs from off-policy experience. It leverages structural causal models for counterfactual evaluation of arbitrary policies on individual off-policy episodes. CF-GPS can improve on vanilla model-based RL algorithms by making use of available logged data to de-bias model predictions. In contrast to off-policy algorithms based on Importance Sampling which re-weight data, CF-GPS leverages a model to explicitly consider alternative outcomes, allowing the algorithm to make better use of experience data. We find empirically that these advantages translate into improved policy evaluation and search results on a non-trivial grid-world task. Finally, we show that CF-GPS generalizes the previously proposed Guided Policy Search and that reparameterization-based algorithms such Stochastic Value Gradient can be interpreted as counterfactual methods.
Key facts. Cited by 82 papers in the map (data through 14 Oct 2026). First posted on arXiv 15 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 17; 2022: 13; 2023: 15; 2024: 13; 2025: 14; 2026: 10.
82 papers.
Sort:
By area:
- 2021Towards Causal Representation Learningcited by 209
- 2021Pathdreamer: A World Model for Indoor Navigationcited by 118
- 2021Independent mechanism analysis, a new concept?cited by 97
- 2021Causal Influence Detection for Improving Efficiency in Reinforcement Learningcited by 71
- 2022Causal Dynamics Learning for Task-Independent State Abstractioncited by 65
- 2023A Survey on Causal Reinforcement Learningcited by 45
- 2022MoCoDA: Model-based Counterfactual Data Augmentationcited by 44
- 2021Counterfactual Explanations in Sequential Decision Making Under Uncertaintycited by 37
- 2021Instrumental Variable Value Iteration for Causal Offline Reinforcement Learningcited by 35
- 2022Counterfactual harmcited by 29
- 2021Synthetic Returns for Long-Term Credit Assignmentcited by 27
- 2023Causal Reinforcement Learning: A Surveycited by 23
38 more
- 2021Counterfactual Temporal Point Processescited by 20
- 2021Dynamic Causal Bayesian Optimizationcited by 17
- 2022The Benefits of Model-Based Generalization in Reinforcement Learningcited by 17
- 2021Causal Multi-Agent Reinforcement Learning: Review and Open Problemscited by 16
- 2021Learning Generalized Gumbel-max Causal Mechanismscited by 16
- 2022On the link between conscious function and general intelligence in humans and machinescited by 16
- 2021Directive Explanations for Actionable Explainability in Machine Learning Applicationscited by 14
- 2023Partial Counterfactual Identification of Continuous Outcomes with a Curvature Sensitivity Modelcited by 14
- 2024Counterfactual Token Generation in Large Language Modelscited by 14
- 2023Finding Counterfactually Optimal Action Sequences in Continuous State Spacescited by 13
- 2023Would I have gotten that reward? Long-term credit assignment by counterfactual contribution analysiscited by 13
- 2022Adversarial Counterfactual Environment Model Learningcited by 12
- 2024Causal Action Influence Aware Counterfactual Data Augmentationcited by 12
- 2024Fine-Grained Causal Dynamics Learning with Quantization for Improving Robustness in Reinforcement Learningcited by 11
- 2022Counterfactual Analysis in Dynamic Latent State Modelscited by 10
- 2025ExoPredicator: Learning Abstract Models of Dynamic Worlds for Robot Planningcited by 9
- 2022Actual Causality and Responsibility Attribution in Decentralized Partially Observable Markov Decision Processescited by 8
- 2026CRAFT: Counterfactual Credit Assignment from Free Sibling Rollouts for Self-Distilled Agentic Reinforcement Learningcited by 8
- 2022Counterfactual Data Augmentation via Perspective Transition for Open-Domain Dialoguescited by 7
- 2023Offline Imitation Learning with Variational Counterfactual Reasoningcited by 7
- 2025Null Counterfactual Factor Interactions for Goal-Conditioned Reinforcement Learningcited by 6
- 2022Counterfactuals for the Futurecited by 5
- 2024Counterfactual Influence in Markov Decision Processescited by 5
- 2026Reinforcement Learning in the Real World: A Survey of Statistical Challenges and Future Directionscited by 5
- 2022Curiosity in Hindsight: Intrinsic Exploration in Stochastic Environmentscited by 4
- 2023Hindsight-DICE: Stable Credit Assignment for Deep Reinforcement Learningcited by 4
- 2024Automated Discovery of Functional Actual Causes in Complex Environmentscited by 4
- 2026CounterScene: Counterfactual Causal Reasoning in Generative World Models for Safety-Critical Closed-Loop Evaluationcited by 4
- 2021Learning Under Adversarial and Interventional Shiftscited by 3
- 2021Accelerating the Learning of TAMER with Counterfactual Explanationscited by 3
- 2022Causal Temporal Reasoning for Markov Decision Processescited by 3
- 2023Towards Computationally Efficient Responsibility Attribution in Decentralized Partially Observable MDPscited by 3
- 2023Where and How to Attack? A Causality-Inspired Recipe for Generating Counterfactual Adversarial Examplescited by 3
- 2024What Hides behind Unfairness? Exploring Dynamics Fairness in Reinforcement Learningcited by 3
- 2024Learning Causal Dynamics Models in Object-Oriented Environmentscited by 3
- 2024BECAUSE: Bilinear Causal Representation for Generalizable Offline Model-based Reinforcement Learningcited by 3
- 2025Robust Counterfactual Inference in Markov Decision Processescited by 3
- 2021Did I do that? Blame as a means to identify controlled effects in reinforcement learningcited by 2
50 most cited of 82 All 82 (JSON)
- 2026Robust Counterfactuals for Markov Decision Processes under Statistical and Causal Uncertainties14 Oct 2026
- 2026Measuring the Value of World-Model Updates: A Counterfactual Utility Protocol for Continual Adaptation10 Sep 2026
- 2026Learning to Control Coupled-Dynamics Environments with Joint Markov Decision Processes24 Aug 2026
- 2026CRAFT: Counterfactual Credit Assignment from Free Sibling Rollouts for Self-Distilled Agentic Reinforcement Learning28 Jun 2026
- 2026Self-Evolving Cognitive Framework via Causal World Modeling for Embodied Scientific Intelligence21 Jun 2026
- 2026Causal Reinforcement Learning for Complex Card Games: A Magic The Gathering Benchmark7 May 2026
- 2026CounterScene: Counterfactual Causal Reasoning in Generative World Models for Safety-Critical Closed-Loop Evaluation22 Mar 2026
- 2026Teleological Inference in Structural Causal Models via Intentional Interventions19 Mar 2026
- 2026Extending Multi-Source Bayesian Optimization With Causality Principles16 Feb 2026
- 2026Reinforcement Learning in the Real World: A Survey of Statistical Challenges and Future Directions21 Jan 2026
- 2025Unifying Causal Reinforcement Learning: Survey, Taxonomy, Algorithms and Applications19 Dec 2025
- 2025CauSight: Learning to Supersense for Visual Causal Discovery1 Dec 2025
38 more
- 2025ExoPredicator: Learning Abstract Models of Dynamic Worlds for Robot Planning30 Sep 2025
- 2025Goal Discovery with Causal Capacity for Efficient Reinforcement Learning13 Aug 2025
- 2025Causal Process Models: Reframing Dynamic Causal Graph Discovery as a Reinforcement Learning Problem18 Jul 2025
- 2025Text-Driven Causal Representation Learning for Source-Free Domain Generalization14 Jul 2025
- 2025A New Perspective On AI Safety Through Control Theory Methodologies30 Jun 2025
- 2025Causal-Paced Deep Reinforcement Learning24 Jun 2025
- 2025Causality in the human niche: lessons for machine learning13 Jun 2025
- 2025Abstract Counterfactuals for Language Model Agents3 Jun 2025
- 2025Null Counterfactual Factor Interactions for Goal-Conditioned Reinforcement Learning6 May 2025
- 2025D3HRL: A Distributed Hierarchical Reinforcement Learning Approach Based on Causal Discovery and Spurious Correlation Detection4 May 2025
- 2025Robust Counterfactual Inference in Markov Decision Processes19 Feb 2025
- 2025CAIMAN: Causal Action Influence Detection for Sample-efficient Loco-manipulation2 Feb 2025
- 2024Dynamical-VAE-based Hindsight to Learn the Causal Dynamics of Factored-POMDPs12 Nov 2024
- 2024Bayesian Inverse Transition Learning: Learning Dynamics From Near-Optimal Trajectories7 Nov 2024
- 2024Counterfactual Token Generation in Large Language Models25 Sep 2024
- 2024BECAUSE: Bilinear Causal Representation for Generalizable Offline Model-based Reinforcement Learning15 Jul 2024
- 2024Disentangled Representations for Causal Cognition30 Jun 2024
- 2024Fine-Grained Causal Dynamics Learning with Quantization for Improving Robustness in Reinforcement Learning5 Jun 2024
- 2024Causal Action Influence Aware Counterfactual Data Augmentation29 May 2024
- 2024Learning Causal Dynamics Models in Object-Oriented Environments21 May 2024
- 2024Do No Harm: A Counterfactual Approach to Safe Reinforcement Learning19 May 2024
- 2024What Hides behind Unfairness? Exploring Dynamics Fairness in Reinforcement Learning16 Apr 2024
- 2024Automated Discovery of Functional Actual Causes in Complex Environments16 Apr 2024
- 2024Mitigating Cascading Effects in Large Adversarial Graph Environments12 Apr 2024
- 2024Counterfactual Influence in Markov Decision Processes13 Feb 2024
- 2023Where and How to Attack? A Causality-Inspired Recipe for Generating Counterfactual Adversarial Examples21 Dec 2023
- 2023Personalized Path Recourse for Reinforcement Learning Agents14 Dec 2023
- 2023Agent-Specific Effects: A Causal Effect Propagation Analysis in Multi-Agent MDPs17 Oct 2023
- 2023Offline Imitation Learning with Variational Counterfactual Reasoning7 Oct 2023
- 2023Estimation of Counterfactual Interventions under Uncertainties15 Sep 2023
- 2023Bayesian Inverse Transition Learning for Offline Settings9 Aug 2023
- 2023Hindsight-DICE: Stable Credit Assignment for Deep Reinforcement Learning21 Jul 2023
- 2023Adversarial Conversational Shaping for Intelligent Agents20 Jul 2023
- 2023Causal Reinforcement Learning: A Survey4 Jul 2023
- 2023Would I have gotten that reward? Long-term credit assignment by counterfactual contribution analysis29 Jun 2023
- 2023Finding Counterfactually Optimal Action Sequences in Continuous State Spaces6 Jun 2023
- 2023Partial Counterfactual Identification of Continuous Outcomes with a Curvature Sensitivity Model2 Jun 2023
- 2023Q-Cogni: An Integrated Causal Reinforcement Learning Framework26 Feb 2023
50 newest of 82 All 82 (JSON)
- 2024Fine-Grained Causal Dynamics Learning with Quantization for Improving Robustness in Reinforcement Learningcited by 11
- 2025Null Counterfactual Factor Interactions for Goal-Conditioned Reinforcement Learningcited by 6
- 2026Reinforcement Learning in the Real World: A Survey of Statistical Challenges and Future Directionscited by 5
- 2024Automated Discovery of Functional Actual Causes in Complex Environmentscited by 4
- 2024What Hides behind Unfairness? Exploring Dynamics Fairness in Reinforcement Learningcited by 3
- 2024Learning Causal Dynamics Models in Object-Oriented Environmentscited by 3
- 2024Do No Harm: A Counterfactual Approach to Safe Reinforcement Learningcited by 2
- 2025D3HRL: A Distributed Hierarchical Reinforcement Learning Approach Based on Causal Discovery and Spurious Correlation Detectioncited by 1
- 2025Causal-Paced Deep Reinforcement Learningcited by 1
- 2025Causal Process Models: Reframing Dynamic Causal Graph Discovery as a Reinforcement Learning Problemcited by 1
- 2025Unifying Causal Reinforcement Learning: Survey, Taxonomy, Algorithms and Applicationscited by 1
- 2024Disentangled Representations for Causal Cognitioncited by 0
12 most cited of 15 All 15 (JSON)
- 2026Reinforcement Learning in the Real World: A Survey of Statistical Challenges and Future Directions21 Jan 2026
- 2025Unifying Causal Reinforcement Learning: Survey, Taxonomy, Algorithms and Applications19 Dec 2025
- 2025Goal Discovery with Causal Capacity for Efficient Reinforcement Learning13 Aug 2025
- 2025Causal Process Models: Reframing Dynamic Causal Graph Discovery as a Reinforcement Learning Problem18 Jul 2025
- 2025Causal-Paced Deep Reinforcement Learning24 Jun 2025
- 2025Null Counterfactual Factor Interactions for Goal-Conditioned Reinforcement Learning6 May 2025
- 2025D3HRL: A Distributed Hierarchical Reinforcement Learning Approach Based on Causal Discovery and Spurious Correlation Detection4 May 2025
- 2025CAIMAN: Causal Action Influence Detection for Sample-efficient Loco-manipulation2 Feb 2025
- 2024Bayesian Inverse Transition Learning: Learning Dynamics From Near-Optimal Trajectories7 Nov 2024
- 2024Disentangled Representations for Causal Cognition30 Jun 2024
- 2024Fine-Grained Causal Dynamics Learning with Quantization for Improving Robustness in Reinforcement Learning5 Jun 2024
- 2024Learning Causal Dynamics Models in Object-Oriented Environments21 May 2024
12 newest of 15 All 15 (JSON)
- 2021Pathdreamer: A World Model for Indoor Navigationcited by 118
- 2025ExoPredicator: Learning Abstract Models of Dynamic Worlds for Robot Planningcited by 9
- 2026CounterScene: Counterfactual Causal Reasoning in Generative World Models for Safety-Critical Closed-Loop Evaluationcited by 4
- 2026Causal Reinforcement Learning for Complex Card Games: A Magic The Gathering Benchmarkcited by 1
- 2026Self-Evolving Cognitive Framework via Causal World Modeling for Embodied Scientific Intelligencecited by 1
- 2026Measuring the Value of World-Model Updates: A Counterfactual Utility Protocol for Continual Adaptationcited by 1
- 2026Measuring the Value of World-Model Updates: A Counterfactual Utility Protocol for Continual Adaptation10 Sep 2026
- 2026Self-Evolving Cognitive Framework via Causal World Modeling for Embodied Scientific Intelligence21 Jun 2026
- 2026Causal Reinforcement Learning for Complex Card Games: A Magic The Gathering Benchmark7 May 2026
- 2026CounterScene: Counterfactual Causal Reasoning in Generative World Models for Safety-Critical Closed-Loop Evaluation22 Mar 2026
- 2025ExoPredicator: Learning Abstract Models of Dynamic Worlds for Robot Planning30 Sep 2025
- 2021Pathdreamer: A World Model for Indoor Navigation18 May 2021
- 2022MoCoDA: Model-based Counterfactual Data Augmentationcited by 44
- 2021Instrumental Variable Value Iteration for Causal Offline Reinforcement Learningcited by 35
- 2023Offline Imitation Learning with Variational Counterfactual Reasoningcited by 7
- 2024BECAUSE: Bilinear Causal Representation for Generalizable Offline Model-based Reinforcement Learningcited by 3
- 2023Bayesian Inverse Transition Learning for Offline Settingscited by 0
- 2024BECAUSE: Bilinear Causal Representation for Generalizable Offline Model-based Reinforcement Learning15 Jul 2024
- 2023Offline Imitation Learning with Variational Counterfactual Reasoning7 Oct 2023
- 2023Bayesian Inverse Transition Learning for Offline Settings9 Aug 2023
- 2022MoCoDA: Model-based Counterfactual Data Augmentation20 Oct 2022
- 2021Instrumental Variable Value Iteration for Causal Offline Reinforcement Learning19 Feb 2021
- 2022Causal Temporal Reasoning for Markov Decision Processescited by 3
- 2022Causal Temporal Reasoning for Markov Decision Processes16 Dec 2022
- 2021Towards Causal Representation Learningcited by 209
- 2021Independent mechanism analysis, a new concept?cited by 97
- 2021Causal Influence Detection for Improving Efficiency in Reinforcement Learningcited by 71
- 2022Causal Dynamics Learning for Task-Independent State Abstractioncited by 65
- 2023A Survey on Causal Reinforcement Learningcited by 45
- 2021Counterfactual Explanations in Sequential Decision Making Under Uncertaintycited by 37
- 2022Counterfactual harmcited by 29
- 2021Synthetic Returns for Long-Term Credit Assignmentcited by 27
- 2023Causal Reinforcement Learning: A Surveycited by 23
- 2021Counterfactual Temporal Point Processescited by 20
- 2021Dynamic Causal Bayesian Optimizationcited by 17
- 2022The Benefits of Model-Based Generalization in Reinforcement Learningcited by 17
12 most cited of 53 All 53 (JSON)
- 2026Robust Counterfactuals for Markov Decision Processes under Statistical and Causal Uncertainties14 Oct 2026
- 2026Learning to Control Coupled-Dynamics Environments with Joint Markov Decision Processes24 Aug 2026
- 2026Teleological Inference in Structural Causal Models via Intentional Interventions19 Mar 2026
- 2026Extending Multi-Source Bayesian Optimization With Causality Principles16 Feb 2026
- 2025CauSight: Learning to Supersense for Visual Causal Discovery1 Dec 2025
- 2025Text-Driven Causal Representation Learning for Source-Free Domain Generalization14 Jul 2025
- 2025A New Perspective On AI Safety Through Control Theory Methodologies30 Jun 2025
- 2025Causality in the human niche: lessons for machine learning13 Jun 2025
- 2025Robust Counterfactual Inference in Markov Decision Processes19 Feb 2025
- 2024Dynamical-VAE-based Hindsight to Learn the Causal Dynamics of Factored-POMDPs12 Nov 2024
- 2024Counterfactual Token Generation in Large Language Models25 Sep 2024
- 2024Causal Action Influence Aware Counterfactual Data Augmentation29 May 2024
12 newest of 53 All 53 (JSON)