quora
metalic chess board

Leela Chess Zero Networks 2024 - How to Choose the Right Lc0 Net

May 3, 2023, 9:32 a.m.

Leela Chess Zero (LCZero or Lc0) is one of the most revolutionary and strongest chess engines in modern chess. Inspired by DeepMind's AlphaZero, which shocked the world by winning matches against Stockfish with just a few days of training, Lc0 too learned chess from self-play, i.e. by playing millions of games against itself. However, what truly sets LCZero apart is its use of different networks, each with distinct strengths and weaknesses.

With six networks available on Chessify and frequent updates, you may wonder which one best fits your chess training needs. 

In this blog post, we'll explore the characteristics of these networks and provide guidance on how to choose the right one for you, taking into account factors such as speed, accuracy, and training goals. But first, let's briefly discuss what networks are.

Lc0 neural networks

 

What is a Neural Network in Chess Engines?

A network refers to the artificial neural network (ANN) that powers the engine's decision-making process. ANNs are computing systems inspired by the human brain's neural networks. They consist of interconnected nodes or neurons that work together to process and evaluate input data, in this case, chess positions and moves.

The LCZero networks learn and improve their understanding of the game through self-play and reinforcement learning. As the engine plays more games and goes through more training cycles, it generates new networks with improved knowledge and understanding of the game. 

Some networks may have specific strengths, such as being better at tactical positions or endgames, while others might be more balanced. These networks come in different sizes, with larger ones offering better positional evaluation but slower computational speeds, while smaller ones provide faster analysis at the potential cost of some positional accuracy.

Networks are often referred to as "nets" or "weights" and are identified by a unique numeric ID. New networks are released regularly, and users with technical proficiency can download from LCZero's official website and test to see how they perform.

At Chessify, we download and add the new LCZero networks for you and allow you to test and choose the one that best suits your needs and preferences. However, since the names of these networks are not self-explanatory, we have created this resource to help you make an educated choice.

 

What are the Available Networks?

The following networks are available for use on Chessify's Analysis Dashboard as of January 2024. The list is sorted from the smallest net to the largest. Note that the kN/s speed was calculated on the initial position, whereas engine speed tends to be low in the openings and higher in the endgames. All networks run on the same GPU server, which has an average speed of 100 kN/s.

 

Network

Description

Speed

J104.1-30 The smallest network on Chessify. Provides the highest NPS speed. Around 220 kN/s
Latest-320x24 Medium-size network with 320 filters and 24 blocks. Around 30 kN/s
Latest-384x30 Medium-size network with 384 filters and 30 blocks. A bit bigger than Latest-320x24 Around 30 kN/s
Latest-512x20 The largest network in our list outside of the Big Transformer nets. This net will greach an average speed and depth, so it is a good option for many players. Around 30 kN/s
BT2-3650000 An older model in the Big Transformer series, BT2 remains a reliable network. However, more advanced versions have since been developed. Around 7-10 kN/s
BT3-768x15 This updated Big Transformer network with some improvements over the BT2 model. It also served as the foundation for its successor, the BT4 net. Around 6 kN/s
BT4-1024x15 Currently the largest Lc0 net. Big Transformer 4 was built off of BT3 by adding two types of auxiliary heads - future heads and categorical value heads - to improve its training speed. Around 4 kN/s

 

How to Choose the Right LCZero Network

When it comes to choosing a network for the Leela engine, you're basically making a choice between quality and quantity. As newer and larger neural networks are developed, they tend to offer better positional evaluation and a deeper understanding of the game. However, these improvements often come at the cost of slower nodes per second (NPS) speed. This is because larger networks have more parameters, and it takes more time for the GPU (or CPU) to compute them.

So while the newer and larger networks may provide more accurate evaluations and better strategic understanding, they can be slower in terms of NPS. This trade-off between accuracy and speed is an important consideration for users when choosing which network to use for analysis or training. At this point, Chessify recommends the Latest-512x20 for most amateur users and BT4 for professionals. If you want to use LCZero on Chessify's cloud servers, log in to our Analysis Dashboard.

What people say about us

Trustpilot

Train like a Grandmaster

Join 300+ GMs on Chessify Cloud to level up your training. Analyze securely with user-dedicated cloud servers at up to 1 BIllion NPS speed

Let’s get in touch!

We usually reply in a matter of a few hours. Please send us an email if you have any questions or visit our FAQ page for quick help