r/2007scape • • Jul 06 '20

Video Month 5 of applying machine learning to classify bots in OSRS, lengthier video covering the technical deets this time but still goes over my discoveries looking into a potential botting solution for Jagex. (TL;DW in comments)

https://youtu.be/hzCpwPTXzrA
14 Upvotes

9 comments sorted by

2

u/chriskok1337 Jul 06 '20

TL;DW - Got some help to gather over 1 million data points and talked to the one and only SirPugger about how to properly utilize machine learning for our use case. We end up achieving an overall classification accuracy of over 99%. Along the way we discovered that human behavior is pretty separable from bots (or at the very least, suicide bots) and this may serve as the a stepping stone to getting better, more robust options for bot busting as it's able to quickly generalize to identify botting behavior.

Definitely open to comments and critique! Please let me know what you think or if you have any questions.

2

u/rRMTmjrppnj78hFH Jul 07 '20 edited Jul 07 '20

talked to the one and only SirPugger about how to properly utilize machine learning

I quit reading and didn't bother with the video here.

1

u/chriskok1337 Jul 07 '20

Just to clarify we didn't ask him about machine learning itself, we asked him about bots and what features it would take for humans to knowingly predict bots

0

u/[deleted] Jul 06 '20

[deleted]

2

u/chriskok1337 Jul 07 '20

Hey, thanks for taking the time to comment. I absolutely agree with a lot of the points stated here! I'll address them one at a time:

  1. Yes, anomaly detection is probably the best route to go down especially through this unfiltered and imbalanced dataset. I tried it a little bit during the unsupervised portion but I didn't manage to get too far with it then but I'm sure if I dug it could lead to more promising results

  2. Regarding the accuracy, the precision and recall for both algorithms range from 0.92-1.0 as well which seems great still BUT like you said, due to a lack of data (on top of an imbalanced dataset - 15 labelled bots out of 265 total players), the threshold to begin with wasn't too low. For example, guessing that everyone in the dataset was not a bot would give you the accuracy of ~94%. That said, I believed any slight improvement beyond that was a step in the right direction which leads me to my next point

  3. The truly useful data (like what jagex has with previous player bans, login times or mouse movements) is unavailable to us and will therefore be the biggest hurdle we face. So, even if it'll be incredibly difficult for us to verify the true bans, we are just doing our best to make the assumptions clear and see if the solution is valid as a whole. We are assuming there are bots in this data set and IF this assumption holds true then we are saying that the unsupervised filtering applied had helped us gather some known ones. Nevertheless, we started this project knowing that we may not be able to get true player bans and that it was merely a proof a concept showing people how it might be done. What's been fun to explore so far is definitely the different kinds of human/player behavior seen based on their hiscores.

All that said, your comments are absolutely fair and it would never be adequate to call this a true production-ready solution without the proper data. But, if anything, we hoped the project would serve as a stepping stone or at least cool proof of concept for Jagex or any future anti-ban folks to take into consideration.

4

u/[deleted] Jul 06 '20

[removed] — view removed comment

4

u/donttrademe Jul 06 '20

https://support.runescape.com/hc/en-gb/categories/200835065-Support-Guides-Updates

Scroll down to where it says support stats, here you can view the number of bans per week, along with a couple of other stats. They post these every week.

1

u/Armed_Muppet Jul 06 '20

I don’t see any from last month or the rest of May, am I missing something?

1

u/donttrademe Jul 07 '20

I believe it's updated a few weeks after, so you'll be getting them from a few weeks before.