The Nostradamus experiment

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

David Carteau
Posts: 150
Joined: Sat May 24, 2014 9:09 am
Location: France
Full name: David Carteau

The Nostradamus experiment

Post by David Carteau »

Hi everyone !

I have recently been working on trying to train small language models to help me to understand the "magic" behind the transformer architecture which is used in large language models like GPT, Llama, etc.

I started by trying to replicate the work of this excellent paper ("TinyStories: How Small Can Language Models Be and Still Speak Coherent English?"), to answer THE ultimate question: "Can cows fly ?" (see paper... :)) Then I switched to building a translation model (Greek to English) to better understand the tokenisation process. Finally (and this was the real goal), I tried to train such a small language model to... play chess ;)

Three weeks ago, I released a new experimental UCI chess engine, Nostradamus:
* unlike other engines, it doesn't rely on a traditional search tree to find the best combination of moves
* it uses instead a language model to predict the best move given a specific position

Image

At this stage, the engine is very weak (depth = 1), but there's some kind of magic happening here: the transformer architecture seems to be a real game changer ! I will continue my experiments, and if anyone is interested or wants to contribute, do not hesitate to contact me !

David
Download the Orion chess engine --- Train your NNUE with the Cerebrum library --- Contribute to the Nostradamus experiment !
User avatar
Jim Ablett
Posts: 2280
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: The Nostradamus experiment

Post by Jim Ablett »

Here is a Windows executable download package for anyone who wants to try it out > https://mega.nz/file/yEVWwR7K#uzAmAuwdp ... Wi7TMJqCE4

It is a large download (1.6gb) as it also contains the Torch backend dlls. You may get an antivirus warning with this. This is something
that happens when you convert Python to executable - nothing I can do about it.

Jim.
User avatar
Eelco de Groot
Posts: 4669
Joined: Sun Mar 12, 2006 2:40 am
Full name:   Eelco de Groot

Re: The Nostradamus experiment

Post by Eelco de Groot »

Thanks guys for the engine that can see the future! Most things seem to work fine and no virus detection with Malwarebytes. I could not get analysis to work very well in Shredder GUI but that may be the implementation, reminded me a bit CSTal in Shredder (in Analysis mode I mean). It could give a move here: viewtopic.php?t=84638 (See the diagram below)

You may have to restart the GUI after installation also to give the GUI enough time to load all of the program, it takes a while.

From command prompt I check 'uci' command:

uci
id name Nostradamus 0.2
id author David Carteau
option name Hash type spin default 0 min 0 max 0
uciok



[d]4rrk1/p1p2p1p/1pbq1b2/4N2Q/3Pp3/8/PPP4P/R1B1K2R w KQ -

Engine: Nostradamus 0.2 (1024 MB)
gemaakt door David Carteau

beste zet: Th1-g1 tijd: 0:06.422 min

Correct move but I did not get it to play any next move not with Black or any with White (in Shredder Analysis mode, maybe in Arena it would work different?)

Nostradamus vs Nostradamus, there were some illegal moves but they were stopped, I do not know if Shredder did not accept them or the other Nostradamus, with comments like "Are you kidding Nostradamus?" "That's an illegal move".

[pgn][Event "Chess in 2035"]
[Site "Ye olde Dell computer from 2014"]
[Date "2024.12.23"]
[Round "?"]
[White "Nostradamus 0.2"]
[Black "Nostradamus 0.2"]
[Result "1/2-1/2"]

