Dienstag, 23. Juli 2019

LC0 auf (alten) Android Handys / Tablets gegen diverse andere Schachcomputer bzw. PC-Software etc.

Das neuronale Netz Programm LC0 kann mit einem für kleine Geräte kondensiertem Netz auf 32 und 64 Bit Android Geräten gestartet werden. Es spielt dabei sehr ansehnliches und schönes Kaffeehausschach. Sehr menschlich. Und das mit wenigen NPS verglichen mit den gegnerischen Geräten die in herkömmlicher Weise programmiert sind und über einen selektiven AB Suchbaum verfügen, aber eben kein neuronales Netz und keine MonteCarlo Baumsuche. Hier mal ein Beispiel
[Event "40/120"]
[Site "SCW"]
[Date "2019.07.23"]
[Round "1"]
[White "LC0 Asus Handy"]
[Black "Millennium The King Element"]
[ECO "C05"]
[Result "1-0"]

1. d4 e6 2. e4 d5 3. Nd2 Nf6 4. e5 Nfd7 5. Bd3 b6 6. Nh3 c5 
7. c3 Ba6 8. Bxa6 Nxa6 9. O-O b5 10. f4 Be7 11. Nf3 O-O 
12. g4 Qb6 13. f5 cxd4 14. cxd4 Rac8 15. Kh1 Rc4 16. b3 Rc6 
17. Bg5 Ba3 18. f6 g6 19. Qe1 Rfc8 20. Qh4 Rc2 21. Bd2 Nc7 
22. Nhg5 Nf8 23. Qh6 Ne8 24. Nxf7 Nxf6 25. exf6 Kxf7 26. b4 
Ke8 27. Rad1 Qd6 28. Ne5 R8c7 29. f7+ Kd8 30. Nd3 Kc8 
31. Bf4 Qe7 32. Bxc7 Rxc7 33. Rb1 Rc4 34. Qe3 h5 35. Ne5 
Bxb4 36. Nxc4 bxc4 37. gxh5 gxh5 38. Qe5 h4 1-0
Unglaublich oder wie das Teil gegen den 2300+ ELO starken Millennium The King Element spielt. Aber keine Sorge, auch andere Geräte "enden" so.

Samstag, 1. Juni 2019

Benchmark Stockfish10 LC0 auf diversen Geräten

Hier mal ein kleiner Vergleich, ein Benchmark von Stockfish10 und LC0 auf diversen Geräten...
Asus Nexus 7 Tablet 32bit
Stockfisch10           134.000 1 threads
LC0                        116  2 threads. 

Android Element 10_plus_3G 4 Core Tablet Intel cpu@728.  32 bit
Stockfish10              25.256 1 Thread
LC0.                         12  2 threads

Sony Xperia XA2 Ultra SD630 Sailfish OS
Stockfish10              234.000    1 Thread 
Stockfish10.           1.713.000 8 threads
LC0.                       248            2 Threads

Motorola z2 Force SD835 64 bit
Stockfish10     702.000 1 Thread 
Stockfish10.  3.939.000 8 threads
LC0.                 2231.   8 threads

Smartisan R1 SD845 64 Bit
Stockfish10.         821.000 1 Thread 
Stockfish10         4.388.000 8 threads
LC0.                     2965.    8 threads

Huawei P30 Pro Kirin 980 64 bit
Stockfish10   1.102.000 1 thread
Stockfish10.  5.068.000 8threads
LC0.                4121 8 threads

Mittwoch, 29. Mai 2019

