New rofChade released: version 3.0

I’ve been doing a lot of NN training for TCEC season 22, which eventually resulted in an unbelievable 4th place in the premier division! The infra final for 3th place against Lc0 showed that there is still a mayor gap between the top 3 engines and the rest including rofChade, but still an amazing result.

After the tournament I didn’t have much time to work on rofChade anymore, so it took some time to release the first NN version of rofChade, but here it is!

The current NN network architecture is HALFKA (2×256)x32x32x1. For now, this still gives the best results for rofChade. The network is trained with 2.8B by rofChade generated positions. Around 600M of them are FRC positions. The positions have been rescored a few times with intermediate networks to simulate Reinforcement learning.

The NN code is implemented from scratch, the matrix calculations are heavily influenced by the Cfish implementation. For the training of the networks an older version of the nnue-pytorch trainer from Stockfish is used as base.

To be able to generate FRC positions for training, rofChade 3.0 also supports FRC and DFRC chess variants.

I also upgraded the version of the fathom library, so that 7-men syzygy tablebases are also supported (although I haven’t been able to test if it works).

A special thanks to this version goes to the following persons/groups:

  • Ronald de Man for his matrix calculations in Cfish and the syzygy tablebase library
  • The group that develops the nnue-pytorch trainer (and their interesting discussions on discord)
  • Andrew Grant for sharing his experience with his FRC implementation and perft test data. It helped me to discover some unexpected FRC bugs
  • Jon Dart for the fathom library and updates on it
  • Frank Quisinsky for letting intermediate rofChade versions play in it’s tournament
  • IpmanChess for testing some intermediate rofChade versions
  • Graham banks and the rest of the CCRL team for doing a great testing job for so long
  • The TCEC and CCC team to organize great tournaments
  • Everybody else who enjoys (computer) chess!


6 comments to “New rofChade released: version 3.0”

You can leave a reply or Trackback this post.
  1. Marcos - 11/01/2023 Reply

    Hi Ronald… I’ve been following, TCEC cup… and I see that there were improvements in rofChade (3.012) , in this version there was some improvement (Elo?)… how much more?… have a good week… best

  2. Marcos - 13/01/2023 Reply

    Dear Ronald… tks for your replay, 40.50 Elo… it’s really a good step forward.. looking forward to the new version… have you considered preparing a nnue… for RofChad… I think it would be a big step forward in terms of Elo. .. anyway, it’s a great job, much success… for you, waiting again (for new version)… kkk… have a nice weekend…. best

  3. Marcos - 16/03/2023 Reply

    hi Ronald… how are you?.. hope you are healthy, will we see, (Rofchade 4.0), would love to be able to do some tests myself, may you have a good week… best

  4. Marcos - 06/05/2023 Reply

    hi …Ronald… hope you are well and healthy, I would like to know, if you have time to answer of course, if you are going to participate in the next TCEC?… any news about your engine?.. I would really like to be able to have your last job at TCEC… I really like your work, I think that (Rofchade) has great potential… to reach the first places… it is true that Stockfish, uses an infinity of people around the world, always helping out., and that working alone.. is a very big difficulty,… may you have a good weekend.. big hugs ( Marcos/ Brazil)

  5. Marcos - 10/05/2023 Reply

    hi Ronald.. thanks for your answer, I’ll be waiting for the new version, have a good week… much success!!

  6. Marcos - 01/09/2023 Reply

    hi Ronald… I hope you are in good health… I want to congratulate you for the excellent work in (Rofchade in TCEC S25), it must have been quite an advance since the last one (3.0), good luck with your work, maybe soon we will be able to have it for us too … (for our joy),,. a (Rofchade 4.0).. may you have a nice weekend… best

Leave a Reply

Your email address will not be published.