Download presentation
Presentation is loading. Please wait.
Published byWendy Pearson Modified over 8 years ago
1
Plausible Move Generation Using Move Merit Analysis with Cut-off Thresholds in Shogi Reijer Grimbergen (Electrotechnical Laboratory)
2
Contents Full-width search and plausible move generation Why plausible move generation in shogi? A set of plausible move generators for shogi Move Merit Analysis Cut-off thresholds Experimental results Related work Conclusions
3
Full-width Search and Plausible Move Generation Full-width search World championship level programs in chess, checkers and Othello. Plausible Move Generation Important in the early days of chess research. Good alternative in domains where full-width search can not search deep enough: Large average number of legal moves (e.g. Go, Shogi). Single agent search problems with extremely long solution sequences (e.g. Sokoban).
4
Why Plausible Move Generation in Shogi? High average branching factor (80) compared to chess (35). Average branching factor increases as the game progresses. Time constraints are strict.
5
Legal Moves in Shogi
6
Positional improvement Defend pins Tie improvement Defend undefended pieces Defend against exchange Cover squares in own camp Develop pieces Defend against positional improvement Pin piece Cover squares in enemy camp Avoid development Goal Capture Material Promote Piece Threat Check Attack king Attack material Discovered attack Threaten promotion Defend threat Defend checks Defend king Defend material Defend discovered attacks Defend against promotion Plausible Move Generator Set for Shogi
7
Move Merit Analysis In this approach it is possible that moves are generated by more than one PMG. Knowledge about which PMGs generated a move is used for analyzing the merit of a move. Move Merit Analysis: Every PMG gives a value to the generated move based on the importance of the PMG. E.g.: Winning a rook is more important than improving the position. Possible performance improvements: Move ordering is improved, aiding alpha-beta search. Additional cuts are possible: discard all moves with a negative MMA value.
8
Cut-Off Thresholds MMA values can be used for further cuts. Cut-off thresholds: Take the best N moves after MMA based move ordering. Investigated N = 20, 30, 40, 50.
9
Experiments Compare the behavior of: PMG-All: Generate all moves from the plausible move generator set. PMG-MMA: Generate all moves with a positive MMA value. PMG-N: MMA based cut-off thresholds for N=20,30,40,50. Experiments: Plausible move generation test. Move ordering test. Search comparison test. Self play experiment.
10
Plausible Move Generation Test (1)
11
Plausible Move Generation Test (2) Savings and accuracy of PMG-All, PMG-MMA and PMG-N in 12097 test positions: VersionNGAccuracySavings PMG-ALL8199.4%23.7% PMG-MMA14498.8%46.5% PMG-5017898.6%51.2% PMG-4023198.1%54.2% PMG-3040196.7%59.2% PMG-2089292.7%68.0%
12
Move Ordering Test Only very few moves are ordered low by MMA
13
Search Comparison Test Performance in 298 tactical shogi problems from Shukan Shogi: CatTotalFWAllMMAN=50N=40N=30N=20 1501721222123 22 250981312 1310 35010 11 121011 4509788998 5 5444457 6484566666 Tot2985455646266 64 Only for PMG-MMA there is a significant improvement
14
Self Play Experiment NoVers.1234567PRes 1N=20X10-1011-9 16-417-35.576-44 2N=3010-10X11-913-710-1016-420-0580-40 3MMA9-11 X12-8 15-520-0477-43 4N=409-117-138-12X11-918-219-1372-48 5N=509-1110-108-129-11X17-318-22.571-49 6All4-16 5-152-183-17X16-4134-86 7FW3-170-20 1-192-184-16X010-110 Plausible move generation better than full-width search Move merit analysis important
15
Related work IS Shogi 10 Plausible move generators. Strict ordering. Kanazawa Shogi Only plausible move generation in some special cases. YSS 30 Plausible move generators. Plausible move generation related to search depth. Kakinoki Shogi 8 Plausible move generators. Generate only tactical moves.
16
Conclusions Plausible move generation can be an important alternative to full-width search. Plausible move generation with move merit analysis significantly improves the performance of a shogi program. Move merit analysis is vital for this method of plausible move generation. There is some indication that by using cut-off thresholds the performance can be further improved.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.