Komodo 12 and MCTS

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

Moderators: hgm, Rebel, chrisw

lkaufman
Posts: 5960
Joined: Sun Jan 10, 2010 6:15 am
Location: Maryland USA

Komodo 12 and MCTS

Post by lkaufman »

We have just released Komodo 12 this morning at komodochess.com. While the strength of the normal version is only up about five elo from Komodo 11.3.1 (roughly forty elo at blitz levels from Komodo 11), that is because we have spent the last month creating a Komodo MCTS (Monte-Carlo Tree Search) option for it. It is really a second engine, and I understand that ChessBase will treat it as an independent engine when they release their version of Komodo 12 (soon), but for this release you just select it by UCI option. It is by no means as strong as normal Komodo, but we are reasonably certain that it is the strongest MCTS engine available at this time for the pc. We estimate that its rating on the CCRL 40/40 scale will be about 3000 on one thread, 3050 on two, and 3070 on three or more. Currently it is not able to benefit from running on more than three threads, but we expect to raise or eliminate this limit in the next month or so and if so we will offer one update (together with other improvements to the MCTS version) free to all purchasers of Komodo 12. Of course subscribers get free updates for a full year. We intend to focus on the MCTS version for at least the next month or two, because it is still improving rapidly while progress has slowed with normal Komodo. Potential subscribers can expect more frequent updates than in the past year, but the updates may be primarily of benefit to MCTS users. Unlike "Leela", it does not need or utilize a GPU. Note also that for people with quadcore computers, the three thread limit is not much of a disadvantage, as many users prefer to keep one thread free for the GUI, the operating system, the internet etc.
There are several advantages to the MCTS option.
1. Multi-PV display does not weaken Komodo MCTS in contrast to normal Komodo. In fact, tests indicate that with all legal moves displayed by both versions, the elo gap disappears (within margin of error).
2. Although tactical strength is lower with MCTS, positional play and judgment may well be better in many positions. Judging between good and bad gambits seems to be better with MCTS, although that is just my subjective opinion.
3. Evals don't fluctuate so suddenly or wildly.
4. Eventually it should be able to benefit from many cores more than normal Komodo, although that is obviously not true yet.
5. It will be much easier to improve. It is still in its infancy, and practically everything it does has yet to be tuned. It is also possible that fairly radical changes will prove to be very beneficial, as we have only tried a couple approaches so far.

I have no idea whether Komoco MCTS can catch or surpass normal Komodo, but we intend to try!
Komodo rules!
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: Komodo 12 and MCTS

Post by shrapnel »

Very disappointing that "it doesn't utilize the GPU", especially with my brand-new Geforce 1080 Ti reaching me in a couple of days.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
Werewolf
Posts: 1795
Joined: Thu Sep 18, 2008 10:24 pm

Re: Komodo 12 and MCTS

Post by Werewolf »

So Larry, is this new version using the old Komodo hand-tuned evaluation function, but with MCTS "search"?

There's no NN in the pipeline..?
peter
Posts: 3185
Joined: Sat Feb 16, 2008 7:38 am
Full name: Peter Martan

Re: Komodo 12 and MCTS

Post by peter »

Thanks a lot, Larry!
Seems a great idea to me, already downloaded.
lkaufman wrote: Mon May 14, 2018 8:11 am but for this release you just select it by UCI option.
Finding just a check- box for MCTS, numer of threads used for it has to be defined in total threads- number of the engine.

If I install a second one k12-Engine in GUI with MCTS off, I can let run both simultaneously to see the different outputs, of course, but is it planned to get shared hash for the two different kinds of search too sometimes?
Or doesn't that make sense to you?
Peter.
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Komodo 12 and MCTS

Post by Damir »

I was wondering why on Komodo website it says Komodo 12 released March 5 2018. :? :?
User avatar
Ozymandias
Posts: 1532
Joined: Sun Oct 25, 2009 2:30 am

Re: Komodo 12 and MCTS

Post by Ozymandias »

lkaufman wrote: Mon May 14, 2018 8:11 amwe have spent the last month creating a Komodo MCTS (Monte-Carlo Tree Search) option for it. It is really a second engine, and I understand that ChessBase will treat it as an independent engine when they release their version of Komodo 12 (soon)
I guess they plan to offer free upgrades, at least for this new engine? Otherwise they'll be selling an early prototype that will soon become outdated.
User avatar
Werner
Posts: 2871
Joined: Wed Mar 08, 2006 10:09 pm
Location: Germany
Full name: Werner Schüle

Re: Komodo 12 and MCTS

Post by Werner »

Thanks Larry for the new version. With MCTS testing I have a question about :
"Monte Carlo Tree search requires extra memory"
- I see memory raises e.g. from 256 MB till about 800 MB
- when a new game starts, usually the engine is new started and all begins again
- is there a diffence when making a tournament where the engine is not new started, will the memory raise more and the engine benefits from it?
- are these learning data in the memory?

Werner
Werner
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: Komodo 12 and MCTS

Post by shrapnel »

Ozymandias wrote: Mon May 14, 2018 11:10 am Otherwise they'll be selling an early prototype that will soon become outdated.
Pointless having MCTS option when its unable to use the power of the GPU or of Tensor Processing Units.
Sorry, but the simple truth is that this is just a Sales Gimmick by the Komodo team trying to take advantage of the current interest in MCTS and Neural Networks.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis
Joerg Oster
Posts: 937
Joined: Fri Mar 10, 2006 4:29 pm
Location: Germany

Re: Komodo 12 and MCTS

Post by Joerg Oster »

shrapnel wrote: Mon May 14, 2018 11:56 am
Ozymandias wrote: Mon May 14, 2018 11:10 am Otherwise they'll be selling an early prototype that will soon become outdated.
Pointless having MCTS option when its unable to use the power of the GPU or of Tensor Processing Units.
Sorry, but the simple truth is that this is just a Sales Gimmick by the Komodo team trying to take advantage of the current interest in MCTS and Neural Networks.
Why would the MCTS benefit from using the GPU?
Jörg Oster
shrapnel
Posts: 1339
Joined: Fri Nov 02, 2012 9:43 am
Location: New Delhi, India

Re: Komodo 12 and MCTS

Post by shrapnel »

Joerg Oster wrote: Mon May 14, 2018 12:08 pm Why would the MCTS benefit from using the GPU?
The "Why" I wouldn't know, not being a Programmer.
What I DO know is that AlphaZero used TPUs while thrashing Stockfish and that the GPU version of LCZero is much stronger than the CPU version.
i7 5960X @ 4.1 Ghz, 64 GB G.Skill RipJaws RAM, Twin Asus ROG Strix OC 11 GB Geforce 2080 Tis