Difference between revisions of "Leela Chess Zero"

From Chessprogramming wiki
Jump to: navigation, search
Line 2: Line 2:
  
 
'''Leela Chess Zero''', (LCZero, lc0)<br/>
 
'''Leela Chess Zero''', (LCZero, lc0)<br/>
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>.  
 
 
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=
 
=lc0=
Line 16: Line 14:
  
 
=Forum Posts=
 
=Forum Posts=
 +
==2018==
 
* [http://www.talkchess.com/forum/viewtopic.php?t=66280 Announcing lczero] by [[Gary Linscott|Gary]], [[CCC]], January 09, 2018
 
* [http://www.talkchess.com/forum/viewtopic.php?t=66280 Announcing lczero] by [[Gary Linscott|Gary]], [[CCC]], January 09, 2018
 
: [http://www.talkchess.com/forum/viewtopic.php?t=66280&start=67 Re: Announcing lczero] by [[Daniel Shawul]], [[CCC]], January 21, 2018 » [[Bojun Huang#Rollout|Rollout Paradigm]]
 
: [http://www.talkchess.com/forum/viewtopic.php?t=66280&start=67 Re: Announcing lczero] by [[Daniel Shawul]], [[CCC]], January 21, 2018 » [[Bojun Huang#Rollout|Rollout Paradigm]]
Line 40: Line 39:
 
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=69175&start=75 Re: Alphazero news] by [[Gian-Carlo Pascutto]], [[CCC]], December 07, 2018 » [[AlphaZero]]
 
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=69175&start=75 Re: Alphazero news] by [[Gian-Carlo Pascutto]], [[CCC]], December 07, 2018 » [[AlphaZero]]
 
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=69306 Policy training in Alpha Zero, LC0 ..] by [[Chris Whittington]], [[CCC]], December 18, 2018 » [[AlphaZero]]
 
* [http://www.talkchess.com/forum3/viewtopic.php?f=7&t=69306 Policy training in Alpha Zero, LC0 ..] by [[Chris Whittington]], [[CCC]], December 18, 2018 » [[AlphaZero]]
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=69400 LC0 using 4 x 2080 Ti GPU's on Chess.com tourney?] by M. Ansari, [[CCC]], December 28, 2018
 +
==2019==
 +
* [http://www.talkchess.com/forum3/viewtopic.php?f=2&t=69478 LCZero FAQ is missing one important fact] by [[Jouni Uski]], [[CCC]], January 01, 2019 » [[GPU]]
  
 
=External Links=
 
=External Links=

Revision as of 16:47, 4 January 2019

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 the 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

PUCT

Forum Posts

2018

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

2019

External Links

Chess Engine

Misc

References

Up one level