r/ComputerChess • u/Gloomy-Status-9258 • Feb 03 '25
i'm curious whether modern chess engine still uses domain knowledge or not
i'm very poor in chess but aware of some notions such as:
- opening book
- pawn structure
- pin
- skewer
- discovered attack
- discovered check
- double attack
- double check
- fork
- zugzwang
- endgame database
- transposition table
- 7th rank
- good material value evaluation based on its type, its and other pieces' position on the board, and game phase
i have no idea on principles of modern chess engines (if I did, I wouldn't have written this post).
but for me it seems that domain knowledge were utilized in the development until a few years ago.
7
Upvotes
5
u/bookning Feb 03 '25
Domain knowledge is still very much relevant on modern chess engines. The amount will vary very much on their implementation.
And note that there are all kind of implementation among the top chess engines.
If they do not use neural nets then domain knowledge is extremely important (Komodo, Houdini, older Stockfish , ...).
If they do use neural nets then it is still a factor but the importance will vary very much depending if they were trained using evaluations based on human domain knowledge (Stockfish NNUE, ...), or if they were trained on self play (Leela Chess Zero, ...).
You can go on github and search for chess engines and will find many very strong engines that uses all kind of designs.
4
u/vetronauta Feb 03 '25
I feel the bitter lesson is relevant here: encoding expert knowledge is useful in the early stages, but in the end using general methods is more effective.
The sad part is the following: are we able to extract expert knowledge from the models? The answer is currently no! We have incredible models, but they are black boxes, like years ago.
I'm particularly interested in the computational aspects of aesthetic of chess problems and we simply lack the tools.
1
u/Liddle_but_big Feb 03 '25
Neural net supremacy