Difference between revisions of "Leela Chess Zero"

From Chessprogramming wiki
Jump to: navigation, search
Line 4: Line 4:
 
an adaption of [[Gian-Carlo Pascutto|Gian-Carlo Pascutto's]] [[Leela Zero]] [[Go]] project <ref>[https://github.com/gcp/leela-zero GitHub - gcp/leela-zero: Go engine with no human-provided knowledge, modeled after the AlphaGo Zero paper]</ref> to [[Chess]], using [[Stockfish|Stockfish's]] [[Board Representation|board representation]] and [[Move Generation|move generation]]. No heuristics or prior [[Knowledge|knowledge]] are carried over from Stockfish. Leela Chess is [[:Category:Open Source|open source]], released under the terms of [[Free Software Foundation#GPL|GPL version 3]] or later, and supports [[UCI]].
 
an adaption of [[Gian-Carlo Pascutto|Gian-Carlo Pascutto's]] [[Leela Zero]] [[Go]] project <ref>[https://github.com/gcp/leela-zero GitHub - gcp/leela-zero: Go engine with no human-provided knowledge, modeled after the AlphaGo Zero paper]</ref> to [[Chess]], using [[Stockfish|Stockfish's]] [[Board Representation|board representation]] and [[Move Generation|move generation]]. No heuristics or prior [[Knowledge|knowledge]] are carried over from Stockfish. Leela Chess is [[:Category:Open Source|open source]], released under the terms of [[Free Software Foundation#GPL|GPL version 3]] or later, and supports [[UCI]].
  
The goal is to build a strong [[UCT]] chess AI following the same type of [[Deep Learning|deep learning]] techniques of [[AlphaZero]] as described in [[DeepMind|DeepMind's]] paper <ref>[[David Silver]], [[Thomas Hubert]], [[Julian Schrittwieser]], [[Ioannis Antonoglou]], [[Matthew Lai]], [[Arthur Guez]], [[Marc Lanctot]], [[Laurent Sifre]], [[Dharshan Kumaran]], [[Thore Graepel]], [[Timothy Lillicrap]], [[Karen Simonyan]], [[Demis Hassabis]] ('''2017'''). ''Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm''. [https://arxiv.org/abs/1712.01815 arXiv:1712.01815]</ref>, but using distributed training for the weights of the [[Neural Networks#Deep|deep]] [[Neural Networks#Residual|residual]] [[Neural Networks#Convolutional|convolutional neural network]]. The training process requires [https://en.wikipedia.org/wiki/CUDA CUDA] and a [[GPU]] accelerated version of [https://en.wikipedia.org/wiki/TensorFlow Tensorflow] installed <ref>[https://github.com/glinscott/leela-chess/blob/master/README.md leela-chess/README.md at master · glinscott/leela-chess · GitHub]</ref>. As of July 2018, training has changed to require lc0 instead of lczero <ref>[http://lczero.org/ LCZero]</ref>.
+
The goal is to build a strong [[UCT]] chess AI following the same type of [[Deep Learning|deep learning]] techniques of [[AlphaZero]] as described in [[DeepMind|DeepMind's]] paper <ref>[[David Silver]], [[Thomas Hubert]], [[Julian Schrittwieser]], [[Ioannis Antonoglou]], [[Matthew Lai]], [[Arthur Guez]], [[Marc Lanctot]], [[Laurent Sifre]], [[Dharshan Kumaran]], [[Thore Graepel]], [[Timothy Lillicrap]], [[Karen Simonyan]], [[Demis Hassabis]] ('''2017'''). ''Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithm''. [https://arxiv.org/abs/1712.01815 arXiv:1712.01815]</ref>, but using distributed training for the weights of the [[Neural Networks#Deep|deep]] [[Neural Networks#Residual|residual]] [[Neural Networks#Convolutional|convolutional neural network]]. The training process requires [https://en.wikipedia.org/wiki/CUDA CUDA] and a [[GPU]] accelerated version of [https://en.wikipedia.org/wiki/TensorFlow Tensorflow] installed <ref>[https://github.com/glinscott/leela-chess/blob/master/README.md leela-chess/README.md at master · glinscott/leela-chess · GitHub]</ref>.  
 +
 
 +
=lc0=
 +
Soon after the start of project, some of the team led by [[Alexander Lyashuk]] started to rewrite the engine from scratch. The new engine dubbed '''lc0'''. was able to search 4-8 times faster than lczero on NVIDIA GPU’s <ref>[https://blog.lczero.org/2018/06/18/2-the-way-forward/ The Way Forward · Leela Chess Zero]</ref>. Training has changed to require lc0 instead of lczero <ref>[http://lczero.org/ LCZero]</ref>.
  
 
=See also=
 
=See also=

Revision as of 22:48, 8 August 2018

Home * Engines * Leela Chess Zero

Leela Chess Zero, (LCZero, lc0)
an adaption of Gian-Carlo Pascutto's Leela Zero Go project [1] to Chess, using Stockfish's board representation and move generation. No heuristics or prior knowledge are carried over from Stockfish. Leela Chess is open source, released under the terms of GPL version 3 or later, and supports UCI.

The goal is to build a strong UCT chess AI following the same type of deep learning techniques of AlphaZero as described in DeepMind's paper [2], but using distributed training for the weights of the deep residual convolutional neural network. The training process requires CUDA and a GPU accelerated version of Tensorflow installed [3].

lc0

Soon after the start of project, some of the team led by Alexander Lyashuk started to rewrite the engine from scratch. The new engine dubbed lc0. was able to search 4-8 times faster than lczero on NVIDIA GPU’s [4]. Training has changed to require lc0 instead of lczero [5].

See also

Forum Posts

Re: Announcing lczero by Daniel Shawul, CCC, January 21, 2018 » Rollout Paradigm
LCZero update (2) by Rein Halbersma, CCC, March 25, 2018
Re: TCEC season 13, 2 NN engines will be participating, Leela and Deus X by Gian-Carlo Pascutto, CCC, August 03, 2018
Re: Has Silver written any code for "his" ZeusX? by Alexander Lyashuk, LCZero Forum, August 02, 2018

External Links

References

Up one level