Overview
This paper introduces GAZ Play-to-Plan (GAZ PTP), a novel reinforcement learning algorithm that transforms single-player planning problems into a two-player competitive game against a historical version of the agent. By planning against its past self's policy rather than relying on a scalar score, the agent achieves significantly better performance on complex combinatorial optimization problems—such as the Traveling Salesman Problem (TSP)—using only half the search budget of traditional methods.
The Challenge of Single-Player Planning
AlphaZero-style algorithms, which combine Monte Carlo Tree Search (MCTS) with deep neural networks, have revolutionized two-player games like Chess and Go. However, applying them to single-player "planning" tasks, specifically Combinatorial Optimization Problems (COPs) like scheduling or routing, has proven surprisingly difficult.
The core issue lies in the value network. In a two-player game, the value network predicts a win/loss probability, which is a stable range from 0 to 1. In single-player tasks, the network must predict the actual total reward. This reward can vary wildly in scale and is often hard to approximate accurately. While previous "self-competition" methods attempted to fix this by using a historical scalar score as a baseline (e.g., "did I score better than 500?"), a single number provides very little guidance on how to improve.
Methodology: GAZ Play-to-Plan
The authors propose GAZ Play-to-Plan (GAZ PTP), built upon the Gumbel AlphaZero (GAZ) framework. The key innovation is a shift from scalar-based competition to policy-based competition.
- Gamification: The single-player Markov Decision Process (MDP) is turned into a two-player zero-sum game. Two players start from the same state. Player 1 is the "learning actor" (using MCTS), and Player -1 is the "greedy actor" (a frozen, historical "best" version of the agent).
- Binary Rewards: Instead of learning to predict complex reward values, the value network learns to predict who will win the head-to-head matchup. The reward is simplified to +1 (win) or -1 (loss).
- In-Tree Competition: During the MCTS search, the agent does not just look ahead at its own moves; it simulates the responses of its historical self. This provides a dense, relative signal at every step of the planning process.
The authors introduce two variants of this approach:
- GAZ PTP GT (Greedy Tree): The opponent always makes the best move according to its policy.
- GAZ PTP ST (Sampled Tree): The opponent samples moves, forcing the learning agent to plan against a wider variety of potential strategies.
Experimental Setup
The algorithm was evaluated on two classic NP-hard combinatorial problems:
- Traveling Salesman Problem (TSP): Finding the shortest route through $n$ cities. Tested on instances with $n = 20, 50,$ and $100$ nodes.
- Job-Shop Scheduling Problem (JSSP): Scheduling $k$ jobs across $m$ machines to minimize total time (makespan). Tested on the standard Taillard benchmark set (sizes $15 \times 15, 20 \times 20,$ and $30 \times 20$).
Key Insights
- Relative vs. Absolute Values: It is much easier for a neural network to learn "State A is better than State B" than it is to learn "State A will result in exactly 452.3 reward." By comparing states against a historical policy, the network focuses on the logic of improvement.
- Automatic Curriculum: As the agent improves, its "historical self" (the opponent) also gets stronger. This creates a natural, self-adjusting curriculum that keeps the learning challenge at the right level of difficulty.
- Efficiency through Sparsity: Surprisingly, the agent does not need to backpropagate value estimates for the opponent's turns in the tree. Treating the opponent's moves as "environment transitions" (like chance nodes) saves significant computation.
Key Results
GAZ PTP consistently outperformed "Single Vanilla" GAZ and other scalar-baseline variants across all tests.
Notable achievements include:
- TSP 100: GAZ PTP GT achieved an optimality gap of only 3.16%, whereas the standard GAZ Single Vanilla struggled with a massive 27.15% gap.
- JSSP 20x20: GAZ PTP GT reached a 21.3% gap, outperforming the single-player GAZ (27.5%) and the specialized Zhang et al. method (31.6%).
- Search Budget Efficiency: Most impressively, GAZ PTP achieved these results using only 100 simulations per step (or 50 for JSSP), while the baseline single-player variants were given 200 simulations (or 100 for JSSP). This proves that the policy-based signal is far more "information-dense" for the planner.
Limitations and Future Work
- Search Space: The "Sampled Tree" (ST) variant, while robust, suffers from an exponentially growing search space as the number of possible opponent moves increases.
- Episode Length: The current implementation assumes a constant episode length (e.g., $n$ steps for $n$ cities). While the authors suggest ways to handle varying lengths, it was not the primary focus of this study.
- Greedy Lag: The authors noted that a policy improvement in the "two-player" setup does not always immediately translate to better "greedy" performance in the original task; it can take many training steps for the policy to become "sharp" enough to update the historical baseline.
Summary updated