TL;DR
Researchers have adapted the AlphaZero framework to tackle Morpion Solitaire, a notoriously difficult NP-hard single-player game. By replacing the standard win/loss signal with a Ranked Reward (R2) mechanism—which evaluates performance relative to the agent's own recent history—they achieved a 67-step solution, nearly matching the human world record of 68.
What Problem Does This Paper Address?
Morpion Solitaire is a pencil-and-paper game played on a grid. Starting with a cross-shaped pattern of 36 dots, the player adds a new dot and draws a line connecting five dots (the new one plus four existing ones). The goal is to make as many moves as possible.
Despite its simple rules, it is an AI nightmare for two reasons:
- Massive State Space: The complexity is on the order of the game of Go.
- Sparse Rewards: Unlike Chess or Go, there is no opponent to provide immediate feedback. You only get a final score at the very end of a long sequence of moves.
Standard search algorithms like Monte Carlo Tree Search (MCTS) struggle here because they don't know which early moves lead to high scores later. While specialized algorithms like Nested Rollout Policy Adaptation (NRPA) have reached 82 moves, they require massive computational resources. This paper explores whether the self-learning power of AlphaZero can be ported to this single-player optimization domain.

Methods
The authors implement an AlphaZero-like framework consisting of a deep neural network that guides an MCTS search. However, since there is no "opponent" to win or lose against, they integrate the Ranked Reward (R2) algorithm:
- Relative Performance: The system maintains a buffer ($B$) of the scores from the last $L$ games played.
- Thresholding: It calculates a threshold score ($r_\alpha$) based on a percentile (e.g., the top 25%) of recent games.
- Binary Signal: If a new game's score exceeds this threshold, it is labeled a "win" (+1). If it falls below, it's a "loss" (-1).
- Self-Play Curriculum: This forces the agent to constantly "outdo itself," effectively creating a moving target that prevents the neural network from stagnating.
The training was conducted on a GPU server over approximately one week, testing various board sizes up to 22x22.
Datasets
As this is a reinforcement learning paper focused on a game, there are no external datasets. The "data" is generated entirely through self-play. The agent generates its own training examples by playing thousands of games against its current policy, storing the states, move probabilities, and ranked rewards in a replay buffer ($D$).
Key Insights and Ideas
- Optimization as Classification: The core "aha!" moment is that you can treat a numerical optimization problem (maximizing moves) as a binary classification problem (did I do better than my recent average?) to leverage AlphaZero’s architecture.
- Sparse Reward Handling: By using MCTS to enhance the policy during training and R2 to provide a dense-enough signal, the agent can learn to navigate the sparse search space of Morpion Solitaire without handcrafted heuristics.
- Local Optima Traps: The authors observed that if the reward buffer ($B$) is too small or the threshold is reached too easily, the agent can get stuck in a local optimum, repeatedly finding the same medium-quality solutions.
Key Results
The primary result is a 67-step solution for the "5D" (disjoint) version of the game.
- Human Comparison: This is just one step shy of the human record of 68.
- Algorithmic Comparison: While it hasn't yet reached the 82-step record held by NRPA, it achieved this near-human performance with a general-purpose reinforcement learning approach rather than a highly specialized search heuristic.
- Efficiency: The agent found "medium-quality" solutions with reasonable computational effort compared to previous record-breaking attempts.

Limitations and Future Work
While promising, the approach currently hits a ceiling:
- Falling Short of the Record: The 67-step solution is impressive but still far from the mathematical upper bound (121) and the algorithmic record (82).
- Hyperparameter Sensitivity: The performance is highly dependent on parameters like the MCTS simulation count ($m$) and the reward threshold ratio ($\alpha$). The authors noted that $m=100$ during self-play might be too low for larger boards.
- Architectural Improvements: The authors suggest that moving from standard convolutional networks to Pointer Networks—which are better suited for combinatorial problems—could yield better results.
- Exploration: Future work will focus on enlarging exploration when the agent gets stuck in local optima, potentially by monitoring the diversity of scores in the reward buffer.
Summary updated