TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Human-like neural network chess engine trained on lichess games

158 点作者 unlog超过 4 年前

19 条评论

sabujp超过 4 年前
This bot is a pure joy to play against! For a 1560 rated bot:<p><pre><code> 1. It brings out the queen early attacking the f7 pawn when black plays sicilian. 2. So far has gone king&#x27;s indian almost every time against d4 (e.g. catalan) and then has failed to challenge the center, instead going for a king side attack (exchanging bishop for knight to try to open the B file. 3. It sometimes drops its queen in complex exchanges and hidden attacks. 4. It sometimes drops pieces in complex exchanges (can&#x27;t count how many pieces are covering a square). 5. It will exploit mistakes that *I can see*, unlike stockfish level 7+ where it will take you down an insane convoluted path to get you into such a bind to destroy your position (I&#x27;ve played GMs who ?can&#x27;t?&#x2F;don&#x27;t do in this blitz). 6. Its attacks are shallow and lack depth, easily defended. 7. It sometimes moves a single piece too many times when it should be trying to advance its positional game (e.g. queen&#x2F;knight), basically has very little positional play. 8. It sometimes pushes pawns aggresively to its detriment. 9. Won&#x27;t resign in losing positions (*lol*). a. Will play to the bitter end to try to get you to stalemate. </code></pre> Couple things that could make it more human:<p><pre><code> 1. Moves fast! I think it actually moves too fast, there needs to be a better delay factor added in depending on rating. If we could make it think for a longer than usual amount of time after it finishes development, in complex positions, or when it&#x27;s close to mate or about to lose an exchange. Also make it speed up when its getting low on time. 2. Make it randomly rage quit in a losing position like an asshole instead of resigning so you have to wait for the quit&#x2F;disconnect detection and then claim victory&#x2F;draw countdown (I jest, I jest, but if we do this, please make it some sort of setting).</code></pre>
评论 #25814594 未加载
评论 #25814277 未加载
notacoward超过 4 年前
This kind of &quot;human at a particular level&quot; play is something I&#x27;ve personally wished for many times. I find playing against programs very frustrating, because as you tweak the controls they tend to go very quickly from obviously brain-damaged to utterly inscrutable. Win by a mile or lose by a mile, don&#x27;t learn much either way. Sometimes there&#x27;s a very thin band in between that&#x27;s the worst of both worlds: generally way above my own level, but every once in a while they&#x27;ll just throw away a piece in the most obvious possible way. If a human did that I&#x27;d interpret it as toying with me, or taunting.<p>This kind of program seems like it would be much more satisfying to play just for fun, and perhaps (with a bit more analysis support) better still as a coaching tool.
评论 #25827155 未加载
PeterisP超过 4 年前
Very interesting research!<p>A particular use case that&#x27;s implied by the features is the ability to analyze errors that you <i>would</i> make as opposed to the exact errors that you made; as the personalized &quot;Maia-transfer&quot; model seems to have an ability predict the specific blunders that the targeted player is likely to make, those scenarios can be automatically generated (by having Maia play against Stockfish many times) and presented as personalized training exercises to improve the specific weak spots that you have.
评论 #25813083 未加载
SubiculumCode超过 4 年前
Overall the games were enjoyable, however this game stood out as an issue with the engine. A long gif, but notice the moves at the very end where it had three queens and refused to checkmate me. <a href="https:&#x2F;&#x2F;lichess1.org&#x2F;game&#x2F;export&#x2F;gif&#x2F;M0pJAiyL.gif" rel="nofollow">https:&#x2F;&#x2F;lichess1.org&#x2F;game&#x2F;export&#x2F;gif&#x2F;M0pJAiyL.gif</a><p>38. Kxa5 Nxg2 39. Kb6 f5 40. h4 f4 41. h5 gxh5 42. Kc7 f3 43. Kd6 f2 44. Ke7 f1=Q 45. Ke8 Qe1+ 46. Kd7 h4 47. Kd6 h3 48. Kd5 h2 49. Kd4 h1=Q 50. Kd5 h5 51. Kd6 h4 52. Kd7 h3 53. Kd8 h2 54. Kd7 Qhg1 55. Kd6 h1=Q 56. Kd5 Ne3+ 57. Kd6 Nf5+ 58. Kd7 Ng7 59. Kc7 Qd1 60. Kc8 Qc1+ 61. Kd7 Qgd1+ 62. Ke7 Qhe1+ 63. Kf6 Nh5+ 64. Kg6 Nf4+ 65. Kf5 Nh3 66. Kf6 Nf2 67. Kg6 Kf8 68. Kf6 Ke8 69. Kg6 Kd8 70. Kg7 Kc8 71. Kg8 Kb8 72. Kg7 Ka8 73. Kg8 Ka7 74. Kg7 Ka6 75. Kg8 Ka5 76. Kg7 Ka4 77. Kg6 Kb3 78. Kg7 Ka2 79. Kg8 Ka1 80. Kg7 Ka2 81. Kg6 Ka1 82. Kg7 Ka2 { The game is a draw. } 1&#x2F;2-1&#x2F;2<p>These were bullet games where it was rated at 1700 and I am rated 1300ish...however I won a number of games against it. I never felt like I never had a chance.
评论 #25817277 未加载
strenholme超过 4 年前
I think this is very interesting. One comment I have heard about Leelachess is that she, near the beginning of her training, would make the kinds of mistakes a 1500 player makes, then play like a 1900 player or so, before finally playing like a slightly passive and very strategic super Grandmaster.<p>One interesting thing to see would be how low-rated humans make different mistakes than Leela does with an early training set. How closely are we modeling how humans learn to play Chess with Leela?<p>Another thought: Leela, against weaker computers, draws a lot more than Stockfish. While Leela beats Stockfish in head to head competitions, in round robins, Stockfish wins against weaker computer programs more than Leela does.<p>I believe this is because Stockfish will play very aggressively to try and create a weakness in game against a lower rated computer, while Leela will “see” that trying to create that weakness will weaken Leela’s own position. The trick to winning Chess is not to make the “perfect” move for a given position, but to play the move that is most likely to make one’s opponent make a mistake and weaken their position.<p>Now, if Maia were trained against Stockfish moves instead of human moves, I wonder if we could make a training set that results in play a little less passive than Leela’s play.<p>(I’m also curious how Maia at various rating levels would defend as Black against the Compromised defense of the Evans Gambit — that’s 1. e4 e5 2. Nf3 Nc6 3. Bc4 Bc5 4. b4 Bxb4 5. c3 Ba5 6. d6 exd4 7. O-O dxc3 — where Black has three pawns and white has a very strong, probably winning, attack. It’s a weak opening for Black, who shouldn’t be so greedy, but I’m studying right now how it’s played to see how White wins with a strong attack on Black’s king. I’m right now downloading maia1 — Maia at 1100 — games from openingtree.com.)
评论 #25815958 未加载
评论 #25817201 未加载
dfan超过 4 年前
It&#x27;s worth noting that this approach, of training a neural net on human games of a certain level and not doing tree search, has been around for a few years in the Go program Crazy Stone (<a href="https:&#x2F;&#x2F;www.remi-coulom.fr&#x2F;CrazyStone&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.remi-coulom.fr&#x2F;CrazyStone&#x2F;</a>). (There wasn&#x27;t a paper written about it so it&#x27;s not common knowledge, and I assume the authors of this paper weren&#x27;t aware of it or they would have cited it.)
im3w1l超过 4 年前
Hmm... maia1100 is ranked ~1600. <a href="https:&#x2F;&#x2F;lichess.org&#x2F;@&#x2F;maia1" rel="nofollow">https:&#x2F;&#x2F;lichess.org&#x2F;@&#x2F;maia1</a>
评论 #25811271 未加载
评论 #25814383 未加载
评论 #25812764 未加载
thetinguy超过 4 年前
This probably breaks lichess cheat detection.
评论 #25812072 未加载
评论 #25811466 未加载
arikrak超过 4 年前
This is very cool. I think this could be extended to create a program that finds the best practical moves for a given level of play. Instead of just predicting the most likely human move, it could suggest the current move with the best &quot;expected value&quot; based on likely future human moves from both sides.<p>As an example, let&#x27;s say there&#x27;s a position where the best technical move will lead to a tiny edge with perfect play. Current programs like Stockfish and Alpha Zero will recommend that move. It would be better to instead recommend the move with a strong attack that will lead to a large advantage 95% of the time, even if it will lead to no advantage with perfect play. It seems one could extend Maia Chess to develop such a program.
jquery超过 4 年前
As someone who is colorblind, the graphs are unfortunately impossible to follow. Perhaps you could use an additional method of distinguishing data on the graphs other than color? Like dashed lines, or lines with symbols on them, or varying thickness, etc.
评论 #25813206 未加载
travelhead超过 4 年前
As a long time chess player and moderately rated (2100) player, this is a fascinating development! I played the 1900 and beat it in a pretty interesting game! Can you increase the strength to 2100+?
lrossi超过 4 年前
Paper: <a href="https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;2006.01855.pdf" rel="nofollow">https:&#x2F;&#x2F;arxiv.org&#x2F;pdf&#x2F;2006.01855.pdf</a>
sanxiyn超过 4 年前
Do read the paper. (Click &quot;PAPER&quot; in the top menu.) I found it very interesting.
FartyMcFarter超过 4 年前
Do they train separate NNs for each time control?<p>If not, I wonder if that would make accuracy even higher!
评论 #25810964 未加载
评论 #25813345 未加载
bryanrasmussen超过 4 年前
grandmasters typically play a small number of (recorded) games per year, would it be possible to train a neural network on lots of games to recognize what were likely moves of a player from a small number of games - so that you could have a computer to work with that would prepare you for a match with a grandmaster?
评论 #25811618 未加载
评论 #25813893 未加载
评论 #25817285 未加载
SubiculumCode超过 4 年前
With transfer training on IM John Bartholomew, Trained on MaiaChess predicts ...d5 with high accuracy. #scandi
EGreg超过 4 年前
Do you think one day we can have AI reverse hashes by being trained on tons of data points the other way?<p>My guess is no, because you have to get an exact output of a function which is not continuous at all. But maybe I am missing something?
Ericson2314超过 4 年前
I thought this said &quot;lichen&quot; and it was some sort sort of crazy fungi network for a second, like the slime mold and the light experiment. Oh well...
aaron695超过 4 年前
Step 2 with AI, see if you can make it human.<p>It&#x27;s great to see research on this.