The analysis engines
An analysis engine is the program that judges a position: it finds the best moves and cube decisions and says how much every other choice loses. Choue runs three of them. This page says what each one is, who wrote it and where you meet it.
ChoueTD
ChoueTD is an adaptation of PureTD by Alexander L. Strehl. It is the site's default engine and powers the site's position analysis, bot play, and performance rating (PR) calculations, at 2-ply or a deeper level depending on the membership plan. PureTD was trained by self-play reinforcement learning using temporal-difference learning, and is inspired by Tesauro's TD-Gammon.
Much of PureTD is open source, but ChoueTD includes features not in the public release:
- Match play support
- Search up to 4-ply
At its default 2-ply setting, ChoueTD outperformed GNU Backgammon at both 3-ply and 4-ply in head-to-head tests. These depths use GNU Backgammon's numbering, which starts at 0 (ply).
| ChoueTD 2-ply | vs. gnubg 3-ply | Games / matches | vs. gnubg 4-ply | Games / matches |
|---|---|---|---|---|
| Money (mEq per game, luck-adjusted) | +26.9 [+23.0, +30.8] | 57,000 | +18.9 [+16.8, +21.0] | 19,000 |
| 11-point matches (matches won, luck-adjusted) | 51.18% [51.07, 51.28] | 14,000 | 50.91% [50.79, 51.03] | 11,000 |
Brackets are 95% confidence intervals. Counts are rounded to the nearest thousand.
This preliminary study measures playing strength at the reported settings. It does not account for computation time or establish overall engine superiority.
Test details
- One mEq is one thousandth of a point.
- Pairing and luck adjustment: Each dice sequence was played twice, with the engines swapping seats. Results were adjusted using luck-based variance reduction. The raw shares of matches won were 50.78% ± 0.79 against 3-ply and 51.39% ± 0.89 against 4-ply, which is consistent with the adjusted figures.
- gnubg setup: GNU Backgammon 1.08.003 with its Normal move filter, pruning nets on, and the two-sided bear-off database. Checker play and cube decisions were both at the stated ply.
- Rules: Money games used Jacoby with no beavers. Matches used the Crawford rule.
Dive deeper in Explore
The 2-ply analysis of your games is the starting point. Every position of a game can be opened in Explore, where you can go further:
- ChoueTD at 3-ply and 4-ply: choose the Level above the analysis and run it. The best move and the move you played are analyzed deeper, and so is any other move you select. 4-ply is the deepest level and the slowest: a position can take from a few seconds to a minute.
- Dice distribution: see how two moves compare on each of the opponent's 21 rolls, and after the roll that follows.
- Compare the engines: switch the Engine to GNU Backgammon or Open Sage and see where they agree with ChoueTD.
- Variants: change the position, a checker, the cube or the score, and see how the analysis changes.
- Play it out: play the position against the bot as often as you like.
GNU Backgammon
GNU Backgammon is the free program of the GNU project that has been the reference for backgammon analysis for more than twenty years, written by its many contributors and published under the GNU General Public License.
- It analyzed every game played before ChoueTD took over. Those games keep its analysis, so their errors and PR stay as they were.
- You can choose it for a bot game, and compare it with the other engines on any position in Explore, at 2-ply, 3-ply and 4-ply.
Open Sage
Open Sage by Mark Higgins is an open-source engine published under the Mozilla Public License 2.0.
- You can choose it for a bot game and compare it on any position in Explore.
- It counts its levels as eXtreme Gammon does: its 1-ply is what the other two engines call 0-ply, so Open Sage 3-ply looks about as far ahead as ChoueTD or GNU Backgammon at 2-ply.
Where you choose an engine
- Bot games: in Play → Bot, the mode Consultation has an engine row in its Options, and Play from Position has the same choice. The engine you choose analyzes the game and plays the bot's moves.
- Explore: the Engine and Level selects above the analysis switch between the engines on the position shown. The button beside them runs the analysis at that level.
Thanks
Choue would not exist without these engines and the people who built them. Thank you, Alexander L. Strehl, Mark Higgins and the contributors to GNU Backgammon.