Senpai 2.0

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

Moderators: hgm, Harvey Williamson, bob

Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Xann
Posts: 125
Joined: Sat Jan 22, 2011 6:14 pm
Location: Lille, France

Senpai 2.0

Post by Xann » Fri Nov 10, 2017 6:07 am

Hi all,

After a few years in computer draughts, I am back to chess for a little while. I see too many draws at top level, and am afraid that it will be too late in a couple of years. Big hardware and large opening books are also not helping IMO.

So I'm here to announce Senpai 2.0. The code looks all different because I started from my draughts program, but it's actually still Senpai inside. I prefer having a consistent codebase for multiple games (also Shogi and Othello).

As a rewrite it's hard to list changes, but here is an attempt:
- Chess960 is baked in, not an add-on; Senpai 2 plays chess only as a special case!
- search: restricted singular extensions
- search: additional reduction/pruning of "losing" moves (SEE < 0)
- eval: tempo bonus (it seems I forgot in 1.0 ...)
- eval: "space" (glorified pawn-chain PST); this changes playing style a lot
- eval: scoring by logistic regression; this gives me more freedom for eval features
- board: copy/make (customary in games with fewer piece types than chess)
- board: optional PEXT bitboards (BMI2)

As I recall, no single change brought more than 10 Elo. So it's more a sum of small (IMO) things.

This release has been rushed a little, so it's still lacking UCI options and multi-PV; sorry about that.

Official website: http://www.amateurschach.de/main/_senpai.htm
Direct link: http://www.amateurschach.de/download/senpai_20.zip
Expected level: Texel/Protector (again)

