Remarkably cool. My only bit of feedback is that it's unfortunate so much of the commentary uses masculine pronouns (I found it distracting). Is that just a consequence of the training data?
Yeah, that's a massive problem with the natural language domain all across machine learning. Unfortunately it's very difficult to track down training data for chess commentary in the first place, let alone trim down biases. For reference, I was able to gather about 1 million samples, but it really needs a billion. Hopefully through data augmentation and better general intelligence models we can make better progress o…
Show HN: ChessCoach – A neural chess engine that comments on each player's moves
11–20 of 92 posts
Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#12Earlier quoted context omitted.
Yeah, that's a massive problem with the natural language domain all across machine learning. Unfortunately it's very difficult to track down training data for chess commentary in the first place, let alone trim down biases. For reference, I was able to gather about 1 million samples, but it really needs a billion. Hopefully through data augmentation and better general intelligence models we can make better progress o…
Appreciate the honesty here. Pretty wild how natural this model feels with 1 million samples.
I think for the most part, it knows more than it lets on, but finding the right sampling methods (or better yet, generalized search) to generate the best comments is a tough problem because it's difficult to evaluate quality.
There's some info on the sampling methods here: https://chrisbutner.github.io/ChessCoach/high-level-explanat...
Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#13Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#14I look forward to reading things like “a classic Boris move” or Fisher or any of the great chessmasters.
And if you spice up the commentary sampling parameters, it gets even more inventive, making up names, and saying that "the rook is pinning Fischer against the king".
Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#15Earlier quoted context omitted.
I'm super impressed with what you've managed to create, do you have any further plans with this project? I'm curious now that it's finished and documented to such an extent will you try to bring it publicity and actual usage or was this just a passion project. Thanks
Thank you! I do get that itch to jump in and improve things whenever I see it lose a game, but I don't have further plans (development or commercial) in the near-term. The goal originally was to see whether I liked ML, to decide on my next industry/career move, but there was a lot of "one more month". I'm actually hopeful that some search techniques such as SBLE-PUCT[1] or better derivations can make their way into o…
Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#16This took about a year and a half – a little over a year coding in between experiments and training. It's a chess engine with a primary neural network just like AlphaZero or Leela Chess Zero's, but it adds on a secondary "commentary decoder" network based on Transformer architecture to comment on positions and moves. All of the code and data for training and search is from scratch, although it does use Stockfish code…
Why this limitation? Is it fairly computationally expensive to run?
Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#17This took about a year and a half – a little over a year coding in between experiments and training. It's a chess engine with a primary neural network just like AlphaZero or Leela Chess Zero's, but it adds on a secondary "commentary decoder" network based on Transformer architecture to comment on positions and moves. All of the code and data for training and search is from scratch, although it does use Stockfish code…
> It only plays one game at a time, so you may need to wait a little bit Why this limitation? Is it fairly computationally expensive to run?
Lots of room for improvement!
Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#18Earlier quoted context omitted.
Thank you! I do get that itch to jump in and improve things whenever I see it lose a game, but I don't have further plans (development or commercial) in the near-term. The goal originally was to see whether I liked ML, to decide on my next industry/career move, but there was a lot of "one more month". I'm actually hopeful that some search techniques such as SBLE-PUCT[1] or better derivations can make their way into o…
So, do you like ML?
Re: Show HN: ChessCoach – A neural chess engine that comments on each player's moves
#19I don't think this comment was accurate:
> 23. c4: "White tries to get his pawns moving. I am still thinking that I have to move my bishop, but that is too slow. I think white should have moved his king back to c3 to prevent my pawn from becoming a passer."
The idea behind moving the pawn was because black playing c4 would have instantly lost both pawns since the bishop has nowhere safe to go where it still defends c2 (Bh7 leading to g6 losing the piece.) I don't think the king could have made it to the c file in time to stop that.
> 34... Rxg4: "Now I can't stop him from advancing his pawn."
Is this meant to be speaking from whites perspective (since black just got the unopposed h file pawn.)
Interestingly only 10. O-O links with a move, I think it would be really helpful if they all linked to moves. Also i'm really excited for this kind of analysis! It would be really cool if request a computer analysis eventually generated such analyses trying to figure out each sides ideas.