Verwendung von BitBases und oder TableBases

Programming Topics (Computer Chess) and technical aspects as test techniques, book building, program tuning etc

Moderator: Andres Valverde

Verwendung von BitBases und oder TableBases

Postby Bernhard Bauer » 31 Aug 2007, 08:18

Guten Morgen,

nachdem Fruit 3.2.1 sowohl Bitbases als auch Tablebases unterstützt, habe ich für eine Testposition mit 6 Steinen untersucht, wie sich die Verwendung der Datenbanken auf die Lösezeit auswirkt. Hier das Ergebnis:

256 Mb Hash
380 MB EGBB cache
64 Mb EGTB cache
FEN: 8/8/pr6/6k1/KP6/8/8/5R2 w - - 0 1

Code: Select all
256 Mb Hash
380 MB EGBB cache
 64 Mb EGTB cache
FEN: 8/8/pr6/6k1/KP6/8/8/5R2 w - - 0 1


                                               Time       depth              nps
Fruit2.3.1 -EGBB,-EGTB      >300 sec     >28          2233322
Fruit2.3.1 +EGBB,-EGTB       356 sec        25            274761
Fruit2.3.1 -EGBB,+EGTB         53 sec        25          1869057
Fruit2.3.1 +EGBB,+EGTB      145 sec        20            237144


Für diese Position scheint die Verwendung von Bitbases die nps einbrechen zu lassen. Gibt es hier Erfahrungen?

Viele Grüße
Bernhard
Bernhard Bauer
 
Posts: 12
Joined: 23 Aug 2007, 07:39

Re: Verwendung von BitBases und oder TableBases

Postby Volker Pittlik » 31 Aug 2007, 16:31

Bernhard Bauer wrote:...
Code: Select all
256 Mb Hash
380 MB EGBB cache
 64 Mb EGTB cache
FEN: 8/8/pr6/6k1/KP6/8/8/5R2 w - - 0 1


                                               Time       depth              nps
Fruit2.3.1 -EGBB,-EGTB      >300 sec     >28          2233322
Fruit2.3.1 +EGBB,-EGTB       356 sec        25            274761
Fruit2.3.1 -EGBB,+EGTB         53 sec        25          1869057
Fruit2.3.1 +EGBB,+EGTB      145 sec        20            237144

...


Interesting observation. If I find time during the weekend I'm going to test it. Maybe someone else has observed it too?


Volker

BTW: I have replaced the "quote" by the "code" tag (better to read).
User avatar
Volker Pittlik
 
Posts: 1031
Joined: 24 Sep 2004, 10:14
Location: Murten / Morat, Switzerland

Re: Verwendung von BitBases und oder TableBases

Postby Ryan Benitez » 01 Sep 2007, 05:11

Yes you are right. Thank you for bringing this up. I will work on improving this now that I realize that there is a Linux version of the bitbase lib used to load the bitbases. The bitbase code used is a slow version I did to be safe and fairly sure it would work because I am working from Linux and did not have windows to test the bitbases out myself. Bryan Hofmann who makes the compiles for Fruit has already made some changes to the egtb code to make it faster as well. I hope to release a patch version for improved etgb and bitbase access soon.

Thanks,
Ryan
Ryan Benitez
 
Posts: 19
Joined: 03 Nov 2005, 23:27

Re: Verwendung von BitBases und oder TableBases

Postby Bernhard Bauer » 01 Sep 2007, 17:15

Hi Bryan,

that sounds reasonable as Toga shows a different behaviour.
When using bitboards in Toga the nps drop only a little.
By the way, I use a 64-bit Ubuntu and I nees a 64-bit library to run bitbases in linux. Is such a thing available? It would be great to run full featured in linux 64-bit mode.

kind regards
Bernhard
Bernhard Bauer
 
Posts: 12
Joined: 23 Aug 2007, 07:39

Re: Verwendung von BitBases und oder TableBases

Postby Ryan Benitez » 03 Sep 2007, 23:10

Now that I test the results with bitbases I think I may remove them. The probe time and what information that return in not enough to justify them as they are unlikely to improve play. Looking at how Toga uses bitbases different than Fruit I am even less happy with its results as it returns a score and cuts off the PV right away. The move returned is often not even the shortest way to mate.


