Variance Reduction in Monte Carlo Counterfactual Regret Minimization (VR-MCCFR) for Extensive Form Games using Baselines

Martin Schmid, Neil Burch, Marc Lanctot, Matej Moravcik, Rudolf Kadlec, Michael Bowling

Abstract: Learning strategies for imperfect information games from samples of interaction is a challenging problem. Monte Carlo Counterfactual Regret Minimization (MCCFR) is a common method but suffers from high variance, leading to slow convergence. We introduce VR-MCCFR, a variance reduction technique that applies to any sampling variant of MCCFR. By reformulating per-iteration updates using state-action baselines and recursive bootstrapping—concepts borrowed from reinforcement learning—VR-MCCFR achieves significant speedups. We demonstrate that with a perfect baseline, variance reduces to zero. Experimental results show an order of magnitude speedup in convergence and a three-order-of-magnitude reduction in empirical variance, enabling the use of CFR+ with sampling for the first time.

1. Introduction

In imperfect information games like Poker, Counterfactual Regret Minimization (CFR) is the standard algorithm for computing Nash Equilibria. However, full-tree CFR is computationally prohibitive for large games because it must traverse every possible state in every iteration. Monte Carlo CFR (MCCFR) addresses this by sampling specific trajectories, but this introduces significant variance. High variance leads to unstable updates and slow long-term convergence, and it has historically prevented the use of high-performance variants like CFR+ in sampling-based settings.

Conceptual comparison of CFR, MCCFR, and VR-MCCFR tree traversal.

2. The Challenge of Variance

The core issue in MCCFR is that if an action is not sampled, its value is typically estimated as zero. This "all-or-nothing" approach causes the estimated values of actions to fluctuate wildly between iterations. VR-MCCFR solves this by introducing "baselines" to estimate values for both sampled and unsampled actions, effectively smoothing the learning signal and bridging the gap between game theory and reinforcement learning (RL).

3. VR-MCCFR: Methods and Implementation

VR-MCCFR applies two primary techniques to reduce variance:

  • State-Action Baselines (Control Variates): Similar to the "advantage" function in actor-critic RL, VR-MCCFR uses a baseline value for every action. When an action is sampled, the algorithm updates the difference between the observed outcome and this baseline. This ensures that even unsampled actions contribute to the estimate via their baseline values.
  • Recursive Bootstrapping: Instead of relying solely on noisy terminal payoffs, VR-MCCFR propagates baseline-enhanced estimates up the game tree. Estimates from child nodes are used to refine the values of parent nodes. The authors formally prove that these estimates remain unbiased, even when bootstrapping from other estimates.
Detailed comparison of value estimation in CFR, MCCFR, and VR-MCCFR.

The algorithm "learns" these baselines online during the search using an exponentially decaying average of previous values. A key theoretical insight is that if a "perfect" baseline (an Oracle) were available, the variance of the estimates would drop to zero.

4. Experimental Evaluation

The authors benchmarked VR-MCCFR on Leduc Poker, a standard testbed for imperfect information research. Leduc is complex enough to show the failures of high-variance sampling while remaining small enough for ground-truth exploitability calculations.

Key Results: * Convergence Speed: VR-MCCFR reached target solution quality 250 times faster than standard MCCFR. * Variance Reduction: Empirical variance of value estimates decreased by three orders of magnitude ($1000\times$). * Enabling CFR+: The drastic reduction in noise finally allowed the use of CFR+ with sampling. This combination, VR-MCCFR+, provided a speedup of two orders of magnitude over previous state-of-the-art sampling methods.

5. Conclusion and Future Work

VR-MCCFR demonstrates that borrowing variance reduction techniques from RL can fundamentally improve game-theoretic algorithms. While the current implementation uses simple averages for baselines, future work could integrate deep neural networks to maintain accurate baselines in massive state spaces, potentially leading to a "Deep MCCFR" framework. Despite a slight increase in computational cost per iteration due to baseline calculations, the massive reduction in total iterations required makes VR-MCCFR a significant advancement for solving large-scale imperfect information games.

Summary updated

Abstract

Learning strategies for imperfect information games from samples of interaction is a challenging problem. A common method for this setting, Monte Carlo Counterfactual Regret Minimization (MCCFR), can have slow long-term convergence rates due to high variance. In this paper, we introduce a variance reduction technique (VR-MCCFR) that applies to any sampling variant of MCCFR. Using this technique, per-iteration estimated values and updates are reformulated as a function of sampled values and state-action baselines, similar to their use in policy gradient reinforcement learning. The new formulation allows estimates to be bootstrapped from other estimates within the same episode, propagating the benefits of baselines along the sampled trajectory; the estimates remain unbiased even when bootstrapping from other estimates. Finally, we show that given a perfect baseline, the variance of the value estimates can be reduced to zero. Experimental evaluation shows that VR-MCCFR brings an order of magnitude speedup, while the empirical variance decreases by three orders of magnitude. The decreased variance allows for the first time CFR+ to be used with sampling, increasing the speedup to two orders of magnitude.
BibTeX
@inproceedings{schmid2019variance,
  author = {Martin Schmid and Neil Burch and Marc Lanctot and Matej Moravcik and Rudolf Kadlec and Michael Bowling},
  title = {{Variance Reduction in Monte Carlo Counterfactual Regret Minimization (VR-MCCFR) for Extensive Form Games using Baselines}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2019},
  url = {https://openreview.net/forum?id=rIXVlqJPjg5},
}
Figure