Neural net for cheat detection

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

Moderator: Ras

Fulvio
Posts: 396
Joined: Fri Aug 12, 2016 8:43 pm

Neural net for cheat detection

Post by Fulvio »

If one have a big database (let's say lichess) and a list of the players banned for cheating, it is possibile to train a network that will predict suspicious games?
User avatar
j.t.
Posts: 268
Joined: Wed Jun 16, 2021 2:08 am
Location: Berlin
Full name: Jost Triller

Re: Neural net for cheat detection

Post by j.t. »

If it worked, then cheaters could use such a network to avoid suspicious moves.
User avatar
AdminX
Posts: 6363
Joined: Mon Mar 13, 2006 2:34 pm
Location: Acworth, GA

Re: Neural net for cheat detection

Post by AdminX »

Fulvio wrote: Fri Sep 23, 2022 11:53 am If one have a big database (let's say lichess) and a list of the players banned for cheating, it is possibile to train a network that will predict suspicious games?
I am sure someone out there must be working on this, even if not for chess. However, I think it might always be a case of you build a better mouse trap, and they will find / train a smarter mouse.
"Good decisions come from experience, and experience comes from bad decisions."
__________________________________________________________________
Ted Summers
Damir
Posts: 2900
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Neural net for cheat detection

Post by Damir »

As Elon Musk said: the so called cheaters, ''they have anal beads up their ass''. :lol: :lol:
chrisw
Posts: 4745
Joined: Tue Apr 03, 2012 4:28 pm
Location: Midi-Pyrénées
Full name: Christopher Whittington

Re: Neural net for cheat detection

Post by chrisw »

Fulvio wrote: Fri Sep 23, 2022 11:53 am If one have a big database (let's say lichess) and a list of the players banned for cheating, it is possibile to train a network that will predict suspicious games?
This hypothetical LiChess data will be full of false negatives and false positives, ie full of labelling errors. Neural nets are at best approximators (ie full of errors), so you would just end up with errors on top of errors - not very useful.
scchess
Posts: 51
Joined: Mon Jan 04, 2021 4:12 pm
Full name: scchess

Re: Neural net for cheat detection

Post by scchess »

It's not that simple... I worked for chess chess detection as part of my works...
scchess
Posts: 51
Joined: Mon Jan 04, 2021 4:12 pm
Full name: scchess

Re: Neural net for cheat detection

Post by scchess »

chrisw wrote: Fri Sep 23, 2022 5:53 pm
Fulvio wrote: Fri Sep 23, 2022 11:53 am If one have a big database (let's say lichess) and a list of the players banned for cheating, it is possibile to train a network that will predict suspicious games?
This hypothetical LiChess data will be full of false negatives and false positives, ie full of labelling errors. Neural nets are at best approximators (ie full of errors), so you would just end up with errors on top of errors - not very useful.
Correct. In cheat detection, training a model is easy. It's all about data processing. Generally, neural network is not as useful as other simpler models for cheat detection because of it's black-box model, high likelihood of overfitting, and more works be done for hypothesis testing.
scchess
Posts: 51
Joined: Mon Jan 04, 2021 4:12 pm
Full name: scchess

Re: Neural net for cheat detection

Post by scchess »

In contrast to everybody thinks, cheat detection at chess is not just a data science problem. Data Science is simply part of the whole process. It's a complicated area that involves strong engineering support, statistical modeling, ML ensemble models, data processing, management of moderators etc. Neural network will never able to resolve cheat detection by itself. To make cheat detection working, technical skills are not enough. Soft skills especially good management skill of must be part of the equation.
Last edited by scchess on Sat Sep 24, 2022 1:22 am, edited 1 time in total.
dkappe
Posts: 1632
Joined: Tue Aug 21, 2018 7:52 pm
Full name: Dietrich Kappe

Re: Neural net for cheat detection

Post by dkappe »

Fulvio wrote: Fri Sep 23, 2022 11:53 am If one have a big database (let's say lichess) and a list of the players banned for cheating, it is possibile to train a network that will predict suspicious games?
If you look at the statistical model developed by Regan, it essentially predicts how often a strong human player agrees with an engine. If a player deviates from that, you have statistical evidence that he used an engine.

You don’t need a neural net for that sort of thing.
Fat Titz by Stockfish, the engine with the bodaciously big net. Remember: size matters. If you want to learn more about this engine just google for "Fat Titz".
scchess
Posts: 51
Joined: Mon Jan 04, 2021 4:12 pm
Full name: scchess

Re: Neural net for cheat detection

Post by scchess »

dkappe wrote: Sat Sep 24, 2022 1:21 am
Fulvio wrote: Fri Sep 23, 2022 11:53 am If one have a big database (let's say lichess) and a list of the players banned for cheating, it is possibile to train a network that will predict suspicious games?
If you look at the statistical model developed by Regan, it essentially predicts how often a strong human player agrees with an engine. If a player deviates from that, you have statistical evidence that he used an engine.

You don’t need a neural net for that sort of thing.
The thing is ... Regan's model is practically useless for online cheat detection... I rejected it for good reasons and opted for an alternative. His model is more like a reference guide, and is the model used by FIDE. It has several clear disadvantages:
  • The model is unable to account for non-chess engine metrics. Clearly doesn't work for online cheat cheating.
  • The model is unable to account for smart cheaters
  • The model is unable to account for slow and gradual rise in ELO rating
Regan's model was made for OTB games where the metrics were small and simple. I
Last edited by scchess on Sat Sep 24, 2022 1:28 am, edited 1 time in total.