FEN: 8/6k1/8/8/8/5PP1/6K1/8 w - - 0 1

Toga II 1.3.4:
1/1 00:00 2 0 +52.93 Kg2f1
1/1 00:00 5 0 +53.00 Kg2f2
2/1 00:00 11 0 +53.00 Kg2f2
3/2 00:00 30 0 +52.42 Kg2f2 Kg7f6
3/2 00:00 34 0 +52.95 f3f4
4/2 00:00 45 0 +52.95 f3f4
5/2 00:00 60 0 +52.95 f3f4
6/2 00:00 75 0 +52.95 f3f4
7/4 00:00 141 0 +52.95 f3f4
8/4 00:00 207 0 +52.95 f3f4
9/5 00:00 353 0 +52.95 f3f4
10/6 00:00 516 0 +52.95 f3f4
11/6 00:00 679 0 +52.95 f3f4
12/7 00:00 960 0 +52.95 f3f4
13/8 00:00 1.273 0 +52.95 f3f4
14/8 00:00 1.586 0 +52.95 f3f4
15/9 00:00 2.119 0 +52.95 f3f4
16/10 00:00 2.713 0 +52.95 f3f4
17/10 00:00 3.307 0 +52.95 f3f4
18/11 00:00 4.250 0 +52.95 f3f4
19/12 00:00 5.283 0 +52.95 f3f4
20/12 00:00 6.316 0 +52.95 f3f4
21/13 00:00 8.007 0 +52.95 f3f4
22/14 00:00 9.838 0 +52.95 f3f4
23/14 00:00 11.669 0 +52.95 f3f4
24/15 00:00 14.199 0 +52.95 f3f4
25/16 00:00 16.855 0 +52.95 f3f4
26/16 00:00 19.511 0 +52.95 f3f4
27/17 00:00 22.854 0 +52.95 f3f4
28/18 00:00 26.303 0 +52.95 f3f4
29/18 00:00 29.752 0 +52.95 f3f4
30/19 00:00 34.058 0 +52.95 f3f4
31/20 00:00 38.475 0 +52.95 f3f4
32/20 00:00 42.892 0 +52.95 f3f4
33/21 00:00 47.961 0 +52.95 f3f4
34/22 00:00 53.107 0 +52.95 f3f4
35/22 00:00 58.253 0 +52.95 f3f4
36/23 00:00 63.998 0 +52.95 f3f4
37/24 00:00 69.822 0 +52.95 f3f4
38/24 00:00 75.646 0 +52.95 f3f4
39/25 00:00 81.660 0 +52.95 f3f4
40/26 00:00 87.688 0 +52.95 f3f4
41/26 00:00 93.716 0 +52.95 f3f4
42/27 00:00 99.838 0 +52.95 f3f4
43/28 00:00 105.967 0 +52.95 f3f4
44/28 00:01 112.096 0 +52.95 f3f4
45/29 00:01 118.262 0 +52.95 f3f4
46/29 00:01 124.428 118.840 +52.95 f3f4
47/29 00:01 130.594 114.454 +52.95 f3f4
48/29 00:01 136.760 108.024 +52.95 f3f4
49/29 00:01 142.926 101.653 +52.95 f3f4
50/29 00:01 149.092 94.480 +52.95 f3f4
51/29 00:01 155.258 88.718 +52.95 f3f4
52/29 00:02 161.424 83.986 +52.95 f3f4
53/29 00:02 167.590 79.463 +52.95 f3f4
54/29 00:02 173.756 75.644 +52.95 f3f4
55/29 00:02 179.922 71.510 +52.95 f3f4
56/29 00:02 186.088 67.668 +52.95 f3f4
57/29 00:03 192.254 64.084 +52.95 f3f4
58/29 00:03 198.420 60.753 +52.95 f3f4
59/29 00:03 204.586 57.678 +52.95 f3f4
60/29 00:03 210.752 54.826 +52.95 f3f4
61/29 00:04 216.918 52.193 +52.95 f3f4
62/29 00:04 223.084 49.574 +52.95 f3f4
63/29 00:05 229.250 47.180 +52.95 f3f4


