Relative History Heuristic
Home * Search * Move Ordering * Relative History Heuristic
The Relative History Heuristic was proposed by Mark Winands et al. [1] at the Computers and Games Conference 2004 in Ramat Gan as improvement of the History Heuristic.
The Idea
The idea is to make the history scores (hhScore) relative to the scores of the butterfly heuristic (bfScore).
or dependent on the increments:
Winands experienced with several increments for hhScore and bfScore, namely {1, depth, depth^2 and 2^depth}. The depth independent increment of 1 seemed to give best results in the game of Lines of Action. This is how the history array and butterfly boards may be updated, if a beta-cutoff occurs or not (ignoring PV-Nodes):
Alternatives
Other approaches of relative history heuristic - proposed by Robert Hyatt, as tried in Crafty while playing with Late Move Reductions [2], and applied by Tord Romstad in Glaurung as mentioned by Marco Costalba, the developer of Stockfish [3] - rely on considering confirmed Cut-Nodes for updating the counters only. If a Fail-High occurs, hhScore is incremented as usual. Additionally, if the move which caused the Cut-Off was not the first one, one has to loop over all previously tried quite moves (still in the move-list), to increment their butterfly penalty scores. A similar idea was proposed by Jeff Rollason, Negative Plausibility [4] as implemented inside his Shogi program Shotest.
Peak History Reduction
A common idea was mentioned by Daniel Mehrmann in the same LMR-thread [5], what he called Peak History Reduction or PHR. He keeps track of the greatest hhScore, to consider all other history scores relative to this peak. But that doesn’t address the cases, where moves occurred rarely were relative successful.
See also
- Bobby’s Strategic Quiescence Search
- History Heuristic
- Butterfly Heuristic
- Butterfly Boards
- Killer Heuristic
- Countermove Heuristic
- Late Move Reductions
- History Leaf Pruning
Publications
- Mark Winands, Erik van der Werf, Jaap van den Herik, Jos Uiterwijk (2004). The Relative History Heuristic. CG 2004, pdf
- Jeff Rollason (2007). Negative Plausibility. AI Factory, Spring 2007 [6]
External Links
- Dolby - SAX-MAFIA live at Smolensk Chamber Theatre, 2007, YouTube Video
References
- ↑ Mark Winands, Erik van der Werf, Jaap van den Herik, Jos Uiterwijk (2004). The Relative History Heuristic. CG 2004, pdf
- ↑ late move reductions by Robert Hyatt, CCC, March 01, 2006
- ↑ Re: relative history heuristic by Marco Costalba, CCC, November 30, 2008
- ↑ Negative Plausibility by Jeff Rollason, AI Factory, March 2007
- ↑ PHR (Peak History Reduction) idea by Daniel Mehrmann, CCC, March 01, 2006
- ↑ Negative Plausibility Move Ordering by Alessandro Damiani, CCC, July 09, 2009