Abstract
Thomsen's $\lambda$ search and Nagai's depth-first proof-number (DFPN) search are two powerful but distinct AND/OR tree search algorithms. Lambda Depth-First Proof Number search (LDFPN) is a novel hybrid algorithm that integrates the threat-based logic of $\lambda$ search with the best-first efficiency of DFPN. While $\lambda$ search reduces search space by identifying threat sequences of varying orders, DFPN uses proof and disproof numbers to expand the most promising nodes. By combining these approaches, LDFPN selects moves more effectively while preserving the efficiency of DFPN. This paper demonstrates that LDFPN is significantly more efficient than standard DFPN and more robust than classical $\lambda$ search when applied to complex capturing problems in the game of Go.
Introduction
In game theory and artificial intelligence, many tactical challenges are modeled as AND/OR trees. Solving these positions requires finding a "proof"—a sequence of moves that guarantees a win regardless of the opponent's responses. Historically, two families of algorithms have dominated this domain:
- Proof-Number (PN) Search: Algorithms like DFPN use proof and disproof numbers to estimate which branches are easiest to resolve. While effective, they are "best-first" and can be misled by poor heuristic estimates.
- Threat-Based Search ($\lambda$ search): These use "null moves" to identify threats of varying complexity (orders). They search simpler threats first but can be rigid, often wasting time disproving every simple threat before attempting a slightly more complex but effective one.
LDFPN addresses the gap between these two by merging structural threat knowledge with the dynamic flexibility of proof-number search.
Methodology
The core innovation of LDFPN is the restructuring of the search tree to incorporate threat levels directly into the proof-number calculation.
Pseudo Nodes and Dynamic Selection
In LDFPN, an "attacker" node is split into several pseudo nodes, each representing a different $\lambda$ order (threat level). Instead of searching these orders in a fixed sequence, LDFPN uses proof and disproof numbers to dynamically select the most promising threat level.
Heuristic Initialization
The algorithm initializes proof/disproof numbers based on the $\lambda$ order using the formula $H_{pn} = H_{dn} = \max(1, 2^{\lambda-1})$. This creates a "simplest-first" bias, encouraging the search to resolve low-order threats first while allowing it to "jump" to higher orders if lower ones prove too complex. This seamless switching ensures that the search doesn't get stuck disproving irrelevant simple threats.
Experimental Results
The researchers evaluated LDFPN using a test suite of 440 capturing problems in Go, derived from the classic "Master of Semeai" collection. These problems include both winning and losing scenarios to test the algorithm's ability to find both proofs and disproofs.
Performance Metrics
LDFPN was compared against DFPN+ (DFPN with heuristic enhancements) across different move generators.
- Problem Solving: Using the "Full Board" move generator—the most realistic and difficult scenario—LDFPN solved 207 problems, significantly outperforming DFPN+, which solved only 149.
- Efficiency: LDFPN often achieved solutions orders of magnitude faster. In one sacrifice problem, LDFPN found the solution in 0.007 seconds (895 nodes), while DFPN+ required 0.022 seconds (3,143 nodes).
- Robustness: By using $\lambda$ orders to define move priority, LDFPN effectively ignores "irrelevant" moves that do not contribute to a threat sequence, making it far more resilient to "noisy" move generators than standard search methods.
Conclusion
LDFPN represents a significant advancement in AND/OR tree search by successfully combining threat-level hierarchies with proof-number dynamics. While it can occasionally suffer from redundant node visits if the $\lambda$ hierarchy is not informative, its overall efficiency and robustness in Go capturing problems are superior to existing methods. Future work includes applying LDFPN to other games like Hex and integrating it into full-scale Go-playing programs to enhance tactical strength in complex capturing races (semeai).
Summary updated