| |
BGonline.org Forums
GnuBg settings to mimic XGR++
Posted By: Taper_Mike In Response To: Stick vs Merriman: XG++ Data Makes No Sense (Daniel Murphy)
Date: Tuesday, 31 July 2012, at 12:36 a.m.
–
Nice work by Daniel. I think it is a great idea to define (and save) a GnuBg rollout setting that mimics XGR++.
Be careful if you try this. It is easy to screw up the default settings, and if you have not created some sort of go-back plan, you may be stuck with your new settings! I saved the current rollout settings before beginning, but that is not enough. Before messing with the move filter, you need to write down its default settings, and then make sure that any changes you make are only to a “user-defined” move filter.
As a first effort, I tried to mimic Daniel’s rollout in the preceding message. As the rollout below shows, I was not entirely successful. Even though I am using the same seed as Daniel, the equity of the best play is off by 0.01 compared to his rollout.
A couple of things occur to me:
- Daniel may be using a different version of GnuBg that I am. My version number is “Version GNU Backgammon 0.90-mingw 20120408.”
- Daniel has different settings for the move filters used by Player 0 and Player 1. These are the filters applied after the first two decisions. Mimicing XGR++ would seem to require using the same move filters for both players. Daniel probably uses his settings for some other purpose, and simply forgot to reset them.
- I tried to duplicate his settings, but the best I could do is get Player 0 to “keep the first 1000 0-ply moves.” Daniel has him keeping “the first 5995833 0-ply moves.”
- Daniel has the move filter for Player 1 set to supremo settings: “keep the first 0 0-ply moves and up to 16 more moves within equity 0.32.” It seems odd to use these settings when the first two decisions are being made with the normal (smaller) move filter.
- Daniel is adding 0.015 determistic noise to moves after the first 2. I am not sure why. Is it desirable to add noise in order to mimic XGR++? My understanding is that adding noise is useful only when you wish to degrade the quality of play.
I also have a question about plys. GnuBg has a setting for “Evaluation for later plys.” Under that heading, I put a checkmark for “Enable separate evaluations,” and then I selected “Change eval ply after:” 2. This seems to be the setting that Daniel used. I wonder, though, if it is the right one.
XGR++ makes its “First 2 decisions in 3-ply, then 2-ply checker and 3-ply cube.”
For GnuBg, is the first decision a 0-ply decision? If so, then the second decision for GnuBg occurs at 1-ply, and any decisions after that should use the weaker eval settings. That would mean setting GnuBg to “Change eval ply after:” 1. I tend to think that Daniel has this one right. It’s just that I am not certain.
This effort had me using a few GnuBg dialogs that I had not seen before, so I cannot be sure I have everything right. Daniel, can you help me out? GnuBg experts?
Mike
The score (after 0 games) is: gnubg 0, MusicLover 8 (match to 11 points)
Move number 5: MusicLover to play 53
gnubg 174
MusicLover 72 Position ID: zB5wQHDbzUMQAA Match ID: UYluAQAAQAAE • MusicLover moves 10/5*/2
Cube decision 2-ply cubeless equity +1.325556 (Money: +1.76092 +1.325556) 0.940369 0.841438 0.040789 - 0.059631 0.002037 0.000005 Cubeful equities: 1. No double +1.154099 2. Double, take +1.043155 -0.110944 3. Double, pass +1.000000 -0.154099 Proper cube action: Too good to redouble, pass
# Ply Move Equity 1 R 15/10 6/3 +1.279891
0.943896 0.882745 0.042611 - 0.056104 0.000783 0.000005 +1.356112 +1.279891 0.001083 0.001688 0.001566 - 0.001083 0.000092 0.000002 0.002795 0.004160 Truncated cubeful rollout (depth 7) with var.redn. 360 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: world class 2-ply cubeful prune [world class] keep the first 0 0-ply moves and up to 8 more moves within equity 0.16 Skip pruning for 1-ply moves. Cube: 2-ply cubeful prune [world class] Different evaluations after 2 plies: Player 0: Play: 1-ply cubeful prune, noise 0.015 (d) keep the first 1000 0-ply moves and up to 8 more moves within equity 0.16 Cube: 2-ply cubeful prune, noise 0.015 (d) Player 1: Play: 1-ply cubeful prune, noise 0.015 (d) keep the first 0 0-ply moves and up to 16 more moves within equity 0.32 Cube: 2-ply cubeful prune, noise 0.015 (d) • 2 R 10/5*/2 +1.268968 ( -0.010922)
0.945159 0.888260 0.068927 - 0.054841 0.000664 0.000003 +1.361720 +1.268968 0.001158 0.001893 0.001856 - 0.001158 0.000107 0.000006 0.003049 0.004383 Truncated cubeful rollout (depth 7) with var.redn. 360 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: world class 2-ply cubeful prune [world class] keep the first 0 0-ply moves and up to 8 more moves within equity 0.16 Skip pruning for 1-ply moves. Cube: 2-ply cubeful prune [world class] Different evaluations after 2 plies: Player 0: Play: 1-ply cubeful prune, noise 0.015 (d) keep the first 1000 0-ply moves and up to 8 more moves within equity 0.16 Cube: 2-ply cubeful prune, noise 0.015 (d) Player 1: Play: 1-ply cubeful prune, noise 0.015 (d) keep the first 0 0-ply moves and up to 16 more moves within equity 0.32 Cube: 2-ply cubeful prune, noise 0.015 (d) 3 R 15/7 +1.261523 ( -0.018368)
0.939138 0.883172 0.044209 - 0.060862 0.002086 0.000026 +1.345183 +1.261523 0.001216 0.001641 0.001858 - 0.001216 0.000376 0.000007 0.003111 0.004429 Truncated cubeful rollout (depth 7) with var.redn. 360 games, Mersenne Twister dice gen. with seed 691526212 and quasi-random dice Play: world class 2-ply cubeful prune [world class] keep the first 0 0-ply moves and up to 8 more moves within equity 0.16 Skip pruning for 1-ply moves. Cube: 2-ply cubeful prune [world class] Different evaluations after 2 plies: Player 0: Play: 1-ply cubeful prune, noise 0.015 (d) keep the first 1000 0-ply moves and up to 8 more moves within equity 0.16 Cube: 2-ply cubeful prune, noise 0.015 (d) Player 1: Play: 1-ply cubeful prune, noise 0.015 (d) keep the first 0 0-ply moves and up to 16 more moves within equity 0.32 Cube: 2-ply cubeful prune, noise 0.015 (d)
| |
BGonline.org Forums is maintained by Stick with WebBBS 5.12.