1. e4 {Boek 0s} e6 {Boek 0s} 2. d4 {Boek 0s} d5 {Boek 0s}
3. Nc3 {Boek 0s} Bb4 {Boek 0s} 4. Nge2 {Boek 0s} Nf6 {Boek
0s} 5. e5 {Boek 0s} Nfd7 {Boek 0s} 6. a3 {Boek 0s} Be7
{Boek 0s} 7. f4 {Boek 0s} O-O {Boek 6s} 8. Ng3 {Boek 4s} c5
{Boek 4s} 9. dxc5 {Boek 4s} Bxc5 {Boek 4s} 10. Bd3 {Boek
4s} Nc6 {Boek 4s} 11. Kd2 {Boek 5s} Nd4 {Boek 4s} 12. b4
{Boek 4s} Bb6 {Boek 4s} 13. Bb2 {Boek 4s} f6 {Boek 4s}
14. exf6 {Boek 4s} Nxf6 {Boek 4s} 15. Qe1 {Boek 4s} a5
{Boek 4s} 16. Nh5 {Boek 5s} axb4 {Boek 4s} 17. Nxf6+ {Boek
4s} Qxf6 {Boek 4s} 18. axb4 {Boek 4s} Rxa1 {Boek 4s}
19. Bxa1 {Boek 5s} Bd7 {Boek 4s} 20. g3 {Boek 4s} Ra8 {Boek
4s} 21. Bb2 {Boek 4s} Nf3+ {Boek 4s} 22. Kd1 {Boek 4s} Nxe1
{Boek 4s} 23. Rxe1 {Boek 4s} Ra1+ {Boek 4s} 24. Bxa1 {Boek
4s} Bf2 {Boek 4s} 25. Re2 {Boek 4s} Bg1 {Boek 4s} 26. Bb2
{Boek 4s} Bc6 {Boek 4s} 27. b5 {Boek 4s} Bd7 {Boek 4s}
28. Na4 {Boek 4s} Bxh2 {Boek 4s} 29. Nc5 {Boek 4s} Bxg3
{Boek 4s} 30. Nxd7 {Boek 4s} Qxf4 {Boek 4s} 31. Bc3 {Boek
4s} Qf3 {Boek 4s} 32. Kd2 {Boek 4s} h5 {Boek 4s} 33. Bd4
{Boek 4s} h4 {Boek 4s} 34. Re3 {Boek 4s} Qf4 {Boek 5s}
35. c4 {Boek 5s} Qxd4 {Boek 4s} 36. cxd5 {Boek 4s} exd5
{Boek 4s} 37. Re8+ {Boek 4s} Kf7 {Boek 4s} 38. Rf8+ {Boek
4s} Ke6 {Boek 4s} 39. Re8+ {Boek 4s} Kxd7 {Boek 4s} 40. Re2
{Boek 4s} Bf4+ {Boek 4s} 41. Kc2 {Boek 4s} h3 {Boek 4s}
42. Re1 {Boek 4s} Be3 {Boek 4s} 43. Rh1 {Boek 4s} h2 {Boek
4s} 44. Rxh2 {Boek 4s} Qc5+ {Boek 4s} 45. Kd1 {Boek 4s} Bd4
{Boek 4s} 46. Rh7 {Boek 4s} Qc3 {Boek 4s} 47. Rxg7+ {Boek
4s} Kd6 {Boek 4s} 48. Rg6+ {Boek 4s} Ke5 {Boek 4s} 49. Ke2
{Boek 4s} Qb2+ {Boek 4s} 50. Kf3 {Boek 4s} Qf2+ {Boek 4s}
51. Kg4 {Boek 4s} Qf4+ {Boek 4s} 52. Kh5 {Boek 4s} Qh2+
{Boek 4s} 53. Kg4 {Boek 4s} Qg2+ {Boek 4s} 54. Kh5 {Boek
4s} Qh3+ {Boek 4s} 55. Kg5 {Boek 4s} Qg3+ {Boek 4s} 56. Kh5
{Boek 4s} Qh3+ {Boek 4s} 57. Kg5 {Boek 4s} Qg3+ {Boek 4s}
58. Kh5 {Boek 4s} Qh3+ {Boek 4s} *
[/pgn]
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
User avatar
Tibono
Posts: 142
Joined: Sat Aug 01, 2015 6:16 pm
Location: France
Full name: Eric Bonneau

Re: The Nostradamus experiment

Post by Tibono »

Eelco de Groot wrote: Mon Dec 23, 2024 5:10 pm there were some illegal moves but they were stopped, I do not know if Shredder did not accept them or the other Nostradamus, with comments like "Are you kidding Nostradamus?" "That's an illegal move".
Hi,
I also wanted to test some games and it is definitely fun. Thanks David for the interesting work and sharing, thanks Jim for the compile.
I was much surprised most (if not each and every) move make sense, a priori. It does look to play chess! The weakness is mainly due to blunders: moves that look good at first glance, but are easily refuted.
About illegal moves: I understand the program controls the compliancy and if necessary, answers a fallback move. I would be curious to know how is the fallback move chosen? Is it outside the language/translation model?
User avatar
Sylwy
Posts: 4856
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: The Nostradamus experiment

Post by Sylwy »

Interesting experiment ! :D Thanks to both: the author-David Carteau and Maestro Jim !

Image

