r/ComputerChess • • Jul 28 '24

What stops a machine learning engine from improving forever?

I get that there would be diminishing returns, but you'd think it could at least keep learning until it surpasses stockfish.

3 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jul 29 '24

What if you tried to evaluate positions based on similarity to already analyzed positions similar to a human player? Then each position it has analyzed serves as a new parameter and it would only be limited by memory.

3

u/you-get-an-upvote Jul 29 '24

Typically such algorithms are "kernel" algorithms – kernel SVM and ~kernel linear regression~ Gaussian Processes are the typical examples.

I've never heard of them being applied to chess engines. The immediate problem I see is that, while they often, in some theoretical sense, scale "forever" with the number of data points, the time it takes to run inference on the next position also scales with the number of data points. This seems like a non-starter in chess, where you're trying to analyze millions of positions quickly.

(i.e. you're not just limited by memory – you're limited by time too, and if your algorithm analyzes fewer and fewer positions the longer it runs... you're probably in trouble).

That's all fairly abstract though, and I'd have to hear a concrete implementation to give a more meaningful evaluation.

(I guess the tongue-in-cheek answer is that your idea is exactly what minimax does – but instead of comparing a position to all analyze positions, you simply compare it to all child positions.)