Thanks to everybody who helped with this release:
- Graham Banks
- Michael Byrne
- Wilhelm Hudetz
- Daniel Jose
- Steve Maughan (https://www.chessprogramming.net)
- Frank Quisinsky (http://www.amateurschach.de)
- XXX (<- this line for people I forgot, sorry in advance).

That's all for now,

Fabien.

Dann Corbit
Posts: 9051
Joined: Wed Mar 08, 2006 7:57 pm
Location: Redmond, WA USA
Contact:

Re: Senpai 2.0

Post by Dann Corbit » Fri Nov 10, 2017 6:20 am

Fabulous news.

Perhaps it will be world champion soon
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.

BrendanJNorman
Posts: 1214
Joined: Sun Feb 07, 2016 11:43 pm

Re: Senpai 2.0

Post by BrendanJNorman » Fri Nov 10, 2017 6:30 am

Xann wrote:Hi all,

After a few years in computer draughts, I am back to chess for a little while. I see too many draws at top level, and am afraid that it will be too late in a couple of years. Big hardware and large opening books are also not helping IMO.

So I'm here to announce Senpai 2.0. The code looks all different because I started from my draughts program, but it's actually still Senpai inside. I prefer having a consistent codebase for multiple games (also Shogi and Othello).

As a rewrite it's hard to list changes, but here is an attempt:
- Chess960 is baked in, not an add-on; Senpai 2 plays chess only as a special case!
- search: restricted singular extensions
- search: additional reduction/pruning of "losing" moves (SEE < 0)
- eval: tempo bonus (it seems I forgot in 1.0 ...)
- eval: "space" (glorified pawn-chain PST); this changes playing style a lot
- eval: scoring by logistic regression; this gives me more freedom for eval features
- board: copy/make (customary in games with fewer piece types than chess)
- board: optional PEXT bitboards (BMI2)

As I recall, no single change brought more than 10 Elo. So it's more a sum of small (IMO) things.

This release has been rushed a little, so it's still lacking UCI options and multi-PV; sorry about that.

Official website: http://www.amateurschach.de/main/_senpai.htm
Direct link: http://www.amateurschach.de/download/senpai_20.zip
Expected level: Texel/Protector (again)

Thanks to everybody who helped with this release:
- Graham Banks
- Michael Byrne
- Wilhelm Hudetz
- Daniel Jose
- Steve Maughan (https://www.chessprogramming.net)
- Frank Quisinsky (http://www.amateurschach.de)
- XXX (<- this line for people I forgot, sorry in advance).

That's all for now,

Fabien.
Great news from a computer chess legend.

Will test Senpai A.S.A.P.

*Hoping the playing style is lovely!* :lol:
Check my site for engine reviews and other chess stuff :)

www.chessncognac.com

Frank Quisinsky
Posts: 4822
Joined: Wed Nov 18, 2009 6:16 pm
Location: Trier, Germany
Contact:

Re: Senpai 2.0

Post by Frank Quisinsky » Fri Nov 10, 2017 6:36 am

Hi Brendan,

and on other legend made the graphics (Wilhelm Hudetz, Austria).

Both, Fabien & John on one site ...
A good day for computer chess in my humble opinion!

Of course, not important that it's the own site!

After a longer time slower downloads on www.amateurschach.de it's solved since yesterday. My provider found & fixed a defect patch cable.

Downloads now with full speed ...

Best
Frank

I had here again a lot of fun with Fabien ...
Fabien is really a very interesting person.

I wish me to have 0.1% from his programming knowledge only and I am an expert. But unfortunately ... maybe 0.001% ...
Last edited by Frank Quisinsky on Fri Nov 10, 2017 6:46 am, edited 3 times in total.
I like computer chess!

MikeB
Posts: 2719
Joined: Thu Mar 09, 2006 5:34 am
Location: Pen Argyl, Pennsylvania

Re: Senpai 2.0

Post by MikeB » Fri Nov 10, 2017 6:42 am

Frank Quisinsky wrote:Hi Brendan,

and on other legend made the graphics (Wilhelm Hudetz, Austria).

Both, Fabien & John on one site ...
A good day for computer chess!

Of course, not important that it's the own site!

After a longer time slower downloads on www.amateurschach.de it's solved since yesterday. My provider found & fixed a defect patch cable.

Downloads now with full power ...

Best
Frank
Good job Frank, you do nice work! &#128074;

User avatar
Evert
Posts: 2903
Joined: Fri Jan 21, 2011 11:42 pm
Location: NL
Contact:

Re: Senpai 2.0

Post by Evert » Fri Nov 10, 2017 6:43 am

Xann wrote:The code looks all different because I started from my draughts program, but it's actually still Senpai inside. I prefer having a consistent codebase for multiple games (also Shogi and Othello).
Good man.

I have a (private) version of Senpai 1.0 that plays Makruk; as I recall the changes were not too hard to make, so hopefully I can port those over easily.

Xann
Posts: 125
Joined: Sat Jan 22, 2011 6:14 pm
Location: Lille, France

Re: Senpai 2.0

Post by Xann » Fri Nov 10, 2017 6:53 am

Evert wrote:I have a (private) version of Senpai 1.0 that plays Makruk; as I recall the changes were not too hard to make, so hopefully I can port those over easily.
More painful, I guess, but doable. However reusing eval parts would be more difficult with this version, maybe much more. The weights are probably very specific.

And (say) with your own eval, switching to version 2.0 doesn't make much sense.

User avatar
Guenther
Posts: 2501
Joined: Wed Oct 01, 2008 4:33 am
Location: Regensburg, Germany
Full name: Guenther Simon
Contact:

Re: Senpai 2.0

Post by Guenther » Fri Nov 10, 2017 7:29 am

Xann wrote:Hi all,

After a few years in computer draughts, I am back to chess for a little while. I see too many draws at top level, and am afraid that it will be too late in a couple of years. Big hardware and large opening books are also not helping IMO.

So I'm here to announce Senpai 2.0.

...

Fabien.
Thanks a lot Fabien and all who helped with this release!

Guenther

User avatar
Evert
Posts: 2903
Joined: Fri Jan 21, 2011 11:42 pm
Location: NL
Contact:

Re: Senpai 2.0

Post by Evert » Fri Nov 10, 2017 9:17 am

Xann wrote:
Evert wrote:I have a (private) version of Senpai 1.0 that plays Makruk; as I recall the changes were not too hard to make, so hopefully I can port those over easily.
More painful, I guess, but doable. However reusing eval parts would be more difficult with this version, maybe much more. The weights are probably very specific.

And (say) with your own eval, switching to version 2.0 doesn't make much sense.
Oh, I didn't tune the evaluation (apart from a few very specific things), I made it mainly to have a larger variety of opponents (and as a proof-of-concept that just modifying the move generator of a reasonably strong engine to play a different variant doesn't automatically give you a very strong engine without redoing the evaluation).
From what I remember, most of the work was converting from UCI to CECP (there is some de-facto standard for handling variants with UCI now, but there was nothing back then), which was pretty straightforward.

Michel
Posts: 1971
Joined: Sun Sep 28, 2008 11:50 pm

Re: Senpai 2.0

Post by Michel » Fri Nov 10, 2017 9:34 am

Thanks!
Ideas=science. Simplification=engineering.
Without ideas there is nothing to simplify.

Post Reply