Immer noch erfreut sich Mchess bei mir stetiger Begeisterung. Wie überhaupt die ganzen Schachprogramme in DOS, die man ja auch Unterwegs auf jedem Android-Handy mit Magic Dos Box ans Laufen bekommt. Da wir bei Mchess auch ein Pool an Beta Versionen haben, auch welche die aus der Zeit NACH der letzten Veröffentlichung des Programms stammen, macht das ehemalige KI Programm des Nasa Programmierers Marty Hirsch sehr viel Spass. Hier eine Partie des Gerätes auf einem "neuen" Laptop, den ich für 60 Euro erworben habe, den Toshiba Satellite 5200-701. Damals in seiner besten Zeit ein sehr teures Stück Hardware mit Harman Kardon Stereo Boxen und Subwoofer. Man kann also auch während des Spiels sehr gut Musik hören. Auch sehr laut. Er hat Windows XP und damit noch DOS mit im Gepäck. Die CPU ist ein alter Pentium 4 mit 1.9 Ghz. Hier die erste Partie gegen den Millennium Chess The King 2.61/1.00 auf Turnierstufe. Der The King hat nur einen 300 Mhz Prozessor.
[Event "40/120"]
[Site "SCW"]
[Date "2019.05.29"]
[Round "1"]
[White "Mchess Pro 8.70 P4"]
[Black "Millennium Chess The King 2.61/1.00"]
[ECO "C03"]
[Result "1-0"]

1. d4 e6 2. e4 d5 3. Nd2 Be7 4. Ngf3 Nf6 5. e5 Nfd7 6. Bd3 c5 7. c3 b6 8. Qe2 cxd4
9. cxd4 a5 10. Nf1 Nc6 11. a3 Bb7 12. Ng3 g5 13. h3 h5 14. Bd2 h4 15. Nf1 Kf8 16.
Rc1 Rc8 17. N1h2 f6 18. exf6 Bxf6 19. Qxe6 Nxd4 20. Nxd4 Bxd4 21. O-O Rxc1 22. Qd6+
Qe7 23. Qxe7+ Kxe7 24. Bxg5+ Kd6 25. Bxc1 Ne5 26. Bb5 Rf8 27. b3 Bc8 28. a4 Bf5 29.
Kh1 Bc2 30. f4 Ng6 31. Nf3 Bc5 32. Ng5 Bxb3 33. f5 Ne5 34. Ne6 Rf7 35. Nd8 Rf8 36.
Nb7+ Kc7 37. Nxc5 bxc5 38. Bh6 Rf7 39. Be8 Re7 40. Bb5 Rf7 41. Be8 Re7 42. Bb5 Rf7
43. f6 Nd7 44. Bg5 c4 45. Bxh4 c3 46. g4 d4 47. g5 Rh7 48. Bg3+ Kd8 49. Kh2 Be6 50.
h4 Nf8 51. Re1 Bd7 52. Bd3 Rh8 53. Re5 Bc6 54. Rxa5 Nd7 1-0

Mchess in der kommerziellen Version kam nur bis Version 8. In der Computerschach-Szene kursiert aber auch die Version 8.7, 8.42 und 8.1 etc. Als nächstes also einmal eine Partie gegen eine Version des neuronalen Netz Programmes LC0 auf meinem Smartphone. Das Smartphone hat einen Snapdragon 845 Prozessor. Mal sehen wie sich das schlägt.

Freitag, 26. April 2019

Russian dedicated chess computer Elektronika IM05 vs. Mephisto I junior (keys). Both have permanent brain. The IM05 is the successor of IM01 and IM01T. We are currently testing about its limits. Operation is difficult because everything in manual is in russian language and i cannot read it.
[Event "40/120"]
[Site "SCW"]
[Date "2019.04.25"]
[Round "1"]
[White "Elektronika IM05"]
[Black "Mephisto Junior (tasten)"]
[ECO "C15"]
[Result "1-0"]

