Wasp 7.00 is released

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

Moderators: hgm, Rebel, chrisw

Posts: 136
Joined: Fri Jun 17, 2016 4:14 pm
Location: Colorado, USA
Full name: John Stanback

Wasp 7.00 is released

Post by jstanback »

Wasp 7.00 is released and can be downloaded here:


In my testing Wasp 7.00 is about 45 Elo stronger than Wasp 6.50.

The neural network for position evaluation now uses the "HalfKA" structure, with 768 PSQ inputs, 2 king zones (weights for friendly king on ranks 1-3, and for king on ranks 4-8), 1 hidden layer with 1536 neurons for "white perspective" and 1536 neurons for "black perspective", and 5 outputs with one of these selected based on material. Positions from games played during the past 18 months were added to the training data bringing the total to over 800M positions. The positions were scored with Wasp searching to depth 7 or 8. The target score for training was based 65% on this search score and 35% on the game result. I added momentum to the gradient descent routine which sped up training and gave a slight Elo boost. During training, each epoch consists of 300M positions with the weights being updated every 72K positions. Two nets with 2048 hidden layer neurons were trained for about 300 epochs each. The resulting networks were merged, trained for 30 epochs, then the network was pruned from 4096 to 3072 neurons and trained for about 200 more epochs.

Other changes since Wasp 6.50 are
- modified hash table store/probe code and hash move verification code to fix occasional crashes in TCEC games
- modified Syzygy TB probing and scoring code to fix occasional crashes in TCEC games.
- modified time management a bit
- the hash table now does store and probe for depth < 0
- store static eval in main hash table as well as in a per-thread eval hash table

Posts: 543
Joined: Thu Mar 09, 2006 12:53 am

Re: Wasp 7.00 is released

Post by royb »

Thanks for the update! I'm looking forward to trying this out! I tried to download the Apple M1 binary however the file seems to not be present. The nn.bin file is there, but not the Wasp 7.00 executable.
Posts: 136
Joined: Fri Jun 17, 2016 4:14 pm
Location: Colorado, USA
Full name: John Stanback

Re: Wasp 7.00 is released

Post by jstanback »

Sorry, I hope to have the Apple M1 binary posted in a week or so...
User avatar
Posts: 6362
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Wasp 7.00 is released

Post by AdminX »

This thing can grind. 8-)
[Event "Wasp 7.00-Houdidit 6.03 Pro match (2 minutes per game plus 1 seconds per move)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 251.Kc2 Nh3 252.Be2 Ng1 253.Bd1 Kc8 254.Kd3 Kd7 255.Bc1 Be1 256.Bxf4 Nh3 257.Bc1 f4 258.Be2 Nf2+ 259.Kc2 Nh3 260.Bf1 Ng1 261.Kd3 Bg3 262.Bg2 Kc8 263.Bd2 Kb8 264.Bc1 Ka8 265.Kd2 Bf2 266.Kd1 Be3 267.Bd2 Kb7 268.Bxe3 fxe3 269.f4 e2+ 270.Kd2 Kb8 271.Ke1 Kc8 272.Bh1 Kd8 273.Bg2 Ke7 274.Kd2 Kf7 275.Bh1 Kg6 276.Ke1 Kf5 277.Bg2 Kxf4 278.Kf2 Nf3 279.Kxe2 Nxd4+ 280.Ke1 Kxe5 281.Bf1 Nxb3 282.Bd3 Nxc5 283.Bc2 Kd4 284.Kd1 b3 285.Bb1 Kc3 286.Kc1 d4 287.Kd1 e5 288.Bg6 d3 289.Bf7 b2 290.Ba2 e4 291.Bb1 e3 292.Ke1 Ne4 293.Kf1 Nd2+ 294.Kg2 Nxb1 295.Kf1 d2 296.Kg2 d1=Q 297.Kg3 Nd2 298.Kf4 b1=Q 299.Kg5 Qf1 300.Kh6 Qf6+ 301.Kh5 Qd1# 0-1
"Good decisions come from experience, and experience comes from bad decisions."
Ted Summers
User avatar
Steve Maughan
Posts: 1226
Joined: Wed Mar 08, 2006 8:28 pm
Location: Florida, USA

Re: Wasp 7.00 is released

Post by Steve Maughan »

Thanks John

This may be a bug. I was doing some general testing and Wasp 7 gets "stuck" on the 37th iteration. It freezes with no output. Here's the analysis from the Shredder GUI:

[d]2k5/8/1pP1K3/1P6/8/8/8/8 w - -

Code: Select all

Engine: Wasp 7.00 (1024 MB)
by John Stanback

36/46  0:00   +15.28   1.c7 Kxc7 2.Ke7 Kb8 3.Kd7 Kb7 4.Kd6 Kb8 
                       5.Kc6 Ka7 6.Kc7 Ka8 7.Kxb6 Kb8 8.Ka6 Kc7 
                       9.b6+ Kd6 10.b7 Ke5 11.b8Q+ Ke4 
                       12.Kb5 Kf5 13.Kc5 Ke4 14.Qd8 (3.335.175) 7044 

37/50  0:00   +16.48   1.c7 Kxc7 (3.971.086) 6615 

37/50  0:00   +17.68   1.c7 Kxc7 (4.138.513) 6489 

37/50  0:00   +20.08   1.c7 Kxc7 (4.923.794) 6348 

37/50  0:00   +24.88   1.c7 Kxc7 (5.057.636) 6302 

37/50  0:00   +34.48   1.c7 Kxc7 (5.101.788) 6288 
http://www.chessprogramming.net - Maverick Chess Engine
Posts: 136
Joined: Fri Jun 17, 2016 4:14 pm
Location: Colorado, USA
Full name: John Stanback

Re: Wasp 7.00 is released

Post by jstanback »

Thanks for posting this position! When the search fails high above 4000 cp I set beta to INF and it sometimes takes a long time to resolve the iteration. In this case it is taking WAY longer. In a game, Wasp would make the move even though it only has a lower bound for a score, so it doesn't cause a problem. It seems that I can fix the slowdown by removing a condition in Search() where LMR is not done until a move has been found which does not lead to getting mated. I'll do more testing, but probably will wait until a future release to include the change.