TL;DR
This paper introduces a causal framework for the Multi-Armed Bandit (MAB) problem to handle unobserved confounders—hidden variables that influence both an agent's choices and their rewards. By leveraging counterfactual logic and a new algorithm called Causal Thompson Sampling ($TS^C$), the authors show that agents can achieve significantly lower regret by accounting for their own "natural inclinations" before making a final decision.
What Problem Does This Paper Address?
In a standard Multi-Armed Bandit problem, an agent tries to maximize rewards by balancing exploration (trying new arms) and exploitation (pulling the best-known arm). Traditional algorithms assume that the reward distribution for an arm is independent of the process used to select it.
However, in the real world, unobserved confounders (UC) often exist. These are hidden factors that simultaneously affect which action is chosen and what the resulting reward will be. For example, a doctor might prescribe a specific drug based on a "gut feeling" about a patient's health—a feeling driven by subtle cues the doctor can't explicitly name. If those same cues also affect the patient's recovery, a standard bandit algorithm will fail to find the truly optimal policy because it cannot distinguish between the effect of the drug and the effect of the hidden cues.
The authors argue that current bandit algorithms only look at the experimental distribution (what happens when we force an action), ignoring the observational distribution (what happens when we follow natural inclinations). In the presence of confounders, these two distributions diverge, leading traditional agents to make suboptimal choices indefinitely.
Methods
The paper reformulates the bandit problem using Structural Causal Models (SCM) and counterfactuals.
- Regret Decision Criterion (RDC): Instead of just maximizing the expected reward $E[Y|do(x)]$, the authors propose a criterion based on the Effect of Treatment on the Treated (ETT). This asks: "Given that I was inclined to pick arm $x$, what would the reward be if I instead picked arm $a$?" Formally: $E[Y_{X=a} | X=x]$.
- Causal Thompson Sampling ($TS^C$): The authors modify the classic Thompson Sampling algorithm in two ways:
- Seeding: It uses available observational data (passive data of what happens when agents follow their natural inclinations) to initialize the reward estimates.
- Heuristic Weighting: It uses the RDC to weight arms. If the agent's "intuition" (the arm it would naturally pick) is likely to be wrong due to confounding, the algorithm shifts its weight toward the counter-intuitive arm.
Datasets
The authors evaluate their approach using two specialized synthetic environments designed to trigger "causal traps":
- The Greedy Casino: A scenario where a casino manipulates slot machine payouts based on whether a gambler is drunk and whether the machine is blinking. Standard algorithms see both machines as identical, while the causal agent learns to exploit the hidden state.
- Paradoxical Switching: A more complex setup where one arm looks superior in observational data, but the other arm is actually superior in experimental trials.
Key Insights and Ideas
- Intent as a Signal: The most profound insight is that an agent's "natural choice" or "predilection" is itself a data point. Even if the confounder is unobserved, the fact that you wanted to pick Arm A tells you something about the hidden state of the world.
- The Failure of Randomization: Standard randomized trials (the "gold standard") can actually be suboptimal in bandit settings with confounders because they wash away the information contained in the agent's intent.
- Bridging Data Types: The paper provides a formal way to combine passive "observational" data (watching others act) with active "experimental" data (acting yourself) to reach a better decision than either data type could provide alone.
Key Results
The authors compared $TS^C$ against standard Thompson Sampling ($TS$) and a contextual version ($TS^Z$).
- Regret Reduction: In the "Greedy Casino" experiment, standard $TS$ suffered massive cumulative regret, while $TS^C$ achieved near-zero regret.
- Convergence: $TS^C$ identifies the optimal action much faster than traditional methods. In the "Paradoxical Switching" case, $TS^C$ reached a 95%+ probability of picking the optimal action within 200 trials, whereas standard algorithms remained stuck at a 50/50 guess (random chance).
- Statistical Efficiency: By "seeding" the algorithm with observational data, $TS^C$ requires fewer experimental trials to reach peak performance.
Limitations and Future Work
- Observing "Intent": The algorithm assumes the agent can observe its own "natural predilection" before making a final intervention. In some automated systems, defining or capturing this "pre-intervention intent" might be difficult.
- Binary Simplification: Much of the algebraic proof for computing ETT from data relies on binary choices. Extending this to high-dimensional or continuous action spaces remains a challenge.
- Causal Graph Knowledge: While the paper doesn't require knowing the exact values of confounders, it does assume a specific causal structure (the MABUC model). If the underlying causal graph is different, the RDC might need adjustment.
Future work could involve applying these causal principles to more complex "Contextual Bandits" where some variables are observed but others remain hidden.
Summary updated