Image
User avatar
Sylwy
Posts: 4856
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: The Nostradamus experiment

Post by Sylwy »

[pgn]
[Event "EXPERIMENT"]
[Site "ISR 3"]
[Date "2024.12.23"]
[Round "3"]
[White "Nostradamus_02_x64_ja"]
[Black "Zoe-01-ja"]
[Result "1/2-1/2"]
[BlackElo "2200"]
[ECO "A45"]
[Opening "Indian"]
[Time "19:56:30"]
[Variation "Omega Gambit"]
[WhiteElo "2000"]
[TimeControl "240+2"]
[Termination "normal"]
[PlyCount "108"]
[WhiteType "program"]
[BlackType "program"]

1. d4 Nf6 2. e4 Nxe4 {(# pv: f6e4 b1d2 e4d2 c1d2 b8c6 d4d5 e7e5 115)
+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# pv: c5d4 h2h3 c8d8 d7e5 e4e3 e5d3 e3f2 680) +6.80/7 3} 20. Rc7
Bxb2 {(# pv: d4b2 c7c8 a8c8 g3e5 c8c4 e5g3 e6e5 715) +7.15/7 1} 21. Rxc8+
Rxc8 {(# pv: a8c8 h2h4 c2b4 g3e5 c8c1 g1h2 b2e5 d7e5 685) +6.85/8 2} 22.
Nc5 Rxc5 {(# pv: c8c5 g3b8 c5a5 a2a3 a5a3 b8f4 e6e5 1145) +11.45/7 2} 23.
h4 Ra5 {(# pv: c5a5 g3d6 a5a2 d6c5 e6e5 h4h5 c2d4 1180) +11.80/7 1} 24. Bc7
Rxa2 {(# pv: a5a2 h4h5 c2d4 g1h2 d4f5 h2g1 b2d4 c7g3 1140) +11.40/8 3} 25.
Kf1 Bf6 {(# pv: b2f6 h4h5 c2d4 f1g1 a2a1 g1h2 a1a2 h2g1 1155) +11.55/8 4}
26. h5 Rb2 {(# pv: a2b2 f1g1 b2b5 g2g4 b5b1 g1g2 c2d4 g2g1 1160) +11.60/8
4} 27. h6 gxh6 {(# pv: g7h6 c7f4 f6g5 f4e5 b2b1 f1e2 g5e7 e2d1 1240)
+12.40/8 3} 28. Ke2 Nd4+ {(# pv: c2d4 e2e1 e6e5 g2g4 b2b7 g4g5 b7c7 g5f6
1280) +12.80/8 5} 29. Ke3 Rc2 {(# pv: b2c2 c7g3 c2e2 e3f4 f6h4 f4g4 h4g3
g4g3 1300) +13.00/8 6} 30. Kxe4 Rxc7 {(# pv: c2c7 e4d3 c7g7 g2g3 d4f5 d3c2
e6e5 c2b1 1485) +14.85/8 4} 31. g3 Rc2 {(# pv: c7c2 f2f4 c2c3 g3g4 d4c6
f4f5 e6f5 g4f5 1505) +15.05/8 3} 32. f4 Rg2 {(# pv: c2g2 e4d3 g2g3 d3e4
g3g2 e4f5 f6g7 f5e6 1540) +15.40/8 3} 33. g4 Rxg4 {(# pv: g2g4 e4f5 g4g6
f5e4 d4c2 e4f3 c2d4 f3g2 1565) +15.65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48. Kg3 a4 {(# pv:
a5a4 g3f4 a4a3 f4e5 a3a2 e5e4 a2a1q 2455) +24.55/7 1} 49. Kg2 a3 {(# pv:
a4a3 g2f3 a3a2 f3e4 d4c6 e4d4 a2a1q d4c3 2230) +22.30/8 3} 50. Kg3 a2 {(#
pv: a3a2 g3f4 a2a1q f4e5 a1b1 e5d5 b1d3 2490) +24.90/7 1} 51. Kg2 a1=Q {(#
pv: a2a1q g2f1 f8a8 f1g2 a8a2 g2h3 a1b2 2590) +25.90/7 1} 52. Kh2 e4 {(#
pv: e5e4 h2g3 e4e3 g3g4 e3e2 g4h5 e2e1q 3315) +33.15/7 4} 53. Kg2 e3 {(#
pv: e4e3 g2f1 e3e2 f1g1 a1b2 g1h1 e2e1q 3385) +33.85/7 6} 54. Kg3 Qh1 {(#
pv: a1h1 g3g2 d4e2 g2h1 f8f2 h1g1 e2g1 4760) +47.60/7 4 Stalemate} 1/2-1/2
[/pgn]
User avatar
Sylwy
Posts: 4856
Joined: Fri Apr 21, 2006 4:19 pm
Location: IAȘI - the historical capital of MOLDOVA
Full name: Silvian Rucsandescu

Re: The Nostradamus experiment

Post by Sylwy »

:D NICE ?!?

[pgn]
[Event "EXPERIMENT"]
[Site "ISR 3"]
[Date "2024.12.23"]
[Round "7"]
[White "Nostradamus_02_x64_ja"]
[Black "Monchester_0.99_x64"]
[Result "1-0"]
[BlackElo "2200"]
[ECO "C00"]
[Opening "French"]
[Time "21:06:47"]
[Variation "2.d4"]
[WhiteElo "2200"]
[TimeControl "240+2"]
[Termination "normal"]
[PlyCount "65"]
[WhiteType "program"]
[BlackType "program"]

1. d4 e6 {(4 7020 0 e7e6 b1c3 g8f6 d1d3) -0.42/4 0} 2. e4 Nc6 {(4 6124 0
b8c6 b1c3 g8f6 g1f3) -0.28/4 0} 3. Nf3 Nf6 {(4 8151 0 g8f6 c1g5 f8b4
b1d2) -0.37/4 0} 4. Bd3 Bb4+ {(4 0 0 f8b4 c2c3 b4a5 e1f1) -0.28/4 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 {(4 5649 0 g4h5 h6g5 f6g5 f3g5) -M13/4 0} 26. g4+ Kxh6 {(4
6235 0 h5h6 g4g5 f6g5 f3g5) -M100/4 0} 27. g5+ Qxg5+ {(4 3788 0 f6g5 f3g5
h6g5 d3a6) -M94/4 0} 28. Nxg5 Kxg5 {(4 6025 0 h6g5 e8g6 g5f4 g6f6) -M143/4
0} 29. h4+ Kf6 {(4 0 0 g5f6 e8g6 f6e7 g6a6) -M50/4 0} 30. Bxg6 Rb8 {(4
5905 0 a8b8 f2f4 f6g7 e8c8) -M107/4 0} 31. Qf7+ Ke5 {(4 4765 0 f6e5 c1d1
a5a4 d1d5) -M143/4 0} 32. Qe7+ Kd5 {(4 0 0 e5d5 f1e1 a5a4 e1d1) -M143/4 0}
33. Rfd1# 1-0
[/pgn]
User avatar
Tibono
Posts: 142
Joined: Sat Aug 01, 2015 6:16 pm
Location: France
Full name: Eric Bonneau

Re: The Nostradamus experiment

Post by Tibono »

A short won game against a very weak chess computer. But what is interesting is the way it does play and win.
Nostradamus didn't spot the mate in 1 on move #17 and #19 yet played rather well. No opening book. Only average 10cpl, according to HIARCS analysis. I think it can be a good sparring partner for beginners!
[pgn][Event "Arena Tournament.at"]
[Site "Arena"]
[Date "2024.12.22"]
[Round "1"]
[White "Nostradamus 0.2"]
[Black "MC Novag CC MK I"]
[Result "1-0"]
[WhiteElo "689"]
[BlackElo "723"]
[ECO "D00"]
[PlyCount "39"]
[BlackType "program"]
[Opening "Colle"]
[Termination "normal"]
[Time "16:46:20"]
[TimeControl "40/600:40/600:40/600"]
[Variation "3...Bg4"]
[WhiteType "program"]

1.d4 d5 2.Nc3 Nc6 $6 ( {Theory prefers} 2...Nf6 $1 ) 3.e3 $6 {Deep HIARCS 15.3.1: -0.09/20} ( 3.e4 {Deep HIARCS 15.3.1: +0.42/16} 3...dxe4 4.d5 Nb8 5.Bf4 Nf6 6.f3 c6 7.dxc6 Nxc6 8.Qxd8+ Nxd8 9.fxe4 Ne6 10.Be5 a6 11.Nf3 g6 12.O-O-O Bg7 ) 3...Nf6 4.Nf3 Bg4 5.Bb5 Bxf3 6.Qxf3 e6 7.O-O h6 8.Bd2 Qd7 9.e4 dxe4 10.Nxe4 Nxe4 11.Qxe4 Qxd4 $4 {Deep HIARCS 15.3.1: +16.78/20} ( 11...O-O-O {Deep HIARCS 15.3.1: +0.55/22} 12.c3 a6 13.Ba4 Qd5 14.Qxd5 exd5 15.b4 Be7 16.Rae1 Bf6 17.Bd1 b6 18.g3 Kb7 19.a4 a5 20.b5 Ne7 21.Bg4 g6 22.Kg2 Nf5 ) 12.Qxd4 Rd8 13.Bxc6+ bxc6 14.Qxa7 $1 Rxd2 15.Qxc7 Rxc2 16.Rad1 Rxb2 17.Qxc6+ $6 {Deep HIARCS 15.3.1: +29.01/17} ( 17.Rd8# {Deep HIARCS 15.3.1: #1/121} ) 17...Ke7 18.Rd7+ Ke8 19.Rfd1 Rxa2 20.Qc8# {White loses 0.1 pawn per move (1 inaccuracy), Black loses 0.46 pawn per move (1 blunder).} 1-0

[/pgn]
User avatar
mclane
Posts: 18911
Joined: Thu Mar 09, 2006 6:40 pm
Location: US of Europe, germany
Full name: Thorsten Czub

Re: The Nostradamus experiment

Post by mclane »

Yes it could be a good partner for beginners or dedicated chess computers.
What seems like a fairy tale today may be reality tomorrow.
Here we have a fairy tale of the day after tomorrow....
David Carteau
Posts: 150
Joined: Sat May 24, 2014 9:09 am
Location: France
Full name: David Carteau

Re: The Nostradamus experiment

Post by David Carteau »

Jim Ablett wrote: Sun Dec 22, 2024 2:07 pm Here is a Windows executable download package for anyone who wants to try it out > https://mega.nz/file/yEVWwR7K#uzAmAuwdp ... Wi7TMJqCE4
[...]
Thanks Jim for making these binaries !
Eelco de Groot wrote: Mon Dec 23, 2024 5:10 pm Thanks guys for the engine that can see the future!
[...]
[d]4rrk1/p1p2p1p/1pbq1b2/4N2Q/3Pp3/8/PPP4P/R1B1K2R w KQ -
[...]
Correct move but I did not get it to play any next move not with Black or any with White (in Shredder Analysis mode, maybe in Arena it would work different?)
Thank you Eelco for this feedback: I'm sorry, currently the engine does not support 'position fen ... moves ...' commands (that's why in your example it only responded to 'position fen ...', but not after 'position fen ... moves ...'). It's just one line of code to add, but I'm far from home for the holidays, so I'll fix it in early January :(
Eelco de Groot wrote: Mon Dec 23, 2024 5:10 pm Nostradamus vs Nostradamus, there were some illegal moves but they were stopped, I do not know if Shredder did not accept them or the other Nostradamus, with comments like "Are you kidding Nostradamus?" "That's an illegal move".
Yes, the comments are from the engine, a kind of "Easter-Egg" ;)
Tibono wrote: Mon Dec 23, 2024 5:47 pm I also wanted to test some games and it is definitely fun. Thanks David for the interesting work and sharing, thanks Jim for the compile.
Hi Eric, thanks for your positive feedback!
Tibono wrote: Mon Dec 23, 2024 5:47 pm About illegal moves: I understand the program controls the compliancy and if necessary, answers a fallback move. I would be curious to know how is the fallback move chosen? Is it outside the language/translation model?
That's right. If the predicted move is illegal, the engine uses a different selection method and randomly chooses a legal move. For sure, it might be better to use the second best prediction if the first one is irrelevant, and so on... (I will add this in the next version).
Sylwy wrote: Mon Dec 23, 2024 6:45 pm Interesting experiment ! :D Thanks to both: the author-David Carteau and Maestro Jim !
Thanks Selwy! If you play several games against Zoe, I will be curious to see the results!
mclane wrote: Mon Dec 23, 2024 9:29 pm Yes it could be a good partner for beginners or dedicated chess computers.
Hi Mclane, I hope you have managed to get the engine installed and running, thank you for your interest!

Merry Christmas ;)

David
Download the Orion chess engine --- Train your NNUE with the Cerebrum library --- Contribute to the Nostradamus experiment !