1. e4 e6 2. d4 d5 3. Nc3 Bb4 4. Bd3 c5 5. dxc5 {"} d4 
6. Bb5+ Bd7 7. Qxd4 Bxc3+ 8. bxc3 Bxb5 9. Qxg7 Qf6 10. Qxf6 
Nxf6 11. Rb1 Bc6 12. f3 Nxe4 13. fxe4 Bxe4 14. Nf3 f5 
15. O-O Bc6 16. Nd4 Rg8 17. Nxc6 bxc6 18. Re1 Rg6 19. Rb7 
Nd7 20. Bf4 Nxc5 21. Rxh7 Nd7 22. Rh8+ Nf8 23. h4 Ke7 
24. h5 Rg4 25. Bh6 Re4 26. Rb1 Kf6 27. Bxf8 Rd8 28. Bg7+ 
Kxg7 29. Rxd8 Re2 30. Rb7+ Kf6 31. Rxa7 Rxc2 32. Rd3 f4 
33. h6 e5 34. h7 Rc1+ 35. Kh2 Rc2 36. h8=Q+ Kg5 37. Kh3 Re2 
38. Qh4+ Kf5 39. Qg4+ Ke4 40. Qg6# 1-0

Montag, 22. April 2019

Artificial Stupidity vs. Artificial Intelligence

artificial stupidity relying on search versus artificial intelligence of 1984 relying on knowledge. today we have 2019. thats 35 years of computerchess development. both 1000 NPMOVE Mephisto III S was running on a 68000 with 12 Mhz and made 3-5 NPS. Stockfish 10 limited to 1000 Nodes per move. mephisto III was developed by thomas nitsche and Elmar Henne and was an attempt of A.I. It should made very few NPS like a human beeing and still made good moves. it had 64 KB rom and 16 KB ram. it was 16 Bit and had no hash. it has an 8 bit brother having 32 KB rom and 8 kb ram doing arround 1-3 NPS. mephisto III got Level 6 = 40/120 time control. Stockfish 10 had arena and 1000 Nodes per move. mephisto III doing arround 3 searches. stockfish arround 7/8 searches. here the 1st game:

[Event "Computer Schach Partie"]
[Site "ORION8"]
[Date "2019.04.05"]
[Round "?"]
[White "Mephisto III S Glasgow"]
[Black "Stockfish_10_x64_popcnt"]
[Result "1:0"]
[ECO "B22"]
[Opening "Sizilianisch (Alapin 2.c3), 2...Nf6 3.e5 Nd5 4.d4 cxd4 5.Nf3 Nc6 6.Bc4"]
[Time "21:53:52"]
[Variation "(Alapin 2.c3), 2...Nf6 3.e5 Nd5 4.d4"]
[WhiteElo "2400"]
[Termination "normal"]
[PlyCount "50"]
[WhiteType "human"]
[BlackType "program"]

1. e4 c5 2. c3 Nf6 3. e5 Nd5 4. d4 cxd4 5. Qxd4 Nc7 {-1.63/7 0} 6. Bc4 b5
{+0.78/7 0} 7. Bb3 e6 {-0.69/7 0} 8. Nf3 Nc6 {-1.46/6 0} 9. Qe4 h6 {-0.17/6
0} 10. O-O a5 {-0.82/6 0} 11. a4 b4 {-1.43/6 0} 12. Rd1 bxc3 {+0.31/7 0}
13. Nxc3 Rb8 {-1.11/6 0} 14. Bc4 Ba6 {-1.95/6 0} 15. Bxa6 Nxa6 {-1.79/7 0}
16. Qe2 Nc5 {-0.12/7 0} 17. Be3 Nb3 {-0.94/7 0} 18. Rab1 Rb4 {-1.25/7 0}
19. Qc2 Be7 {-0.57/7 0} 20. Nb5 O-O {+0.54/6 0} 21. Rd3 Rxa4 {-3.05/6 0}
22. Rxb3 Nb4 {-2.87/6 0} 23. Qe4 Qb8 {-4.78/6 0} 24. Nc3 d5 {-9.62/6 0} 25.
exd6 Qxd6 {-9.38/7 0 Schwarz gibt auf} 1:0

where is the progress ? the progress mainly relies on hardware. when in 1984 Mephisto III S made arround 3-5 NPS the opponent Brute Force engines such as kittingers Constellations and SuperConstellations did arround 1.500 NPS vs. 3-5 NPS. today on a slow PC stockfish 10 does arround millions of NPS. lets say 3.000.000 NPS. so the factor between 6502 4 mhz from 1984 and todays i7 is nearly 2000 !!!!!! but still Mephisto III S with its artificial intelligence wins the race.