Fruit 2.3.3fx Test Beta (no bitbases):
1 00:00 5 0 +2.06 Kg2f2
2 00:00 37 0 +2.02 Kg2f2 Kg7f6
3 00:00 108 0 +2.06 Kg2f2 Kg7f6 Kf2e3
3 00:00 294 0 +2.19 g3g4 Kg7g6 f3f4 Kg6f6 f4f5 Kf6f7
4 00:00 694 0 +2.36 g3g4 Kg7g6 f3f4 Kg6f7 Kg2f3 Kf7f6
5 00:00 1.343 0 +2.43 g3g4 Kg7f6 f3f4 Kf6g6 Kg2f3 Kg6f6 f4f5 Kf6f7
6 00:00 2.198 0 +2.66 g3g4 Kg7f6 f3f4 Kf6g6 Kg2f3 Kg6f7 Kf3e4 Kf7f6 g4g5+ Kf6g6
7 00:00 3.731 0 +2.66 g3g4 Kg7f6 f3f4 Kf6f7 Kg2f3 Kf7f6 Kf3e4 Kf6f7 g4g5 Kf7g6
8 00:00 5.232 0 +2.72 g3g4 Kg7f6 f3f4 Kf6f7 Kg2f3 Kf7f6 Kf3e4 Kf6f7 Ke4e5 Kf7g6
9 00:00 7.753 0 +2.80 g3g4 Kg7f6 f3f4 Kf6f7 Kg2f3 Kf7f6 Kf3e4 Kf6f7 Ke4e5 Kf7g6 g4g5 Kg6g7
10 00:00 11.214 0 +3.17 g3g4 Kg7f6 f3f4 Kf6f7 Kg2f3 Kf7f6 Kf3e4 Kf6f7 Ke4e5 Kf7g6 g4g5 Kg6g7 f4f5 Kg7f7 g5g6+ Kf7g7
11 00:00 15.359 0 +3.33 g3g4 Kg7f6 f3f4 Kf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return draw score.
2)In case of having non draw score add a constant to the evaluation to the right direction.

Edit:
I think that assuming no drop in the nps they are supposed to help

In case that there is a significant drop in the nps then I do not uderstand the advantage of bitbases relative to tablebases.

Uri
User avatar
Uri Blass
 
Posts: 727
Joined: 09 Oct 2004, 05:59
Location: Tel-Aviv

Re: Verwendung von BitBases und oder TableBases

Postby Ryan Benitez » 04 Sep 2007, 07:45

I tried on draw score return 0, else add bitbases_value/10 (also tried queen value) to eval_score for the side with the winning bitbase score. This did not help in test positions but should prevent late endgame blunders in game play. I think if this is the best I can expect from the bitbases than it is better to just stick with egtb's. I will keep trying to find ways to make bitbases work well with Fruit but so far I have not come up with something I am happy with.

Ryan
Ryan Benitez
 
Posts: 19
Joined: 03 Nov 2005, 23:27

Re: Verwendung von BitBases und oder TableBases

Postby Teemu Pudas » 04 Sep 2007, 08:34

Ryan Benitez wrote:Looking at how Toga uses bitbases different than Fruit I am even less happy with its results as it returns a score and cuts off the PV right away.


It only does that when it sees "progress", i.e. a capture or a pawn move that is not a promotion, or when height >= 2 * SearchCurrent->max_extensions / 3. I suppose the pawn criterion should have a minimum height as well.
Last edited by Teemu Pudas on 04 Sep 2007, 12:57, edited 1 time in total.
Teemu Pudas
 
Posts: 124
Joined: 16 Apr 2007, 14:03

Re: Verwendung von BitBases und oder TableBases

Postby Uri Blass » 04 Sep 2007, 11:00

Here is another simple idea to use bitbases in a productive way.

Every time that you probe tablebases and the material on the board suggest good chances for a draw probe bitbases first(It means that probing bitbases first can be done in KRN vs KR but not
in KQP vs KP).

If bitbases return 0 then you do not need to probe tablebases
If bitbases do not return 0 then probe tablebases.

This should cause no change relative to only using tablebases except speed and the question is if it is going to make fruit faster.

Uri
User avatar
Uri Blass
 
Posts: 727
Joined: 09 Oct 2004, 05:59
Location: Tel-Aviv


Return to Programming and Technical Discussions

Who is online

Users browsing this forum: No registered users and 18 guests