← Latest papers
🤖 machine learning

Robust Counterfactual Policy Optimisation via Nondeterministic Causal Models

This paper proposes a novel framework for robust counterfactual policy optimization in sequential decision-making by formalizing probabilistic nondeterministic causal models that distinguish between latent confounding and inherent stochasticity, validated through a sepsis treatment simulation with hidden confounders.

Original authors: Jessica Lally, Milad Kazemi, Nicola Paoletti, David Watson, Sander Beckers

Published 2026-08-05
📖 6 min read🧠 Deep dive

Original authors: Jessica Lally, Milad Kazemi, Nicola Paoletti, David Watson, Sander Beckers

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to teach a robot how to drive a car, but you only have a video of someone else driving. You want to ask, "What if the robot had taken a different turn?" This is the heart of counterfactual reasoning: looking at the past and imagining a different outcome based on a different choice. In the world of artificial intelligence, this is crucial for safety, especially in fields like healthcare where we can't just run dangerous experiments on real patients to see what happens.

To do this, scientists use Markov Decision Processes (MDPs), which are like rulebooks for how a system changes state (like a patient's health) based on actions (like giving medicine). Traditionally, researchers assumed these rulebooks were perfectly predictable if they knew all the hidden secrets (called latent variables). They thought, "If we knew the patient's hidden genetic code, we could predict the future exactly." However, real life is messy. Sometimes, things just happen randomly—like a coin flip or a glitch in a machine—that no amount of hidden knowledge can predict. This paper tackles the tricky middle ground where both hidden secrets and pure randomness shape the future, asking: "How can we make the best decisions when we don't know the hidden secrets, and we know the world is a bit chaotic?"


The Detective's Dilemma: Solving the Mystery of the Missing Variable

Imagine you are a detective trying to solve a mystery using a "What If" machine. You have a video of a patient getting sick, and you want to know: "If we had given them a different treatment, would they have survived?"

In the past, detectives assumed the "What If" machine worked like a perfect clockwork toy. They believed that if they knew every hidden gear (like a patient's undiagnosed diabetes), they could rewind time and see exactly what would have happened. But the authors of this paper, Jessica Lally and her team, realized that real life isn't a clockwork toy. Sometimes, the gears just jam randomly, or a gust of wind knocks a domino over. This is inherent randomness.

The paper argues that we can't pretend the world is perfectly predictable just because we are missing some information. Instead, we need a new kind of detective work that admits: "We don't know the hidden gears, and even if we did, the future might still be a little bit of a surprise."

The New Tool: A "Worst-Case" Safety Net

The team introduces a new method called Robust Counterfactual Policy Optimisation. Think of this as a safety net for decision-making.

Usually, when we try to guess what would have happened, we might get it wrong because we don't know the "hidden confounder" (like the patient's diabetes status). The authors propose a framework that doesn't just guess one outcome; it prepares for the worst possible outcome consistent with the data.

They use a concept called sensitivity analysis. Imagine you are guessing the weather. If you are 100% sure, you say "It will rain." If you are unsure, you say "It might rain, or it might not." The authors add a "dial" (called Δ\Delta) that controls how much the hidden secrets could be messing up our predictions.

  • If you turn the dial to 1, you assume there are no hidden secrets messing things up.
  • If you turn the dial up high, you assume the hidden secrets could be causing anything to happen.

The goal is to find a policy (a set of rules for what to do) that works well even if the hidden secrets are as tricky as possible. They call this finding a robust policy. It's like packing a backpack for a hike: you don't just pack for sunny weather; you pack for rain, mud, and a sudden storm, just in case.

The Experiment: The Sepsis Simulator

To test their idea, the team used a computer simulation of sepsis treatment. In this game, a patient has four vital signs (heart rate, blood pressure, oxygen, and glucose) that can be low, normal, or high. A doctor (or an AI) has to decide whether to turn on or off three different treatments.

Here is the catch: The simulation has a hidden variable. Some patients are diabetic, and some are not. This diabetes status is the "hidden confounder." It affects how the patient reacts to treatment, but the AI only sees the vital signs, not the diabetes status. In this simulation, 20% of the patients are diabetic.

The researchers ran their new "safety net" method on this simulation. They asked: "Can we find a treatment plan that is better than the one we saw in the data, even if we don't know who is diabetic?"

What They Found

The results were promising, but with a few caveats.

  1. It works better than guessing: When they tested their new policies on the full, perfect version of the simulation (where they did know who was diabetic), the policies they found were often much better than the original, suboptimal ones. For diabetic patients, the new policy improved the outcome by an average of 7.4 points (on a scale where death is -10 and discharge is 10).
  2. The "Proxy" is a bit cautious: The team had to guess the level of hidden trouble (the Δ\Delta dial) using only the visible vital signs. For diabetic patients, this guess was spot on. But for non-diabetic patients, the method was a bit too cautious. It assumed the hidden trouble was stronger than it actually was. This is like a weather forecaster saying "It might rain" when it's actually sunny. While this leads to a slightly lower score in the simulation, it ensures the decision is safe.
  3. The "Oracle" Test: The authors compared their method to an "Oracle"—a perfect version of their method that knew the true level of hidden trouble. They found that even without knowing the truth, their method found policies that were very close to the Oracle's best choices.

The Bottom Line

This paper doesn't claim to have solved the mystery of hidden variables forever. Instead, it offers a new, safer way to ask "What if?" in a world that is both mysterious and random.

By separating the "hidden secrets" (like diabetes) from the "pure randomness" (like a random glitch), and by preparing for the worst-case scenario, the authors show that we can still make smart, robust decisions. Their method suggests that even when we are flying blind regarding hidden factors, we can still find treatment plans that are significantly better than just following the old, imperfect data. It's a step toward AI that is humble enough to admit what it doesn't know, and smart enough to plan for the unexpected.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →